arXiv:2610.36234cs.AIOct 2026

Manuscript Offprint

arXiv:2610.36234

MARQ: A Modular, LLM-Agnostic Requirement Quality Assessor Infused with Systems Engineering Knowledge

Jannatul Shefa, Alejandro Salado, Paul Wach, Taylan G. Topcu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Requirements engineering (RE) is foundational to systems engineering (SE), as requirement defects can propagate downstream and adversely affect development outcomes. Although large language models (LLMs) are promising for requirement quality assessment, prior work shows that off-the-shelf models miss a large share of expert-identified defects, perform unevenly across quality criteria, and vary across executions. This study investigates whether infusing expert-derived SE knowledge can improve LLM-based requirement quality evaluation beyond off-the-shelf capability. We present MARQ, a modular, LLM-agnostic prototype that supplements LLMs with a criterion-specific knowledge stack operationalizing INCOSE requirement quality criteria and evaluated against off-the-shelf baselines on an expert-labeled NASA requirement set using Claude Opus 5, GPT-5.6 Sol, and the open-weight Gemma 3 12B, with 100 executions per model. MARQ achieves median F1 scores of 0.80 for Claude Opus 5, 0.62 for GPT-5.6 Sol, and 0.53 for Gemma 3 12B, compared with off-the-shelf baselines of 0.55, 0.52, and 0.18, respectively. However, the nature of these gains is model-dependent. Claude Opus 5 improves defect detection and false-alarm control; GPT-5.6 Sol gains detection and better execution-level consistency at the cost of more false alarms; and Gemma 3 12B reaches the performance of off-the-shelf proprietary models, although it remains highly variable. Criterion-level analysis shows gains concentrated in Correctness and Conformance, trade-offs between misses and false alarms within individual criteria, and model-dependent responses across several criteria. These findings position SE knowledge infusion as a promising model-agnostic pathway for strengthening trustworthy LLM-based RE support while underscoring the need for criterion-specific interventions and human-in-the-loop review.

Keywords: Artificial Intelligence for Systems Engineering (AI4SE), Artificial Intelligence for Requirements Engineering (AI4RE), Requirements Engineering (RE), Requirement Quality Assessment, Knowledge Infusion, Trustworthy AI

1. Introduction and Background

Requirements are foundational to systems engineering (SE) because they identify the goals to be achieved by the envisioned system (Van Lamsweerde, 2000) and translate them into well-defined statements that constrain and guide subsequent system development (Nuseibeh & Easterbrook, 2000; Simon, 1973). As complex system development progresses through tightly coupled and interdependent activities (Simon, 1995; Hazelrigg, 1998), errors introduced during requirements engineering (RE) can propagate into later lifecycle phases (Mahaju et al., 2023) and become increasingly costly to correct, contributing to design rework, schedule delays, and cost overruns (Boehm & Papaccio, 1988; Peña & Valerdi, 2015; Sikdar & Payyazhi, 2014). Relative to correcting an error during the requirements phase, correction costs can increase to approximately 8×8\times during design, 20×20\times during manufacturing, 100×100\times during integration and testing, and more than 1,500×1,500\times once the system enters operation (Stecklein et al., 2004; Boehm et al., 2008). Consequently, assuring requirement quality is a critical SE activity, but one that remains time-consuming and dependent on expert engineering judgment (Courbis et al., 2026).

The rapid advancement of artificial intelligence (AI), particularly large language models (LLMs), has created new opportunities to support RE activities (Cheng et al., 2026). This growing interest builds on a longer history of applying AI for RE (AI4RE) partly because requirements are typically expressed in natural language (Kassab et al., 2014). In addition to that, the software engineering community, where RE has long been a critical concern (Cheng et al., 2026; Vasudevan & Reddivari, 2025), played a major role in advancing natural language processing (NLP) methods for RE (Dalpiaz et al., 2018). Early NLP methods lacked contextual awareness (Hayes-Roth, 1985); advances in learning-based approaches (Baker, 1975; Jelinek et al., 1977), deep learning (Elman, 1990), and ultimately transformer architectures progressively improved contextual language processing and sequence prediction, resulting in the substantial performance gains associated with modern LLMs (Ashish, 2017; Hochreiter & Schmidhuber, 1997; Sutskever et al., 2014). Recent reviews (Norheim et al., 2024; Sonbol et al., 2022; Zhao et al., 2022) organize AI4RE research into four categories: requirements generation, analysis, translation, and quality assessment. Quality assessment, which examines whether requirements satisfy established quality criteria, such as Necessity, unambiguity, conformance, and feasibility (Hull et al., 2010; INCOSE, 2023); is the core focus of this study.

Research on AI-based requirement quality assessment spans both individual requirements and requirements sets. At the individual level, studies have examined ambiguity, completeness, writing-guideline adherence, and syntactic quality incorporating AI support. For example, natural language inference has been used to detect specification defects with an F1 score above 80%, outperforming NoRBERT, ChatGPT, probabilistic term-indicator, and prompt-based classification (Fazelnia et al., 2024). Luitel et al. (2023) used unsupervised learning mechanisms to assess completeness (Luitel et al., 2023). Jafari et al. (2023) showed that specialized encoder-based models perform better than GPT-3.5 and GPT-4 models for ambiguity resolution (Jafari et al., 2023). Hybrid pipelines combining SpanBERT, named entity recognition, rules, and Random Forest classifiers have targeted several ambiguity types (Izhar et al., 2025; Talha et al., 2025). More recently, Lubos et al. (2024) showed that Llama 2 has the ability to identify quality issues, explain them, and suggest revisions against ISO 29148 criteria (Lubos et al., 2024).

At the requirement-set level, research has focused mostly on incompleteness, redundancy, conflict, and inconsistency using AI-based approaches. For example, Malik et al. (2025) used semantic similarity to detect redundancy and conflict in requirements (Malik et al., 2025), while GPT-4 achieved a precision range of 41% to 61% in detecting conflicts, ambiguities, and inconsistencies among requirements (Mahbub et al., 2024). Fantechi et al. (2023) similarly found that ChatGPT could assist with inconsistency detection but did not outperform expert review (Fantechi et al., 2023). Finally, it was documented that LLMs combined with clustering and semantic similarity can support quality improvement in large SE projects, particularly for understandability, ambiguity, and redundancy analysis (Melo, 2026).

To better characterize the reliability of LLM-based requirement quality assessment, our prior research systematically benchmarked ten off-the-shelf LLMs spanning the OpenAI and Anthropic model families and five model generations (Shefa et al., 2026). That benchmark found substantial missed detections and false alarms, particularly weak performance for criteria requiring contextual and systems-level judgment (Correct, Necessary, Complete), persistent execution-to-execution variability, non-monotonic improvement across model generations, and insensitivity to sampling temperature (where applicable). It concluded that general-purpose LLM capability should not be equated with dependable engineering judgment (see also Heesch et al., 2025; Zhou et al., 2026), and that future gains are more likely to come from targeted interventions, such as domain-specific knowledge integration, than from waiting for newer models. The present study is the direct test of that recommendation.

One emerging direction is to supply LLMs with project- and domain-specific documentation rather than relying on pretrained model knowledge (Arora et al., 2024). Poulsen et al. (2026) improved ambiguity detection and reduced false positives by supplying project information extracted from NASA James Webb Space Telescope documentation (Poulsen et al., 2026). Similarly, Aysan et al. (2026) used retrieval-augmented generation over domain documentation to detect ambiguity and conflict smells across several LLMs, with gains for ambiguity but mixed effects for conflicts (Aysan et al., 2026). Jin et al. (2025) proposed a multi-agent requirements development framework in which agents are equipped with domain and RE expert knowledge extracted from professional sources, with humans retained for review (Jin et al., 2025). These studies share an important feature: they augment the model with knowledge about what the system is. We contend that far less is known about the effect of augmenting the model with knowledge about how quality criteria should be judged by systems engineers.

These questions matter for large-scale complex engineered systems in particular, where requirement evaluation depends on interdisciplinary SE knowledge, physical and operational constraints, and broader system context rather than linguistic cues alone (Hull et al., 2010; Vincenti, 1990). LLMs cannot readily substitute for the intuition, experience, and specialized knowledge of domain experts (Arora et al., 2024); they exhibit uneven domain knowledge, hallucinations, limitations in technical reasoning, and stochastic output behavior across repeated executions (Kaddour et al., 2023; Shefa et al., 2026; Topcu et al., 2025; Zhang et al., 2025). These characteristics manifest as both false alarms and missed defects (i.e., Type I and II errors), so aggregate performance alone is an insufficient basis for judging their suitability (Cui & Alexander, 2026; Norheim et al., 2024). These concerns become even more consequential as agentic AI approaches gain traction in RE and SE, because LLM-based evaluators may increasingly function as specialized components within larger multi-agent workflows (Hu et al., 2025; Sapkota et al., 2025).

To address these gaps, this study presents and evaluates Modular Assessor of Requirement Quality (MARQ), a prototype that infuses expert-derived, criterion-specific SE knowledge into general-purpose LLMs. MARQ is designed to be LLM-agnostic. Its knowledge stack, prompt assembly, and output parsing are decoupled from the model behind a single adapter, so that the same SE knowledge can be attached to a proprietary frontier model or to an open-weight model hosted locally. We evaluate MARQ against off-the-shelf baselines using three heterogeneous LLMs, Claude Opus 5, GPT-5.6 Sol, and Gemma 3 12B, with 100 independent executions per model under each condition. Specifically, we ask:

RQ1: How and to what extent does MARQ affect requirement quality evaluation performance relative to an off-the-shelf LLM baseline, and does the effect hold across model families?

RQ2: How do the effects of MARQ vary across INCOSE requirement quality criteria?

The study makes four contributions: (i) a reusable, criterion-specific SE knowledge stack that operationalizes the INCOSE individual-requirement quality criteria into testable rules; (ii) a modular, LLM-agnostic prototype architecture that applies that knowledge without fine-tuning, retrieval, or model-specific prompt engineering; (iii) empirical evidence on how knowledge infusion changes overall performance, misses, false alarms, and execution-level consistency across model families; and (iv) criterion-level evidence on where knowledge infusion helps, where it trades one error type for another, and where it does not help.

The remainder of this paper is organized as follows. Section 2 describes the research methodology, and Section 3 presents the results for the overall comparison between the off-the-shelf and SE knowledge-infused conditions, followed by criterion-level findings. Section 4 synthesizes the findings, including performance tradeoffs, model-specific behavior, and considerations for trustworthy AI-assisted RE. Section 5 concludes the paper by summarizing the study's contributions, limitations, and directions for future research.

References (53)