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

蒸馏模型中的对比学习

Contrastive Learning in Distilled Models

Valerie Lim, Kai Wen Ng, Kenneth Lim

AI总结:

本文针对BERT在语义文本相似性上表现不佳且难以轻量化部署的问题,将SimCSE对比学习方法应用于DistilBERT架构,提出轻量模型DistilFace,在STS任务上比BERT base提升34.2%。

摘要:

像BERT这样的自然语言处理模型可以为下游NLP任务提供最先进的词嵌入。然而,这些模型在语义文本相似性(Semantic Textual Similarity)上表现不佳,并且可能因体积过大而无法作为轻量级边缘应用部署。我们寻求基于SimCSE论文中的合适对比学习方法,应用于从基于知识蒸馏的模型DistilBERT改编而来的模型架构,以解决这两个问题。我们最终的轻量级模型DistilFace在STS任务上的Spearman相关性平均达到72.1,比BERT base提高了34.2%。

英文摘要:

Natural Language Processing models like BERT can provide state-of-the-art word embeddings for downstream NLP tasks. However, these models yet to perform well on Semantic Textual Similarity, and may be too large to be deployed as lightweight edge applications. We seek to apply a suitable contrastive learning method based on the SimCSE paper, to a model architecture adapted from a knowledge distillation based model, DistilBERT, to address these two issues. Our final lightweight model DistilFace achieves an average of 72.1 in Spearman's correlation on STS tasks, a 34.2 percent improvement over BERT base.

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

↑