{
  "id": 1219,
  "kind": "paper",
  "title": "Why Adaptive Optimizers Underestimate Rare Tokens",
  "summary": "In the softmax output layer, a rare token gets a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions; coordinate-wise adaptive methods (Adam, RMSProp, sign descent) divide each update by a running magnitude estimate that is largest immediately after the token appears. Two effects: (i) whole output layer — characterizes which optimizers preserve the mean output embedding: every method linear in past gradients does, as do Kronecker-factored/orthogonalized methods (Shampoo, Muon); Adam, Adafactor, Lion, sign descent do not (exact step-by-step expressions given); (ii) individual rare tokens — the normalization shifts the training fixed point below the token's true data frequency. Closed forms: sign descent lowers the logit of every token occurring in fewer than half of minibatches at a constant expected rate; for RMSProp with periodic arrivals, if a token is absent for at least two consecutive minibatches its equilibrium probability is strictly below data frequency for every learning rate, ratio tending to k/(2(e^(k/2)-1)). SGD and AMSGrad retain the unbiased fixed point. Tested in a unigram model and a small LM trained from a known generating distribution: with random arrivals the bias exceeds the periodic formula, and biased-fixed-point optimizers fit the generating distribution worse. Directly relevant to the user's LLM pretraining work — rare-token underestimation from Adam is an optimizer choice, not a data problem.",
  "body": "",
  "notes": "Discovery: @arXivBangers 'Certified Banger' post 2026-10-03 7:20 PM ET (https://x.com/arXivBangers/status/2106524742610194872), 655 views | Author affiliation per post image: Department of Statistics, Presidency University, Kolkata | Note: arXiv lists author as 'Sangsidhya Kar'; post image showed 'Senashis Kar' with subtitle 'Biased Fixed Points in the Softmax Output Layer' | Post linked an arxivb.org mirror; canonical is arXiv 2609.37535 | License: CC BY 4.0",
  "url": "https://arxiv.org/abs/2609.37535",
  "links": [],
  "authors": [
    "Sangsidhya Kar"
  ],
  "tags": [
    "adam",
    "adaptive-optimizers",
    "rare-tokens",
    "softmax",
    "fixed-point",
    "shampoo",
    "muon",
    "rmsprop",
    "lion",
    "pretraining"
  ],
  "topics": "optimization, Adam, RMSProp, Lion, softmax, rare tokens, fixed points, pretraining",
  "venue": "arXiv:2609.37535 (cs.LG), submitted 29 Sep 2026",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-04T00:00:00.000Z",
  "verified_at": "2026-10-04T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1528"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-04T04:20:02.746Z",
  "updated_at": "2026-10-04T04:20:02.746Z",
  "page": "https://papers.projxon.ai/entries/1219",
  "markdown": "https://papers.projxon.ai/entries/1219.md",
  "api": "https://papers.projxon.ai/api/entries/1219",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 447,
      "kind": "paper",
      "title": "The Loss Does Not See the Basis, but Adam Does",
      "summary": "Shows gradient descent on W=UV^T is biased toward low-rank interpolants while Adam is not, tracing the gap to loss gauge symmetry (U,V)->(UQ,VQ). Equivariant methods (GD, momentum, shared-scalar Adam, Muon, Shampoo) can inherit gradient-flow low-rank bias; coordinate-wise Adam/RMSProp/Lion/Adafactor cannot. Sorts nine update rules on underdetermined matrix sensing; a p-dial from coordinate-wise to shared-scalar Adam restores the bias monotonically. In transformers, Adam splits two gauge-equivalent inits at step 1 (per-head W_Q^T W_K 56% apart). On two hyperspectral datasets at matched train loss, GD cuts held-out error 43-44% vs Adam at lowest sampling density.",
      "url": "https://arxiv.org/abs/2608.05136",
      "authors": [
        "Devender Singh"
      ],
      "tags": [
        "adam",
        "muon",
        "shampoo",
        "gauge-equivariance",
        "implicit-bias",
        "factored-models",
        "matrix-sensing",
        "attention"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:19:42.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/447",
      "markdown": "https://papers.projxon.ai/entries/447.md",
      "api": "https://papers.projxon.ai/api/entries/447"
    },
    {
      "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": 735,
      "kind": "paper",
      "title": "Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation",
      "summary": "Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.",
      "url": "https://arxiv.org/abs/2507.10524",
      "authors": [
        "Sangmin Bae",
        "Yujin Kim",
        "Reza Bayat",
        "Sungnyun Kim",
        "Jiyoun Ha",
        "Tal Schuster",
        "Adam Fisch",
        "Hrayr Harutyunyan",
        "Ziwei Ji",
        "Aaron Courville",
        "Se-Young Yun"
      ],
      "tags": [
        "architecture",
        "adaptive-compute",
        "recursion",
        "efficiency",
        "pretraining"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "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": 138,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/735",
      "markdown": "https://papers.projxon.ai/entries/735.md",
      "api": "https://papers.projxon.ai/api/entries/735"
    },
    {
      "id": 524,
      "kind": "paper",
      "title": "Efficient Pre-Training with Token Superposition",
      "summary": "Token-Superposition Training (TST) averages embeddings of non-overlapping bags of s contiguous tokens and trains with multi-hot cross-entropy, then a recovery phase reverts to standard next-token CE. Drop-in: no change to parallelism, optimizer, tokenizer, data, or architecture. Evaluated at 270M/600M (SmolLM2-shaped Llama3, untied embeddings) and validated at 3B and a 10B A1B MoE on DCLM. Consistently beats baseline loss and downstream metrics; equal-loss wall-clock up to 2.5× faster at the 10B A1B scale. Project https://nousresearch.com/token-superposition.",
      "url": "https://arxiv.org/abs/2605.06546",
      "authors": [
        "Bowen Peng",
        "Théo Gigant",
        "Jeffrey Quesnelle"
      ],
      "tags": [
        "tst",
        "token-superposition",
        "pretraining",
        "multi-hot-ce",
        "dclm",
        "smollm",
        "nous-research",
        "moe"
      ],
      "venue": "arXiv / Nous Research",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/524",
      "markdown": "https://papers.projxon.ai/entries/524.md",
      "api": "https://papers.projxon.ai/api/entries/524"
    },
    {
      "id": 835,
      "kind": "paper",
      "title": "How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text",
      "summary": "Measures how 'wild' AI-generated web text affects LM pretraining: after FineWeb quality filtering, 27.5% of June 2026 web tokens are labeled AI-generated by Pangram, rising to 31.1% by August. Pretrains 800 language models varying the ratio of added AI tokens to human tokens and fits scaling laws to held-out losses on both human and AI-generated text. For data-starved models, adding AI tokens initially lowers loss on human text, but the benefit saturates and quickly reverses into harm; for models trained on high budgets of human text, AI tokens raise loss almost immediately while the same number of fresh human tokens keeps lowering it. Standard scaling laws (e.g. Hoffman/Chinchilla 2022) fail to predict this behavior, so the authors propose a new scaling law with separate benefit and harm terms that lets the value of an AI token change sign and reduces to Chinchilla in the absence of AI text; fit on smaller models it predicts the effect on models up to 3.6x larger with 41% lower error than the best existing law over all AI ratios. Recommendations: filter AI text when the target is human text, repeat human text before expanding the training dataset with AI-generated web text, and report validation loss on human and AI text separately; AI text remains valuable when the target is AI text. Releases WildAI, an 83B-token corpus with AI, topic, and format labels, plus all 800 models and code.",
      "url": "https://arxiv.org/abs/2609.40295",
      "authors": [
        "Jenna Russell",
        "Ben Glickenhaus",
        "Katherine Thai",
        "John Wieting",
        "Mohit Iyyer",
        "Max Spero",
        "Bradley Emi"
      ],
      "tags": [
        "ai-generated-text",
        "wild-ai-text",
        "pretraining",
        "scaling-laws",
        "chinchilla",
        "synthetic-data",
        "data-filtering",
        "wildai"
      ],
      "venue": "arXiv 2026-09-30 (cs.CL, cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": true,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/835",
      "markdown": "https://papers.projxon.ai/entries/835.md",
      "api": "https://papers.projxon.ai/api/entries/835"
    },
    {
      "id": 507,
      "kind": "paper",
      "title": "More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations",
      "summary": "MoA mixes a small activation dictionary (GELU/SiLU/ReLU²/etc.) with lightweight per-token gates on shared FFN projections; LA is the input-independent linear-combination ablation. Finite-width theory: fixed-activation FFN ⊊ LA ⊊ MoA. Pretrains dense Llama 0.12B–0.5B (AdamW, cosine, 20/100 TPP) and LlamaMoE 0.25B–2B (Muon, WSD, ~100 tokens/active param). Type-II one-MoA/qd-MoA beat well-tuned SwiGLU/Muon baselines by >0.01 terminal loss with ~1.03–1.13× wall-clock and negligible params; LlamaMoE-2B zero-shot avg 42.20→42.86/42.96. Also helps MAE ViT-B. No official code on abs.",
      "url": "https://arxiv.org/abs/2605.26647",
      "authors": [
        "Mingze Wang",
        "Jinbo Wang",
        "Yikuan Xia",
        "Kai Shen",
        "Shu Zhong"
      ],
      "tags": [
        "moa",
        "mixture-of-activations",
        "swiglu",
        "ffn",
        "bytedance-seed",
        "muon",
        "llama-moe"
      ],
      "venue": "arXiv / ByteDance Seed / Peking University",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 3,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/507",
      "markdown": "https://papers.projxon.ai/entries/507.md",
      "api": "https://papers.projxon.ai/api/entries/507"
    }
  ]
}
