Manuscript Offprint

arXiv:2610.33920

DRILS: Dependency-based Requirement Change Impact Analysis Using LLMs

Romina Etezadi, Ikram Darif, Lionel Briand, Ramesh S, Parkish Peranandam

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ROMINA ETEZADI, School of Electrical Engineering and Computer Science, University of Ottawa, Canada

IKRAM DARIF, School of Electrical Engineering and Computer Science, University of Ottawa, Canada

LIONEL BRIAND, School of Electrical Engineering and Computer Science, University of Ottawa, Canada

and Lero Centre, University of Limerick, Ireland

RAMESH S, General Motors, Detroit, Michigan, United States

PRAKASH PERANANDAM, General Motors, Detroit, Michigan, United States

Throughout the life-cycle of a software system, change is an inevitable and recurring phenomenon. Requirements, far from being static artifacts, are equally susceptible to such changes, as they must continuously adapt to evolving stakeholder needs, emerging constraints or regulations, and shifting project scopes. Managing these changes effectively is therefore a fundamental challenge in software engineering. Given the limited resources available to requirements engineers, the high number of requirements, and the inherent complexity of Natural Language (NL) requirements, manually identifying the impact of a change request on requirements is both error-prone and time-consuming. This challenge is further compounded by the complex interdependencies between requirements. Large Language Models (LLMs), with their strong NL processing capabilities, offer promising solutions for requirements change impact analysis (CIA). However, their effectiveness, particularly when enhanced with advanced techniques, remains underexplored.

In this paper, we present DRILS, an LLM-based agentic framework for requirements Change Impact Analysis (CIA). DRILS employs a multi-agent architecture to generate candidate impact sets for a given change request, complemented by an LLM-as-a-judge to promote diversity during impact set selection. DRILS also features two key components: RE-RAG, a carefully engineered RAG technique that provides focused domain context, and a requirement dependency graph (RDG) as an additional knowledge source. We empirically evaluate DRILS across three datasets manually curated for the CIA task. Our evaluation demonstrates the usefulness of DRILS's individual steps, inputs, and outputs, as well as its superior performance compared with state-of-the-art baselines. Across datasets, DRILS achieves an average recall of 87.1%, precision of 76.3%, and an F1F_{1} score of 81%. It outperforms all baselines across all evaluation metrics while achieving higher effectiveness at a lower cost. The largest relative gains are related to precision, with improvements of 41.1%, 83.4%, and 149.8% over the closest baseline on each dataset. These gains are particularly significant for CIA, as higher precision reduces the number of false positives requiring manual validation. This substantially decreases the manual effort and time required for requirements CIA. Finally, we contribute three manually annotated datasets of requirements change impact sets to support future research.

Additional Key Words and Phrases: Change Impact Analysis, Requirements Engineering, Requirements Dependency, Large Language Models.

Authors' Contact Information: Romina Etezadi, School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada, retez068@uottawa.ca; Ikram Darif, School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada, idarif@uottawa.ca; Lionel Briand, School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada and Lero Centre, University of Limerick, Limerick, Ireland, lbriand@uottawa.ca; Ramesh S, General Motors, Detroit, Michigan, Michigan, United States, ramesh.s@gm.com; Prakash Peranandam, General Motors, Detroit, Michigan, Michigan, United States, prakash.peranandam@gm.com.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM XXXX-XXXX/2026/10-ART

https://doi.org/10.1145/nnnnnnn.nnnnnnn

Romina Etezadi, Ikram Darif, Lionel Briand, Ramesh S, and Prakash Peranandam

ACM Reference Format:

Romina Etezadi, Ikram Darif, Lionel Briand, Ramesh S, and Prakash Peranandam. 2026. DRILS: Dependency-based Requirement Change Impact Analysis Using LLMs. 1, 1 (October 2026), 43 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

Requirements form the foundation of system development and maintenance [48]. They specify what a system should do, the constraints under which it should operate, and the properties it is expected to satisfy. These descriptive documents are most commonly formalized as Requirements Specifications, which establish a shared understanding of the system among all stakeholders involved [57]. Requirements are particularly important because they provide the basis for system design, verification, and validation. Therefore, maintaining accurate and consistent requirements documentation is essential throughout the system lifecycle [38].

Among the most inevitable realities of any system’s lifecycle is change. No system, regardless of how thoroughly it is specified or carefully it is designed, remains static throughout its operational life. Change is driven by different reasons such as evolving regulations, shifting stakeholder needs, discovered system defects, environmental adjustments, technological advancements, or the natural growth of the domain the system serves [37]. Such changes extend to the requirements specifications themselves, requiring engineers to revisit, revise, and realign the documentation to accurately reflect the system’s new state. Since requirements are interdependent, a change to one requirement can affect other requirements that depend on it [42]. Maintaining consistency between the evolving system and its requirements documentation demands careful analysis of which requirements are affected and how changes may propagate through their dependencies. Failure to keep requirements documentation synchronized with actual system changes risks introducing ambiguity, inconsistency, and a growing disconnect between what the system is documented to do and what it actually does. This process is formally known as inter-requirement Change Impact Analysis (CIA), a core practice within the Requirements Engineering (RE) domain [39].

Performing CIA throughout a system’s lifecycle is inherently challenging, particularly in large-scale systems where requirements documentation is extensive. This challenge is particularly pronounced for safety-critical systems due to their additional certification constraints. Under such conditions, the process becomes increasingly time- and resource-intensive, and the likelihood of overlooking affected requirements or misassessing a change’s scope also increases.

To address these challenges, researchers have proposed various techniques to automate the CIA task. Dependency-based approaches rely on dependencies between requirements or other system artifacts to identify impacted requirements and propagate change impact [1, 5, 18, 19, 21, 28, 34, 36, 40]. However, structural dependencies alone are generally insufficient to capture the full semantic implications of a change request. Model-based approaches utilize formal representations of requirements and software artifacts to assess whether they are impacted [1, 5, 28, 34]. However, these approaches require requirements and artifacts to conform to specific modeling formalisms, which limits their applicability across different development contexts. Natural Language Processing (NLP) approaches analyze the linguistic content of requirements and other software artifacts, often leveraging semantic similarity to assess change impact [3, 4]. However, they often rely on shallow linguistic features that fail to capture deeper semantic relationships, and some of them still require substantial human involvement, limiting scalability and automation. Furthermore, across these three categories, many existing approaches primarily focus on propagating change impact across requirements and other software artifacts rather than directly identifying impacted requirements in response to a specific change request.

With the recent advent of Large Language Models (LLMs), researchers have explored their application to various software engineering activities. LLMs are advanced language models trained on large-scale textual data and capable of understanding and generating human-like text. Their natural language processing capabilities, combined with their ability to be fine-tuned for specialized tasks, make them relevant solutions for requirements engineering activities [33, 49]. However, the application of LLMs to requirements CIA remains underexplored. Only a few approaches have been proposed to address this task [13, 45], leveraging prompt engineering and basic RAG techniques. To the best of our knowledge, no existing work has combined the analytical capabilities of LLMs with the structured representation provided by requirements dependency graphs while also leveraging the technical knowledge embedded in the requirements specification for change impact analysis.

In this paper, we present DRILS: Dependency-based Requirement change Impact analysis using LLMs and Requirement-Enrichment RAG (RE-RAG), an automated multi-agent architecture for change impact analysis. DRILS includes four steps. The first step is RE-RAG, a novel adaptation of Retrieval-Augmented Generation (RAG), a technique that enhances large language models by retrieving and incorporating relevant external knowledge at inference time. RE-RAG supports context-aware knowledge retrieval by resolving referential ambiguity and enriching requirements with relevant domain information in the form of concise bullet points to reduce noise. The second step clusters requirements by semantic similarity, facilitating analysis of large specifications. In the third step, impact set identification, two generator agents take as input the enriched requirement clusters, the change request, and a Requirement Dependency Graph (RDG) to identify potentially impacted requirements. The RDG represents requirements and their dependencies, providing information that helps identify additional requirements that may be affected by a change. For each predicted impacted requirement, the generator agents provide a rationale explaining the prediction, the location within the requirement where the change should be applied, and a confidence score. This auxiliary information promotes agent self-reflection and enhances the transparency and credibility of the results. Finally, in the fourth step, a judge agent analyzes the generator agents' outputs to produce the final impact set and a rationale justifying the selection of each requirement. These rationales help requirements analysts interpret the results.

We empirically evaluate DRILS on three distinct systems from the automotive domain. The DRILS architecture achieves an average F1F_{1} score of 80.8% and a recall of 87%. This high recall is particularly important for CIA, as all potentially impacted requirements should be identified, while falsely predicted requirements can subsequently be filtered out by requirements analysts reviewing DRILS outputs. We also conduct ablation studies to assess the impact of auxiliary information generated by the generator agents, RE-RAG, clustering, and the RDG. The results indicate that each type of auxiliary information contributes to improved impact set identification. Their combined effect is particularly pronounced, increasing average recall from 71% to 87% across the three datasets, with an even more substantial improvement on one dataset, where recall increases from 62.5% to 91.6%. The results also demonstrate the benefits of RE-RAG, clustering, and the RDG, with the RDG having the most pronounced and consistent effect across datasets. The results show that incorporating the RDG into DRILS improves overall performance, raising the F1F_{1} score from 77% to 81% with a relative gain of 5.2%.

We compare DRILS against four state-of-the-art baseline approaches covering four categories of CIA techniques. The results show that DRILS substantially outperforms its closest baseline, ProReFiCIA [13], a recently proposed LLM-based technique, in terms of F1F_{1} score. Specifically, the average F1F_{1} score increases from 55% to 81%. Although DRILS achieves higher average recall, its main advantage is substantially higher precision, increasing from 41.33% for ProReFiCIA to 76.3% for DRILS. This higher precision reduces the number of falsely predicted impacted requirements that requirements analysts must review, thereby reducing the manual effort required for CIA.

Romina Etezadi, Ikram Darif, Lionel Briand, Ramesh S, and Prakash Peranandam

The main contributions of this paper are as follows:

• We propose RE-RAG, a new approach that leverages Retrieval-Augmented Generation (RAG) to enrich requirements with concise, targeted domain context while minimizing irrelevant noise.

• We incorporate a Requirement Dependency Graph (RDG) into the LLM’s reasoning process for CIA, enabling it to leverage structured inter-requirement relationships when assessing the scope and propagation of a change.

• We propose a multi-agent architecture that combines multiple generator agents with an LLM-as-a-Judge mechanism, promoting diversity of thought and supporting more robust CIA.

• We introduce three newly constructed datasets specifically designed to benchmark and evaluate the CIA task, addressing the lack of publicly available datasets for this task.

The remainder of this paper is organized as follows. Section 2 presents the DRILS architecture and details its steps and components. Section 3 describes the experimental setup, while Section 4 presents and analyzes the evaluation results. Section 5 provides an in-depth discussion of the findings. Section 6 discusses the threats to the validity of our study. Section 7 reviews the related work. Finally, Section 8 concludes the paper.

References (24)