Active Learning of Symbolic Automata for Reactive Programs via Dynamic Symbolic Mapper
Active learning of formal behavior models from program source code is a powerful approach for a wide range of software analysis, validation, and verification tasks, including understanding system intent, automating specification mining, generating test oracles, and checking formal properties. Recent advances in active learning of symbolic automata, powered by program synthesis and model checking, provide both rich expressiveness and soundness guarantees for the learned models. However, these techniques often encounter significant performance bottlenecks, particularly when dealing with reactive programs that expose many program variables with large value domains.
This work introduces an extended active learning algorithm tailored for reactive programs by incorporating a novel dynamic symbolic mapper for learning symbolic automata. The mapper abstracts program behavior using learner-inferred predicates over program variables, encodes each valuation of these variables as a Boolean vector induced by these predicates (Boolean abstraction), and dynamically refines the abstraction in response to missing behaviors identified by the teacher. The mapper is granularity-aware: for teaching, it employs the coarsest predicates sufficient to expose missing behaviors, enabling broad exploration; for learning, it refines the abstraction only to the finest predicates necessary to resolve the uncovered gaps, trying to avoid refinements that could otherwise be triggered by coarse abstraction.
We evaluated our approach on 120 benchmarks, including SV-COMP tasks, Simulink model-driven programs, LeetCode problems, and representative embedded control software. The results show that our method learns 32 more symbolic automata and reduces the average active learning time by 55.6% compared to the state-of-the-art.
| Slide (FSE26_slides.pdf) | 1.86MiB |
Tue 7 JulDisplayed time zone: Eastern Time (US & Canada) change
16:00 - 17:40 | Verification 1Research Papers / Tool Demonstrations / Journal-First Paper / Ideas, Visions and Reflections at MB 2.430 Chair(s): Charles Zhang Hong Kong University of Science and Technology | ||
16:00 10mTalk | IDPVerifier: Verifying Interrupt-driven Programs Efficiently via Heuristic and Reduced Partial-order Constraints Ideas, Visions and Reflections Zixuan Yuan Xidian University, Bin Yu Xidian University, Xu Lu Xidian University, WenSheng Wang Xidian University, Yuanzhe Liu Xidian University, Cheng Wen Xidian University, Meng Wang Hebei university, Chu Chen Qufu Normal University | ||
16:10 20mTalk | Active Learning of Symbolic Automata for Reactive Programs via Dynamic Symbolic Mapper Research Papers DOI File Attached | ||
16:30 20mTalk | Precondition Synthesis for Deep Neural Networks with Statistical Guarantees Research Papers Zengyu Liu National University of Defense Technology, Bai Xue Institute of Software at Chinese Academy of Sciences, China, Pengfei Yang College of Computer and Information Science, Software College, Southwest University, Ji Wang National University of Defense Technology | ||
16:50 10mTalk | EquivFusion: Unifying Hardware Equivalence Checking from Algorithms to Netlists via MLIR Tool Demonstrations Jiaying Zhu The Chinese University of Hong Kong, Baoqi Zhang National Center of Technology Innovation for EDA, Mengxia Tao National Center of Technology Innovation for EDA, Kezhi Li The Chinese University of Hong Kong, Hao Yan Central South University, Xu, Qiang , Min Li Southeast University | ||
17:00 20mTalk | Compiler Optimization-Based SMT Simplifications: An In-Depth Study Journal-First Paper Hanyun Jiang The State Key Laboratory of Blockchain and Data Security, Zhejiang University, Peisen Yao Zhejiang University, Jiachen Lu The State Key Laboratory of Blockchain and Data Security, Zhejiang University, Yongwang Zhao The State Key Laboratory of Blockchain and Data Security, Zhejiang University, Kui Ren The State Key Laboratory of Blockchain and Data Security, Zhejiang University | ||