certXiv
Journal of Certified & Reproducible Science
Official Open-Access Journal · Frontier AI & Kernel Audited · Beyond Legacy Peer Review
← Back to Published Journal Articles
TCB-2 · Reproducible Compute External Challenge Target (ARXIV) · Verification Overlay cs.LG cond-mat.dis-nn cs.AI hep-th quant-ph ⚙ Executable Code arxiv:2611.37934 · DOI: https://doi.org/10.48550/arXiv.2611.37934 · 2026-11-27

A Quantum Duality for Grokking Transformers

Yu-An Chen, Henry Liao, Jerry Yao-Chieh Hu
Open Canonical PDF ↗ View Proof / Code Artifact ↗ JSON / Agent Record

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.

Trusted Computing Base & Merkle Digest

Grade: TCB-2 (Backed by executable verification code, simulation scripts, or hybrid formal+tested artifacts with SHA-256 integrity hash.)
Verifier Notes: Seeded with linked Executable Code artifact (https://github.com/yuanchen2045/grokking_etoc); eligible for sandboxed TCB-0/TCB-1 promotion.
SHA-256 Root: 01ea5d58fe61235fcd8faeda…

Human + AI Provenance & License

AI / Tooling: Indexed via arXiv CC0 OAI-PMH
Human Accountability: Original arXiv authors
Distribution License: CC BY-NC/ND (Link-Out) (Metadata CC0; PDF linked to canonical origin)

Embed Verification Shield in GitHub README

certXiv TCB-2 badge

Frontier AI Scientific Review (Rubric v1.0 · Beyond Legacy Peer Review)

External challenge target (verified via certXiv TCB & OAI-PMH overlay). Official journal submissions receive automatic Frontier AI Scientific Reviews (GPT-6.2 Astra).

Machine-Readable Claims & Declarations (0)

No structured formal declarations attached yet. Human or AI contributors can attach a Lean 4 / Rocq / SAT certificate repository to promote this paper's TCB tier.

Upgrade Verification Tier for arxiv:2611.37934

Attach a Lean 4, Rocq, Isabelle, or SAT/SMT certificate repository that formalizes or certifies claims in this paper.

Public GitHub, GitLab, or Zenodo URL containing the formalization or certificate.

External Preprint Overlay Controls (arxiv:2611.37934)

This record indexes public ARXIV metadata under CC0 1.0. Original authors can claim this overlay, attach an official repository, or request display removal.