arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.04680cs.CLcs.AIcs.LG
收藏

大语言模型降维的成本:事实回忆在内省学习之前恶化

The Cost of Down-Scaling Language Models: Fact Recall Deteriorates before In-Context Learning

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);MIT Harvard University(麻省理工学院哈佛大学);Google Research(谷歌研究);Google DeepMind(谷歌DeepMind)

Tian Jin, Nolan Clement, Xin Dong, Vaishnavh Nagarajan, Michael Carbin, Jonathan Ragan-Kelley, Gintare Karolina Dziugaite

AI总结:

研究探讨了大语言模型参数数量缩放对核心能力的影响,发现模型规模缩减会显著降低事实回忆能力,但对内省信息处理影响较小。

摘要:

如何缩放大语言模型(LLMs)的参数数量会影响其核心能力?我们研究了两种自然缩放技术——权重剪枝和简单训练更小或更大的模型(称为密集缩放)——对LLMs两个核心能力的影响:(a)回忆训练期间呈现的事实,以及(b)处理推理期间呈现的信息。通过设计一系列任务来区分这两种能力,我们发现这两种能力在缩放时的表现存在显著差异。通过超过30%的模型规模缩减(通过任一缩放方法)会显著降低对训练期间呈现事实的回忆能力。然而,60-70%的缩减在很大程度上保留了模型处理内省信息的各种方式,从从长上下文检索答案到从内省示例中学习参数化函数。两种缩放方法均表现出这种行为,表明缩放模型大小对事实回忆和内省学习有本质上不同的影响。

英文摘要:

How does scaling the number of parameters in large language models (LLMs) affect their core capabilities? We study two natural scaling techniques -- weight pruning and simply training a smaller or larger model, which we refer to as dense scaling -- and their effects on two core capabilities of LLMs: (a) recalling facts presented during pre-training and (b) processing information presented in-context during inference. By curating a suite of tasks that help disentangle these two capabilities, we find a striking difference in how these two abilities evolve due to scaling. Reducing the model size by more than 30\% (via either scaling approach) significantly decreases the ability to recall facts seen in pre-training. Yet, a 60--70\% reduction largely preserves the various ways the model can process in-context information, ranging from retrieving answers from a long context to learning parameterized functions from in-context exemplars. The fact that both dense scaling and weight pruning exhibit this behavior suggests that scaling model size has an inherently disparate effect on fact recall and in-context learning.

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

↑