AI and the World's Hard Problems · Quantum physics & quantum computing · arXiv · 2026-11-30
A Quantum Duality for Grokking Transformers

The paper studies grokking, the shift from memorization to generalization in Transformer training. It presents a quantum duality linking the kernel formulation of Transformers to coherent-state representations of bosonic systems, and introduces the Equal-Time-Ordered Correlator (ETOC) to track the transition. The authors report that ETOC predicts and locates grokking during training, with key-key changes just before it and query-key changes just after, and numerical results on modular addition and multiplication agree with the theory.