paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context-Adaptive Requirements Defect Prediction through Human-LLM Collaboration

通过人类-LLM协作的上下文自适应需求缺陷预测
ICSE Proceedings of the IEEE/ACM 48th International Conference on Software Engineering2026匹配度 2/10 · 该论文属于需求工程中的缺陷预测,输入是自然语言需求而非程序代码,既不涉及静态分析/形式化验证,也与浮点或贝叶斯程序分析无关;其核心方法(CoT + few-shot 反馈回路)更接近'用提示词技巧提升 LLM 能力',属于用户明确不感兴趣的方向。引用 1 inbox
Max Unterbusch, Andreas Vogelsang
crossref: 2026-09-12

AI 速览

一句话:提出人机协作方法,用LLM思维链与验证示例自适应预测需求缺陷。

传统需求缺陷评估依赖通用模式、规则启发式或大规模标注数据训练的分类器,但“缺陷”的定义随项目、领域和利益相关者解释而变化。本文提出 Human-LLM Collaboration(HLC)方法,将缺陷预测视为自适应过程:利用 LLM 的思维链推理,在反馈循环中由用户验证预测及其解释,验证过的示例再通过少样本学习指导后续预测。作者在 QuRE 基准的 1,266 条梅赛德斯-奔驰需求上,以 weak word smell 进行评估。结果显示,HLC 能有效适应验证示例,仅需 20 个验证示例即可快速提升性能;纳入验证解释而不仅是标签,使其显著优于标准少样本提示和微调 BERT,并保持高召回率。

问题
需求缺陷预测通常依赖通用模式或静态分类器,但缺陷定义具有上下文依赖性,难以跨项目、领域和利益相关者解释迁移。
方法
提出 Human-LLM Collaboration,利用 LLM 思维链与用户验证解释的反馈循环,通过少样本学习不断自适应调整预测。
评估
在 QuRE 基准的 1,266 条梅赛德斯-奔驰需求上针对 weak word smell 评估,并与标准少样本提示和微调 BERT 比较。
原文摘要(Abstract)

Automated requirements assessment traditionally relies on universal patterns as proxies for defectiveness, implemented through rule-based heuristics or machine learning classifiers trained on large annotated datasets. However, what constitutes a “defect” is inherently context-dependent and varies across projects, domains, and stakeholder interpretations. In this paper, we propose a Human-LLM Collaboration (HLC) approach that treats defect prediction as an adaptive process rather than a static classification task. HLC leverages LLM Chain-of-Thought reasoning in a feedback loop: users validate predictions alongside their explanations, and these validated examples adaptively guide future predictions through few-shot learning. We evaluate this approach using the weak word smell on the QuRE benchmark of 1,266 annotated Mercedes-Benz requirements. Our results show that HLC effectively adapts to the provision of validated examples, with rapid performance gains from as few as 20 validated examples. Incorporating validated explanations, not just labels, enables HLC to substantially outperform both standard few-shot prompting and fine-tuned BERT models while maintaining high recall. These results highlight how the in-context and Chain-of-Thought learning capabilities of LLMs enable adaptive classification approaches that move beyond one-size-fits-all models, creating opportunities for tools that learn continuously from stakeholder feedback.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11956,
  title = {Context-Adaptive Requirements Defect Prediction through Human-LLM Collaboration},
  author = {Max Unterbusch and Andreas Vogelsang},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3786582.3786843}
}