Locating requirements in backlog items: Content analysis and experiments with large language models

As agile development has become mainstream, requirements are increasingly managed via issue tracking systems (ITSs). These systems provide a single point of access to the product and sprint backlogs, bugs, ideas, and tasks for the development team. ITSs do not clearly separate requirements from work items. We first tackle a knowledge problem concerning how requirements are formulated in ITSs, including their categoriziation and granularity, the presence of multiple requirements, and the existence of a motivation. Second, to assist practitioners in finding requirements in poorly organized ITSs without changing their way of working we investigate the potential of automated techniques for identifying and classifying requirements in backlog items. Through quantitative content analysis, we analyze 1636 product backlog items sampled from fourteen projects. To explore automated techniques for identifying requirements, we experiment with large language models (LLMs) due to their recent significance in NLP. The labeling of backlog items is largely inconsistent, and user-oriented functional requirements are the prevalent category. A backlog item often contains multiple requirements with different levels of granularity. The experiments with LLMs reveal that encoder-only models (BERT and RoBERTa) are most suitable for extracting and classifying requirements in backlog items compared to decoder-only models (Llama 3, Mistral 7B and ChatGPT with GPT 4). We reveal knowledge and patterns about requirements documentation in ITSs, leading to a better empirical understanding of Agile RE. The experimental results with LLMs provide the foundation for developing automated , unobtrusive tools that identify and classify requirements in ITSs. • We perform content analysis of 1636 product backlog items sampled from 14 projects. • Backlog items are labeled inconsistently, making locating requirements difficult. • We apply five LLM architectures for identifying and classifying requirements in backlog items. • We compare the performance of encoder-only and decoder-only neural architectures. • Encoder-only models are most suitable for locating requirements in backlog items.

Authors

Institutions

Publication Details

Journal
Information and Software Technology
Published
2024-12-12
DOI
https://doi.org/10.1016/j.infsof.2024.107644
Citations
9
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
7.01

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Locating requirements in backlog items: Content analysis and experiments with large language models

Fabiano Dalpiaz, Ashley T. van Can
9 citations
Information and Software Technology
Software Engineering Research
7.01
article

Locating requirements in backlog items: Content analysis and experiments with large language models

Fabiano Dalpiaz, Ashley T. van Can
article en
9 citations

Abstract

As agile development has become mainstream, requirements are increasingly managed via issue tracking systems (ITSs). These systems provide a single point of access to the product and sprint backlogs, bugs, ideas, and tasks for the development team. ITSs do not clearly separate requirements from work items. We first tackle a knowledge problem concerning how requirements are formulated in ITSs, including their categoriziation and granularity, the presence of multiple requirements, and the existence of a motivation. Second, to assist practitioners in finding requirements in poorly organized ITSs without changing their way of working we investigate the potential of automated techniques for identifying and classifying requirements in backlog items. Through quantitative content analysis, we analyze 1636 product backlog items sampled from fourteen projects. To explore automated techniques for identifying requirements, we experiment with large language models (LLMs) due to their recent significance in NLP. The labeling of backlog items is largely inconsistent, and user-oriented functional requirements are the prevalent category. A backlog item often contains multiple requirements with different levels of granularity. The experiments with LLMs reveal that encoder-only models (BERT and RoBERTa) are most suitable for extracting and classifying requirements in backlog items compared to decoder-only models (Llama 3, Mistral 7B and ChatGPT with GPT 4). We reveal knowledge and patterns about requirements documentation in ITSs, leading to a better empirical understanding of Agile RE. The experimental results with LLMs provide the foundation for developing automated , unobtrusive tools that identify and classify requirements in ITSs. • We perform content analysis of 1636 product backlog items sampled from 14 projects. • Backlog items are labeled inconsistently, making locating requirements difficult. • We apply five LLM architectures for identifying and classifying requirements in backlog items. • We compare the performance of encoder-only and decoder-only neural architectures. • Encoder-only models are most suitable for locating requirements in backlog items.

Information and Software TechnologyVol. 179
Utrecht University (NL)
Nederlandse Organisatie voor Wetenschappelijk Onderzoek
Quality Education
Openalex Percentile: Top 3%
Software Engineering Research
7.01
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.