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

BERT是生成式上下文学习器

BERTs are Generative In-Context Learners

University of Oslo(奥斯陆大学)

David Samuel

AI总结:

该研究证明掩码语言模型也具备上下文学习能力,通过简单推理技术让DeBERTa无需改动即可执行生成任务,发现两类模型各有优势,指出结合二者的混合方法颇具前景。

摘要:

尽管上下文学习通常与GPT这类因果语言模型相关,但我们证明这种能力也会在掩码语言模型中“涌现”。通过一种极其简单的推理技术,我们让现有掩码模型DeBERTa无需额外训练或架构改动就能执行生成任务。我们的评估显示,掩码语言模型与因果语言模型的表现差异极大,二者在不同类别的任务上各有明显优势。这些互补的优势表明,学界目前聚焦于因果模型做上下文学习可能存在局限——两种架构都能发展出这类能力,但各有独特优势,这也指明了结合两种目标优势的混合方法这一前景光明的方向。

英文摘要:

While in-context learning is commonly associated with causal language models, such as GPT, we demonstrate that this capability also 'emerges' in masked language models. Through an embarrassingly simple inference technique, we enable an existing masked model, DeBERTa, to perform generative tasks without additional training or architectural changes. Our evaluation reveals that the masked and causal language models behave very differently, as they clearly outperform each other on different categories of tasks. These complementary strengths suggest that the field's focus on causal models for in-context learning may be limiting - both architectures can develop these capabilities, but with distinct advantages; pointing toward promising hybrid approaches that combine the strengths of both objectives.

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

↑