{
  "id": 1561,
  "kind": "paper",
  "title": "Subspace Crystallization in Grokking: Rank Compression Tracks the Phase Transition",
  "summary": "Question: when a network groks - generalizes long after memorizing - the effective rank of its weight matrices collapses; does that rank compression cause grokking or follow it? Setup: a mean-field MLP and a one-layer transformer trained on modular arithmetic ((a+b) mod 97; the MLP also ab mod 97 and (a+b) mod 113), full batch, AdamW; compression tracked via effective rank and a 'sufficient subspace' (the fewest top singular directions preserving 99% of test accuracy, with a margin-free variant counting directions that keep outputs within 10%). Findings: (1) Timing - every transformer memorizes within 250 steps while grokking onset (first step at 95% test accuracy) varies from 6,500 to 21,000 steps; the steepest effective-rank fall comes about 900 steps AFTER onset, however late onset arrives, and networks that memorize without grokking compress far less - compression tracks the transition, not memorization. (2) Crystallization - at the transition the transformer's sufficient subspace falls discontinuously from a quarter or more of the available directions to about a tenth; the surviving subspace is interpretable: the (a+b) mod 97 circuit needs only ~4 singular directions, the embedding encodes ~4 Fourier frequencies, and the grokked rank is roughly double that (a full Fourier basis) - the rank is dictated by the problem, not the data. (3) Forcing compression does not help - training with low-rank updates to the MLP's layer-2 matrix (capped at rank 16, its eventual grokked rank) after memorization does not speed grokking, weight decay used as a forcing device is likewise null, and in the transformer, against a factorized full-rank control, capping the MLP input weights' rank delays onset while capping the embedding's rank stops 15 of 20 runs from grokking at all. Verdict: compression is a signature of grokking, not its cause; the authors' shared-cause account is that a late optimizer-driven collapse both generates the task features and crystallizes the weights - consistent with Barron et al.'s result that in Adam's small-step (g/eps) regime, weight decay applies a near-constant drift that zeroes all but the most important directions, which is why the MLP keeps compressing after grokking; the pattern holds across Adam, SGD with momentum, and full-batch gradient descent. Caveats: toy regime throughout (modular arithmetic, tiny models, full-batch training) - the causal claim is established for this regime and transfer to large-scale pretraining is untested; results are first-party, though the MIT-licensed repo ships all analysis outputs plus a preregistered held-out-seed replication. Monitoring note for Hudson: effective-rank collapse here is a LAGGING indicator of the generalization transition (~900 steps behind onset), not a leading one.",
  "body": "",
  "notes": "License: paper CC BY 4.0 (arXiv record); code MIT (github.com/Lossfunk/Causal-geometric-grokking; ships analysis outputs + preregistered holdout). Submitted 26 Oct 2026 (cs.LG; cross-listed cs.AI). Shared via @lossfunk launch thread 2026-11-05 (status 2118307319264235620). Project page: mehshlok.github.io/subspace-crystallization; discussion: alphaxiv.org/abs/2610.35112.",
  "url": "https://arxiv.org/abs/2610.35112",
  "links": [],
  "authors": [
    "Shlok Mehendale",
    "Paras Chopra (Lossfunk)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv preprint",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-05T00:00:00.000Z",
  "verified_at": "2026-11-05T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1860"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-05T15:24:40.492Z",
  "updated_at": "2026-11-05T15:24:40.492Z",
  "page": "https://papers.projxon.ai/entries/1561",
  "markdown": "https://papers.projxon.ai/entries/1561.md",
  "api": "https://papers.projxon.ai/api/entries/1561",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1322,
      "kind": "paper",
      "title": "Periodic Weak Spots: Phase Sensitivity from Chunked KV-Cache Compression",
      "summary": "Chunked KV-cache compression groups consecutive tokens into fixed-size windows and compresses each window into fewer cache entries at a fixed stride S, cutting long-context memory and attention cost. The paper shows this creates a new positional coordinate — the token's phase, its position modulo S — and a systematic failure mode called phase sensitivity: the same information can be easy to retrieve at one phase and difficult at another. In the DeepSeek-V4 family (which uses compressed sparse attention, CSA, with stride S=4), single-token needle-in-a-haystack retrieval at 128K context differs by up to 40.2 percentage points across phases, and a code-completion top-1 prediction flips periodically with period 4 matching the CSA stride. To isolate the cause, the authors pretrained a family of Qwen3-0.6B-derived transformers from scratch with chunked KV compression as the only substantial architectural change: every compressed variant shows periodicity matching the compression stride — even plain within-window averaging — while full-attention baselines show none. Window boundaries (key-value pairs split across windows) do not fully explain it: accuracy varies widely across phases that keep the pair inside one window. Mechanistic analysis (KV-head/layer knockouts in their models and attention-readout interventions) reveals phase specialization: different heads contribute asymmetrically to retrieval at different phases, also in DeepSeek-V4 itself. Compression gates that can learn separate positional preferences develop persistent per-head phase preferences during pretraining, and an idealized bigram-retrieval analysis shows gradient flow drives gates toward sharp static phase concentration. The practical takeaway: evaluating chunked-KV models requires measuring across compression phases (e.g., shifting the input by a few tokens while keeping the queried information fixed) — high average accuracy can coexist with systematic periodic positional failures.",
      "url": "https://arxiv.org/abs/2609.36322",
      "authors": [
        "Xingyu Zhu",
        "Pu (Luke) Yi",
        "Ziheng Cheng",
        "Ang Lv",
        "Jing Liu",
        "Lexing Ying",
        "Yiyuan Ma",
        "Xin Dong"
      ],
      "tags": [
        "phase-sensitivity",
        "kv-cache-compression",
        "compressed-sparse-attention",
        "deepseek-v4",
        "long-context-retrieval",
        "attention-mechanisms",
        "needle-in-a-haystack"
      ],
      "venue": "arXiv:2609.36322 (cs.LG), submitted 28 Sep 2026; work at ByteDance Seed + Princeton/Stanford/UC Berkeley",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-09T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1322",
      "markdown": "https://papers.projxon.ai/entries/1322.md",
      "api": "https://papers.projxon.ai/api/entries/1322"
    },
    {
      "id": 1067,
      "kind": "paper",
      "title": "MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression",
      "summary": "Google + UCF technical report (Zhao/Tan/Peng/Wang/Go; arXiv 2609.29913v1) introduces MILO for many-shot in-context learning KV-cache memory. Observations: pre-RoPE keys are more low-rank than values; more shots add redundancy; rank needs vary across example blocks. MILO partitions the many-shot KV into multi-example blocks, applies separate K/V SVD, and greedily allocates a global rank budget by spectral-entropy marginal gains. At inference BM25 retrieves selected compressed blocks, fused Triton kernels reconstruct them (CUDA streams + graphs), then sparse attention runs. On Qwen2.5-3B/7B (Banking77, Clinic150, TREC, NLU, MathQA, SVAMP; 512-shot; 50% rank budget) on an NVIDIA L4: up to ~50% KV memory reduction and up to 1.8× throughput vs prior low-rank baselines; avg accuracy 0.647/0.725 vs Full 0.677/0.753 and ahead of Palu/ASVD. Orthogonal stack with INT8/KIVI. No public code found at catalog time.",
      "url": "https://arxiv.org/abs/2609.29913",
      "authors": [
        "Youpeng Zhao",
        "Tian Tan",
        "Liqian Peng",
        "Jun Wang",
        "Alec Go"
      ],
      "tags": [
        "milo",
        "kv-cache",
        "many-shot-icl",
        "block-wise-low-rank",
        "svd",
        "entropy-rank-allocation",
        "qwen2.5",
        "l4",
        "google",
        "ucf",
        "teksedge",
        "palu",
        "asvd",
        "flexgen",
        "triton"
      ],
      "venue": "arXiv / Google; University of Central Florida",
      "source": "arxiv",
      "license": "© 2026 Google (Technical Report); arXiv perpetual non-exclusive license 1.0 for abs posting",
      "published_year": 2026,
      "added_at": "2026-09-26T13:44:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1067",
      "markdown": "https://papers.projxon.ai/entries/1067.md",
      "api": "https://papers.projxon.ai/api/entries/1067"
    },
    {
      "id": 1065,
      "kind": "paper",
      "title": "Late-Stage Generalization Collapse in Grokking: Detecting anti-grokking with WeightWatcher",
      "summary": "Extended WeightWatcher/HTSR–SETOL study (Prakash & Martin; UCSD / Calculation Consulting; builds on arXiv 2506.04434 workshop version) trains a 3-layer MLP on 1k MNIST and a modular-addition transformer far beyond typical horizons (~10^7 steps) and finds a third phase—anti-grokking—where test accuracy collapses toward chance while train accuracy stays perfect. Primary diagnostic: Correlation Traps (MP-bulk outliers in shuffled layer spectra); secondary: average HTSR α departing from ≈2. Competing grokking progress measures miss this phase. MLP collapse ties to prototype memorization (α<2); modular-addition traps induce catastrophic forgetting (α>2). Similar α<2 pathologies noted in gpt-oss-20B/120B.",
      "url": "https://arxiv.org/abs/2602.02859",
      "authors": [
        "Hari K. Prakash",
        "Charles H. Martin"
      ],
      "tags": [
        "anti-grokking",
        "grokking",
        "weightwatcher",
        "htsr",
        "setol",
        "correlation-traps",
        "alpha",
        "rmt",
        "generalization-collapse",
        "mnist",
        "modular-addition",
        "prototype-memorization",
        "catastrophic-forgetting",
        "gpt-oss",
        "prakash",
        "martin",
        "ethantsliu"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-09-26T12:46:49.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1065",
      "markdown": "https://papers.projxon.ai/entries/1065.md",
      "api": "https://papers.projxon.ai/api/entries/1065"
    },
    {
      "id": 720,
      "kind": "paper",
      "title": "The Universal Weight Subspace Hypothesis",
      "summary": "The Universal Weight Subspace Hypothesis proposes that neural networks of the same architecture share an architecture-specific low-dimensional 'universal subspace' of weight directions, so new tasks can be stored or trained as coefficients on a frozen shared basis. Experiments across GPT-2, ViT, LLaMA-8B, Flan-T5, and 500 Mistral LoRA adapters show rapid spectral decay and large storage savings, but the evidence is limited to within-architecture comparisons with small evaluation sets.",
      "url": "https://www.alphaxiv.org/abs/2512.05117",
      "authors": [
        "Prakhar Kaushik",
        "Shravan Chaudhari",
        "Ankit Vaidya",
        "Rama Chellappa",
        "Alan Yuille"
      ],
      "tags": [
        "weight-sharing",
        "subspace",
        "model-merging",
        "lora",
        "compression"
      ],
      "venue": "alphaXiv (arXiv:2512.05117)",
      "source": "web",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 25,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/720",
      "markdown": "https://papers.projxon.ai/entries/720.md",
      "api": "https://papers.projxon.ai/api/entries/720"
    },
    {
      "id": 1286,
      "kind": "paper",
      "title": "LoGRA: Scaling LLM Reinforcement Learning with Low-Rank Gradient Sketches",
      "summary": "NVIDIA's LoGRA makes RL post-training memory-efficient via low-rank gradient sketches: instead of storing full d×k gradients, it accumulates sketches S=GAᵀ (d×r, r≪min(d,k)) directly during backprop by projecting layer inputs before multiplying by backward derivatives, so full gradients are never formed. A random projection A (random signs /√r, fresh each step) keeps successive updates from being rank-limited; the sketch is optimizer-adjustable (U) and merged into full-size weights as W ← W − αηUA, with predicted-KL step control estimating policy change before the update and scaling α to fit a KL budget. The compact sketch doubles for policy synchronization: the rollout engine regenerates A from a seed and applies αηU, cutting communication. On DAPO-Math-7.5K (128 prompts, 1 response each, 4k context) with an annealed predicted-KL budget vs dense Adam: average training memory falls 21.8% at 1.5B and 45.7% at 7B over 300 updates with no task-performance loss; at 27B on a single 8×H100 node, LoGRA completed 1,100+ steps while dense Adam OOMed during its first Adam-state allocation. Intuition: binary outcome rewards carry little per-token supervision, so a compact update suffices; precedents include GaLore, FLORA, and LoRA-without-regret.",
      "url": "https://arxiv.org/abs/2610.06647",
      "authors": [
        "Shaokun Zhang",
        "Yifan Zhang",
        "Jian Hu",
        "Yueying Li",
        "Hao Zhang",
        "Binfeng Xu",
        "Jan Kautz",
        "Yi Dong"
      ],
      "tags": [
        "rl-post-training",
        "low-rank-gradients",
        "gradient-compression",
        "memory-efficiency",
        "kl-control",
        "trust-region"
      ],
      "venue": "arXiv 2610.06647 (cs.CL), submitted 5 Oct 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1286",
      "markdown": "https://papers.projxon.ai/entries/1286.md",
      "api": "https://papers.projxon.ai/api/entries/1286"
    },
    {
      "id": 536,
      "kind": "paper",
      "title": "Quiet Feature Learning in Algorithmic Tasks",
      "summary": "Trains Transformer++ models on 10 algorithmic tasks (binary arith, graphs, sequence opt). Compute-optimal scaling over 10^9–10^15 FLOPs (18,544 runs, single epoch) shows slow-then-fast phase transitions rather than smooth power laws. Linear probes find quiet features (carries, BFS queues, Kadane max_ending_here) during the flat-loss phase; ablating them vs a random direction cuts accuracy (addition-64 carry −75.1 pp; BFS-11 queue −43.6 pp). Challenges using cross-entropy as a proxy for representational progress.",
      "url": "https://arxiv.org/abs/2505.03997",
      "authors": [
        "Prudhviraj Naidu",
        "Zixian Wang",
        "Leon Bergen",
        "Ramamohan Paturi"
      ],
      "tags": [
        "quiet-features",
        "phase-transitions",
        "grokking",
        "probing",
        "algorithmic-tasks",
        "aaai"
      ],
      "venue": "arXiv",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/536",
      "markdown": "https://papers.projxon.ai/entries/536.md",
      "api": "https://papers.projxon.ai/api/entries/536"
    }
  ]
}
