mlsanityData to 24 Nov 2026

HiddenLens: A Multi-Layer LLM Framework for Detecting and Resolving Hidden Assumptions in Software Requirements

arXiv 2610.29996 ↗Submitted 21 Oct 2026cs.SE cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Natural-language software requirements often omit assumptions about performance, operating conditions, user behaviour, and domain constraints, affecting architecture, testing, and deployment. If undiscovered until implementation, resolving them is far more costly than addressing them early. Although ambiguity and vagueness are widely studied, less attention has been given to assumptions embedded in requirements that appear clear and reasonable. We propose HiddenLens, a novel six-layer BERT-LLM pipeline and, to our knowledge, the first framework engineered to detect, classify, question, and resolve hidden assumptions rather than merely flag ambiguity. Layer 1 uses BERT attention entropy to localise unresolved spans; Layer 2 uses CoT-prompted LLM reasoning to articulate each assumption and its failure risk; Layer 3 uses fine-tuned BERT to classify assumptions into six non-functional requirement categories: performance, security, scalability, usability, reliability, and domain; Layer 4 generates ranked clarification options using FS LLM prompting; Layer 5 enables human validation through confirmation, editing, or rephrasing; and Layer 6 rewrites the requirement using the confirmed resolution, producing an explicit, testable, and traceable requirement. We also introduce the HiddenLens Corpus (HLC), comprising 312 requirements annotated with 847 hidden assumptions across six NFR categories. Inspired by PROMISE and PURE, HLC addresses the lack of annotated data for this task and is, to our knowledge, the first dataset developed specifically for it. HiddenLens outperforms keyword-based and QuARS-Adapted baselines by 71% and 61%, respectively, achieving an end-to-end F1-score of 0.79; its BERT-based NFR classifier achieves an F1-score of 0.847. These results indicate that HiddenLens can help analysts resolve hidden assumptions before they propagate through software development.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 13 of its 37 references that are in the map. Submitted 21 Oct 2026.

Builds on

13 of 37 references.

References · 13

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
  3. 2018Semantically Enhanced Software Traceability Using Deep Learning Techniquescited by 23
  4. 2024Leveraging LLMs for the Quality Assurance of Software Requirementscited by 17
  5. 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 15
  6. 2025Large Language Models (LLMs) for Requirements Engineering (RE): A Systematic Literature Reviewcited by 14
  7. 2016Rapid quality assurance with Requirements Smellscited by 13
  8. 2017What Works Better? A Study of Classifying Requirementscited by 7
  9. 2025Are Prompts All You Need? Evaluating Prompt-Based Large Language Models (LLM)s for Software Requirements Classificationcited by 7
  10. 2023Replication in Requirements Engineering: the NLP for RE Casecited by 5
  11. 2025Automated Non-Functional Requirements Generation in Software Engineering with Large Language Models: A Comparative Studycited by 4
  12. 2025Analysis of LLMs vs Human Experts in Requirements Engineeringcited by 2
1 more
  1. 2026Context-Adaptive Requirements Defect Prediction through Human-LLM Collaborationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Structured but Silent: Probing Capability Requirements in LLM Hidden States
  2. 2026Automating the Detection of Requirement Dependencies Using Large Language Models
  3. 2026A Retrieval-Augmented Framework for Detecting and Resolving Pragmatic Ambiguities in Natural Language Requirements
  4. 2025Enabling Global, Human-Centered Explanations for LLMs:From Tokens to Interpretable Code and Test Generation
  5. 2025LLaVul: A Multimodal LLM for Interpretable Vulnerability Reasoning about Source Code
  6. 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason
  7. 2026Large Language Models Have Unreliable Understanding of Software Engineering Terminology
  8. 2026Do Fine-Tuned LLMs Understand Vulnerabilities? An Investigation into the Semantic Trap