Semantic-based neural network repair for AI models in dynamic environments
Abstract
This paper addresses a critical challenge in the field of artificial intelligence (AI) and deep learning (DL) - the debugging and repair of AI models within dynamic environments. The rapid development of frameworks like TensorFlow or PyTorch can introduce version incompatibilities, potentially breaking existing code. To tackle this issue, it can be seen that a semantic-based neural network repair method that leverages an existing semantics called ExAIS is proposed, defined in the Prolog logic programming language. This method identifies architectural and parameter errors in AI models and generates debug messages to facilitate the repair process. Key contributions of this paper include introducing a novel semantic-based AI model repair method capable of suggesting multiple changes to rectify inefficiencies in AI models. We evaluate the effectiveness of our approach in a real-world context by collecting a set of real bugs from AI developers. The background section provides an overview of AI framework testing, machine learning, neural architecture search (NAS), and deep learning. The methodology section details the repair method based on ExAIS semantics, covering error identification and repair suggestions as the two main steps. The evaluation section showcases the repair effectiveness on automatically generated and manually written models, emphasizing the applicability and efficiency of the approach.
References
- Li Hangyu; Wang Nannan; Zhu Mingrui; Yang Xi; Gao Xinbo. Review of Research Progress in Neural Structure Search. Journal of Software. 2022.
- Goodfellow, Ian; Bengio, Yoshua; Courville, Aaron. Foundations of Neural Networks. Deep Learning. MIT Press, 2016.
- Silver, David et al. Adaptation to Dynamic Environments. Mastering the game of Go without human knowledge. Nature, 2017.
- Du Wei; Liu Gongshen. A Review of Backdoor Attacks in Deep Learning. Journal of Information Security. 2022.
- D.; Schütze, Hinrich. Semantic Analysis in AI Manning Christopher. Foundations of Statistical Natural Language Processing. MIT Press, 1999.
- Hybrid-Augmented Intelligence: Collaboration and Cognition.Bi Geng Cultural Communication
- Deng Feiyue[1]; Ding Hao[2]; Lu Haoyang[2]; Hao Rujiang[2]; Liu Yongqiang. A high-speed railway wheel set bearing fault diagnosis method based on lightweight neural network. Engineering Science Journal,2021.
- Li Zhenbo; Li Meng; Zhao Yuanyang; Guo Ruohao; Chen Yaru. Freshness evaluation method of chilled pomfret based on improved VGG-19 convolutional neural network. Transactions of the Chinese Society of Agricultural Engineering, 2021.
- Hohman, Frederick; Kahng, Minsuk; Pienta, Robert; Chau, Duen Horng. Semantic-Based Approaches in AI Systems. Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontiers. IEEE Transactions on Visualization and Computer Graphics, 2019.
- Zhang, Y.; Chen, X.; Zhou, D.; Jordan, M. I. Robust Machine Learning by Median-of-Means: Theory and Practice. Annals of Statistics, 2021.