DOI: 10.1017/pds.2026.10607 ISSN: 2732-527X
Context-aware large language models for ambiguity detection in requirements
Victor Vilhelm Poulsen, Matthias Guertler, Boris Eisenbart, Laura Tomidei, Nathalie SickABSTRACT:
Requirements quality shapes engineering design, yet natural language specifications remain vulnerable to ambiguity. We investigate how LLMs support ambiguity detection using a hybrid dataset combining NASA JWST requirements with systematically injected defects. Using auto-extracted domain knowledge, we compare a domain-agnostic baseline with a context-aware approach. Incorporating domain knowledge helps LLMs better distinguish genuinely ambiguous requirements from acceptable ones, highlighting the potential of context-aware AI assistants for requirements engineering and early-stage design.