arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2408.09640cs.CL
收藏

通过大型与小型语言模型获得双向性

Acquiring Bidirectionality via Large and Small Language Models

Research & Development Group, Hitachi, Ltd.(日立公司研发集团);NARA Institute of Science and Technology(奈良科学技术研究所)

Takumi Goto, Hiroyoshi Nagao, Yuta Koreeda

AI总结:

针对大型单向语言模型缺乏双向性的问题,本文提出训练小型反向 LM 并拼接其表示,在命名实体识别中提升逾 10 分,且适用于稀有领域与少样本场景。

摘要:

使用来自 BERT 等双向语言模型(LM)的 token 表示,仍是 token 分类任务中广泛采用的方法。尽管存在 Llama-2 等规模大得多的单向 LM,但它们很少被用来替代双向 LM 的 token 表示。在本研究中,我们假设其缺乏双向性是导致它们落后的原因。为此,我们提出重新训练一个小型反向 LM,并将其表示与现有 LM 的表示拼接,以用于下游任务。通过在命名实体识别中的实验,我们证明引入反向模型可使基准性能提高超过 10 分。此外,我们表明所提出的方法在稀有领域和少样本学习设置中尤其有效。

英文摘要:

Using token representation from bidirectional language models (LMs) such as BERT is still a widely used approach for token-classification tasks. Even though there exist much larger unidirectional LMs such as Llama-2, they are rarely used to replace the token representation of bidirectional LMs. In this work, we hypothesize that their lack of bidirectionality is keeping them behind. To that end, we propose to newly train a small backward LM and concatenate its representations to those of existing LM for downstream tasks. Through experiments in named entity recognition, we demonstrate that introducing backward model improves the benchmark performance more than 10 points. Furthermore, we show that the proposed method is especially effective for rare domains and in few-shot learning settings.

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

↑