š¤ AI Summary
Formal verification of software architecture remains impractical in industry due to prohibitively high modeling costs. Method: This paper proposes Neural Architecture Inferenceāa novel approach that automatically learns structured, verifiable architectural models from source code or runtime traces. It establishes the first neuro-symbolic paradigm for architecture inference, integrating graph neural networks and sequence modeling with formal specification languages (e.g., TLA+, Alloy) to close the learningāverification loop. Contribution/Results: We define a six-dimensional research roadmap and present a framework for automated generation of interpretable, formally verifiable architecture models. Experiments demonstrate substantial reduction in modeling effort and enable symbolic verification of architectural constraintsāincluding layer isolation and communication protocolsāthereby providing both theoretical foundations and practical pathways for industrial-scale architecture governance.
š Abstract
Formal analysis to ensure adherence of software to defined architectural constraints is not yet broadly used within software development, due to the effort involved in defining formal architecture models. Within this paper, we outline neural architecture inference to solve the problem of having a formal architecture definition for subsequent symbolic reasoning over these architectures, enabling neurosymbolic architectural reasoning. We discuss how this approach works in general and outline a research agenda based on six general research question that need to be addressed, to achieve this vision.