skip to main content
10.1145/3587828.3587869acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicscaConference Proceedingsconference-collections
research-article

A Framework of Formal Specification-Based Data Generation for Deep Neural Networks

Published:20 June 2023Publication History

ABSTRACT

Deep Neural Networks (DNNs) have gained growing attention in many domain-specific supervised learning applications. However, the current DNNs still face two challenges. One is the difficulty of obtaining well-labeled training data for supervised learning and the other is concerned with the efficiency of training due to the lack of precise characteristics of the objects in the training process. We propose a framework of formal specification-based data generation for the training and testing of DNNs. The framework is characterized by using formal specifications to define the important and distinct features of the objects to be identified. The features are expected to serve as the foundation for generating training and testing data for DNNs. In this paper, we discuss all the activities involved in the framework and the detailed approach to writing the formal specifications. We also conduct a case study on traffic sign recognition to validate the framework.

References

  1. Jean-Raymond Abrial, Michael Butler, Stefan Hallerstede, Thai Son Hoang, Farhad Mehta, and Laurent Voisin. 2010. Rodin: an open toolset for modelling and reasoning in Event-B. International journal on software tools for technology transfer 12, 6 (2010), 447–466.Google ScholarGoogle ScholarCross RefCross Ref
  2. Gérard Berry. 2007. SCADE: Synchronous design and validation of embedded control software. In Next Generation Design and Verification Methodologies for Distributed Embedded Control Systems. Springer, 19–33.Google ScholarGoogle Scholar
  3. Sumathi Gokulanathan, Alexander Feldsher, Adi Malca, Clark Barrett, and Guy Katz. 2020. Simplifying neural networks using formal verification. In NASA Formal Methods Symposium. Springer, 85–93.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Gaetan JDR Hains, Arvid Jakobsson, and Youry Khmelevsky. 2019. Formal methods and software engineering for DL. Security, safety and productivity for DL systems development. arXiv preprint arXiv:1901.11334 (2019).Google ScholarGoogle Scholar
  5. Julia Hirschberg and Christopher D Manning. 2015. Advances in natural language processing. Science 349, 6245 (2015), 261–266.Google ScholarGoogle Scholar
  6. Sebastian Houben, Johannes Stallkamp, Jan Salmen, Marc Schlipsing, and Christian Igel. 2013. Detection of traffic signs in real-world images: The German Traffic Sign Detection Benchmark. In The 2013 international joint conference on neural networks (IJCNN). Ieee, 1–8.Google ScholarGoogle Scholar
  7. Licheng Jiao and Jin Zhao. 2019. A survey on the new generation of deep learning in image processing. IEEE Access 7 (2019), 172231–172263.Google ScholarGoogle ScholarCross RefCross Ref
  8. Cliff B Jones. 1990. Systematic software development using VDM. Prentice Hall International Series in Computer Science (1990).Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Axel van Lamsweerde. 2000. Formal specification: a roadmap. In Proceedings of the Conference on the Future of Software Engineering. 147–159.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Ming Liang and Xiaolin Hu. 2015. Recurrent convolutional neural network for object recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition. 3367–3375.Google ScholarGoogle ScholarCross RefCross Ref
  11. JM Lillo-Castellano, I Mora-Jiménez, Carlos Figuera-Pozuelo, and José Luis Rojo-Álvarez. 2015. Traffic sign segmentation and classification using statistical learning methods. Neurocomputing 153 (2015), 286–299.Google ScholarGoogle ScholarCross RefCross Ref
  12. Shaoying Liu, A Jefferson Offutt, Chris Ho-Stuart, Yong Sun, and Mitsuru Ohba. 1998. SOFL: A formal engineering methodology for industrial applications. IEEE Transactions on Software Engineering 24, 1 (1998), 24–45.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Andreas Møgelmose. 2015. Visual analysis in traffic & re-identification. (2015).Google ScholarGoogle Scholar
  14. Shehla Riaz, Hamra Afzaal, Muhammad Imran, Nazir Ahmad Zafar, and Mehmet Sabih Aksoy. 2015. Formalizing mobile ad hoc and sensor networks Using VDM-SL. Procedia Computer Science 63 (2015), 148–153.Google ScholarGoogle ScholarCross RefCross Ref
  15. Sebastian Ruder. 2016. An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747 (2016).Google ScholarGoogle Scholar
  16. Stuart Russell, Daniel Dewey, and Max Tegmark. 2015. Research priorities for robust and beneficial artificial intelligence. Ai Magazine 36, 4 (2015), 105–114.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Sanjit A Seshia, Ankush Desai, Tommaso Dreossi, Daniel J Fremont, Shromona Ghosh, Edward Kim, Sumukh Shivakumar, Marcell Vazquez-Chanlatte, and Xiangyu Yue. 2018. Formal specification for deep neural networks. In International Symposium on Automated Technology for Verification and Analysis. Springer, 20–34.Google ScholarGoogle ScholarCross RefCross Ref
  18. Sanjit A Seshia, Dorsa Sadigh, and S Shankar Sastry. 2022. Toward verified artificial intelligence. Commun. ACM 65, 7 (2022), 46–55.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Amanpreet Singh, Narina Thakur, and Aakanksha Sharma. 2016. A review of supervised machine learning algorithms. In 2016 3rd International Conference on Computing for Sustainable Global Development (INDIACom). Ieee, 1310–1315.Google ScholarGoogle Scholar
  20. J Michael Spivey. 1988. Understanding Z: a specification language and its formal semantics. Vol. 3. Cambridge University Press.Google ScholarGoogle Scholar
  21. Johannes Stallkamp, Marc Schlipsing, Jan Salmen, and Christian Igel. 2012. Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition. Neural networks 32 (2012), 323–332.Google ScholarGoogle Scholar
  22. Nikko Strom. 2015. Scalable distributed DNN training using commodity GPU cloud computing. In Sixteenth annual conference of the international speech communication association.Google ScholarGoogle Scholar
  23. Muhammad Usama, Junaid Qadir, Aunn Raza, Hunain Arif, Kok-Lim Alvin Yau, Yehia Elkhatib, Amir Hussain, and Ala Al-Fuqaha. 2019. Unsupervised machine learning for networking: Techniques, applications and research challenges. IEEE access 7 (2019), 65579–65615.Google ScholarGoogle Scholar
  24. Jim Woodcock, Peter Gorm Larsen, Juan Bicarregui, and John Fitzgerald. 2009. Formal methods: Practice and experience. ACM computing surveys (CSUR) 41, 4 (2009), 1–36.Google ScholarGoogle Scholar
  25. Xiaoyong Yuan, Pan He, Qile Zhu, and Xiaolin Li. 2019. Adversarial examples: Attacks and defenses for deep learning. IEEE transactions on neural networks and learning systems 30, 9 (2019), 2805–2824.Google ScholarGoogle Scholar
  26. Fatin Zaklouta and Bogdan Stanciulescu. 2012. Real-time traffic-sign recognition using tree classifiers. IEEE Transactions on Intelligent Transportation Systems 13, 4 (2012), 1507–1514.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Xiaojin Jerry Zhu. 2005. Semi-supervised learning literature survey. (2005).Google ScholarGoogle Scholar
  28. Yingying Zhu, Chengquan Zhang, Duoyou Zhou, Xinggang Wang, Xiang Bai, and Wenyu Liu. 2016. Traffic sign detection and recognition using fully convolutional network guided proposals. Neurocomputing 214 (2016), 758–766.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A Framework of Formal Specification-Based Data Generation for Deep Neural Networks
          Index terms have been assigned to the content through auto-classification.

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            ICSCA '23: Proceedings of the 2023 12th International Conference on Software and Computer Applications
            February 2023
            385 pages
            ISBN:9781450398589
            DOI:10.1145/3587828

            Copyright © 2023 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 20 June 2023

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article
            • Research
            • Refereed limited

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader

          HTML Format

          View this article in HTML Format .

          View HTML Format