Papers for

quantum computing researchers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Quantum analysis reveals patterns in transformer grokking transitions

A Quantum Duality for Grokking Transformers

Abstract: 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.

Fri 27 NovMachine LearningArtificial Intelligence
The gist
Grokking is a mysterious phase in training AI models where they suddenly start to perform well after initially struggling. The authors found a way to understand this by connecting transformers, a kind of AI model, with concepts from quantum physics. They introduced a new tool called ETOC that can spot when and how this improvement happens during training. Their tests on math-related tasks showed this approach matches what really happens in the models.
Open → 2611.37934v1