{
  "id": 495,
  "kind": "paper",
  "title": "The Origin of Edge of Stability",
  "summary": "Introduces the edge coupling A_η(x,y)=L(x)+L(y)-(1/(2η))||x-y||^2, a discrete generating function whose x-criticality is the GD update. Differencing consecutive edges yields a propagator with stability boundary 2/η; a second-order expansion telescopes so weighted curvature is forced toward 2/η. Mean-value localization transfers the forcing to the true Hessian eigenvalue on each step segment with no residual gap. Full criticality classifies fixed points and period-two orbits; a center reduction reduces branching to a quartic on the half-amplitude. For two-layer linear nets the transverse theory is width-invariant and period-doubling appears continuously for η>1/σ_1. No official code on the abs page.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.LG / stat.ML). Stanford; correspondence elonlit@stanford.edu. Discord posted abs. HF has no paper page (API 404). No official code on abs. ArXiv license widget not visible in converted abs HTML, so license left blank. Experiments use CIFAR-10 and synthetic linear-net targets; no new corpus, so no datasets_local row.",
  "url": "https://arxiv.org/abs/2604.20446",
  "links": [],
  "authors": [
    "Elon Litman"
  ],
  "tags": [
    "edge-of-stability",
    "sharpness",
    "hessian",
    "period-two",
    "stanford",
    "catapult"
  ],
  "topics": "optimization, Edge of Stability, gradient descent",
  "venue": "arXiv / Stanford University",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-01T16:45:04.296Z",
  "verified_at": null,
  "attrs": {
    "scale": "3-layer MLP on CIFAR-10, full-batch GD η=0.5, GELU, MSE; two-layer linear nets p=5 h=3 d=10 rank-3 n=200; 4,000-step curvature-concentration checks at four learning rates",
    "purpose": "Explain why full-batch GD is forced to the 2/η sharpness threshold from arbitrary initialization, not just locally near the edge",
    "time_period": "2026-04-22 (arXiv 2604.20446 v1)"
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "b9b2169665608ccfa9cf9c3c8b03b19bc8ce641f",
      "published": "2026-04-22",
      "fetched_at": "2026-10-03T14:56:29.463Z",
      "citation_count": 6,
      "reference_count": 27,
      "influential_citation_count": 1
    },
    "arxiv": {
      "id": "2604.20446",
      "title": "The Origin of Edge of Stability",
      "authors": [
        "Elon Litman"
      ],
      "updated": "2026-04-22",
      "abstract": "Full-batch gradient descent on neural networks drives the largest Hessian eigenvalue to the threshold $2/η$, where $η$ is the learning rate. This phenomenon, the Edge of Stability, has resisted a unified explanation: existing accounts establish self-regulation near the edge but do not explain why the trajectory is forced toward $2/η$ from arbitrary initialization. We introduce the edge coupling, a functional on consecutive iterate pairs whose coefficient is uniquely fixed by the gradient-descent update. Differencing its criticality condition yields a step recurrence with stability boundary $2/η$, and a second-order expansion yields a loss-change formula whose telescoping sum forces curvature toward $2/η$. The two formulas involve different Hessian averages, but the mean value theorem localizes each to the true Hessian at an interior point of the step segment, yielding exact forcing of the Hessian eigenvalue with no gap. Setting both gradients of the edge coupling to zero classifies fixed points and period-two orbits; near a fixed point, the problem reduces to a function of the half-amplitude alone, which determines which directions support period-two orbits and on which side of the critical learning rate they appear.",
      "published": "2026-04-22",
      "categories": [
        "cs.LG",
        "stat.ML"
      ],
      "fetched_at": "2026-10-03T14:56:29.463Z"
    }
  },
  "enriched_at": "2026-10-03T14:56:30.799Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "514",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/495",
  "markdown": "https://papers.projxon.ai/entries/495.md",
  "api": "https://papers.projxon.ai/api/entries/495",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 811,
      "kind": "paper",
      "title": "A Theoretical Analysis of Generalization Dynamics in Neural Networks under Gradient Descent with Weight Decay",
      "summary": "Theoretical framework characterizing how data, architecture, and training dynamics jointly shape generalization throughout training. Studies neural networks trained with L2 loss by gradient descent with weight decay; proves GD converges to a neighbourhood of the global minimizers of the empirical loss, then partitions the input space into data-centered cells and decomposes population risk into three explicit terms: E_opt (optimization error on training data), E_PV (propagation-variation error: how predictions oscillate within each cell), and E_A (approximation error: how far ground truth is from the function class). The culprit behind memorization without generalization is E_PV: E_opt vanishes early while E_PV stays large. Under approximate Euler homogeneity, layerwise variation satisfies a differential inequality with explicit contraction rate lambda_l >= 1 - 2(1 + L) eta_2 lambda-bar, bounding E_PV by the initial hypothesis variation decaying exponentially in steps at a rate proportional to weight decay. Yields a closed-form grokking residency time (Steps ~ Omega(log(Initial_Var / budget) / (lambda-bar * eta_2 * sum L_l))): weight decay accelerates generalization, deeper networks contract faster, smoother initialization shortens the delay. Bounds are qualitative -- constants depend on suprema over parameter balls and loss smoothness, so they give rates and scaling laws, not exact step counts.",
      "url": "https://arxiv.org/abs/2609.07755",
      "authors": [
        "Yuqing Wang",
        "Ioannis G. Kevrekidis",
        "Mikhail Belkin"
      ],
      "tags": [
        "generalization-theory",
        "grokking",
        "weight-decay",
        "optimization",
        "memorization"
      ],
      "venue": "arXiv (cs.LG), submitted 2026-09-07",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/811",
      "markdown": "https://papers.projxon.ai/entries/811.md",
      "api": "https://papers.projxon.ai/api/entries/811"
    },
    {
      "id": 790,
      "kind": "paper",
      "title": "Adaptive Conditional Gradient Sliding: Projection-Free and Line-Search-Free Acceleration",
      "summary": "Studies convex optimization over a compact convex set where projections are expensive but a linear minimization oracle (LMO) is available. Proposes the adaptive conditional gradient sliding method (AdCGS): projection-free and line-search-free, retaining Nesterov acceleration with adaptive stepsizes based on local Lipschitz estimates. Combines an accelerated outer scheme with an LMO-based inner routine, reusing gradients across multiple LMO calls to cut gradient evaluations, and controlling subproblem inexactness via a prescribed accuracy level coupled with the adaptive stepsizes. Proves accelerated rates for convex objectives matching projection-based methods, without any projection oracle; for locally strongly convex objectives establishes linear convergence without extra geometric assumptions on the constraint set (no polytopes/strongly-convex-set requirements). Experiments on constrained ell_p regression, logistic regression, and least squares show AdCGS improves over projection-free baselines and is competitive when projections are cheap.",
      "url": "https://arxiv.org/abs/2601.20443",
      "authors": [
        "Shota Takahashi"
      ],
      "tags": [
        "optimization",
        "conditional-gradient",
        "frank-wolfe",
        "projection-free",
        "nesterov-acceleration",
        "adaptive-stepsizes"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/790",
      "markdown": "https://papers.projxon.ai/entries/790.md",
      "api": "https://papers.projxon.ai/api/entries/790"
    },
    {
      "id": 1337,
      "kind": "paper",
      "title": "The Best Optimizer Depends on Batch Size",
      "summary": "Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.",
      "url": "https://arxiv.org/abs/2610.08975",
      "authors": [
        "Xingyu Dang",
        "Kaiyue Wen",
        "Sadhika Malladi"
      ],
      "tags": [
        "optimizer",
        "batch-size",
        "scaling-rules",
        "muon",
        "shampoo",
        "lm-pretraining",
        "curvature",
        "gradient-noise",
        "sharp-subspace"
      ],
      "venue": "arXiv 2610.08975 (cs.LG/stat.ML), submitted 6 Oct 2026, CC BY 4.0; interactive explainer at batch-size-scaling.com",
      "source": "web",
      "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/1337",
      "markdown": "https://papers.projxon.ai/entries/1337.md",
      "api": "https://papers.projxon.ai/api/entries/1337"
    },
    {
      "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": 1230,
      "kind": "paper",
      "title": "Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training",
      "summary": "Diagnoses a late-training blow-up training a 450M transformer on 50B tokens with FlashAttention-3 in BF16: healthy for 25B tokens, then gradient norm grows 1000x and loss ends 0.2 nats above FP32 attention — with no NaNs at all. Recomputing just two layers' attention backward in FP32 removes almost all excess gradient. Part of the cause is known (a fused multiply-add in the forward softmax, never fixed in FA3); repairing it stops the blow-up but leaves the query gradient wrong by more than its own size (219% median error). The deeper cause is a broken conservation law: the softmax score gradient dS sums to zero along every row, making dQ blind to where the keys sit as a group; rounding dS to BF16 leaves a small nonzero sum that leaks the mean key into dQ — and the leak grows exactly as late training makes keys large and attention sharp. Fix: GProj (gauge projection), which restores the zero row sum after the cast with two rank-one corrections per row — cuts median dQ/dK errors from 219%/13% to 0.34%/0.37% (FP32-attention level) for 4.7% more step time; in matched from-scratch runs it reaches the same loss as FP32 attention while FA3 and key smoothing destabilize. KohakuBlueleaf replied on the thread reporting the same class of precision bug in FA4/cuDNN/flex attention and their KohakuFA fix. If a BF16 run blows up late with no NaNs, check the attention backward. Directly relevant to the user's LLM training-run debugging work.",
      "url": "https://arxiv.org/abs/2609.34272",
      "authors": [
        "Junlin Chen",
        "Daize Dong",
        "Huanwei Di",
        "Haolong Jia",
        "Jiawei Wu",
        "Haotian Xie",
        "Mingkai Zheng",
        "Yang Li",
        "Leshang Chen",
        "Huishu Wang",
        "Eric P. Xing",
        "Hongyi Wang"
      ],
      "tags": [
        "flashattention",
        "bf16",
        "gradient-stability",
        "attention-backward",
        "precision",
        "gproj",
        "gauge-projection",
        "kohakufa"
      ],
      "venue": "arXiv:2609.34272 (cs.LG), submitted 28 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1230",
      "markdown": "https://papers.projxon.ai/entries/1230.md",
      "api": "https://papers.projxon.ai/api/entries/1230"
    },
    {
      "id": 1033,
      "kind": "paper",
      "title": "Matryoshka attribution: Learning to attribute language model outputs to representations and weights",
      "summary": "MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.",
      "url": "https://arxiv.org/abs/2609.25518",
      "authors": [
        "Aryaman Arora",
        "Kirill Acharya",
        "Nathan Hu",
        "Yanzhe Zhang",
        "Noah Goodman",
        "Dan Jurafsky",
        "Christopher Potts"
      ],
      "tags": [
        "matryoshka-attribution",
        "mattr",
        "mechanistic-interpretability",
        "circuit-localization",
        "attribution",
        "sigmoid-top-k",
        "mask-learning",
        "causal-intervention",
        "integrated-gradients",
        "mib",
        "llm",
        "refusal",
        "grpo",
        "parameter-attribution",
        "stanford"
      ],
      "venue": "arXiv / Stanford University",
      "source": "arxiv",
      "license": "arXiv preprint; code license not stated in captured README",
      "published_year": 2026,
      "added_at": "2026-09-24T12:28:24.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/1033",
      "markdown": "https://papers.projxon.ai/entries/1033.md",
      "api": "https://papers.projxon.ai/api/entries/1033"
    }
  ]
}
