大型语言模型在持续预训练中如何学习概念?
How Do Large Language Models Learn Concepts During Continual Pre-Training?
AI总结:
本研究揭示了大型语言模型在持续预训练中概念学习的动态机制,通过分析概念电路揭示了概念获取、遗忘及相互作用的规律,为设计更可解释的训练策略提供依据。
摘要:
人类主要通过概念(例如狗)来理解世界,这些抽象的心理表征结构了感知、推理和学习。然而,大型语言模型(LLMs)在持续预训练过程中如何获取、保留和遗忘这些概念仍然了解甚少。在本工作中,我们研究了个体概念的获取与遗忘,以及多个概念通过干扰和协同相互作用的方式。我们将这些行为动态与LLM内部的Concept Circuits(与特定概念相关的计算子图)联系起来,并利用图度量来表征电路结构。我们的分析揭示:(1)LLM的概念电路提供了非平凡且统计显著的概念学习和遗忘信号;(2)概念电路在持续预训练过程中呈现出阶段性的时间模式,初期增加后逐渐减少并稳定;(3)学习增益较大的概念在后续训练中表现出更大的遗忘;(4)语义上相似的概念比弱相关概念诱导更强的干扰;(5)概念性知识在可转移性上有所不同,有些显著促进其他概念的学习。共同,我们的发现提供了概念学习动态的电路层面视角,并指导了更可解释和稳健的概念感知训练策略的设计。
英文摘要:
Human beings primarily understand the world through concepts (e.g., dog), abstract mental representations that structure perception, reasoning, and learning. However, how large language models (LLMs) acquire, retain, and forget such concepts during continual pretraining remains poorly understood. In this work, we study how individual concepts are acquired and forgotten, as well as how multiple concepts interact through interference and synergy. We link these behavioral dynamics to LLMs' internal concept circuits, computational subgraphs associated with specific concepts, and incorporate graph metrics to characterize circuit topology. Our analysis reveals: (1) LLMs' concept circuits provide a non-trivial, consistent signal of concept learning and forgetting; (2) concept circuit topology evolves stage-wise, rising during concept acquisition, and transiently rising before declining during concept forgetting; (3) semantically similar concepts induce stronger interference than weakly related ones; (4) conceptual knowledge differs in their transferability, with some significantly facilitating the learning of others. Together, our findings provide a circuit-level view of concept learning dynamics and motivate concept-aware training strategies, such as Circuit-aware Experience Replay, which uses circuit topology to prioritize concepts vulnerable to forgetting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。