{
  "id": 1587,
  "kind": "thread",
  "title": "An LLM choosing the step sizes beats standard Adam on 3 of 4 tasks",
  "summary": "Sauers (X post, Nov 14 2026) tests an LLM as the optimizer: Qwen3-0.6B reads every weight tensor's gradient statistics at every training step and sets that tensor's update on top of Adam; the network then trains with that update. Headline (GIF figure): the LLM-chosen step sizes beat standard Adam on 3 of 4 tasks - Fashion-MNIST small CNN (p < 0.001), Fashion-MNIST small network (p = 0.002), Python-code small transformer (p < 0.001) - but not the MNIST bigger network (p = 0.75, slightly worse). Qwen's first steps are ~9x bigger than Adam's. The author's own self-reply undercuts the headline: 'You shouldn't actually use this lol'. The follow-up figure shows nothing beats TUNED Adam + cosine: the rule learned while training each network, and the rule learned offline then frozen, both only match tuned Adam + cosine on three of four tasks; Adam and the LLM mostly choose the same step size (curves nearly overlap), and the LLM is far slower - one step of Qwen 0.09 s vs one step of Adam 0.0000003 s; a 1000-step run takes 53 s (learning while training) vs 4 s (frozen rule) on a 1k-weight CNN, and 872 s vs 104 s on a 121k-weight code transformer. Flags, as entered: X-post-only artifact, no paper or code linked; tiny tasks (Fashion-MNIST/MNIST, small CNN/transformer, <=121k weights); bar lengths read approximately from the GIF axis, p-values as printed; remaining replies behind the X login gate were not read. Cross-references: learned-optimizer / weight-space thread - the LLM-reading-weights cousin of IDs 1798-1799 (weight-space programming) and the staged doubleAI entry (code layers spliced into training); the 'Adam almost matches it' result is the optimizer-choice counterpart to IDs 1809-1810 (don't pick on pretraining loss alone). Same author as the catalog's 'Watching' probe-detection repo.",
  "body": "",
  "notes": "Shared 2026-11-15 as a bare X link; read via live browser (X blocks text fetches). STAGED 2026-11-15 during the Neon quota freeze; insert after the earlier staged items when writes reopen. Slot 26 in the Dec 1 landing order.",
  "url": "https://x.com/sauers_/status/2121590889609048489",
  "links": [],
  "authors": [
    "Sauers (@Sauers_)"
  ],
  "tags": [],
  "topics": "",
  "venue": "X post, Nov 14 2026",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-15T00:00:00.000Z",
  "verified_at": "2026-11-15T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "Sauers_",
    "legacy_paper_id": "1886"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-12-01T12:42:52.424Z",
  "updated_at": "2026-12-01T12:42:52.424Z",
  "page": "https://papers.projxon.ai/entries/1587",
  "markdown": "https://papers.projxon.ai/entries/1587.md",
  "api": "https://papers.projxon.ai/api/entries/1587",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "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": 1041,
      "kind": "paper",
      "title": "When Do Larger Batches Help Scale LLM Reinforcement Learning?",
      "summary": "Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.",
      "url": "https://arxiv.org/abs/2608.29296",
      "authors": [
        "Ziniu Li",
        "Jinbo Wang",
        "Guanhua Huang",
        "Feiyuan Zhang",
        "Pengbo Li",
        "Alex Chen (Tencent Hunyuan Team / RL Team)"
      ],
      "tags": [
        "batch-size",
        "llm-rl",
        "grpo",
        "ppo",
        "hunyuan",
        "tencent",
        "throughput",
        "time-to-target",
        "learning-rate-scaling",
        "critical-batch",
        "qwen3",
        "dapo-math",
        "aime"
      ],
      "venue": "arXiv / Tencent Hunyuan Research",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv)",
      "published_year": 2026,
      "added_at": "2026-09-25T01:37:18.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1041",
      "markdown": "https://papers.projxon.ai/entries/1041.md",
      "api": "https://papers.projxon.ai/api/entries/1041"
    },
    {
      "id": 846,
      "kind": "paper",
      "title": "Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?",
      "summary": "Asks whether chains of thought do real computational work or are decorative, by viewing a transformer as a shallow circuit: one forward pass has constant depth, so any constant number of passes is a shallow circuit, and the best accuracy such a circuit can reach on a task is the task's ceiling. Three results hold for every transformer on serial tasks (ceiling below one): Necessity — replacing the chain with content-independent filler or a restated question drops accuracy to the ceiling, and to chance on a maximally serial task; Depth — no shallow computation can write the chain of a model that exceeds the ceiling; Locality — the answer is one shallow pass from the finished chain, so all serial reasoning happens in the chain. Experiments confirm the predictions: on finite-group word problems, chain-trained small transformers solve every input length and fall to chance when the chain is erased, and on MATH-500/AIME erasing the chain costs open reasoning models 0.52 to 0.82 accuracy while a sentence shuffle is harmless and a token shuffle is as harmful as erasing.",
      "url": "https://arxiv.org/abs/2609.33134",
      "authors": [
        "Jiashu He",
        "Jinxuan Fan",
        "Xiao Xiao",
        "Radu Marculescu",
        "Alejandro Ribeiro"
      ],
      "tags": [
        "chain-of-thought",
        "ceiling-of-a-task",
        "serial-tasks",
        "shallow-circuits",
        "transformer-theory",
        "filler-tokens",
        "math-500",
        "aime",
        "grpo"
      ],
      "venue": "arXiv:2609.33134 (cs.AI), submitted 27 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/846",
      "markdown": "https://papers.projxon.ai/entries/846.md",
      "api": "https://papers.projxon.ai/api/entries/846"
    },
    {
      "id": 1329,
      "kind": "paper",
      "title": "dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale",
      "summary": "dattri-LLM is an open-source PyTorch library for gradient-based training data attribution (TDA) at LLM scale, from TRAIS-Lab (Shixuan Liu et al.). Efficiency comes from two exact per-example gradient representations - factorized (input-activation/output-gradient pairs) and materialized (dense per-sample weight gradients) - with a FLOP-aware cost model routing each layer and operation to the cheaper one, so 'ghost' inner products score samples without ever forming weight gradients when that is cheaper. Compatibility comes from non-invasive capture: autograd hooks assemble per-sample gradients from any training loop that calls backward(), with no changes to the loop, optimizer, or trainer - demonstrated on HuggingFace Trainer, TRL (SFT/GRPO trainers), and OLMo, under DDP and FSDP, with per-rank sharded gradient stores merged afterwards; gradients can be offloaded to disk during training and re-attributed by any method without the model. Extensibility comes from two interfaces: Attributor (plug-in attribution methods over one shared gradient stream) and HookManagerCallback (training-time applications acting on captured gradients, e.g. online data selection). Built-in attributors: TracIn, Grad-Dot/Grad-Cos, K-FAC and EK-FAC influence, DVEmb, LESS, AdamW-influence, plus a DataSelectionCallback for online data selection. Benchmarks on four H200s (512 training sequences, Qwen2.5 0.5B-72B plus Qwen1.5-110B; 1 query through 32B, 4 queries at 72B/110B) against Bergson, Kronfluence, and LogIX: dattri-LLM averages 3.2x the throughput of the fastest competing library per configuration across GradDot/K-FAC/EK-FAC, and is the only library besides Bergson to complete 72B/110B runs (Kronfluence OOMs beyond 7B on K-FAC; LogIX beyond 32B). Fidelity-cost trade-offs (LDS/LOO-style TSLOO on GPT-2, Qwen2.5-1.5B, OLMo-3-7B) favor dattri-LLM's EK-FAC and AdamW-influence. Code: MIT-licensed at github.com/TRAIS-Lab/dattri-llm (9 stars at catalog time; the library is the LLM-scale companion of the earlier dattri package). Paper license: arXiv non-exclusive distribution 1.0 (not CC).",
      "url": "https://arxiv.org/abs/2609.38767",
      "authors": [
        "Shixuan Liu",
        "Tongli Zhou",
        "Junwei Deng",
        "Pingbang Hu",
        "Jiaqi W. Ma"
      ],
      "tags": [],
      "venue": "arXiv:2609.38767 (cs.LG), submitted 30 Sep 2026 (v2 1 Oct 2026); TRAIS-Lab (UIUC; Tongli Zhou, Google)",
      "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/1329",
      "markdown": "https://papers.projxon.ai/entries/1329.md",
      "api": "https://papers.projxon.ai/api/entries/1329"
    },
    {
      "id": 1127,
      "kind": "paper",
      "title": "daVinci-LLM: Towards the Science of Pretraining",
      "summary": "Argues pretraining sets the capability ceiling and is under-studied due to industry secrecy vs academic compute limits. Releases daVinci-LLM under a fully-open paradigm (pipelines, training process, exploration). Uses Data Darwinism L0–L9 taxonomy for data processing; trains a 3B model from scratch on 8T tokens with a two-stage adaptive curriculum shifting from foundational to reasoning-intensive data. Linked Hub release SII-GAIR-NLP/davinci-llm-data (gated) covers L3–L5 subsets; code at GAIR-NLP/daVinci-LLM.",
      "url": "https://arxiv.org/abs/2603.27164",
      "authors": [
        "Yiwei Qin",
        "Yixiu Liu",
        "Tiantian Mi",
        "Muhang Xie",
        "Zhen Huang",
        "Weiye Si",
        "Pengrui Lu",
        "Siyuan Feng",
        "Xia Wu",
        "Liming Liu",
        "Ye Luo",
        "Jinlong Hou",
        "Qipeng Guo",
        "Yu Qiao",
        "Pengfei Liu"
      ],
      "tags": [
        "pretraining",
        "data-darwinism",
        "open-llm",
        "curriculum",
        "gair",
        "davinci-llm",
        "8t-tokens"
      ],
      "venue": "arXiv / Shanghai AI Lab / GAIR-NLP / SII",
      "source": "arxiv",
      "license": "paper arXiv; dataset CC-BY-4.0 (Hub)",
      "published_year": 2026,
      "added_at": "2026-10-02T23:40:42.683Z",
      "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/1127",
      "markdown": "https://papers.projxon.ai/entries/1127.md",
      "api": "https://papers.projxon.ai/api/entries/1127"
    },
    {
      "id": 745,
      "kind": "paper",
      "title": "ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks",
      "summary": "Turns interactive web apps into verifiable, reference-guided software-engineering tasks. The mine-craft-patch pipeline replays app behaviors to produce 1,975 replay-verified behaviors across 26 apps and 4,063 tasks with no human intervention.",
      "url": "https://arxiv.org/abs/2609.18805",
      "authors": [
        "Jeonghye Kim",
        "Minseon Kim",
        "Young Jin Kim",
        "Matheus Pereira",
        "Marc-Alexandre Côté",
        "Alessandro Sordoni",
        "Xingdi Yuan",
        "Zhengyan Shi"
      ],
      "tags": [
        "swe-tasks",
        "agentic-coding",
        "distillation",
        "web-apps",
        "verifiable-tasks"
      ],
      "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": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/745",
      "markdown": "https://papers.projxon.ai/entries/745.md",
      "api": "https://papers.projxon.ai/api/entries/745"
    }
  ]
}
