InfoCSE:信息聚合的句子嵌入对比学习
InfoCSE: Information-aggregated Contrastive Learning of Sentence Embeddings
摘要:
对比学习在句子嵌入学习中得到了广泛的研究,它假设同一个句子的不同观点的嵌入更接近。这个假设带来的约束是弱的,一个好的句子表示还应该能够重构原始的句子片段。因此,本文提出了一个信息聚合的对比学习框架学习无监督句子嵌入,称为InfoCSE。InfoCSE通过引入额外的Masked语言模型任务和精心设计的网络,强制[CLS]位置的表示聚合更密集的句子信息。我们在几个基准数据集上评估了所提出的InfoCSE的语义文本相似性(STS)任务。实验结果表明,InfoCSE在BERT-base和BERT-large上的平均Spearman相关性分别为2.60%和1.77%,优于SimCSE,在无监督语句表示学习方法中取得了最好的效果.我们的代码可从https://github.com/caskcsg/sentemb/tree/main/InfoCSE获得。
英文摘要:
Contrastive learning has been extensively studied in sentence embedding learning, which assumes that the embeddings of different views of the same sentence are closer. The constraint brought by this assumption is weak, and a good sentence representation should also be able to reconstruct the original sentence fragments. Therefore, this paper proposes an information-aggregated contrastive learning framework for learning unsupervised sentence embeddings, termed InfoCSE. InfoCSE forces the representation of [CLS] positions to aggregate denser sentence information by introducing an additional Masked language model task and a well-designed network. We evaluate the proposed InfoCSE on several benchmark datasets w.r.t the semantic text similarity (STS) task. Experimental results show that InfoCSE outperforms SimCSE by an average Spearman correlation of 2.60% on BERT-base, and 1.77% on BERT-large, achieving state-of-the-art results among unsupervised sentence representation learning methods. Our code are available at https://github.com/caskcsg/sentemb/tree/main/InfoCSE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。