arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13758cs.CLcs.AIcs.LG
收藏

2-Tier SimCSE:提升BERT以生成稳健的句子嵌入

2-Tier SimCSE: Elevating BERT for Robust Sentence Embeddings

Stanford University(斯坦福大学)

Yumeng Wang, Ziran Zhou, Junjin Wang

AI总结:

本研究提出2-Tier SimCSE模型,结合无监督与有监督对比学习微调minBERT,在STS等任务上平均得分0.742,并分析dropout与迁移学习影响。

摘要:

有效的句子嵌入能够捕捉语义细微差别并在不同上下文中良好泛化,这对自然语言处理任务至关重要。我们通过应用SimCSE(句子嵌入的简单对比学习)使用对比学习来微调minBERT模型,以解决情感分析、语义文本相似度(STS)和释义检测中的这一挑战。我们的贡献包括:实验了三种不同的dropout技术,即标准dropout、课程dropout和自适应dropout,以解决过拟合问题;提出了一种新颖的2-Tier SimCSE微调模型,该模型在STS任务上结合了无监督和有监督的SimCSE;并探索了释义和SST任务的迁移学习潜力。我们的研究结果证明了SimCSE的有效性,其中2-Tier模型在STS任务上取得了优越的性能,在全部三个下游任务上的平均测试得分为0.742。错误分析的结果揭示了在处理复杂情感和依赖词汇重叠进行释义检测方面的挑战,指出了未来研究的领域。消融研究表明,在单任务无监督SimCSE模型中移除自适应dropout导致STS任务性能提升,表明由于添加参数而导致的过拟合。从SimCSE模型在释义和SST任务上的迁移学习并未提升性能,表明从STS任务迁移知识的可迁移性有限。

英文摘要:

Effective sentence embeddings that capture semantic nuances and generalize well across diverse contexts are crucial for natural language processing tasks. We address this challenge by applying SimCSE (Simple Contrastive Learning of Sentence Embeddings) using contrastive learning to fine-tune the minBERT model for sentiment analysis, semantic textual similarity (STS), and paraphrase detection. Our contributions include experimenting with three different dropout techniques, namely standard dropout, curriculum dropout, and adaptive dropout, to tackle overfitting, proposing a novel 2-Tier SimCSE Fine-tuning Model that combines both unsupervised and supervised SimCSE on STS task, and exploring transfer learning potential for Paraphrase and SST tasks. Our findings demonstrate the effectiveness of SimCSE, with the 2-Tier model achieving superior performance on the STS task, with an average test score of 0.742 across all three downstream tasks. The results of error analysis reveals challenges in handling complex sentiments and reliance on lexical overlap for paraphrase detection, highlighting areas for future research. The ablation study revealed that removing Adaptive Dropout in the Single-Task Unsupervised SimCSE Model led to improved performance on the STS task, indicating overfitting due to added parameters. Transfer learning from SimCSE models on Paraphrase and SST tasks did not enhance performance, suggesting limited transferability of knowledge from the STS task.

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

↑