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

无监督句子表示学习:基于频率诱导对抗调优与不完整句子过滤

Unsupervised Sentence Representation Learning with Frequency-induced Adversarial Tuning and Incomplete Sentence Filtering

Jilin University(吉林大学)

Bing Wang, Ximing Li, Zhiyao Yang, Yuanyuan Guan, Jiayin Li, Shengsheng Wang

AI总结:

针对预训练语言模型因词频导致嵌入各向异性,提出SLT-FAI框架,通过频率诱导对抗调优和不完整句子过滤,实现频率不变嵌入空间,提升无监督句子表示质量,优于现有基线。

摘要:

预训练语言模型(PLM)如今是无监督句子表示学习(USRL)的中流砥柱。然而,PLM对其预训练语料中单词的频率信息敏感,导致嵌入空间呈各向异性,其中高频单词的嵌入聚集在一起,而低频单词的嵌入则稀疏分散。这种各向异性现象导致了相似性偏差和信息偏差两个问题,降低了句子嵌入的质量。为解决这些问题,我们利用单词的频率信息对PLM进行微调,并提出了一种新颖的USRL框架,即基于频率诱导对抗调优与不完整句子过滤的句子表示学习(SLT-FAI)。我们计算PLM预训练语料中的单词频率,并为单词分配阈值频率标签。借助这些标签,(1)我们引入一个相似性判别器,用于区分高频和低频单词的嵌入,并利用该判别器对PLM进行对抗性调优,从而实现均匀的频率不变嵌入空间;(2)我们提出了一种新颖的不完整句子检测任务,其中引入一个信息判别器,通过随机掩蔽若干低频单词来区分原始句子和不完整句子的嵌入,从而强调更具信息量的低频单词。我们的SLT-FAI是一个灵活且即插即用的框架,可与现有USRL技术集成。我们在基准数据集上使用多种骨干网络评估了SLT-FAI。实验结果表明,SLT-FAI优于现有的USRL基线方法。我们的代码已发布在\url{https://github.com/wangbing1416/SLT-FAI}。

英文摘要:

Pre-trained Language Model (PLM) is nowadays the mainstay of Unsupervised Sentence Representation Learning (USRL). However, PLMs are sensitive to the frequency information of words from their pre-training corpora, resulting in anisotropic embedding space, where the embeddings of high-frequency words are clustered but those of low-frequency words disperse sparsely. This anisotropic phenomenon results in two problems of similarity bias and information bias, lowering the quality of sentence embeddings. To solve the problems, we fine-tune PLMs by leveraging the frequency information of words and propose a novel USRL framework, namely Sentence Representation Learning with Frequency-induced Adversarial tuning and Incomplete sentence filtering (SLT-FAI). We calculate the word frequencies over the pre-training corpora of PLMs and assign words thresholding frequency labels. With them, (1) we incorporate a similarity discriminator used to distinguish the embeddings of high-frequency and low-frequency words, and adversarially tune the PLM with it, enabling to achieve uniformly frequency-invariant embedding space; and (2) we propose a novel incomplete sentence detection task, where we incorporate an information discriminator to distinguish the embeddings of original sentences and incomplete sentences by randomly masking several low-frequency words, enabling to emphasize the more informative low-frequency words. Our SLT-FAI is a flexible and plug-and-play framework, and it can be integrated with existing USRL techniques. We evaluate SLT-FAI with various backbones on benchmark datasets. Empirical results indicate that SLT-FAI can be superior to the existing USRL baselines. Our code is released in \url{https://github.com/wangbing1416/SLT-FAI}.

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

↑