Skip to content
Conference

Toward Cost-Efficient Automated Requirements Traceability with Large Language Models

Aug 2026 · 2026 IEEE 34th International Requirements Engineering Conference Workshops (REW) · pp. 54-63 · 0 citations · 30 references

Abstract

Automated requirements traceability is a critical activity in software engineering, supporting impact analysis, verification and validation, and regulatory compliance. As modern software-intensive systems grow in scale and complexity, maintaining trace links manually becomes increasingly impractical. Recent work has shown that Large Language Models (LLMs) can perform requirements traceability effectively; however, applying powerful LLMs exhaustively to all artifact pairs incurs substantial monetary cost and often depends on closed, proprietary models, collectively limiting scalability, transparency, and practical adoption. This paper investigates costefficient alternatives to exhaustive LLM-based traceability. We propose LightTraceLLM, a framework of two ensemble-based approaches: LightTraceLLM_MV, which aggregates predictions from multiple lightweight LLMs using majority voting, and LightTraceLLM_HE, which selectively invokes a high-end LLM only for ambiguous cases. We also compare against LiSSA, a prior cost-efficient embedding-based approach, and TraceLLM, a high-end LLM baseline, to provide a comprehensive picture of the cost-performance tradeoff space. An extensive empirical evaluation across multiple benchmark datasets shows that the proposed approaches achieve traceability performance comparable to the high-end baseline while reducing monetary inference cost by approximately $\mathbf{6 7 - 9 9 \%}$, depending on the method and dataset.

View source

Similar papers

Preprint Aug 2026

An Empirical Study on the Impact of Normalized Use-Case Specifications on Traceability

This work proposes a requirement-oriented normalization method using controlled natural language and large-language-model-based prompt engineering to strengthen semantic representation and mitigate semantic divergence in source code requirements.

Luoyuan Shi, Yuan-Zhao Zhai, Da-Wei Feng et al. · 0 citations
Conference Aug 2026

Evaluating Template- and Model-Guided LLMs for Requirements Specification

Requirements specification is a pivotal activity in software development. The use of structured templates for specifying requirements can improve their clarity, consistency, and analyzability, which is particularly important in safety-critical domains such as avionics to support verification and certification activitie...

Ikram Darif, Zainab Benlagote, Ghizlane El Boussaidi · 1 citation
#software testing Preprint Sep 2026

On the Impact of Requirement Smells in LLM-Based Code Generation

The results suggest that increasing \textit{smell density} was generally associated with lower test-suite-based functional correctness, although non-smelly requirements could still produce faulty code, and motivates further investigation into task-dependent quality effects in LLM-assisted software engineering.

Hugo Villamizar, Jannik Fischbach, Mert Şahin et al. · 0 citations
#small language model Preprint Sep 2026

Path2Spec: Path-Aware Specification Generation via Large Language Models

This work introduces Path2Spec, a divide-and-conquer framework that leverages LLMs to extract all execution paths from an input program, generates path-specific specifications for each, and merges them into a comprehensive overall specification.

Dan Huang, Zhensu Sun, Hui-Hui Huang et al. · 0 citations
Preprint Sep 2026

LLM-enabled Behavior Driven Development Workflow for Formally Verified Hardware Designs

This work proposes an integrated view on the use of LLMs for EDA and establishes an LLM-enabled behavior driven hardware development workflow, introducing and defining Formal Verification Gherkin Scenarios (FV Gherkin Scenarios), unlocking CNL specifications as the foundation for formally verified hardware designs via...

Luca Müller, Qian Liu, Rolf Drechsler · 0 citations
Conference Aug 2026

Dataset-Aware Prompting for Requirements-to-Code Traceability Link Recovery

Requirements-to-code traceability link recovery is a task in software maintenance, change impact analysis, and quality assurance. Existing information retrieval and large language model (LLM)-based approaches typically generate a candidate set of code artifacts for each requirement and then determine whether each requi...

Xing-Yu Long, Yong-Feng Yin · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.