arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.13690cs.SE
收藏

基于监督语义相似度的冲突检测算法:S3CDA

Supervised Semantic Similarity-based Conflict Detection Algorithm: S3CDA

Garima Malik, Mucahit Cevik, Ayse Basar, Devang Parikh

AI总结:

针对软件需求工程中自动检测冲突的挑战,提出两阶段算法S3CDA,通过语义相似度识别潜在冲突需求对并结合领域特定实体验证,在特定领域数据集上优于GPT-4o等大型语言模型。

摘要:

识别冲突需求是软件需求工程中的关键挑战,常在自动化解决方案中被忽视。多数现有方法依赖手工规则,或难以跨不同领域泛化。本文提出S3CDA,一种两阶段算法,旨在自动检测软件需求中的冲突。该方法首先利用语义相似度识别潜在冲突需求对,随后通过分析重叠的领域特定实体对其进行验证。我们在五个多样的真实世界数据集上评估S3CDA,并与GPT-4o、Llama-3、Sonnet-3.5和Gemini-1.5等流行大型语言模型进行比较。尽管LLMs表现出了潜力,尤其在通用数据集上,但S3CDA在领域特定环境中持续表现更佳,性能更高。研究结果表明,将自然语言处理(NLP)技术与领域感知洞察相结合,为需求冲突检测提供了实用且有效的替代方案。

英文摘要:

Identifying conflicting requirements is a key challenge in software requirement engineering, often overlooked in automated solutions. Most existing approaches rely on handcrafted rules or struggle to generalize across different domains. In this paper, we introduce S3CDA, a two-phase algorithm designed to automatically detect conflicts in software requirements. Our method first identifies potentially conflicting requirement pairs using semantic similarity, and then validates them by analyzing overlapping domain-specific entities. We evaluate S3CDA on five diverse real-world datasets and compare it against popular large language models like GPT-4o, Llama-3, Sonnet-3.5 and Gemini-1.5. While LLMs show promise, especially on general datasets, S3CDA consistently performs better in domain-specific settings with higher performance. Our findings suggest that combining Natural Language Processing (NLP) techniques with domain-aware insights offers a practical and effective alternative for conflict detection in requirements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑