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

注入Wiktionary以使用对比学习改进词元级别的上下文表示

Injecting Wiktionary to improve token-level contextual representations using contrastive learning

Université Paris Cité(巴黎城市大学);Aix Marseille Univ(艾克斯-马赛大学)

Anna Mosolova, Marie Candito, Carlos Ramisch

AI总结:

本文提出利用英文Wiktionary作为监督源,通过对比学习微调预训练语言模型以改进词元级上下文表示,并在WiC任务上取得新SoTA结果及显著改进。

摘要:

尽管静态词嵌入对上下文视而不见,但在词汇语义任务中,上下文在上下文词嵌入中却显得过于显著,相同含义出现的向量彼此过于不同(Ethayarajh, 2019)。已有研究提出利用自动自增强样本,通过对比学习对预训练语言模型(PLMs)进行微调(Liu et al., 2021b)。在本文中,我们研究如何将词典作为替代监督源进行注入,使用的是英文Wiktionary。我们还测试了降维如何影响生成的上下文词嵌入。我们在无监督设置(不使用训练集)下,于Word-In-Context(WiC)任务上评估了我们的方法。我们在原始WiC测试集上取得了新的SoTA结果。我们还提出了两个新的WiC测试集,并证明我们的微调方法在其中取得了显著改进。我们还观察到在语义框架归纳任务上的改进,尽管幅度不大。尽管我们以英文进行实验以便与相关工作进行比较,但我们的方法可适应于存在大型Wiktionary的众多语言。

英文摘要:

While static word embeddings are blind to context, for lexical semantics tasks context is rather too present in contextual word embeddings, vectors of same-meaning occurrences being too different (Ethayarajh, 2019). Fine-tuning pre-trained language models (PLMs) using contrastive learning was proposed, leveraging automatically self-augmented examples (Liu et al., 2021b). In this paper, we investigate how to inject a lexicon as an alternative source of supervision, using the English Wiktionary. We also test how dimensionality reduction impacts the resulting contextual word embeddings. We evaluate our approach on the Word-In-Context (WiC) task, in the unsupervised setting (not using the training set). We achieve new SoTA result on the original WiC test set. We also propose two new WiC test sets for which we show that our fine-tuning method achieves substantial improvements. We also observe improvements, although modest, for the semantic frame induction task. Although we experimented on English to allow comparison with related work, our method is adaptable to the many languages for which large Wiktionaries exist.

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

↑