arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.08719cs.CLcs.AI
收藏

蒸馏单语与跨语语境词表示

Distilling Monolingual and Crosslingual Word-in-Context Representations

Tokyo Institute of Technology(东京工业大学);Ehime University(爱媛大学)

Yuki Arase, Tomoyuki Kajiwara

AI总结:

本研究提出一种无需人工标注语料、不更新预训练模型参数的语境词表示蒸馏方法,通过自注意力组合模型隐藏层输出,在单语和跨语基准任务上均取得良好效果。

摘要:

本研究提出一种方法,可在单语和跨语两种设置下,从预训练掩码语言模型中蒸馏语境下的词义表示。词表示是语境感知词汇语义学与无监督语义文本相似度(STS)估算的基础。与现有方法不同,本方法无需人工标注语料库,也无需更新预训练模型的参数——后一特性在实际场景中颇具吸引力,因为现成的预训练模型是不同应用间的通用资产。具体而言,本方法利用自注意力机制学习组合预训练模型不同隐藏层的输出,其基于自编码器的训练仅需自动生成的语料库。为评估所提方法的性能,我们利用多种基准任务开展了大量实验。单语任务结果证实,我们的表示在语境感知词汇语义任务上的性能与既往研究相当,在STS估算任务上则优于既往研究。跨语任务结果表明,所提方法大幅提升了多语言预训练模型的跨语词表示效果。

英文摘要:

In this study, we propose a method that distils representations of word meaning in context from a pre-trained masked language model in both monolingual and crosslingual settings. Word representations are the basis for context-aware lexical semantics and unsupervised semantic textual similarity (STS) estimation. Different from existing approaches, our method does not require human-annotated corpora nor updates of the parameters of the pre-trained model. The latter feature is appealing for practical scenarios where the off-the-shelf pre-trained model is a common asset among different applications. Specifically, our method learns to combine the outputs of different hidden layers of the pre-trained model using self-attention. Our auto-encoder based training only requires an automatically generated corpus. To evaluate the performance of the proposed approach, we performed extensive experiments using various benchmark tasks. The results on the monolingual tasks confirmed that our representations exhibited a competitive performance compared to that of the previous study for the context-aware lexical semantic tasks and outperformed it for STS estimation. The results of the crosslingual tasks revealed that the proposed method largely improved crosslingual word representations of multilingual pre-trained models.

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

↑