EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Learning Functional Specifications From Stateful Control Programs Through Active Model Learning

Yunja Choi, Yoel Kim

IEEE Access · 2026 · 14 · 168406-168423

DOI: 10.1109/access.2026.3748459 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Access, 2026. Verfasst von Yunja Choi und 1 weiteren Autor:innen. Die Arbeit nennt 44 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Research Foundation of Korea (NRF) grant, Korean Government [Ministry of Science and ICT (MSIT)].

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Functional specifications remain largely unavailable in industrial software, making formal verification and testing difficult. To address this limitation, we propose an automated approach for generating functional specifications directly from program source code using active statemachine learning and model checking. Building upon the state-of-the-art active model learning approach, our method learns statemachine models from the source code while addressing two practical challenges that hinder its applicability: spurious transitions introduced by abstraction and poor scalability caused by tracing a large number of observable variables. We address these challenges through multi-view model learning and the automatic identification of a minimal set of observable variables, termed the view-set, based on variable explainability. Functional specifications are extracted from the learned statemachine models through symbolic reachability analysis and are subsequently translated into assertions that are formally validated against the original program source code using the bounded model checker CBMC. The proposed approach is fully automated and evaluated on 70 publicly available reactive C benchmarks. The experimental results show up to approximately $17\times $ speedup while successfully generating CBMC-validated functional specifications for 67 of the 70 benchmark programs. Furthermore, the proposed view-set improves model learning performance by a factor of three on average compared with the state-of-the-art approach that relies on manually selected observable variables.

Förderung

  • National Research Foundation of Korea (NRF) grant
  • Korean Government [Ministry of Science and ICT (MSIT)]

Zitieren

APA

Choi, Y., & Kim, Y. (2026). Learning Functional Specifications From Stateful Control Programs Through Active Model Learning. IEEE Access, 14, 168406-168423. https://doi.org/10.1109/access.2026.3748459

Vancouver

Choi Y, Kim Y. Learning Functional Specifications From Stateful Control Programs Through Active Model Learning. IEEE Access. 2026;14:168406-168423. doi:10.1109/access.2026.3748459

BibTeX
@article{Choi2026,
  author = {Choi, Yunja and Kim, Yoel},
  title = {Learning Functional Specifications From Stateful Control Programs Through Active Model Learning},
  journal = {IEEE Access},
  year = {2026},
  volume = {14},
  pages = {168406--168423},
  doi = {10.1109/access.2026.3748459}
}
Kostenlos starten →