From Inductive to Deductive: LLMs-Based Qualitative Data Analysis in Requirements Engineering
Not on the map. Why?
Abstract (arXiv)
Requirements Engineering (RE) is essential for developing complex and regulated software projects. Given the challenges in transforming stakeholder inputs into consistent software designs, Qualitative Data Analysis (QDA) provides a systematic approach to handling free-form data. However, traditional QDA methods are time-consuming and heavily reliant on manual effort. In this paper, we explore the use of Large Language Models (LLMs), including GPT-4, Mistral, and LLaMA-2, to improve QDA tasks in RE. Our study evaluates LLMs' performance in inductive (zero-shot) and deductive (one-shot, few-shot) annotation tasks, revealing that GPT-4 achieves substantial agreement with human analysts in deductive settings, with Cohen's Kappa scores exceeding 0.7, while zero-shot performance remains limited. Detailed, context-rich prompts significantly improve annotation accuracy and consistency, particularly in deductive scenarios, and GPT-4 demonstrates high reliability across repeated runs. These findings highlight the potential of LLMs to support QDA in RE by reducing manual effort while maintaining annotation quality. The structured labels automatically provide traceability of requirements and can be directly utilized as classes in domain models, facilitating systematic software design.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 31 references that are in the map. First posted on arXiv 27 Apr 2025.
Builds on
15 of 31 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
- 2023Benchmarking Large Language Models for News Summarizationcited by 445
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 250
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 181
- 2023Text Classification via Large Language Modelscited by 106
- 2023LLM-Assisted Content Analysis: Using Large Language Models to Support Deductive Codingcited by 64
- 2024Using LLMs in Software Requirements Specifications: An Empirical Evaluationcited by 20
- 2023Zero-Shot Learning for Requirements Classification: An Exploratory Studycited by 9
3 more
- 2024Using Large Language Models for Natural Language Processing Tasks in Requirements Engineering: A Systematic Guidelinecited by 6
- 2020An experiment exploring the theoretical and methodological challenges in developing a semi-automated approach to analysis of small-N qualitative datacited by 2
- 2024Qualitative Data Analysis in Software Engineering: Techniques and Teaching Insightscited by 2
Built on by
Not cited yet.