单节点自发对称破缺在NLP模型中
Single-Nodal Spontaneous Symmetry Breaking in NLP Models
AI总结:
本文研究了NLP模型中单节点层面的自发对称破缺现象,揭示了节点在预训练和微调中的学习能力变化及节点协作的影响。
摘要:
在统计力学中,自发对称破缺主要发生在热力学极限下的相变过程中,此时哈密顿量保持反演对称性,但低温自由能表现出对称性降低。本文展示在自然语言处理(NLP)模型的预训练和微调过程中,即使在确定性动态和有限训练架构下,也会出现自发对称破缺现象。这种现象发生在单个注意力头的层面,并被缩放至其小子集的节点,甚至在单个节点层面也成立,其中节点在预训练后能够学习有限数量的令牌,或在微调特定分类任务时学习标签。随着节点数量的增加,学习能力出现拐点,由随机猜测中的减少与节点合作带来的增强之间的权衡决定,后者超过单个节点能力的总和。与自旋玻璃系统不同,其中微观冻结自旋状态无法直接与自由能最小化目标联系,本框架中每个节点函数都直接贡献于全局网络任务,并可通过凸包分析上界界定。结果通过在维基百科数据集上预训练的BERT-6架构和在FewRel分类任务上微调进行展示。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。