理解和控制上下文学习中的重复神经元与归纳头
Understanding and Controlling Repetition Neurons and Induction Heads in In-Context Learning
AI总结:
本文从重复神经元视角探究大语言模型重复模式识别与上下文学习性能的关系,发现神经元层深影响其对ICL性能的作用,对比重复神经元与归纳头后提出减少重复输出且保持ICL能力的策略。
摘要:
本文研究了大语言模型(LLMs)识别重复输入模式的能力与其上下文学习(ICL)性能之间的关系。与此前主要关注注意力头的研究不同,我们从技能神经元(尤其是重复神经元)的角度探讨这一关系。实验表明,这些神经元对ICL性能的影响因所在层的深度而异。通过比较重复神经元和归纳头的作用,我们进一步确定了在保持强大ICL能力的同时减少重复输出的策略。
英文摘要:
This paper investigates the relationship between large language models' (LLMs) ability to recognize repetitive input patterns and their performance on in-context learning (ICL). In contrast to prior work that has primarily focused on attention heads, we examine this relationship from the perspective of skill neurons, specifically repetition neurons. Our experiments reveal that the impact of these neurons on ICL performance varies depending on the depth of the layer in which they reside. By comparing the effects of repetition neurons and induction heads, we further identify strategies for reducing repetitive outputs while maintaining strong ICL capabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。