Explore the research collection
35 entries · showing 1–24 · Follow this search
- Thread
An LLM choosing the step sizes beats standard Adam on 3 of 4 tasks
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.
- Thread
Looped transformers lower Muon's optimal learning rate; divide-by-loops only partly restores it
Next installment in the author's Muon small-model series after #127 (not a formal reply/thread continuation, and it does not mention or link #127). Paraphrased finding: reusing the same transformer layers multiple times lowers Muon's optimal learning rate, much as increasing depth does. In the author's tests, 4 loops gave an optimal Muon LR about 40% below the 1-loop value, similar to the drop for a non-looped model with that many separate layers (that separate-layers comparison was in the post summary; its numbers were not in the readable chart). Chart 1, fully readable: relative optimal Muon LR 100% at 1 loop, 71% at 2 loops, 55% at 4 loops — language model looped 1/2/4 times, width 64, 260 training steps, mean of 3 seeds. The discussed remedy is dividing each layer output by the loop count, from Loop-μP (arXiv 2606.18524, Wang et al., submitted 2026-06-16, v3 2026-10-18): under Loop-μP, multiplying the residual branch by 1/N (combined with L^-1/2 for L distinct layers) is, in the infinite-width limit, the only parameterization with both a stable forward pass and maximal residual-stream updates, and the paper reports the base LR tuned on the smallest model stays best for loop counts up to 8 and executed depths up to 384 layers in language modeling. With Muon in the author's small models, that remedy worked at only 2 of 4 widths tested. The post's conclusion is to use a lower LR for a looped transformer trained with Muon, or apply another fix.
- Thread
Muon weight growth harms Q/K attention; QK-norm fixes it
The post's mechanism, paraphrased: Muon updates are equal-sized, and each step points slightly away from zero, so weight matrices grow steadily over training. The author reports query, key, value, output and MLP matrices ending 5–10× larger than at init. Only the query/key growth is reported to hurt, because attention scores rise from about 1 to about 73 and become very sharp. On a sorting task the loss is 6, 14 and 16 accuracy points at widths 32, 64 and 128 respectively. QK-norm is presented as the fix because it rescales queries and keys before scoring, decoupling their growth from the attention scores. Value/output/MLP growth is described as harmless in these runs, even at 2–3× starting size (the exact ablation behind that wording — natural growth vs clamped — was not verifiable from the visible post summary). Stated setup: 2-layer transformer language models, 8 tasks, 3 seeds, widths 32–128.
- Thread
Hand-crafted pretokenizer regexes are part of every frontier LLM and doing heavy lifting (Albert Gu, X thread)
A short illustrated explainer — framed as preparation for an unnamed, undated Cartesia "upcoming release" (pure teaser; nothing about it is verifiable from the thread) — arguing that the regex PRETOKENIZER is the one part of a modern LLM stack still hand-designed rather than learned, and that it does "pretty heavy lifting." Content is a lineage tour of the pretokenizer patterns shipped in well-known public BPE tokenizers, each shown as a screenshot and verified for this entry against the public tokenizer configs (NO errors found): (1) GPT-2's original pattern — contractions case-SENSITIVE and listed individually ('s|'t|'re|'ve|'m|'ll|'d), digits UNGROUPED (\p{N}+). (2) GPT-4 / cl100k_base — contractions become case-insensitive ((?i:…)) and digits are chunked in groups of 1–3 (\p{N}{1,3}) — a deliberate choice with arithmetic consequences (fixed-width digit chunking; a reply in-thread notes left-to-right chunking turns 12345 into 123|45). (3) GPT-4o / o200k_base — the letter branch forks by case (separate uppercase/titlecase-initial and lowercase-initial word patterns), roughly doubling the pattern's complexity; Gu's caption is candid ("honestly i have no idea, something about additional rules around upper/lower case") and the case-handling reading is correct. (4) DeepSeek — the pattern balloons into many script- and punctuation-specific branches, including a dedicated CJK range branch; the screenshot is EXCERPTED (presented without saying so — the full DeepSeek pattern is far longer). Claim hygiene: "part of every frontier LLM" overstates as written — regex pretokenizers are near-universal in the dominant BPE lineage (OpenAI, DeepSeek, Llama-3-style, Qwen, Mistral tiktoken-style), but SentencePiece/Unigram tokenizers and tokenizer-free/byte-level approaches don't use a hand-written regex pretokenizer; read as "every frontier BPE LLM." Post 1's meme regex is an implementation variant (possessive quantifiers, apostrophe-less contraction branch) of the GPT-4-family pattern rather than literally the cl100k pattern shown two posts later — cosmetic, not an error in any captioned claim. A notable unanswered reply asks what regression test catches a silent pretokenizer change that shifts model quality.
- Thread
Weak Neuron Activations Store Memorized Text (flattening ablation experiment)
An in-thread experiment testing Neel Nanda's conjecture (long-form post, 2026-10-15) about weak neuron activations. Nanda, commenting on recent neuron-based interpretability work (neuron-basis attribution graphs; Nick Cammarata's updated vision results; Transluce precedent), argued that LMs hold far more facts and memorized content than they have neurons, packed in superposition as linear combinations, so weak neuron activations should contain substantial memorized/semantic info that pruned attribution graphs miss and whose ablation would meaningfully damage performance. Brauer's test: for each neuron, take its weakest X% of activations in its ordinary regime (gate > 0, up > 0) and FLATTEN them — replace them with their mean, deliberately not zeroing (flattening all regimes gives the same trends). Models: Qwen3-32B, Qwen3-8B-Base, Llama-3.1-8B. General loss barely moves at first — weakest 50% flattened: +0.1–0.3%; 75%: +0.8%; 90%: +2.6–3.4%; 95%: +5.7–6.6%; 99%: +16–18% — but the damage is task-selective: MMLU exam questions hold ~100→92% while PopQA fact recall falls to ~65% and verbatim recitation of memorized text collapses to ~20%. Weaker activations correspond to less generalizable content; memorization lives disproportionately in the weak tail. (A refinement of Nanda, not a simple confirmation: general performance survives, so the "meaningfully damage" prediction holds for memorized content specifically, not overall loss.) Second result — an ablation-methodology correction: zero-ablation badly distorts, worst where a neuron's outputs share a sign, because zeroing shifts its mean output off-center. At the weakest-75% level, zeroing vs mean replacement costs 3×/3×/12×/30× more held-out loss across the gate/up sign regimes on Llama-3.1-8B (gate<0/up<0, the SwiGLU "double negative": +34.3% loss increase), and 5×/5×/10×/9× on Qwen3-8B-Base. Repro note: Kong et al. (arXiv 2509.24198) used zeroing of gate<0 values; Brauer rebuilt their setup and their measured effects largely evaporate under mean replacement — perplexity +26% → +1%, grammar −4.1 → −1.2 points (Llama-3.1-8B). Rule: ablate neurons by mean replacement, not zeroing.
- Thread
"We turned off the assistant with 128 numbers" — 128 neurons that make Gemma talk like a human (Chang)
Interpretability experiment: Claude Opus 5.5 identified 128 neurons in Gemma whose per-neuron multiplier edit ("the 128-number edit") makes the model stop sounding like a help desk and sound like a person — claimed more effective than steering along Anthropic's Assistant Axis (Lu et al., arXiv 2601.10387). Compared against: a "Talk like a person" system prompt, the 128-number edit, 256 numbers (gain × offset), and assistant-axis steering, with before/after chat examples, a sweet-spot dial curve, and per-persona bar charts (casual human, blunt expert, bully). The rewiring is context-gated. The "nothing else broke" protocol: 0/30 harmful requests, GSM8K 81 → 82, still self-identifies as AI when asked, works in Chinese/German/Japanese, holds over 4+ turns. Caveats: no paper, blog post, repo, or notebook exists — the artifact is the thread itself; which Gemma checkpoint, how the 128 neurons were identified (SAE? patching? contrastive activations?), what "context-gated" means mechanically, and how "human-like" was judged are all unverified from the available material.
- Thread
Stop thinking about a transformer as a pipeline: the residual-stream view — X thread
AVB (Neural Breakdown, @neural_avb) gives a compact explainer of the residual-stream view of transformers: because every block outputs x' = f(x) + x, each attention/MLP sub-block does not transform its input but computes what must be added to a shared, accumulating representation. Framed as a 'shared whiteboard': blocks read what they need and write additive updates, so layers can communicate at a distance — e.g. layer 1 writes information that layer 5 reads, with no direct wire between them. The ideas are credited to Anthropic's 2021 'A Mathematical Framework for Transformer Circuits' (https://transformer-circuits.pub/2021/framework/index.html), which is not separately cataloged; this row catalogs the explainer thread.
- Thread
Are all harnesses that different? Which tools make or break coding harnesses — X thread
younes (HuggingFace, @yb2698) opens a research thread asking whether coding-agent harnesses are really that different and which integrated tools make or break them. As a first step toward identifying how to improve coding harnesses, the team took a first look at the tools integrated across 11 harnesses. Headline finding: 380 tools in total across the 11 harnesses, but only 124 are unique — heavy overlap with a long tail of harness-specific tools. The thread (with an attached video) shares the breakdown of which tools appear where. The per-harness tool lists, the taxonomy of tool categories, and the specific 'make or break' conclusions live in the thread continuation, which was not retrievable via available read-only mirrors; no separate blog post, HF Space, or dataset for this analysis was found indexed as of 2026-10-08.
- Thread
MOPD's Place in a Frontier Training Portfolio (X discussion)
Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.
- Thread
Reward design lessons from 7,780 MiMo RL environments (X thread)
X thread of reward-design lessons learned from the 7,780 RL environments Xiaomi open-sourced for MiMo training. Thread starts from the premise that in RL environments, reward design is everything. Visible lessons include: verifying rewards, reward terms and cheating (gaming), scoring broken runs as 0, and a FineEnvs-built explorer for all 7,780 environments that lets anyone open a task to read the exact agent prompt, grader and judge prompts, then run a rollout with any Hugging Face model or a custom endpoint.
- Thread
Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)
X thread (2026-05-12) by @dogacel0: as a speculative-decoding drafter generates tokens, its attention moves from the attention sink onto its own recently generated tokens (“attention drift”). Fixing the underlying issue recovered up to ~2× acceptance length. No arXiv ID located via export search this pass — cataloged as idea/thread pending paper link.
- Thread
Speculative decoding with Gated DeltaNet: no un-reading needed
Standalone technical insight on whether speculative decoding is a problem for Gated DeltaNet. Argument: rejected drafts must be rolled back; attention just drops their KV rows, but GDN has already blended every draft into its recurrent state. However, the update can be rewritten so that only accepted drafts are committed: S_t = alpha_t S_{t-1} + v_tilde_t k_t^T, with v_tilde_t = beta_t (v_t - alpha_t S_{t-1} k_t), giving S_a = g_a S_0 + sum_{i<=a} (g_a/g_i) v_tilde_i k_i^T (g = product of alphas). Cache (v_tilde_i, k_i, g_i) per draft and fold in only what is accepted. Conclusion: GDN does not have to un-read a token; it can wait to commit it.
- Thread
Discussion thread on diffusion language models (Sean Welleck)
Thread opening on diffusion language models: 'There's been a lot of excitement about diffusion LMs, but we don't have a good understanding of what...' — only the opening snippet from the Discord embed was recoverable.
- Thread
New hallucination benchmark accepted to NeurIPS 2026 Evaluations & Datasets track (X thread by @_emliu)
An X thread from @_emliu announcing a new hallucination benchmark accepted to the NeurIPS 2026 Evaluations & Datasets track, built around a 'controlled world' where facts can be verified. The benchmark's name, paper, and code were not independently verifiable from the thread alone.
- Thread
Unslopping AI: Reinforcement Learning from eXpert-Aligned Rubrics (RL-XAR)
Introduces RL-XAR (Reinforcement Learning from eXpert-Aligned Rubrics) to fight AI 'slop': learn rubrics that rank expert human writing above model output, then perform iterative RL against those rubrics with periodic rubric re-optimization. Trained Qwen3.5-27B with learned rubrics; Kimi-K2.6 used for rubric meta-optimization. Scientific-section experiments used 561 CS papers / 2,243 training examples and 90 papers / 360 validation examples.
- Thread
Adversarial RL for alignment + adversarial rubric matching (X thread by @nagpalchirag)
An X thread from @nagpalchirag (Chirag Nagpal) citing further evidence for 'Adversarial Reinforcement Learning as the right tool for Alignment', referencing their own prior work on adversarial rubric matching for alignment. The specific new evidence and the referenced work's canonical publication were not independently verifiable from the thread alone.
- Thread
Scaling KV Cache Compression to Frontier Models (X thread by @RampLabs)
An X thread from @RampLabs titled 'Scaling KV Cache Compression to Frontier Models' (per the Discord link card), shared without additional caption. Claims relate to KV-cache compression methods scaled to frontier-scale models.
- Thread
Token-efficient reasoning for frontier models (X thread by @paahrsa)
An X thread from @paahrsa about token-efficient reasoning for frontier models (per the Discord context of reasoning-efficiency threads), shared without additional caption.
- Thread
Dust: Pretraining Transformers Without Backpropagation (QLabs)
First zeroth-order method to pretrain transformers to approach and sometimes exceed backprop with large compute. Key idea: instead of weight-space ES (one forward pass per population member), Dust perturbs activations independently at every token (node perturbation), so each token acts as a virtual population member and one forward pass evaluates thousands of perturbations — a 'virtual population' scaling to large populations by perturbing activations in parallel. 1,000-10,000x more compute-efficient than EGGROLL (SOTA ES method) for training transformers. Results: beats backprop at 100k and 1M tokens, close at 10M and 20M (trend puts Dust's asymptote below backprop at 20M); integrates with Adam. Scientific finding: search in high dimensions gets better with overparameterization — at fixed population size, larger models (up to 120x) reach lower loss; backprop-like gradients emerge from a large population of activation perturbations, with Dust<->backprop gradient alignment holding up to 1B tokens, and Dust's gradients sometimes better. Still far more expensive than backprop; positioned as the 'bitter lesson' for optimization research — zeroth-order methods enabling non-differentiable architectures and better directions than first-order gradients.
- Thread
Motion design studio course (X thread by @0xMovez)
An X thread from @0xMovez promoting a motion design studio course, shared without additional caption in the channel.
- Thread
AI video agency guide (X thread by @everestchris6)
An X thread from @everestchris6 about running an AI video agency (per the Discord context of AI-video threads), shared without additional caption in the channel.
- Thread
Opus 5.5 video guides (two X threads: @socialwithaayan, @liu8in)
Two X threads shared together on 2026-09-28: @socialwithaayan's 'two video guides for you' and a second thread from @liu8in, both covering video generation with the newly launched Claude Opus 5.5 (context per adjacent Discord messages about Opus 5.5 video guides).
- Thread
Claude Opus 5.5 video tool: free crash course (X thread by @twoclipping)
An X thread in which @twoclipping shares what they learned testing Claude Opus 5.5's new video generation feature ('the hype is real'), offering a free crash course on how to use it, positioned as a reply-friendly guide.
- Thread
Recursive Meta-Intelligence
Buehler describes 'recursive meta-intelligence': an AI system that creates its own scientific instruments, turns them into persistent simulated worlds inhabited by an ecology of hundreds of AI agents, and compresses thousands of simulated trajectories into human-understandable design principles. Applied to hierarchical materials/fracture mechanics, it revealed how architecture programs failure pathways, improving resilience via load redistribution and controlled collapse; the agent swarm formed a long-tailed hub topology without a central planner.