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

复制-粘贴语言模型

Copy-Paste Language Models

Cornell University(康奈尔大学)

Nathan Godey, Yoav Artzi

AI总结:

该研究提出CPLMs,通过添加轻量级复制-粘贴头提升LLMs的上下文复制能力,在1.35亿至17亿参数规模的模型上验证了其在训练效率、下游性能等方面的优势,缓解了LM头的梯度瓶颈。

摘要:

Transformer通常被认为在从输入中复制内容方面效率很高,但本文表明大型语言模型(LLMs)的上下文复制能力可通过显式建模得到提升。本文提出复制-粘贴语言模型(Copy-Paste Language Models,CPLMs),其在传统语言建模(LM)头的基础上添加了轻量级复制-粘贴头。CPLMs可提升训练效率、下游任务性能,并在长上下文和检索设置中提供新的操作点。我们通过预训练参数规模从1.35亿到17亿的模型验证了该方法,结果显示在所有规模和主干网络上均有提升,且训练和推理开销可忽略不计。我们解释CPLMs的成功在于其通过替代梯度路径部分缓解了LM头的梯度瓶颈。

英文摘要:

Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can be improved through explicit modeling. We propose Copy-Paste Language Models (CPLMs), which add a lightweight Copy-Paste head to the conventional language modeling (LM) head. CPLMs improve training efficiency, downstream performance, and offer new operating points in long-context and retrieval setups. We validate our approach by pretraining models from 135M to 1.7B parameters, showing improvements across all scales and backbones with negligible training and inference overheads. We explain the success of CPLMs by showing that they partially mitigate the LM head gradient bottleneck through an alternative gradient path.

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

↑