论文

arXiv 论文提出 Transformer 的量子对偶框架,用 ETOC 实时定位 Grokking

A Quantum Duality for Grokking Transformers

精选理由

研究者把 Transformer 和量子系统做了一个精确数学对应,还造了 ETOC 这个量来实时探测 Grokking 何时发生。做训练动力学或泛化机制研究的人可以看看,模加法模乘法任务上的验证结果挺扎实。

一篇 arXiv 论文提出 Transformers 的量子对偶(quantum duality),其基础是 Transformer 的核形式(kernel formulation)与玻色子量子动力系统相干态表示之间的精确对应。作者将这一对偶用于研究 Grokking 现象,借鉴量子混沌的分析方法,引入了等时有序关联子(Equal-Time-Ordered Correlator,ETOC)来刻画训练中的记忆—泛化转变。

正文

核心发现是:ETOC 能够预测并定位 Grokking 发生的时刻——key-key 关联的变化出现在 Grokking 之前,query-key 关联的变化出现在 Grokking 之后,从而实现对 Grokking 的实时精确检测。在模加法与模乘法任务上的数值实验验证了该理论预测。

对研究训练动力学的学者而言,这一框架把 Transformer 训练与量子多体系统的方法论连接起来,为泛化机制研究提供了可计算的可观测量的替代路径。

原文 · arXiv cs.LG

A Quantum Duality for Grokking Transformers

We present a quantum duality for Transformers, and use it to study Grokking. This duality originates from the exact correspondence between the kernel formulation of Transformers and coherent-state representation of bosonic quantum dynamical systems. We highlight its usefulness through a quantum-chaos-style analysis of Grokking in Transformer training dynamics. In particular, we introduce $\underline{E}$qual-$\underline{T}$ime-$\underline{O}$rdered $\underline{C}$orrelator (ETOC) to characterize the memorization-generalization transitions in Grokking. Our key insight is - ETOC predicts and locates Grokking during training, with key-key changes $\textit{right before}$ Grokking and query-key changes $\textit{right after}$ Grokking. This provides precise characterizations and effective detections of Grokking in real time. Numerical results on modular addition and multiplication tasks corroborate with our theory.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:Grokking、Transformer、ETOC、量子混沌,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Yu-An Chen, Henry Liao, Jerry Yao-Chieh Hu),经 AITOP 多维评分管线结构化提炼。