arXiv:2601.20582cs.CLcond-mat.stat-mech2026-01被引 2

发现NLP模型中单个注意力节点可自发破对称,提升任务学习能力。

Single-Nodal Spontaneous Symmetry Breaking in NLP Models

  • 在有限架构下,单个注意力节点可自发选择特定词或标签
  • 节点数增多时,协同效应使整体能力超越个体之和
  • 适用于理解大模型内部机制的从业者

在自然语言处理模型的预训练与微调过程中,即使在确定性动态和有限架构下,仍存在自发对称性破缺现象。该现象发生在单个注意力头层面,且可缩放至单一节点级别:节点在预训练后能学习特定词,在微调后能识别特定标签。随着节点数量增加,学习能力出现跃迁,源于随机猜测误差下降与节点协作增强之间的权衡,协同效应使整体性能超过各节点能力之和。不同于自旋玻璃系统中局域态无法直接关联自由能最小化,本框架中每个节点函数均显式贡献于全局任务,可通过凸包分析进行上界估计。实验基于BERT-6架构在Wikipedia数据集上预训练,并在FewRel分类任务上微调。

原文摘要 · Abstract (English)

Spontaneous symmetry breaking in statistical mechanics primarily occurs during phase transitions at the thermodynamic limit where the Hamiltonian preserves inversion symmetry, yet the low-temperature free energy exhibits reduced symmetry. Herein, we demonstrate the emergence of spontaneous symmetry breaking in natural language processing (NLP) models during both pre-training and fine-tuning, even under deterministic dynamics and within a finite training architecture. This phenomenon occurs at the level of individual attention heads and is scaled-down to its small subset of nodes and also valid at a single-nodal level, where nodes acquire the capacity to learn a limited set of tokens after pre-training or labels after fine-tuning for a specific classification task. As the number of nodes increases, a crossover in learning ability occurs, governed by the tradeoff between a decrease following random-guess among increased possible outputs, and enhancement following nodal cooperation, which exceeds the sum of individual nodal capabilities. In contrast to spin-glass systems, where a microscopic state of frozen spins cannot be directly linked to the free-energy minimization goal, each nodal function in this framework contributes explicitly to the global network task and can be upper-bounded using convex hull analysis. Results are demonstrated using BERT-6 architecture pre-trained on Wikipedia dataset and fine-tuned on the FewRel classification task.

注意力机制模型机制对称性破缺

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。