← 研踪 PaperTrailarXiv:2611.37934 · v1
A Quantum Duality for Grokking Transformers
首次提交 2026-11-28 02:56
版本更新 2026-11-28 02:56
雷达观测 2026-11-30 14:38
摘要
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 qual-ime-rdered 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 Grokking and query-key changes 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.
作者备注:Code is at https://github.com/yuanchen2045/grokking_etoc
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-28 02:56 · 最新观测版本
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 qual-ime-rdered 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 Grokking and query-key changes 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.
查看此版本解读 →查看此版本原文 ↗