🤖 AI Summary
Software requirements are often implicit in stakeholder interviews, making them difficult to capture explicitly yet critically important for system design. This work proposes LENS, a novel approach that leverages context-aware large language models (LLMs) to jointly extract explicit requirements and infer implicit ones from interview transcripts, while incorporating organizational context to generate traceable user stories. LENS enables unified modeling and traceability of both explicit and implicit requirements. Evaluated on 12 interview transcripts from the cybersecurity domain, the method achieves an F1 score of 84.4% in explicit requirement extraction, and 75% of the inferred implicit requirements were rated by domain experts as practically valuable, demonstrating its potential to support automation and reduce manual analysis effort.
📝 Abstract
Stakeholder interviews are an important source of information for requirements elicitation, yet many relevant requirements remain implicit in such conversations. Stakeholders frequently describe workflows, challenges, and operational practices without explicitly articulating the software capabilities that could address them. Recent work has considered the use of LLMs to analyze conversational data and extract requirements from stakeholder interviews. Existing approaches, however, primarily focus on identifying explicitly stated requirements, leaving implicit opportunities largely unexplored. In this paper, we present LENS (LLM-Enabled Needs Discovery from Stakeholder Interviews), an approach that analyzes stakeholder interview transcripts to both extract explicit requirements and infer additional latent requirements. LENS performs this inference by reasoning over stakeholder statements together with contextual information about organizational tools and infrastructure. Both extracted and inferred requirements are represented as user stories and linked to transcript excerpts to ensure traceability. We conduct a preliminary evaluation of LENS using twelve stakeholder interview transcripts collected in an industrial setting involving cybersecurity operations. We show that LENS achieves an average F1-score of 84.4% for extracting explicit requirements, while, on average, 75% of the latent requirements identified by LENS were perceived as providing useful automation or time-saving potential by domain experts.