A transfer learning approach for automatic conflicts detection in software requirement sentence pairs based on dual encoders
Yizheng Wang, Tao Jiang, Jinyan Bai, Zhengbin Zou, Tiancheng Xue, Nan Zhang, Jie Luan

TL;DR
This paper introduces a transfer learning framework using dual encoders and hybrid loss optimization to improve automatic conflict detection in software requirement sentences, addressing data imbalance and cross-domain challenges.
Contribution
It proposes a novel framework combining SBERT and SimCSE encoders with a hybrid loss and transfer learning strategies for better conflict detection accuracy.
Findings
Achieves 10.4% improvement in macro-F1 and weighted-F1 scores in in-domain tests.
Attains 11.4% increase in macro-F1 in cross-domain transfer scenarios.
Effectively handles data imbalance and enhances semantic extraction.
Abstract
Software Requirement Document (RD) typically contain tens of thousands of individual requirements, and ensuring consistency among these requirements is critical for the success of software engineering projects. Automated detection methods can significantly enhance efficiency and reduce costs; however, existing approaches still face several challenges, including low detection accuracy on imbalanced data, limited semantic extraction due to the use of a single encoder, and suboptimal performance in cross-domain transfer learning. To address these issues, this paper proposes a Transferable Software Requirement Conflict Detection Framework based on SBERT and SimCSE, termed TSRCDF-SS. First, the framework employs two independent encoders, Sentence-BERT (SBERT) and Simple Contrastive Sentence Embedding (SimCSE), to generate sentence embeddings for requirement pairs, followed by a six-element…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Topic Modeling
