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

推进语义文本相似度建模:一种带平移ReLU和平滑K2损失的回归框架

Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Loss

School of Software, Tsinghua University(清华大学软件学院)

Bowen Zhang, Chunping Li

AI总结:

针对对比学习处理STS任务存在的细粒度信息利用不足、需大批次以及分类视角忽略语义渐进性的问题,本文提出带Translated ReLU与Smooth K2损失的回归框架,在7个STS基准上取得优异表现。

摘要:

自BERT和RoBERTa问世以来,语义文本相似度(STS)研究取得了突破性进展。尤其是对比学习的采用,大幅提升了各类STS基准上的最优性能。然而,对比学习将文本对划分为语义相似或不相似两类,未能利用细粒度标注信息,且需要大批次规模以防止模型坍缩。这些限制给从事涉及细微相似度等级的STS任务或计算资源有限的研究人员带来了挑战,促使他们探索Sentence-BERT之类的替代方案。尽管Sentence-BERT效率较高,但它从分类角度处理STS任务,忽略了语义关系的渐进性,导致性能欠佳。为弥补这一差距,本文提出了一种创新的回归框架,并设计了两种简单却有效的损失函数:Translated ReLU(平移ReLU)和平滑K2损失(Smooth K2 Loss)。实验结果表明,我们的方法在7个成熟的STS基准上取得了令人信服的性能,并且为对比学习预训练模型的进一步优化提供了可能。

英文摘要:

Since the introduction of BERT and RoBERTa, research on Semantic Textual Similarity (STS) has made groundbreaking progress. Particularly, the adoption of contrastive learning has substantially elevated state-of-the-art performance across various STS benchmarks. However, contrastive learning categorizes text pairs as either semantically similar or dissimilar, failing to leverage fine-grained annotated information and necessitating large batch sizes to prevent model collapse. These constraints pose challenges for researchers engaged in STS tasks that involve nuanced similarity levels or those with limited computational resources, compelling them to explore alternatives like Sentence-BERT. Despite its efficiency, Sentence-BERT tackles STS tasks from a classification perspective, overlooking the progressive nature of semantic relationships, which results in suboptimal performance. To bridge this gap, this paper presents an innovative regression framework and proposes two simple yet effective loss functions: Translated ReLU and Smooth K2 Loss. Experimental results demonstrate that our method achieves convincing performance across seven established STS benchmarks and offers the potential for further optimization of contrastive learning pre-trained models.

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

↑