On the Impact of Requirements Smells in Prompts: The Case of Automated Traceability

Large language models (LLMs) are increasingly used to generate software artifacts, such as source code, tests, and trace links. Requirements play a central role in shaping the input prompts that guide LLMs, as they are often used as part of the prompts to synthesize the artifacts. However, the impact of requirements formulation on LLM performance remains unclear. In this paper, we investigate the role of requirements smells— indicators of potential issues like ambiguity and inconsistency— when used in prompts for LLMs. We conducted experiments using two LLMs focusing on automated trace link generation between requirements and code. Our results show mixed outcomes: while requirements smells had a small but significant effect when predicting whether a requirement was implemented in a piece of code (i.e., a trace link exists), no significant effect was observed when tracing the requirements with the associated lines of code. These findings suggest that requirements smells can affect LLM performance in certain SE tasks but may not uniformly impact all tasks. We highlight the need for further research to understand these nuances and propose future work toward developing guidelines for mitigating the negative effects of requirements smells in AI-driven SE processes.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/icse-nier66352.2025.00016
Citations
5
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
16.23
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the Impact of Requirements Smells in Prompts: The Case of Automated Traceability

Jannik Fischbach, Chetan Arora, Andreas Vogelsang, Alessio Ferrari et al.
5 citations
Software Engineering Research
16.23
article

On the Impact of Requirements Smells in Prompts: The Case of Automated Traceability

Jannik Fischbach, Chetan Arora, Andreas Vogelsang, Alessio Ferrari, Giovanna Broccia, A. Korn
article en
5 citations

Abstract

Large language models (LLMs) are increasingly used to generate software artifacts, such as source code, tests, and trace links. Requirements play a central role in shaping the input prompts that guide LLMs, as they are often used as part of the prompts to synthesize the artifacts. However, the impact of requirements formulation on LLM performance remains unclear. In this paper, we investigate the role of requirements smells— indicators of potential issues like ambiguity and inconsistency— when used in prompts for LLMs. We conducted experiments using two LLMs focusing on automated trace link generation between requirements and code. Our results show mixed outcomes: while requirements smells had a small but significant effect when predicting whether a requirement was implemented in a piece of code (i.e., a trace link exists), no significant effect was observed when tracing the requirements with the associated lines of code. These findings suggest that requirements smells can affect LLM performance in certain SE tasks but may not uniformly impact all tasks. We highlight the need for further research to understand these nuances and propose future work toward developing guidelines for mitigating the negative effects of requirements smells in AI-driven SE processes.

University College Dublin (IE), Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" (IT), University of Cologne (DE), Fortiss (DE), Monash University (AU)
Openalex Percentile: Top 1%
Software Engineering Research
16.23
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

On the Impact of Requirements Smells in Prompts: The Case of Automated Traceability — Jannik Fischbach, Chetan Arora, et al. · (2025) | TGRS Research Map | TGRS