When a language model reviews requirements
Three studies let language models review requirements. How well they judge depends heavily on what they are compared against.
Published on
Checking requirements against quality characteristics is manual work: someone reads every sentence and asks whether it is unambiguous and whether it can be verified at all. It is an obvious job to hand to a language model, and a number of studies have now measured how well models do it. Their figures, though, often say more about the reference than about the model.
A systematic literature review by Zadenoori, Dąbrowski, Alhoshan, Zhao and Ferrari covers 74 studies from 2023 and 2024. It finds that the focus has shifted: defect detection and classification used to dominate, while most studies now apply language models to elicitation and validation. The models are mostly from the GPT family, and evaluation mostly happens in controlled environments, rarely in industry (Zadenoori et al., 2025). Of the three papers below, one explicitly draws on requirements from two companies and another on a case study from the automotive field.
Nine characteristics, one model
At the RE 2024 conference, Lubos and colleagues from Graz University of Technology had a language model judge requirements against the nine characteristics of a good requirement in ISO/IEC/IEEE 29148: necessary, appropriate, unambiguous, complete, singular, feasible, verifiable, correct and conforming (Lubos et al., 2024). How the standard is currently being revised is the subject of an earlier post.
The model was Llama 2 with 70 billion parameters. For each characteristic it had to say whether a requirement met it, explain why and propose a better version. Two projects were used: ten requirements for a stopwatch, generated by Llama 2 itself and deliberately left uncorrected, and 63 requirements from the DigitalHome project in the PURE dataset. Each requirement and each model response was rated by at least four people with a software engineering background.
There were two rounds. In the first, participants judged without knowing the model's answer. In the second, they saw the model's verdict and explanation and decided whether they agreed. The study reports agreement with the model as Cohen's kappa.
For the stopwatch, kappa was 0.40 in the independent round and 0.75 after participants had seen the explanation. For DigitalHome, which the authors describe as a real-world project, it was 0.05 and 0.22. The authors say themselves that they cannot claim the model and the participants judge the same way.
The number depends on the reference
More interesting than the values themselves is the jump between the rounds. In the second round, participants could change their verdict if the model's explanation convinced them, and according to the authors they did so, moving towards the model. That speaks for the explanations, and most participants did find them plausible. But it also means that part of the higher agreement comes from people following the model. When an in-house reviewer changes their verdict after reading the model's explanation, the question is: had they missed something, or did a well-worded explanation change their mind?
The reference is uncertain as well. Where participants reached no clear majority or the majority was unsure, the study counted the characteristic as not met, and the authors call this an assumption.
The authors stay cautious. Current models, they write, are not capable enough to automate the task fully. In their assessment, a model is currently most useful when it suggests and explains possible flaws to people (Lubos et al., 2024). One model and one prompt template were tested.
Small models, examples from your own requirements
An industrial study presented at ICSME 2025 takes a different route. Bashir, Ferrari and colleagues from RISE, Mälardalen University, University College Dublin, Westermo and Alstom asked about a single characteristic: is a requirement ambiguous or not? The data come from three projects at Westermo, a provider of industrial communication technology, and Alstom, a rail vehicle manufacturer. Together they hold 663 requirements. They used three small models with 1.5 to 8 billion parameters: Qwen 2.5, Phi-3 Mini and Llama 3 (Bashir et al., 2025).
Examples helped markedly. With ten examples from the same project in the prompt, the authors report that the models performed 20.2 per cent better on average than with no example at all; they do not say which measure this refers to. Whether the examples were chosen by similarity or drawn at random made no consistently measurable difference.
Eight experts from the two companies rated a sample of the explanations from all three models on a scale from 1 to 5, at 3.84 on average. Usefulness scored lowest, at 3.38 with a wide spread. The weaknesses lay where domain knowledge is needed. Technical terms were misunderstood, and the models often accepted references to standards without checking whether they were complete or relevant.
Rewriting is a different task
A person can reject a verdict such as "not verifiable", and the requirement stays as it is. When a model rewrites the requirement, it changes the content. A case study by Arthur Oliveira at the INCOSE International Symposium 2024 shows how that can go wrong (Oliveira, 2024).
First he checked 148 requirements for vehicle features with no language model at all: a rule-based text analysis compared them with the EARS sentence templates and 15 INCOSE rules. Of these, 34 per cent did not follow EARS and 82 per cent broke the INCOSE rules. Only then did a language model rewrite flagged requirements, with the hints from the rule check as input; the rule check reviewed the result again and sent it back if needed. Of 56 requirements the model rewrote, six lost information or became unclear. In one example, a precondition disappeared. The more hints a requirement had, the harder it was for the model to apply all of them, and it tended to shorten the requirements.
Anyone who accepts a model's suggestions therefore needs a comparison with the old version that shows which conditions and limits have changed or disappeared. A requirement that follows every rule but has lost a precondition is worse than before.
Before an in-house trial
The three papers do not support general conclusions. Lubos and colleagues tested a single model with one prompt template, Bashir and colleagues asked only about ambiguity, and Oliveira describes a single case. Before a model joins the review, it still pays to measure your own reviewers against each other on a sample. Only then do you know what agreement between model and people is worth. In the trial itself, reviewers should give their verdict before they see the model's. Otherwise you are also measuring how persuasively the model writes.
Rated examples from your own requirements belong in the trial too; in the study by Bashir and colleagues they helped noticeably, even with small models.
Sources
- Zadenoori, Dąbrowski, Alhoshan, Zhao, Ferrari: Large Language Models (LLMs) for Requirements Engineering (RE): A Systematic Literature Review, arXiv, September 2025 – 74 studies, tasks, models, evaluation
- Lubos, Felfernig, Tran, Garber, El Mansi, Polat Erdeniz, Le: Leveraging LLMs for the Quality Assurance of Software Requirements, RE 2024 – Llama 2, ISO/IEC/IEEE 29148, Cohen's kappa
- Bashir, Ferrari, Khan, Strandberg, Haider, Saadatmand, Bohlin: Requirements Ambiguity Detection and Explanation with LLMs: An Industrial Study, ICSME 2025 – datasets, results, rating of explanations
- Oliveira: Impact Analysis of using Natural Language Processing and Large Language Model on Automated Correction of Systems Engineering Requirements, INCOSE International Symposium 2024, slides – EARS, INCOSE rules, rewriting