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

CoLLEGe:面向大语言模型的概念嵌入生成

CoLLEGe: Concept Embedding Generation for Large Language Models

New York University(纽约大学)

Ryan Teehan, Brenden Lake, Mengye Ren

AI总结:

本文提出元学习框架CoLLEGe,利用少量示例为新概念生成灵活嵌入,使大语言模型无需任务特定训练即可完成新词习得、定义推理和言语推理。

摘要:

当前的语言模型无法即时快速学习新概念,通常需要更复杂的微调过程才能稳健地学习。上下文提示对上下文干扰不够稳健,并且往往无法传递关于新概念的足够信息。NLP中依赖全局词向量的经典少样本词语学习方法,对大语言模型的适用性较差。在本文中,我们提出了一种名为CoLLEGe(Concept Learning with Language Embedding Generation,基于语言嵌入生成的概念学习)的新方法,以实现少样本概念学习的现代化。CoLLEGe是一个元学习框架,能够利用少量示例句子或定义,为新概念生成灵活的嵌入。我们的主要元学习目标仅仅是促进语言模型在后续句子中进行下一个词预测,这使其与语言模型预训练相兼容。我们设计了一系列任务,在具有挑战性的现实场景中测试新概念学习,包括新词习得、定义推理和言语推理,并证明我们的方法在无需任务特定训练的情况下,在每种设置中均取得成功。我们项目的代码和数据可在 https://college-concept-learning.github.io/ 获取。

英文摘要:

Current language models are unable to quickly learn new concepts on the fly, often requiring a more involved finetuning process to learn robustly. Prompting in-context is not robust to context distractions, and often fails to confer much information about the new concepts. Classic methods for few-shot word learning in NLP, relying on global word vectors, are less applicable to large language models. In this paper, we introduce a novel approach named CoLLEGe (Concept Learning with Language Embedding Generation) to modernize few-shot concept learning. CoLLEGe is a meta-learning framework capable of generating flexible embeddings for new concepts using a small number of example sentences or definitions. Our primary meta-learning objective is simply to facilitate a language model to make next word predictions in forthcoming sentences, making it compatible with language model pretraining. We design a series of tasks to test new concept learning in challenging real-world scenarios, including new word acquisition, definition inference, and verbal reasoning, and demonstrate that our method succeeds in each setting without task-specific training. Code and data for our project can be found at https://college-concept-learning.github.io/

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

↑