Editor’s introduction
The study examined how human inspectors perform requirements inspection with and without support from large language models (LLMs), measuring accuracy in identifying requirements smells and classifying their severity. A learning effect was observed, but it was diminished when inspectors first used LLMs, suggesting early reliance on AI may slow skill development. Findings indicate that LLMs do not universally improve inspection outcomes and may impair performance in specific aspects when introduced at the start of the learning process.
Introduction
Software inspection is a well-established quality assurance practice that involves the systematic examination of software artifacts with the objective of identifying defects early in the development lifecycle. Since its formalization in the mid-1980s, inspection has been recognized as an effective and cost-efficient technique for improving software quality, reducing overall development costs. Inspections can be applied before executable artifacts exist, making them particularly valuable for detecting defects in requirements artifacts during the requirements engineering (RE) phase. Requirements inspection (RI)—a specialized form of inspection focused on these artifacts—plays a critical role in ensuring the quality, as defects introduced at the RE stage tend to propagate downstream and become expensive to fix. In this context, the notion of requirements smells has gained increasing attention. Requirements smells are indicators of potential quality issues—such as ambiguity, vagueness, or unverifiability—that may hinder understanding or lead to incorrect interpretations. Although not all smells correspond to actual defects, they serve as early warning signals of violations of desirable quality properties. Distinguishing between nocuous (i.e., harmful) and innocuous smells is therefore essential, as it allows inspectors to prioritize issues more likely to negatively affect downstream activities.
To address this gap, we conducted a controlled crossover experiment in which students acting as novice inspectors performed RI tasks with and without ChatGPT (GPT-4o/GPT-4.1 models). Treating students as novice requirements analysts is common in empirical RE studies. ChatGPT was selected among the available LLMs, given preliminary evidence of its potential. Our study focuses on the identification and severity classification of requirements smells (i.e., nocuous vs. innocuous), as well as on inspection duration.
Our results indicate that using ChatGPT as a support tool affects requirements smell detection negatively, while it has no significant effect on smell severity classification. Moreover, inspection performance is influenced by a learning effect: participants generally perform better when executing the task for the second time. However, when the inspection task is first performed with ChatGPT support, this learning effect is reduced across periods. We also observe that longer inspection times are unexpectedly associated with poorer performance. Finally, smell detection and classification performance are positively correlated, indicating that participants who identify more smells also tend to classify them more accurately.
Related Work
Recent research has increasingly investigated the use of LLMs to support requirements quality assurance. A systematic literature review by Wolf et al. synthesizes 26 peer-reviewed studies (2019–2025) on AI-based requirements quality assessment, highlighting a shift since 2023 toward LLM-driven approaches and semantically richer assessments. Part of the works treat LLM as quality defect detectors, while others partially take into account also the human perspective, and the implications of using LLM for inspection.
LLM as Detectors. In the first group, Fantechi et al. explored the use of GPT-3.5 for detecting inconsistencies in natural-language requirements. Their study evaluated the LLM’s predictions against reference assessments provided by students. The results show that the model can identify certain inconsistencies, providing evidence of feasibility, while also highlighting variability in detection accuracy depending on inconsistency type and requirements formulation.
Mahbub et al. evaluated GPT-4’s performance in detecting multiple classes of defects in requirements artifacts, including ambiguities, inconsistencies, and incompleteness. Their study quantitatively assessed the model’s precision across these defect types and different requirements versions. The results indicate that GPT-4 performs better in identifying incomplete requirements than in detecting inconsistencies and ambiguities. The authors concluded that, despite promising results, LLMs cannot replace human analysts in zero-shot settings due to limitations in domain-specific reasoning.
Raj et al. proposed a framework that leverages LLMs to identify, categorize, and resolve ambiguities in software requirements artifacts. The evaluation focuses on the LLM’s ability to identify ambiguity types and generate alternative formulations on a small evaluation set, providing preliminary evidence of LLMs’ potential to support ambiguity-related quality improvement.
LLM and the Human Perspective. In this group, Lubos et al. investigated the use of an LLM to evaluate software requirements quality according to the ISO/IEC/IEEE 29148 standard. Their approach employs the LLM to assess quality characteristics, explain its judgments, and propose improved versions of requirements. The approach was assessed with the involvement of software engineers, who examined the usefulness of the LLM-supported analysis. The results suggest that LLMs can provide valuable support for requirements quality assessment and improvement, particularly through explanations and suggested refinements.
Experimental Objects and Tasks
The experiment was conducted over two sessions, during which participants performed RI tasks. To perform the tasks, participants were provided with (i) a requirements document, (ii) a reference document providing definitions and examples of the selected smell types and the nocuous/innocuous distinction, and (iii) a test document to support RI. Participants were asked to inspect each requirement in the provided requirements document and determine whether it exhibited one of the predefined smell types; classify identified smells as nocuous or innocuous; record the start and end times of the inspection task. Additionally, participants were provided with (iv) a pre-test questionnaire before the inspection sessions, and (v) post-test questionnaires after each inspection session.
The requirements documents were extended versions of two documents previously used in. Starting from these original documents, one of the authors extended the documents and injected additional smells to ensure coverage of all nine selected smell types, with each smell type appearing at least once across the documents and each requirement containing at most one smell22 2 The choice of constraining each requirement to contain at most one smell, although not fully representative of real-world requirements documents, was made to simplify both the inspection task for participants and the subsequent analysis. In particular, allowing multiple smells per requirement would have increased annotation ambiguity for participants and complicated the computation and interpretation of performance measures (e.g., precision and recall).. The same author also performed an initial nocuous/innocuous classification of the injected smells. Subsequently, two additional authors independently inspected the requirements documents, identifying the presence of smells and classifying them as nocuous or innocuous. The three authors then jointly reviewed all identified discrepancies through an iterative, consensus-oriented discussion process until a shared decision was reached for each requirement. Given the inherently subjective and context-dependent nature of requirements smells and their perceived severity, we adopted a dialogic reconciliation process rather than relying on formal inter-rater agreement measures. This process was applied consistently to both smell identification and nocuous/innocuous classification. Based on the final agreed-upon version of the documents, a reference annotation was established for each requirement, specifying the presence or absence of a smell, the smell type, and its nocuous or innocuous classification. This annotated version of the documents served as the ground truth for the subsequent analysis of participants’ inspection performance. Although the initial annotation from one of the authors could have biased the ground truth, we argue that the multiple iterations and re-evaluations mitigate this possible bias.
(ii) Reference document. Participants received a reference document containing the definition of each smell type, along with two illustrative examples and their corresponding explanations. The document also included the definition of the nocuous and innocuous classes, together with two examples for each class.
(iv) Pre-test questionnaire. Before the inspection task, participants completed a pre-test questionnaire collecting demographic and background information. The questionnaire gathered the identifier, gender, age, and the highest degree completed by each participant. In addition, participants self-reported their proficiency in RI and in using LLMs using a five-point scale (1–5). For participants who reported proficiency in RI greater than 1, the questionnaire also collected information about the types of RI tasks with which they were familiar and the contexts in which they had previously performed such tasks.
Data Analysis
To analyze the collected data, we utilized Bayesian data analysis (BDA) within the framework for statistical causal inference (SCI). BDA techniques are more complex to apply than their frequentist counterpart, but offer richer insights that are more intuitive to interpret and more robust against uncertainty. In our particular analysis, BDA allows us to properly model the outcome variables using a distribution family with maximum entropy. Whereas frequentist methods differentiate only normally and non-normally distributed outcomes, BDA distinguishes many more distribution families. Since none of our outcome variables follow a normal distribution, BDA is the the more appropriate choice.
The SCI framework ensures that identified effects are causal and not correlational, within the scope of the collected data. For the overarching SCI framework, we adhered to the three-step process proposed by Siebert, which is based on the seminal work by Pearl. Despite SCI principles being particularly effective for analyzing observational data, they also support analyzing experimental data by distinguishing total from direct effects and clearly guide the analysis in crossover-design experiments. For BDA, we followed established textbooks by McElreath and Gelman et al..
Implications for Practice, Research, and Teaching
Implication for Practice. For practitioners, these results caution against uncritical adoption of LLMs as support tools in RI, especially for novice inspectors. While LLMs can generate plausible explanations and suggestions, their use may inadvertently reduce inspectors’ engagement with the requirements and weaken detection performance. Organizations introducing LLMs into inspection workflows should therefore consider restricting their use to specific phases (e.g., post-inspection review or justification refinement) rather than as a primary aid during initial defect detection. Similar concerns about the impact of early generative AI use on skill development have also been reported in software development contexts, where developers expressed worries that novices would become too reliant on generative AI tools, missing opportunities to develop coding and problem-solving skills.
The lack of time savings suggests that LLM support does not necessarily lead to efficiency gains in inspection tasks. Practitioners should not assume that LLM-assisted inspection will be faster or more effective without careful evaluation in their specific context. Similar patterns have been observed in other software engineering activities. Stray et al. report that the introduction of GitHub Copilot was not associated with substantial, consistently measurable productivity gains in development tasks, despite developers’ strong perception of increased efficiency. This gap between perceived and observed benefits reinforces our findings that LLM support should not be assumed to yield performance or efficiency improvements without careful, context-specific evaluation.
On the other hand, LLMs may still support onboarding novice engineers when positioned as aids for learning and orientation rather than substitutes for human reasoning or task execution. Recent studies suggest that LLMs can help newcomers navigate documentation, reduce information overload, and explore unfamiliar technical material in a self-directed manner. However, effective onboarding still requires sustained human mentoring and supervision.
Implications For Research. From a research perspective, this study contributes empirical evidence to the still underexplored area of human–LLM collaboration in RI. The results highlight the need to move beyond evaluating LLM output quality in isolation and toward studying how LLMs shape human behavior, learning, and decision-making processes. Future research should investigate alternative integration strategies, such as constrained or staged LLM usage, and examine whether different prompting styles, explanations, or transparency mechanisms mitigate the negative effects observed here. Replication studies with professional inspectors and more complex industrial requirements are needed to assess the generalizability of these findings and to understand how expertise moderates the impact of LLM support.
Implications for Teaching. The findings also have important implications for teaching RE. Introducing LLMs too early in inspection training may limit students’ opportunities to develop foundational inspection skills and critical reading abilities. Educators should therefore be cautious when integrating LLMs into RE curricula and consider first grounding students in manual inspection techniques before exposing them to AI-based assistance. These implications are consistent with recent calls for human-centered software engineering education in the AI era, which warn that premature or unstructured use of generative AI tools may undermine foundational learning, reflective practice, and skill development if not carefully integrated into curricula. Complementary empirical evidence emerges from studies of novice interaction with LLMs in educational software engineering contexts. Rahe and Maalej report that programming students using ChatGPT frequently delegated substantial portions of problem-solving to the LLM, often entering repetitive cycles of generating, copying, and submitting solutions without engaging in deeper reasoning. Their analysis also shows that increased interaction time did not translate into improved performance. Despite longer time on task and high perceived usefulness, no corresponding learning or effectiveness gains were observed. These findings closely mirror our observations in RI, reinforcing the concern that unstructured LLM support may reduce cognitive engagement and hinder learning in novice users rather than enhancing inspection effectiveness.
Threats to Validity
Construct Validity. Several covariates (e.g., proficiency in using LLMs and proficiency in RI) may suffer from limited construct validity. These self-reported Likert-scale variables are coarse proxies for the underlying constructs of interest. Given the difficulty of operationalizing such latent concepts, we resorted to common practice of self-reporting on coarse scales. The absence of significant effects for these covariates on the outcome variables may therefore stem from this limited construct validity, and we refrain from drawing conclusions about their impact on the experimental task. The construction of the ground truth may also threaten construct validity. Although the annotation process involved independent inspections by multiple authors followed by iterative consensus-oriented reconciliation discussions, no formal inter-rater agreement metrics were computed. We mitigated this threat through collective review and discussion until a shared agreement was reached for each requirement.
External Validity. The obtained results are subject to several threats to external validity, which limit the scope of the conclusions. Specifically, the experiment does not fully reflect real RI practice in three dimensions: the participants (i.e., experimental subjects), the requirements (i.e., experimental objects), and the RI task itself (i.e., the experimental task). Participants were bachelor students in Computer Engineering, without extensive practical experience in RI. While “using students as participants remains a valid simplification of reality needed in laboratory contexts”, the observed effects may differ for experienced industrial practitioners with established inspection strategies and domain knowledge. Similarly, the requirements used for inspection were simpler than industrial requirements to remain comprehensible within the scope of the experiment. In addition, each requirement contained at most one smell. While this simplified annotation and performance analysis, industrial requirements may contain multiple interacting smells, limiting generalizability to more complex settings. Finally, the RI task was limited to the detection and classification of requirements smells and relied on a predefined set of smell types rather than fully open-ended identification. Although these smell categories were selected from empirically validated taxonomies grounded in industrial practice, this choice may have influenced participants’ inspection behavior and simplified the task compared to real-world RI settings. These simplifications were necessary to make the experiment feasible, but limit the external validity of the results beyond novice inspectors in controlled educational contexts.
Conclusion Validity. The conclusion validity of our results is threatened by two aspects of the data analysis. Firstly, the sample size of 34 participants is relatively limited. Secondly, the analysis involves subjective choices, including the selection of a probability distribution family with maximum entropy, linear model parameters, and prior probability distributions. However, Bayesian data analysis mitigates these threats in two ways. First, it naturally preserves uncertainty in the results, which is reflected in the credibility intervals. Second, it makes all analysis steps explicit, including subjective decisions, allowing other researchers to review and revise them if necessary.


