Automating the Detection of Requirement Dependencies Using Large Language Models
Not on the map. Why?
Abstract (arXiv)
Requirements are inherently interconnected through various types of dependencies. Identifying these dependencies is essential, as they underpin critical decisions and influence a range of activities throughout software development. However, this task is challenging, particularly in modern software systems, given the high volume of complex, coupled requirements. These challenges are further exacerbated by the ambiguity of Natural Language (NL) requirements and their constant change. Consequently, requirement dependency detection is often overlooked or performed manually. Large Language Models (LLMs) exhibit strong capabilities in NL processing, presenting a promising avenue for requirement-related tasks. While they have shown to enhance various requirements engineering tasks, their effectiveness in identifying requirement dependencies remains unexplored. In this paper, we introduce LEREDD, an LLM-based approach for automated detection of requirement dependencies that leverages Retrieval-Augmented Generation (RAG) and In-Context Learning (ICL). It is designed to identify diverse dependency types directly from NL requirements. We empirically evaluate LEREDD against two state-of-the-art baselines. The results show that LEREDD provides highly accurate classification of dependent and non-dependent requirements, achieving an accuracy of 0.93, and an F1 score of 0.84, with the latter averaging 0.96 for non-dependent cases. LEREDD outperforms zero-shot LLMs and baselines, particularly in detecting fine-grained dependency types, where it yields average relative gains of 94.87% and 105.41% in F1 scores for the Requires dependency over the baselines. We also provide an annotated dataset of requirement dependencies encompassing 813 requirement pairs across three distinct systems to support reproducibility and future research.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 48 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
18 of 48 references.
References · 18
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024Continual Learning for Large Language Models: A Surveycited by 144
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2024The Prompt Report: A Systematic Survey of Prompt Engineering Techniquescited by 115
- 2024SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationalescited by 102
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
- 2024Multicalibration for Confidence Scoring in LLMscited by 44
- 2025Exploring the Impact of Temperature on Large Language Models:Hot or Cold?cited by 40
- 2021Automatic Detection of Causality in Requirement Artifacts: the CiRA Approachcited by 11
6 more
- 2021Multi-class Text Classification using BERT-based Active Learningcited by 11
- 2025Large Language Models (LLMs) for Requirements Engineering (RE): A Systematic Literature Reviewcited by 9
- 2021Automatically detecting the conflicts between software requirements based on finer semantic analysiscited by 5
- 2023Minimizing Factual Inconsistency and Hallucination in Large Language Modelscited by 5
- 2021CiRA: A Tool for the Automatic Detection of Causal Relationships in Requirements Artifactscited by 2
- 2025TVR: Automotive System Requirement Traceability Validation and Recovery Through Retrieval-Augmented Generationcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026A Retrieval-Augmented Framework for Detecting and Resolving Pragmatic Ambiguities in Natural Language Requirements
- 2025Are Prompts All You Need? Evaluating Prompt-Based Large Language Models (LLM)s for Software Requirements Classification
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations
- 2025LLM-Driven Cost-Effective Requirements Change Impact Analysis ↗
- 2026BT-APE: A Computationally Light Backtracking Approach to Automatic Prompt Engineering for Requirements Classification ↗
- 2026IDRAAK: From Multi-Agent NLP to Few-Shot Prompting for Semantic Drift Detection in Technical Requirements
- 2025ReqInOne: A Large Language Model-Based Agent for Software Requirements Specification Generation
- 2026Towards Energy-aware Requirements Dependency Classification: Knowledge-Graph vs. Vector-Retrieval Augmented Inference with SLMs