ImReq: An LLM-Powered Tool for Assessing and Improving Software Requirements Quality

Thanakorn Inthongsuk, Pantaree Balee, Jaosub Pongthawechai, Chaiyong Ragkhitwetsagul, Pattaraporn Sangaroonsilp, Srisupa Palakvangsa-Na-AyudhyaarXiv 2026

TL;DR

Badly written software requirements act like structural cracks in a foundation, quietly propagating bugs and delays through design, code, and testing. This paper introduces ImReq, a publicly available web tool powered by large language models (LLMs) that automatically checks natural-language requirements against nine international quality standards and rewrites flawed ones. Instead of replacing engineers, it gives teams rigorous, instant editorial feedback while keeping the final decision firmly in human hands.

What Problem Does This Paper Address?

Software requirements are the contract between what a customer needs and what engineers build. Yet nearly half of all software projects that miss their business goals suffer from poor requirements management—costing roughly $51 million for every $1 billion invested. Ambiguous, bundled, or untestable statements are the primary culprits.

To prevent this, the engineering community established ISO/IEC/IEEE 29148:2018, an international standard defining nine characteristics of a well-formed individual requirement, alongside EARS (Easy Approach to Requirements Syntax), which provides five clean sentence templates (like WHEN <trigger>, the system shall...).

The nine ISO 29148 characteristics of a well-formed individual requirement.

The catch? Checking hundreds of sentences against nine distinct criteria by hand doesn't scale, and almost half of industry engineers aren't even familiar with the ISO standard. Meanwhile, existing academic prototypes rarely leave the lab, and commercial AI tools mostly hunt for surface-level ambiguity rather than evaluating full conformance to ISO 29148.

Methods

The authors built ImReq, a three-tier web application (Vue.js frontend, FastAPI/PostgreSQL backend, and an external LLM API, defaulting to ChatGPT gpt-5.4) that turns abstract ISO standards into an automated review pipeline.

The key concept of ImReq: combining project context, ISO criteria, and EARS templates via prompt engineering. -> Self-correction on ID: Let's use art_3d07df8cc185412ea4d8bbb26c1ef2cb.

Fig. 1. The key concept of ImReq

Here is how ImReq processes a CSV upload of requirements:

  • Concurrent, Per-Criterion Prompting: Rather than stuffing all nine ISO rules into one giant prompt—which confuses LLMs—ImReq fires off nine separate, asynchronous requests per requirement. Each prompt injects only the specific rule description (retrieved from a vector store) and enforces a strict JSON output schema returning a PASS/FAIL verdict and a written rationale.
  • Smart Context Injection: Six ISO traits (like Singular or Unambiguous) can be judged from the sentence alone. The other three (Correct, Feasible, and Necessary) require big-picture awareness. If a user uploads reference documents (like a project brief), ImReq injects relevant excerpts only into those three prompts; if no documents are provided, it cleanly marks them UNDETERMINED rather than hallucinating.
  • Targeted Rewriting & Drift Detection: If a requirement fails any check, ImReq rewrites it using either ISO 29148 or EARS syntax—for example, splitting a compound sentence into singular capabilities. Because generative rewrites can accidentally alter original intent, an NLP module calculates Token similarity (Jaccard lexical overlap) and Meaning similarity (SBERT semantic embeddings) to flag semantic drift during side-by-side human review.
Fig. 4. Original vs. suggested versions of the requirements

Datasets

ImReq is prompt-driven rather than fine-tuned, so no training datasets were needed. For evaluation, the authors used:

  • PURE Dataset: A public benchmark of natural-language requirements documents. Fifty requirements across five projects were used by the authors to select the default LLM, and 10 were used for blind quality rankings with practitioners.
  • Proprietary Practitioner Requirements: During hands-on testing, 10 industry practitioners evaluated ImReq using 10–15 real-world requirements from their own active projects. No new public benchmarks were introduced.

Key Insights and Ideas

  • Divide and Conquer Beats Mega-Prompts: Isolating one ISO criterion per LLM call bounds prompt length and prevents criteria from bleeding into one another, turning vague "AI critique" into structured diagnostics.
  • Standards Need Tooling to Matter: In pre-test interviews, 100% of practitioners struggled with ambiguous requirements and half spent over five hours per project reviewing them—yet zero used a formal checklist, standard, or tool. Embedding standards invisibly inside an intuitive UI bridges the gap between academic rigor and daily workflow.
  • Similarity Scores Are Guardrails, Not Guarantees: Combining lexical and semantic similarity helps spot meaning drift, though the authors astutely note that high embedding similarity still can't catch a flipped negation or tweaked number—making the human-in-the-loop UI essential.

Key Results

  • Engine Selection: In a blind comparison of 50 PURE requirements judged by three authors (150 total judgments), ChatGPT (gpt-5.4) edged out Gemini (gemini-3.5-flash), winning 76 to 74 overall and taking 28 of 50 majority votes.
  • Blind Quality Rankings: Ten industry practitioners blindly ranked original requirements against ChatGPT and Gemini rewrites (1 = worst, 3 = best). Across 100 rankings, ImReq with ChatGPT won 74% of comparisons (mean rank 2.62/3.00), Gemini won 25%, and the original human-written requirement won just 1% (once).
  • Usability & Defect Detection: ImReq scored 73.50 on the System Usability Scale (rated "Good," clearing the standard 68 threshold). Practitioners rated it highly for quick learnability (4.3/5), preserving original meaning (4.2/5), saving review time (4.2/5), and accurately catching defects (4.1/5).

Limitations and Future Work

The user study was relatively small—10 practitioners, mostly from SMEs in Thailand, over a single 60-minute session—limiting broad generalization. Additionally, because LLMs are non-deterministic and the authors evaluated single passes, run-to-run variance remains unquantified. Looking ahead, the team plans to curb the LLM's tendency to aggressively over-split requirements on the Singular criterion, ground rewrites in project glossaries to enforce domain terminology, and test ImReq across larger organizations.

Summary updated

BibTeX
@misc{inthongsuk2026imreq,
  author = {Thanakorn Inthongsuk and Pantaree Balee and Jaosub Pongthawechai and Chaiyong Ragkhitwetsagul and Pattaraporn Sangaroonsilp and Srisupa Palakvangsa-Na-Ayudhya},
  title = {{ImReq: An LLM-Powered Tool for Assessing and Improving Software Requirements Quality}},
  year = {2026},
  eprint = {2611.36969},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36969},
}
Figure