journal article·2020-01-10Open access

ExtendAIST: Exploring the Space of AI-in-the-Loop System Testing

Tingting Wu, Yunwei Dong, Yu Zhang, Aziz Singa

Applied Sciences· Volume 10· Issue 2

Abstract

The AI-in-the-loop system (AIS) has been widely used in various autonomous decision and control systems, such as computing vision, autonomous vehicle, and collision avoidance systems. AIS generates and updates control strategies through learning algorithms, which make the control behaviors non-deterministic and bring about the test oracle problem in AIS testing procedure. The traditional system mainly concerns about properties of safety, reliability, and real-time, while AIS concerns more about the correctness, robustness, and stiffness of system. To perform an AIS testing with the existing testing techniques according to the testing requirements, this paper presents an extendable framework of AI-in-the-loop system testing by exploring the key steps involved in the testing procedure, named ExtendAIST, which contributes to define the execution steps of ExtendAIST and design space of testing techniques. Furthermore, the ExtendAIST framework provides three concerns for AIS testing, which include: (a) the extension points; (b) sub-extension points; and (c) existing techniques commonly present in each point. Therefore, testers can obtain the testing strategy using existing techniques directly for corresponding testing requirements or extend more techniques based on these extension points.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Adversarial Robustness in Machine Learning · Software Testing and Debugging Techniques · Software Reliability and Analysis Research

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Engineering, Northwestern Polytechnical University, Xi’an 710072, China

Funding

State Grid Technology Major Project of China (Security Protection Technology of Embedded Components and Control Units in Power System Terminal) · National Natural Science Foundation of China

References (98)

Show source-provided references
1. Badue, C., Guidolini, R., Carneiro, R.V., Azevedo, P., Cardoso, V.B., Forechi, A., Jesus, L.F.R., Berriel, R.F., Paixão, T.M., and Mutz, F. (2019). Self-driving cars: A survey. arXiv.
2. Hains, G., Jakobsson, A., and Khmelevsky, Y. (2018, January 23–26). Towards formal methods and software engineering for deep learning: Security, safety and productivity for dl systems development. Proceedings of the 2018 Annual IEEE International Systems Conference (SysCon), Vancouver, BC, Canada.10.1109/SYSCON.2018.8369576 ↗
3. Masuda, S., Ono, K., Yasue, T., and Hosokawa, N. (2018, January 9–13). A Survey of Software Quality for Machine Learning Applications. Proceedings of the 2018 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), Xi’an, China.10.1109/ICSTW.2018.00061 ↗
4. Braiek, H.B., and Khomh, F. (2018). On testing machine learning programs. arXiv.
5. Ma, L., Juefei-Xu, F., Xue, M., Hu, Q., Chen, S., Li, B., Liu, Y., Zhao, J., Yin, J., and See, S. (2018). Secure Deep Learning Engineering: A Software Quality Assurance Perspective. arXiv.
6. Huang, X., Kroening, D., Kwiatkowska, M., Ruan, W., Sun, Y., Thamo, E., Wu, M., and Yi, X. (2018). Safety and Trustworthiness of Deep Neural Networks: A Survey. arXiv.
7. Zhang, J.M., Harman, M., Ma, L., and Liu, Y. (2019). Machine Learning Testing: Survey, Landscapes and Horizons. arXiv.
8. Astor: Exploring the design space of generate-and-validate program repair beyond GenProg10.1016/j.jss.2019.01.069 ↗
9. The Oracle Problem in Software Testing: A Survey10.1109/TSE.2014.2372785 ↗
10. Challenges in autonomous vehicle testing and validation10.4271/2016-01-0128 ↗
11. Goodfellow, I., and Papernot, N. (2019, May 15). Available online: http://www.cleverhans.io/security/privacy/ml/2017/06/14/verification.html.
12. Autonomous vehicle safety: An interdisciplinary challenge10.1109/MITS.2016.2583491 ↗
13. Pei, K., Cao, Y., Yang, J., and Jana, S. (2017, January 28–31). Deepxplore: Automated whitebox testing of deep learning systems. Proceedings of the 26th Symposium on Operating Systems Principles, Shanghai, China.10.1145/3132747.3132785 ↗
14. Tian, Y., Pei, K., Jana, S., and Ray, B. (June, January 27). Deeptest: Automated testing of deep-neural-network-driven autonomous cars. Proceedings of the 40th International Conference on Software Engineering, Gothenburg, Sweden.
15. Ma, L., Juefei-Xu, F., Zhang, F., Sun, J., Xue, M., Li, B., Chen, C., Su, T., Li, L., and Liu, Y. (2018, January 3–7). Deepgauge: Multi-granularity testing criteria for deep learning systems. Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, Montpellier, France.10.1145/3238147.3238202 ↗
16. Sun, Y., Huang, X., and Kroening, D. (2018). Testing deep neural networks. arXiv.10.1145/3238147.3238172 ↗
17. Fort, S., Nowak, P.K., and Narayanan, S. (2019). Stiffness: A new perspective on generalization in neural networks. arXiv.
18. Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I., and Fergus, R. (2013). Intriguing properties of neural networks. arXiv.
19. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014, January 8–13). Generative adversarial nets. Proceedings of the Annual Conference on Advances in Neural Information Processing Systems, Montreal, QC, Canada.
20. Xie, X., Ho, J., Murphy, C., Kaiser, G., Xu, B., and Chen, T.Y. (2009, January 24–25). Application of metamorphic testing to supervised classifiers. Proceedings of the 2009 Ninth International Conference on Quality Software, Jeju, Korea.10.1109/QSIC.2009.26 ↗
21. Testing and validating machine learning classifiers by metamorphic testing10.1016/j.jss.2010.11.920 ↗
22. Metamorphic testing of driverless cars10.1145/3241979 ↗
23. Goodfellow, I.J., Shlens, J., and Szegedy, C. (2014). Explaining and harnessing adversarial examples. arXiv.
24. Kurakin, A., Goodfellow, I., and Bengio, S. (2016). Adversarial examples in the physical world. arXiv.
25. Kurakin, A., Goodfellow, I., and Bengio, S. (2016). Adversarial machine learning at scale. arXiv.
26. Papernot, N., McDaniel, P., Jha, S., Fredrikson, M., Celik, Z.B., and Swami, A. (2016, January 21–24). The limitations of deep learning in adversarial settings. Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), Saarbrucken, Germany.10.1109/EuroSP.2016.36 ↗
27. Sun, Y., Wu, M., Ruan, W., Huang, X., Kwiatkowska, M., and Kroening, D. (2018, January 3–7). Concolic testing for deep neural networks. Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, Montpellier, France.10.1145/3238147.3238172 ↗
28. Threat of adversarial attacks on deep learning in computer vision: A survey10.1109/ACCESS.2018.2807385 ↗
29. Poursaeed, O., Katsman, I., Gao, B., and Belongie, S. (2018, January 16–20). Generative adversarial perturbations. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2018.00465 ↗
30. Shen, W., Wan, J., and Chen, Z. (2018, January 16–20). MuNN: Mutation Analysis of Neural Networks. Proceedings of the 2018 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), Lisbon, Portugal.10.1109/QRS-C.2018.00032 ↗
31. Ma, L., Zhang, F., Sun, J., Xue, M., Li, B., Juefei-Xu, F., Xie, C., Li, L., Liu, Y., and Zhao, J. (2018, January 15–18). Deepmutation: Mutation testing of deep learning systems. Proceedings of the 2018 IEEE 29th International Symposium on Software Reliability Engineering (ISSRE), Memphis, TN, USA.10.1109/ISSRE.2018.00021 ↗
32. Shi, Q., Wan, J., Feng, Y., Fang, C., and Chen, Z. (2019). DeepGini: Prioritizing Massive Tests to Reduce Labeling Cost. arXiv.
33. Huang, X., Kwiatkowska, M., Wang, S., and Wu, M. (2017, January 24–28). Safety verification of deep neural networks. Proceedings of the International Conference on Computer Aided Verification, Heidelberg, Germany.10.1007/978-3-319-63387-9_1 ↗
34. Bunel, R., Turkaslan, I., Torr, P.H., Kohli, P., and Kumar, M.P. (2017). A Unified View of Piecewise Linear Neural Network Verification. arXiv.
35. Wang, S., Pei, K., Whitehouse, J., Yang, J., and Jana, S. (2018, January 15–17). Formal security analysis of neural networks using symbolic intervals. Proceedings of the 27th {USENIX} Security Symposium ({USENIX} Security 18), Baltimore, MD, USA.
36. Ruan, W., Huang, X., and Kwiatkowska, M. (2018). Reachability analysis of deep neural networks with provable guarantees. arXiv.10.24963/ijcai.2018/368 ↗
37. Gehr, T., Mirman, M., Drachsler-Cohen, D., Tsankov, P., Chaudhuri, S., and Vechev, M. (2018, January 21–23). Ai2: Safety and robustness certification of neural networks with abstract interpretation. Proceedings of the 2018 IEEE Symposium on Security and Privacy (SP), San Francisco, CA, USA.10.1109/SP.2018.00058 ↗
38. Yang, P., Liu, J., Li, J., Chen, L., and Huang, X. (2019). Analyzing Deep Neural Networks with Symbolic Propagation: Towards Higher Precision and Faster Verification. arXiv.
39. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
40. LeCun, Y., Cortes, C., and Burges, C.J. (2019, May 15). The MNIST Database of Handwritten Digits. Available online: http://yann.lecun.com/exdb/mnist/.
41. Cohen, G., Afshar, S., Tapson, J., and van Schaik, A. (2017). EMNIST: An extension of MNIST to handwritten letters. arXiv.10.1109/IJCNN.2017.7966217 ↗
42. (2019, May 15). EMNIST. Available online: https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist.
43. Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-mnist: A novel image dataset for benchmarking machine learning algorithms. arXiv.
44. (2019, May 15). Fashion-MNIST. Available online: https://github.com/zalandoresearch/fashion-mnist.
45. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20–25). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
46. (2019, May 15). ImageNet. Available online: http://www.image-net.org/.
47. (2019, May 15). CIFAR. Available online: http://www.cs.toronto.edu/~kriz/cifar.html.
48. Udacity-Challenge 2016 (2019, May 15). Using Deep Learning to Predict Steering Angles. Available online: https://github.com/udacity/self-driving-car.
49. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014, January 6–12). Microsoft coco: Common objects in context. Proceedings of the European Conference on Computer Vision, Zurich, Switzerland.10.1007/978-3-319-10602-1_48 ↗
50. (2019, May 15). MSCOCO. Available online: http://cocodataset.org/.
51. (2019, May 15). KITTI. Available online: http://www.cvlibs.net/datasets/kitti/index.php.
52. Vision meets robotics: The KITTI dataset10.1177/0278364913491297 ↗
53. Geiger, A., Lenz, P., and Urtasun, R. (2012, January 16–21). Are we ready for autonomous driving? The kitti vision benchmark suite. Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA.10.1109/CVPR.2012.6248074 ↗
54. (2019, May 15). Baidu Apollo. Available online: http://apolloscape.auto/.
55. (2019, May 15). Enron. Available online: https://www.cs.cmu.edu/~./enron/.
56. (2019, May 15). The bAbI Dataset. Available online: https://research.facebook.com/research/babi/.
57. (2019, May 15). Common Crawl. Available online: http://commoncrawl.org/the-data/.
58. Bowman, S.R., Angeli, G., Potts, C., and Manning, C.D. (2015). A large annotated corpus for learning natural language inference. arXiv.10.18653/v1/D15-1075 ↗
59. (2019, May 15). Stanford Natural Language Inference. Available online: https://nlp.stanford.edu/projects/snli/.
60. Warden, P. (2018). Speech Commands: A dataset for Limited-Vocabulary speech recognition. arXiv.
61. (2019, May 15). Speech Commands. Available online: https://download.tensorflow.org/data/speech_commands_v0.01.tar.gz.
62. (2019, May 15). Free Spoken Digit Dataset. Available online: https://github.com/Jakobovski/free-spoken-digit-dataset.
63. (2019, May 15). Million Song Dataset. Available online: http://millionsongdataset.com/.
64. Bertin-Mahieux, T., Ellis, D.P.W., Whitman, B., and Lamere, P. (2012, January 8–12). The Million Song Dataset. Proceedings of the International Society for Music Information Retrieval Conference, Porto, Portugal.
65. Panayotov, V., Chen, G., Povey, D., and Khudanpur, S. (2015, January 19–24). Librispeech: An ASR corpus based on public domain audio books. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, Queensland, Australia.10.1109/ICASSP.2015.7178964 ↗
66. (2019, May 15). LibriSpeech. Available online: http://www.openslr.org/12/.
67. (2019, May 15). Drebin. Available online: https://www.sec.cs.tu-bs.de/~danarp/drebin/index.html.
68. Drebin: Effective and explainable detection of android malware in your pocket
69. Spreitzenbarth, M., Freiling, F., Echtler, F., Schreck, T., and Hoffmann, J. (2013, January 18–22). Mobile-sandbox: Having a deeper look into android applications. Proceedings of the 28th Annual ACM Symposium on Applied Computing, Coimbra, Portugal.10.1145/2480362.2480701 ↗
70. Zhou, Y., and Jiang, X. (2012, January 20–23). Dissecting Android Malware: Characterization and Evolution. Proceedings of the 33rd IEEE Symposium on Security and Privacy, San Francisco, CA, USA.10.1109/SP.2012.16 ↗
71. (2019, May 15). Android Malware Genome Project. Available online: http://www.malgenomeproject.org/.
72. (2019, May 15). VirusTotal. Available online: https://www.virustotal.com/.
73. (2019, May 15). Contagio Malware Dump. Available online: http://contagiodump.blogspot.com/.
74. Adversarial examples: Attacks and defenses for deep learning10.1109/TNNLS.2018.2886017 ↗
75. Wild patterns: Ten years after the rise of adversarial machine learning10.1016/j.patcog.2018.07.023 ↗
76. The problem of the adversarial examples in deep learning10.1093/comjnl/bxw089 ↗
77. One pixel attack for fooling deep neural networks10.1109/TEVC.2019.2890858 ↗
78. Carlini, N., and Wagner, D. (2017, January 22–24). Towards evaluating the robustness of neural networks. Proceedings of the 2017 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA.10.1109/SP.2017.49 ↗
79. Moosavi-Dezfooli, S.M., Fawzi, A., Fawzi, O., and Frossard, P. (2017, January 21–26). Universal adversarial perturbations. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.17 ↗
80. Sarkar, S., Bansal, A., Mahbub, U., and Chellappa, R. (2017). UPSET and ANGRI: Breaking high performance image classifiers. arXiv.
81. Mopuri, K.R., Garg, U., and Venkatesh, B.R. (2017). Fast Feature Fool: A data independent approach to universal adversarial perturbations. arXiv.
82. Chen, T.Y., Cheung, S.C., and Yiu, S.M. (1998). Metamorphic Testing: A New Approach for Generating Next Test Cases, Department of Computer Science. Technical Report; Technical Report HKUST-CS98-01.
83. A survey on metamorphic testing10.1109/TSE.2016.2532875 ↗
84. Metamorphic testing: A review of challenges and opportunities
85. Symbolic execution for software testing: three decades later10.1145/2408776.2408795 ↗
86. Adversarial attacks in artificial intelligence: A survey
87. An analysis and survey of the development of mutation testing10.1109/TSE.2010.62 ↗
88. Katz, G., Barrett, C., Dill, D.L., Julian, K., and Kochenderfer, M.J. (2017, January 24–28). Reluplex: An efficient SMT solver for verifying deep neural networks. Proceedings of the International Conference on Computer Aided Verification, Heidelberg, Germany.10.1007/978-3-319-63387-9_5 ↗
89. Pulina, L., and Tacchella, A. (2010, January 15–19). An abstraction-refinement approach to verification of artificial neural networks. Proceedings of the International Conference on Computer Aided Verification, Edinburgh, UK.10.1007/978-3-642-14295-6_24 ↗
90. Narodytska, N., Kasiviswanathan, S., Ryzhyk, L., Sagiv, M., and Walsh, T. (2018, January 2–7). Verifying properties of binarized deep neural networks. Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.10.1609/aaai.v32i1.12206 ↗
91. Cheng, C.H., Nührenberg, G., Huang, C.H., and Ruess, H. (2017). Verification of Binarized Neural Networks via Inter-Neuron Factoring. arXiv.10.1007/978-3-030-03592-1_16 ↗
92. Lomuscio, A., and Maganti, L. (2017). An approach to reachability analysis for feed-forward relu neural networks. arXiv.
93. Cheng, C.H., Nührenberg, G., and Ruess, H. (2017, January 3–6). Maximum resilience of artificial neural networks. Proceedings of the International Symposium on Automated Technology for Verification and Analysis, Pune, India.10.1007/978-3-319-68167-2_18 ↗
94. Output reachable set estimation and verification for multilayer neural networks10.1109/TNNLS.2018.2808470 ↗
95. Mirman, M., Gehr, T., and Vechev, M. (2018, January 26–28). Differentiable abstract interpretation for provably robust neural networks. Proceedings of the International Conference on Machine Learning, Jinan, China.
96. Cousot, P., and Cousot, R. (1977, January 17–19). Abstract interpretation: A unified lattice model for static analysis of programs by construction or approximation of fixpoints. Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles Of Programming Languages, Los Angeles, CA, USA.10.1145/512950.512973 ↗
97. Abstract interpretation frameworks10.1093/logcom/2.4.511 ↗
98. Grother, P.J. (1995). NIST Special Database 19 Handprinted Forms and Characters Database, Technical Report.