微小大脑,巨大影响:仅用少量提示揭示LLM的关键神经元
Tiny Brains, Giant Impact: Uncovering the Keystone Neurons of LLM with Just a Few Prompts
AI总结:
本研究通过跨任务激活强度分析,发现大型语言模型中存在一组极其稀疏的关键神经元,其移除会导致模型行为崩溃,并基于此提出仅更新关键神经元的微调方法,在少量参数修改下达到与全参数微调相当或更优的任务性能。
摘要:
大型语言模型(LLM)展现出强大的综合能力,但支撑这些行为的内部机制仍未被充分理解。在这项工作中,我们展示了在多种开放权重Transformer模型中,存在一组神经元在跨多个能力维度的任务推理期间始终保持高度激活。通过沿跨任务激活强度进行探测,我们分离出一个极其稀疏的子集,其移除会导致模型行为崩溃,我们将其称为关键神经元。我们的分析揭示,关键神经元是模型的一个稳定且内在的神经元子集,主要在预训练期间建立。与这些神经元相关的参数在训练过程中被紧密校准,其精确值对模型能力至关重要。基于这些见解,我们提出了一种监督微调方法,仅更新关键神经元,在修改远少于全参数的情况下,实现了与全参数微调相当甚至更好的任务增益,同时更好地保留了其他能力维度的性能。
英文摘要:
Large language models (LLMs) display strong comprehensive abilities, yet the internal mechanisms that support these behaviors remain insufficiently understood. In this work, we show that across a wide range of open-weight Transformers, a subset of neurons remains consistently highly activated during inference across tasks of multiple capability dimensions. By probing along the cross-task activation strength, an extremely sparse subset is isolated, whose removal causes a collapse in model behavior, which we term keystone neurons. Our analysis reveals that keystone neurons are a stable and intrinsic neuron subset of the model that is largely established during pretraining. The parameters associated with these neurons are tightly calibrated during the training process, and their precise values are critical for the capabilities of the model. Building on these insights, we propose a supervised fine-tuning approach that updates only keystone neurons, achieving task gains comparable to or even better than full-parameter fine-tuning while better preserving performance in other capability dimensions, despite modifying a much smaller number of parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。