NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Validating Multi-Model AI-Generated Acceptance Criteria in Requirements Engineering

Mateen Ahmed Abbasi, Petri Ihantola, Tommi Mikkonen, Niko MäkitaloarXiv 2026

TL;DR

Large language models are wonderfully fluent at writing software specifications, which is terrifying because a hallucinated requirement can silently derail months of downstream engineering. Instead of trying to build an AI that never makes mistakes, this paper introduces an interactive, multi-model workflow designed to help humans catch them. By putting side-by-side LLM outputs, transparent source context, and explicit human sign-offs into an instrumented workspace, the authors turn requirement validation from an informal afterthought into a rigorous, observable science.

What Problem Does This Paper Address?

When an LLM writes buggy code, your compiler yells at you or your unit tests fail. When an LLM writes a flawed acceptance criterion—the specific conditions a piece of software must meet to satisfy a user story—there is no compiler to save you.

In Requirements Engineering (RE), plausible-sounding text is dangerous. An AI might omit a crucial security constraint or invent a feature stakeholders never asked for, and because the prose is grammatically pristine, it slips right through into design and testing. Most AI-assisted software engineering research focuses on generating better code or better text. Far less attention has been paid to how humans actually validate AI-generated specifications before they become gospel. How do we verify something that relies on human intent and project context rather than formal mathematical proof?

Methods

Rather than proposing a new model architecture, the authors built a Streamlit-based web prototype—an "Acceptance Criteria Assistant"—that operationalizes validation as a structured, human-in-the-loop (HITL) workflow.

End-to-end architecture of the Acceptance Criteria Assistant, combining optional RAG, multi-model generation, human validation, and comprehensive logging.

Here is how the pieces fit together:

  • Flexible Input: Users can paste an existing user story, build one via a guided form, or type an informal requirement and let the system convert it.
  • Transparent RAG Baseline: Optionally, users can ground the AI using Retrieval-Augmented Generation (RAG). The system uses classic, lightweight sparse retrieval (TF-IDF vectorization ranked by cosine similarity) to pull top-$k$ 200-token chunks of example requirements into the prompt. Crucially, this isn't hidden under the hood—the retrieved text is exposed in the UI so the human reviewer can inspect what influenced the model.
  • Multi-Model Orchestration: To avoid single-model blind spots, the system queries up to four models simultaneously using standardized prompts: locally hosted FLAN-T5-Large, and API-based Gemini 2.5 Flash, OpenAI gpt-4o-mini, and LLaMA-3.3.
  • Explicit Ratification & Logging: Outputs are shown side by side. Nothing is accepted by default. Reviewers must actively select criteria, inspect the RAG context, choose a feedback action (Accept, Edit, or Regenerate), and explicitly submit a finalized list. Every click, edit, prompt, and timestamp is logged to a database, turning messy human judgment into structured, analyzable data.

Datasets

No formal training or benchmark evaluation datasets are used to score the models. However, to power the prototype's optional RAG pipeline, the authors compiled an internal retrieval corpus consisting of cross-domain example user stories and associated acceptance-criteria material, sliced into ~200-token chunks. These serve as contextual examples rather than authoritative documentation for a specific project.

Key Insights and Ideas

  • Model disagreement is a feature, not a bug: When querying four LLMs at once, they inevitably emphasize different edge cases or interpret a vague user story differently. Instead of being a nuisance, divergence across side-by-side panels acts as a natural flare gun, signaling to the human reviewer: "Hey, the user story might be ambiguous here—look closer."
  • Grounding $\neq$ Correctness: Exposing RAG chunks in the UI demystifies why a model wrote what it wrote, helping with provenance. However, the authors sharply note that just because a criterion matches retrieved examples doesn't make it right for your specific project. RAG in this context is an inspection aid, not an automated truth-checker.
  • Validation needs instrumentation: By separating intermediate actions (toggling checkboxes, tweaking text) from the final "ratified" submission in the logs, researchers get a flight recorder for human-AI collaboration—allowing them to study how engineers trust, correct, or reject AI specifications.

Key Results

Because this paper presents a system architecture and methodological platform rather than a completed user study, quantitative accuracy or speedup metrics are not discussed in the paper.

Qualitatively, the authors demonstrate a working end-to-end prototype (illustrated via a banking user story) that successfully orchestrates local and cloud LLMs, exposes TF-IDF retrieval provenance, and captures granular interaction traces. Interestingly, their walkthrough highlights a subtle quirk of multi-model UIs: when users cherry-pick good criteria from multiple models, they can accidentally retain redundant, similarly worded rules—proving that human finalization doesn't automatically guarantee clean specifications.

Limitations and Future Work

The authors are refreshingly candid about what their prototype is—and isn't:

  • Simple Retrieval: TF-IDF can miss semantically related text that uses different vocabulary, and fixed 200-token chunking can slice related constraints in half. Future iterations could swap in dense embedding-based retrieval without changing the surrounding workflow.
  • Cognitive Load & Redundancy: Reading four lists of similar criteria gets tiring. The authors suggest future UI extensions that group similar criteria across models while preserving original wording and source provenance.
  • Next Steps—Empirical Studies & Gap Analysis: With the logging infrastructure built, the immediate next step is running user studies to measure edit frequencies, validation effort, and whether model disagreement actually predicts human intervention. Longer term, they hope to expand the tool to spot missing requirements, hidden assumptions, and stakeholder silence across broader project documentation.

Summary updated

BibTeX
@misc{abbasi2026validating,
  author = {Mateen Ahmed Abbasi and Petri Ihantola and Tommi Mikkonen and Niko Mäkitalo},
  title = {{Validating Multi-Model AI-Generated Acceptance Criteria in Requirements Engineering}},
  year = {2026},
  eprint = {2611.32374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32374},
}
Figure