Global Low-Rank, Local Full-Rank: The Holographic Encoding of Learned Algorithms

Yongzhong Xu
2/20/2026
cs.LGcs.AI

No official code found. Best implementation: skydancerosel/holographic_encoding (0 stars, last commit 2026-02-22).

Abstract

Grokking -- the abrupt transition from memorization to generalization after extended training -- has been linked to the emergence of low-dimensional structure in learning dynamics. Yet neural network parameters inhabit extremely high-dimensional spaces. How can a low-dimensional learning process produce solutions that resist low-dimensional compression? We investigate this question in multi-task modular arithmetic, training shared-trunk Transformers with separate heads for addition, multiplication, and a quadratic operation modulo 97. Across three model scales (315K--2.2M parameters) and five weight decay settings, we compare three reconstruction methods: per-matrix SVD, joint cross-matrix SVD, and trajectory PCA. Across all conditions, grokking trajectories are confined to a 2--6 dimensional global subspace, while individual weight matrices remain effectively full-rank. Reconstruction from 3--5 trajectory PCs recovers over 95\% of final accuracy, whereas both per-matrix and joint SVD fail at sub-full rank. Even when static decompositions capture most spectral energy, they destroy task-relevant structure. These results show that learned algorithms are encoded through dynamically coordinated updates spanning all matrices, rather than localized low-rank components. We term this the holographic encoding principle: grokked solutions are globally low-rank in the space of learning directions but locally full-rank in parameter space, with implications for compression, interpretability, and understanding how neural networks encode computation.

View on arXivView PDF

Code Implementations(1)

Global Low-Rank, Local Full-Rank: The Holographic Encoding of Learned Algorithms — multi-task grokking experiments

00PythonFeb 20, 20268 months ago

Similar Papers

Cite this paper

@article{xu2026global,
  title  = {Global Low-Rank, Local Full-Rank: The Holographic Encoding of Learned Algorithms},
  author = {Yongzhong Xu},
  year   = {2026},
  eprint = {2602.18649},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.18649v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.18649.svg)](https://codeofpaper.com/paper/2602.18649)

Discussion