🤖 AI Summary
To address the insufficient accuracy and reliability of large language models (LLMs) in requirement verification within model-based systems engineering (MBSE), this paper proposes a lightweight, inference-time intervention paradigm. Our method dynamically modifies only 1–3 dedicated attention heads during forward propagation, integrates a graph neural network for structured representation of SysML/Capella models, and incorporates a self-consistency mechanism to enhance decision robustness. Crucially, it requires no parameter fine-tuning, thereby significantly reducing computational overhead. Experiments on early-phase Capella models of space mission systems demonstrate 100% precision in requirement satisfaction assessment—outperforming standard prompting, full-model fine-tuning, and existing intervention baselines. This work represents the first adaptation of attention-head-level fine-grained intervention to MBSE, establishing a novel, interpretable, high-accuracy, and easily integrable pathway for trustworthy AI-driven requirements engineering.
📝 Abstract
Steering the behavior of Large Language Models (LLMs) remains a challenge, particularly in engineering applications where precision and reliability are critical. While fine-tuning and prompting methods can modify model behavior, they lack the dynamic and exact control necessary for engineering applications. Inference-time intervention techniques provide a promising alternative, allowing targeted adjustments to LLM outputs. In this work, we demonstrate how interventions enable fine-grained control for automating the usually time-intensive requirement verification process in Model-Based Systems Engineering (MBSE). Using two early-stage Capella SysML models of space missions with associated requirements, we apply the intervened LLMs to reason over a graph representation of the model to determine whether a requirement is fulfilled. Our method achieves robust and reliable outputs, significantly improving over both a baseline model and a fine-tuning approach. By identifying and modifying as few as one to three specialised attention heads, we can significantly change the model's behavior. When combined with self-consistency, this allows us to achieve perfect precision on our holdout test set.