NADA: Neural Acceptance-Driven Approximate Specification Mining
Weilin Luo, Tingchen Han, Junming Qiu, Hai Wan, Jianfeng Du, Bo Peng, Guohui Xiao, Yanan Liu
摘要
It is hard to mine high-quality finite-state automata (FSAs) only from desired software behaviors, i.e., positive examples, because of a search space explosion and an overgeneralization problem induced by a lack of undesired software behaviors, i.e., negative examples. To tackle the overgeneralization problem, we suggest modeling the problem as searching for approximate FSAs from positive and negative examples with noise, where the noise originates from synthetic negative examples used to reject overgeneralized results. To obtain an effective search bias in the exploding search space, we bridge FSA acceptance to neural network inference.
Our key contribution is to design a neural network whose parameter assignment corresponds to an FSA, and its neural inference process, named after neural acceptance, is able to simulate FSA acceptance. The neural acceptance provides a way to quantify how well an FSA fits noisy data efficiently. We propose NADA, a neural acceptance-driven approach, to search for approximate FSAs guided by accepting positive examples and rejecting synthetic negative examples. NADA is based on a proper continuous relaxation of the discrete search space of FSAs and an efficient gradient descent-based search algorithm. Experimental results demonstrate that, compared with state-of-the-art approaches, NADA significantly improves the quality of mined FSAs (on average improves 41.63% F1 score). Besides, NADA is 19.8X faster than the approach mining sub-high-quality FSAs. CCS Concepts: • Software and its engineering → Dynamic analysis; Software testing and debugging; • Computing methodologies → Neural networks; • Theory of computation → Modal and temporal logics.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper8
- Scalable Rule-Based Representation Learning for Interpretable ClassificationZhuo Wang, Wei Zhang, Ning Liu, Jianyong WangNeurIPS 2021 · 被引用 87 次
- Weighted Automata Extraction from Recurrent Neural Networks via Regression on State SpacesTakamasa Okudono, Masaki Waga, Taro Sekiyama, Ichiro HasuoAAAI 2020 · 被引用 44 次
- Interpretable Sequence Classification via Discrete OptimizationMaayan Shvo, Andrew C. Li, Rodrigo Toro Icarte, Sheila A. McIlraithAAAI 2021 · 被引用 29 次
- Decision-Guided Weighted Automata Extraction from Recurrent Neural NetworksXiyue Zhang, Xiaoning Du, Xiaofei Xie, Lei Ma 等AAAI 2021 · 被引用 25 次
- Learning Interpretable Temporal Properties from Positive Examples OnlyRajarshi Roy, Jean-Raphaël Gaglione, Nasim Baharisangari, Daniel Neider 等AAAI 2023 · 被引用 21 次
相关 Paper
- Learning DFAs from Positive Examples Only via Word CountingBenjamin Bordais, Daniel NeiderAAAI 2026
- Neural Program Synthesis with QueryDi Huang, Rui Zhang, Xing Hu, Xishan Zhang 等ICLR 2022 · 被引用 2 次
- AdaAX: Explaining Recurrent Neural Networks by Learning Automata with Adaptive StatesDat Hong, Alberto Maria Segre, Tong WangKDD 2022 · 被引用 3 次
- DENAS: automated rule generation by knowledge extraction from neural networksSimin Chen, Soroush Bateni, Sampath Grandhi, Xiaodi Li 等FSE 2020 · 被引用 22 次
- Learning to Check LTL Satisfiability and to Generate Traces via Differentiable Trace CheckingWeilin Luo, Pingjia Liang, Junming Qiu, Polong Chen 等ISSTA 2024 · 被引用 1 次
