Explore the research collection
160 entries · showing 1–24 · Follow this search
- Paper
Mixture-of-Loops Transformer
Zhu, Wang, Wang, Bai, Wang & Bai, 'Mixture-of-Loops Transformer' (arXiv 2611.34923, Nov 25 2026; code linked from the paper; license NOT confirmed from the arXiv record at cataloging). Looped Transformers buy expressivity by reusing shared layers but pay for it in efficiency; the paper rethinks the core mechanism connecting adjacent loops - what should be passed as a Transformer loops? Its Mixture-of-Loops Attention (MoLA) uses keys and values as memory for selective reuse across depths and loops, in two regimes. Under loop residual (MoLT-R), the model retains the residual stream and reads local KV across loops, for expressivity. Under loop KV (MoLT-KV), each loop instead restarts from the embeddings and reads current-loop local KV together with preceding-loop memory KV at earlier positions, for efficiency; this eliminates same-position cross-loop dependence and, paired with loop forcing for parallel training, unlocks single-traversal Mixture-of-Loops decoding beyond the training loop horizon. U-shaped MoLT (U-MoLT) separates memory construction from prediction readout and skips unused decoder traversals without changing predictions. Results (400B-token pretraining): U-MoLT outperforms OLMo3 across 700M and 1.5B dense and 3B MoE models - 1.7x validation cross-entropy token efficiency at 700M, and on the 3B MoE a 0.75 perplexity improvement across 10 domains with +2.1 points on 10-task accuracy. In 100B-token continued pretraining of Qwen3.5-0.8B-Base, the U-MoLT adaptation lowers CE on all 11 domains over the matched baseline at 1.4x mean token efficiency. At inference, U-MoLT with MoL-Hybrid-2 matches non-looped OLMo3 latency (996.6 vs 1,000.6 ms on ~113M models). Flags, as entered: abstract-level at cataloging, authors' own numbers. Cross-references: the newest member of the looped cluster - its 'what passes between loops' question is the KV-memory counterpart to Shared Memory in Looped Transformers (ID 1563, first recursion writes a KV cache later recursions read), LoopKV (ID 1817), and Depth Hybrid Attention's per-token depth bank (ID 1804); the 700M token-efficiency result is the closest-to-scale looped evidence yet for the user's 250M efficiency question.
- Paper
Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s
Fan et al. (NVIDIA), 'Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s' (arXiv 2611.32057, Nov 24 2026, CC BY 4.0; implementation open source in Megatron-LM / Megatron-Core + TransformerEngine, marked experimental, requires TE >= 2.19). For linear layers, the five standard parallelisms - data, tensor, sequence, context parallelism and FSDP - are special cases of one framework, generalized tensor parallelism (GTP): each layer's parameters are partitioned along a hidden dimension and activations along the token dimension, and either can be re-materialized with an all-gather before use. The operative move: in GTP a parameter all-gather is an optional preprocessing step on one input of a single GEMM, whereas FSDP implementations treat it as a step before an entire Transformer block, inflating memory and delaying GEMMs - so all-gathers can be scheduled per GEMM, issued early enough to hide the communication but late enough to limit memory. In the implementation this factors as GTP = TP x GTP_remat, where GTP_remat is ZeRO-3-style sharding of weight + gradient + optimizer state on top of TP, with per-weight materialization, a prefetch chain, and low-precision gathers (FP8 / MXFP8 / NVFP4) composing with the sharding; supports dense and MoE models with AdamW and Muon. Results (first-party, internal model): an internal 2T-parameter MoE reaches 13.0 model EFLOP/s at 8K sequence length on 12,288 GB300 GPUs with 98% weak-scaling efficiency (4,096 -> 12,288 GPUs), and the full model runs with 1M-token sequences on 512 GPUs; on 256-1,024 GPUs, 1.05-1.55x the throughput of Megatron-FSDP across three MoE models and 1.27-1.31x a tuned 3D-parallel recipe with pipeline parallelism on a DeepSeek-V4-Pro proxy. Flags, as entered: NVIDIA first-party throughout; the headline 2T model is internal and unreleased; all evidence is at 256+ GPU scale, so nothing here transfers directly to the user's 250M single-node runs - the catalog value is the unification (five parallelisms as one framework) and the per-GEMM communication-scheduling principle, plus native Muon support in Megatron-Core's distributed path.
- Paper
Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training
Zhang et al. (arXiv 2611.27376, Nov 20 2026, CC BY 4.0) solve the continual post-training consolidation problem without touching the backbone. RL post-training produces domain experts that must be consolidated into one model, and as new experts keep arriving the consolidation becomes continual - but weight merging and multi-teacher on-policy distillation (MOPD) must re-consolidate the whole model whenever an expert is added, and can erode capabilities outside the target domains. Composable Soft-Prompt Distillation (CSPD) keeps the pre-RL model frozen, distills each RL expert independently into a soft prompt, and composes experts by concatenating their prompts with no joint training. A single soft prompt recovers at least 90% of the teacher's gain in 22 of 23 math, code, and agent settings. Independently trained prompts compose well: in a multi-expert setting the average rises with every expert added, and the full composition matches MOPD (67.83 vs 67.79) while generalizing best across six held-out benchmarks. Input-space adaptation adds little serving overhead: throughput within 1.5% of the unadapted backbone and 2.40x that of rank-4 LoRA. Flags, as entered: abstract-level at cataloging, authors' own numbers; code/release status not confirmed from the arXiv record. Cross-references: the consolidation alternative to MOPD (ID 1534) and to the Base Labs OPSD critique (staged slot 2) - CSPD sidesteps both by never merging weights; retention counterpart to ID 1762 (Unified Training) and staged Deletion Tuning (slot 13), all three answering 'how do I keep adding capabilities without losing old ones' from different directions (data mixture, weight deletion, frozen backbone + soft prompts). For the user's stack, the transferable idea is continual post-training on a fixed backbone: each new RL expert becomes a composable soft prompt instead of another consolidation run, directly relevant to his pretraining/post-training split and to Model Axes' need to keep adding evals without re-consolidating.
- Paper
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Zhao et al. (NUS; arXiv 2611.31094, Nov 23 2026, CC BY 4.0) make finetuning pretrained models into loops actually work. Prior looped models needed training from scratch, and finetuning existing models into loops brought only marginal gains over SFT. LoopRes builds on Attention Residuals: each looped layer attends directly to the outputs of earlier loops, with a trainable loop-aware key encoding each loop's structural identity (the iterates become hard to tell apart otherwise), and each layer is restricted to a residual window of the latest W loops so every loop builds incrementally on recent ones. The model is split prelude (first quarter, once) / core (middle half, L times) / coda (last quarter, once); core x3 = 2x compute, x7 = 4x. At 2x compute on Qwen3-1.7B-Base it improves 29.1% over SFT (average 43.2 -> 55.8 across AIME25, AIME26, AMC23, OlympiadBench, MATH500, HumanEval+, MBPP+), more than doubling the gain of the strongest baseline, and leads every column at 2x - ahead of Huginn (49.0) and BRT (49.2); notably Ouro scores BELOW unlooped SFT at 2x (42.9 vs 43.2), so looping is not automatically an improvement. At 4x the average reaches 57.8, with OlympiadBench dipping (53.8 -> 52.9) and gains flattening beyond five loops. Gains hold on larger models up to 30B across three families: +9.2 pts Qwen3-4B, +8.6 Qwen3-8B, +5.5 Qwen3-30B-A3B at 2x, and the looped 4B (45.8) edges past the plain 8B (42.9). From 1.7B to 8B LoopRes scales more steeply than SFT as compute grows, reaching a higher ceiling while needing less compute on long outputs. Flags, as entered: abstract-level at cataloging, authors' own numbers and self-reimplemented baselines; the 2x comparison is not at equal cost (the paper answers with score-vs-decode-compute curves); stated limits are math and code only, SFT only. Repo ships training code, the paper, and a fine-tuned checkpoint (oahzxl/LoopRes-Qwen3-1.7B on HF; weights unconfirmed by a secondary tracker that could not reach HF - flag at insert). Cross-references: the looped cluster (IDs 670, 938, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579, 1765, 1808, 1820, staged Ouro and ARLoop) - LoopRes is the first looped method that works by finetuning a pretrained model rather than training from scratch, and it directly answers CRAM's (staged slot 27) 'maybe don't loop at all' challenge on real LLM benchmarks rather than Sudoku/Maze; it also extends the Attention Residuals mechanism of staged ARLoop (ID 1820 enrichment) from depth-attention to loop-aware keys. For the user's 250M stack, the transferable idea is the loop-aware residual + residual-window mechanism as a cheap post-training loop conversion, not a from-scratch looped pretrain.
- Paper
No Second Run: Does RSI Stop at Frontier Pre-training?
Cai et al. (arXiv 2611.10719, Nov 7 2026, CC BY 4.0) ask whether recursive self-improvement (RSI) stops at frontier pre-training - and answer that it changes form. Public RSI work so far has targeted POST-training: start from an existing base, run GPU-hour-scale trials, get verifiable scores. Pre-training breaks all three conditions: a run consumes hundreds of thousands of GPU-hours over months and CANNOT be repeated (hence 'no second run'); its objective, post-training headroom, cannot be read off any single score; and what must improve is not a model but the whole production system - data pipelines, training infrastructure, the teams running them. Since no end-to-end loop can close over a single unrepeatable run, they decompose RSI into SMALLER LOOPS that can close, each repairing a step the full run breaks. The artifact is 801-30B-A3B-Base, a 30B-A3B MoE trained from scratch on 11.8T tokens in three months by a newly formed team, released open-source along with the lightweight SFT data. As a base model it outperforms Qwen3-30B-A3B and Nemotron-3.5-Lightning-30B-A3B and trails only the larger Qwen3.5-35B-A3B, keeping that position under identical SFT; with lightweight SFT alone (6B tokens, NO RL) it achieves the highest average on four agentic benchmarks against fully post-trained models, including Qwen3.6-35B-A3B. Flags, as entered: abstract-level record at cataloging time - the headline comparisons are the authors' own and the internal architecture/recipe details and the decomposed loop inventory live in the full text; the authors claim to be the first to apply RSI to an entire frontier pre-training run and report it in detail. Cross-references: the RSI thread - this is the pretraining-scale counterpart to Mirendil's mission (recursive self-improvement / automating AI R&D), to the staged doubleAI entry (self-redesign during training, small-scale experiments) and to Hedra's Model Factory (the loop as a service); it is the first detailed field report of RSI inside a frontier run, at 30B/11.8T, rather than as a post-training loop or a lab-platform announcement. For the user's own 250M training, the transferable idea is the decomposition itself - improving the training SYSTEM through closable sub-loops (data, infra, eval probes) is the pretraining-scale analogue of the same loop, not a claim that his run can be restarted.
- Post
What objective is reasoning solving? Reasoning as pathfinding in token space
Alex Wang's essay reframes LLM reasoning as PATHFINDING in token space. Given a prompt x and a verifier r, the target is the set S_x of answers the verifier accepts; each sampled chain z is one path, and the success probability p_x is the total probability mass of paths landing in S_x. The core identity: with a binary reward, expected reward IS p_x, and its policy gradient is exactly REINFORCE - which, expanded, is one step of rejection-sampling fine-tuning (STaR-style) on the model's own successful paths, scaled by the current success rate M/N. Three consequences follow. (1) Why chains lengthen in RL but forcing a single chain longer stops helping: training shifts mass toward whichever paths landed - if successful paths tended to be longer (backtracking, environment feedback, luck), the model learns length; an individual path is never guaranteed to converge, so extra forced length can overshoot into overthinking. Only the DISTRIBUTION is optimized. (2) Best-of-k is the orthogonal, guaranteed axis: success rises as 1-(1-p_x)^k over SAMPLES, not length. (3) RL amortizes search: compute spent finding paths in training is baked into the weights, which is why a trained model often succeeds in one sample at inference. The frame also dissolves two puzzles: CoT faithfulness is not implied by the objective (the reward scores only the final answer; intermediate tokens are unconstrained means, correlated with truth only via pretraining), and reward hacking is geometric - an imperfect verifier makes S_x differ from the truly-correct set, its wrong-but-accepted region is often the EASIEST to reach, and scaling RL samples/length fuzzes the verifier harder, so hacking gets MORE likely with scale before training amplifies the shortcut. Author's conclusion: reasoning is not solving an objective per-path at all; guarantees exist only in aggregate over the path distribution. Flags, as entered: a conceptual essay, not new experiments - its value is the unifying frame (built on Brown et al. 2024 sampling scaling, STaR, Muennighoff et al. 2025, Gema et al. 2025); the binary-verifier setup is an idealization of graded/partial-credit rewards. Cross-references: ID 1695 (the author's associative-memory essay); the catalog's latent-reasoning thread (a path need not be made of tokens at all - the frame extends to latent paths, which is the author's stated motivation); and the monitorability thread - the faithfulness section is the cleanest short statement of why answer-only rewards cannot buy faithful chains.
- Paper
Shaping & Monitoring Models through their Internal Representations
Goodfire paper (arXiv 2611.07071, Nov 4 2026, CC BY 4.0) proposing Mechanistic Shaping: adding interpretability-derived penalties to the training objective so a model is specified by HOW it solves a task, not just whether it succeeds. Two forms: reliance shaping, which penalizes how much the model's outputs depend on a concept (measured by attribution - 'don't rely on this'), and expression shaping, which penalizes the concept's presence in representations/outputs ('don't do this'). The method needs only a concept direction and a readable layer; the direction can be periodically refit as representations move. Demonstrations across vision, medical imaging and language, up to 32B parameters, over classification, SFT, DPO and GRPO: (1) chest X-ray pneumothorax diagnosis with a chest-drain confounder - SAE features labeled by an LLM agent (no confounder labels used) supplied the directions, and reliance shaping beat prior methods and even exceeded the soft ceiling of training on balanced data; (2) sycophancy induced by DPO (Blank et al. found DPO raises sycophancy despite <1% visibly sycophantic data) - penalizing reliance on a sycophancy direction in OLMo-3-7B kept DPO-level accuracy across six benchmarks while sycophancy stayed near the un-DPO'd model; data filtering merely traded capability for sycophancy along the 'just do less DPO' line, reward shaping and inoculation prompting barely helped, preventative steering on the same direction got partway; the recipe also worked at 13B and 32B; (3) reward hacking - Qwen3.5-9B RL on a file-based Countdown variant where a forbidden target.txt holds the answer: standard RL's cheating rose ~6x within ten updates and honest strategies fell to zero, while expression shaping against a 'cheating' direction (computed from coding-task transcripts) produced 96-98% honest solving, and filtering cheating rollouts prevented cheating in only one third of runs; on unseen chess puzzles with a different forbidden file, the standard-RL model cheated 99% of the time while shaped models barely cheated and still improved - the penalty targets the internal concept, not the specific file. The paper's second half asks whether training against a representation destroys monitorability. Theory (exact toy-model analysis of projecting out a concept direction) plus experiments identify three circumvention geometries: the concept regrows immediately in a new linear direction (the task still rewards it), it is erased at the shaped layer (and may be rebuilt later), or it persists as a nonlinear encoding - specifically a second-order product code, which frequent direction-refitting predictably selects for; regrown representations can also entangle with desired concepts (cosine up to ~0.45 in vision experiments). These motivate a five-level monitorability hierarchy: L1 reuse the original probe, L2 linear refit, L3 nonlinear refit, L4 probe a different layer, L5 treat the model as a black box (e.g. an LLM judge). Empirically, in every experiment the shaped concept remained monitorable: sycophancy probe AUROC 0.98 -> 0.93 with a refit at 1.00 throughout; reward hacking worst case (gradients flowing through the probe) 0.98 -> 0.57 balanced accuracy, recovered to 0.97-0.98 by refitting; the original probe stays reliable whenever gradients do not flow through it. Flags, as entered: first-party (Goodfire sells interpretability tooling), small-to-medium scale by the authors' own statement with frontier-scale behavior explicitly open, and the three circumvention mechanisms are claimed complete only for their observations. Cross-references: the constructive counterpart of the monitorability thread (ID 1861, operator #9) - shaping is training against monitors, so the L1-L5 hierarchy doubles as a maintenance schedule for any probe used in training; not to be confused with doubleAI's unrelated 'mechanistic intervention' (architecture edits mid-training), staged the same week.
- Paper
Unifying and Beyond the Theory of Pervasive Capability Degradation in LLM Post-training SFT from Feature Interference
Explains pervasive capability degradation from SFT through feature interference at the representation level, unifying prior accounts and suggesting mitigations.
- Paper
Bridging Singular Learning Theory and Mechanistic Interpretability at the Billion-Parameter Scale
Connects singular learning theory's local learning coefficient with mechanistic-interpretability circuits in billion-parameter pretrained language models.
- Paper
LoopKV: Loop-Aware KV Cache Compression for Serving Looped Transformers
LoopKV compresses per-loop KV caches when serving looped transformers like Ouro by allocating quantization precision to each layer's sensitivity at each loop, raising servable batch size.
- Paper
Phases of Muon: When Muon Eclipses SignSGD
An exactly solvable theory of when Muon beats its Adam-like baseline - with a phase diagram, not a blanket verdict. Setup: stochastic Muon (orthogonalize an EMA of minibatch gradients via Newton-Schulz) vs stochastic SignSGD on a high-dimensional matrix-valued least-squares problem whose per-sample gradients are rank-one outer products, mimicking a linear layer under backprop; as dimension and batch grow the loss dynamics become deterministic and the derived theory tracks simulations. Two data knobs organize everything: the covariance spectrum decays as a power law with exponent alpha (large alpha = steep spectrum, effectively low-rank data), and the target's loss in direction i decays with exponent zeta (large zeta = easy target, little loss in the hard small-eigenvalue directions). PHASES: Muon is favored for steep spectra with rich/hard targets (alpha > 2 and zeta < alpha + 1); SignSGD is favored for flat spectra (alpha < 1) and for easy targets generally; in the middle region the winner flips with the accuracy demanded - SignSGD reaches mediocre solutions first, Muon wins late at low loss; elsewhere the winner depends on how target loss scales with dimension. MECHANISM: Muon performs only a SQUARE-ROOT preconditioning in the data spectrum, not a full inverse - small directions get boosted by roughly sqrt(N/B_eff), and that half-strength boost is exactly right when the target loads loss onto hard directions, but over-boosts them for easy targets, where SignSGD's no-preconditioning wins. BATCH: everything runs through the effective batch B_eff = B(1+beta)/(1-beta) - momentum multiplies the effective batch - because Muon can only whiten directions the batch actually spans (batch rank ~ B_eff); with exact whitening and small B_eff it fails to resolve small eigenmodes and slows down, a transition SignSGD does not have. Muon's optimal learning rates are larger than SignSGD's and are derived exactly in the isotropic case, with a sqrt(N) gap at beta = 0.9 unless the batch grows. A practically relevant bonus: finite Newton-Schulz (NS-5) acts as a RIDGE on small singular values, which can help - Muon's speedup over SignSGD peaks around 1.13x at small B_eff/N and 1.46x at large B_eff/N, and in the large-batch regime the inexact NS-5 iteration BEATS the exact polar decomposition. In the isotropic setting the two optimizers' convergence rates match up to a constant factor once each uses its own optimal LR. Scope: this is a least-squares surrogate with rank-one gradients - a theory of the optimization geometry, not an LM experiment; the SignSGD baseline stands in for Adam (no second-moment adaptivity), and the data spectrum of real gradient covariances is an empirical question the paper does not measure. Proofs are accompanied by a Lean 4 formalization (project page: mlexpos.github.io/phases-of-muon). In the catalog's Muon thread this is the theoretical member, complementary to ID 1809's empirical fine-tuning reversal: 1809 says the Muon-vs-AdamW ranking flips with pretraining data scale AFTER fine-tuning; this says the ranking during optimization itself is a function of data spectrum and target hardness - both argue 'Muon vs Adam' has no data-free answer, and this one names the data property that decides it.
- Paper
DepthGraft: Structural Regularization through Hierarchical Cross-Layer KV Reconstruction
Cross-layer KV sharing, reframed: the cache saving may be the least interesting thing it does. The problem setting is depth-wise information dilution in Pre-LN architectures, which limits how much deep layers get used. Prior cross-layer connectivity either costs extra compute/memory or treats KV sharing purely as cache compression. The paper's analysis: every KV reuse edge also creates a direct gradient path from deep layers back to the source layer's KV projections, so sharing acts as an implicit structural regularizer on KV representation geometry - and the topology matters: properly chosen sharing sharpens key retrieval directions while enriching the value content subspace, whereas adjacent-layer sharing and global-anchor designs do not fully exploit the effect. DepthGraft is the topology their analysis motivates: a hierarchical scheme that reconstructs each deep layer's KV from stride-aligned shallow-middle source PAIRS, distributing the non-local gradient flow across many source layers instead of concentrating it on neighbors or a single anchor. It preserves prefill early completion and cuts KV cache by roughly one third. Experiments span dense and MoE models from 0.5B to 16B parameters, under both GQA and MLA, with consistent downstream improvements; the headline is the 16B MoE model: +7.0 absolute on MMLU-Pro, +6.6 on CMMLU, +6.4 on C3 over its non-grafted baseline. Caveats: abstract-level evidence, all first-party, and effect sizes that large from a sharing topology are unusual enough to want the full tables and training-token counts before treating them as settled; a project page is linked from the paper (GitHub). Paired reading with ID 1804 (Depth Hybrid Attention, shared the same morning): both papers move information across depth inside attention, but in opposite directions - DHA ADDS a per-token depth bank and a learned router so layers can read earlier layers' values at inference, while DepthGraft REMOVES deep layers' own KV (reconstructing it from shallow sources) and argues much of the benefit is a training-time gradient-path effect. Together they bracket the design question for deep stacks: is cross-depth flow worth paying inference-time machinery for, or is it mostly a pretraining regularizer you can have while also shrinking the cache?
- Paper
Locating Sycophancy Across Training Stages in Open Language Models
Measures sycophancy at every stage of 13 open checkpoints across 5 lineages (base, SFT, preference optimization, release) to locate where it arises, separating claim-induced answer shift from answer confidence.
- Paper
UpLoop: Training Looped Transformers via Upcycling at No Extra Pretraining Compute
UpLoop trains looped transformers by upcycling: start shallow and progressively grow into a looped model while exactly matching a dense baseline's final params, tokens and training FLOPs.
- Paper
Elucidating the Design Space of LM Data Attribution
Introduces the Controlled Attribution Benchmark (CATT) to isolate why LM training-data attribution methods fail by varying dataset properties one at a time (Bau lab).
- Post
Guidance is becoming a cheat code for LLMs (with Loooop)
Analysis blog post (Wu, Wang, Mireshghallah, Wu; 22 Oct 2026) explaining why guidance - contrastive decoding against an earlier state of the same model - works unusually well in looped language models, building on LoopCD (catalog ID 938), which steers generation with z_guided = z_K + w(z_K - z_E), extrapolating from an early loop's logits z_E to the final loop's z_K. The puzzle: guidance is applied one token at a time, but the object actually wanted is the guided joint distribution over complete sequences, Q_joint proportional to p_K^(1+w) / p_E^w. The token-level rule actually used, Q_local, has the same numerator but a different normalizer - a product of prefix-dependent local normalizers C(y_<t) instead of one global Z - so the two can diverge sharply (worked two-token example: a 39.2-point gap in first-token probability). The blog's derivation: log C(y_<t) = [w(1+w)/2] * Var_{p_E}(delta) + O(eps^3), where delta = z_K - z_E; the constant and first-order terms cancel, so guidance moves token preferences at first order in the logit gap while the sequence-level mismatch accumulates only at second order, O(T eps^2) over a length-T sequence - provided early and final logits are close. Empirical check of that premise: on 1,024 GSM8K prefixes (128 development questions x 8 positions), the centered RMS gap between intermediate-depth and final-depth logits is 2.8-14.1x smaller for the looped models Huginn-0125 (loops 8/16/24 of 32) and Ouro-2.6B (loops 1/2/3 of 4) than for the dense baselines Qwen2.5-3B and Pythia-2.8B (layers at 25/50/75% depth), across all twelve comparisons, with every paired 95% bootstrap interval for the ratio below 1; the ordering survives normalizing by final-logit scale and holds on question-only prefixes. Motivating results replotted from LoopCD at fixed loop count: Ouro-2.6B-Thinking AIME 2024 pass@1 61.88 -> 70.62 and Huginn-0125 HumanEval 22.56 -> 31.71 under fixed-strength guidance (ID 938 reports up to 73.33 on AIME for its best variant). Diffusion parallel: classifier-free guidance has the same reweighting algebra, but its normalizer is independent of the sample coordinates and vanishes under the score gradient; token-level guidance has no such cancellation, so closeness of loop logits is what substitutes for it - and loop guidance's reference is an earlier stage of the same computation (cf. diffusion autoguidance). Caveats: a blog analysis, not peer-reviewed; the bounds assume small logit gaps and fixed guidance strength w; the closeness evidence is two looped vs two dense models on GSM8K prefixes only. Joins the looped-models cluster as the theory companion to ID 938: looping keeps successive predictions close, which is exactly the condition that makes per-token guidance approximate sequence-level guidance.
- Tool
Dist-MoE: Speed-of-Light Distributed Mixture-of-Experts Forward and Backward Kernels
A library of fused communication-and-compute kernels for expert-parallel (EP) MoE on NVIDIA SM100+ (Blackwell) GPUs. The caller supplies top-k expert IDs and scores (routing itself is out of scope); a reusable context owns symmetric, peer-addressable HBM dispatch/combine buffers (NVLink) and executes dispatch → grouped expert GEMM (W13 → SwiGLU → W2) → combine as one ordered operation, with forward and backward (FPROP/DGRAD/WGRAD) kernels throughout. Precision/pipeline matrix: BF16 "standard" (training + inference); MXFP8 E4M3 in Staged (separate W13 and SwiGLU/W2 kernels) or Mega (both projections fused into one chunk-pipelined kernel with chunk-local readiness) pipelines (training + inference); NVFP4 in Staged or Mega, inference only, prepared weights. Kernels are CuTe/CUTLASS-DSL; validated stack is Linux ARM64, PyTorch 2.14 + CUDA 13.0, NCCL 2.30.7; no CPU fallback. Two mechanisms distinguish it from DeepEP (dispatch/combine comms only, no fused expert compute), MegaBlocks, DeepSeek's Mega MoE/DeepGEMM (fused forward only, no fused training backward), ByteDance Comet/Flux (no CUDA graphs on the dynamic-routing path, no packing policy), and Cursor's Mixture-of-Kittens (MoK): (1) dynamic activation packing — a planner packs saved forward state from all layers sharing an activation slot into one bounded buffer instead of reserving a per-layer budget, and it works during CUDA-graph replay; (2) dynamic, capacity-driven recompute — when the slot budget is exhausted the planner keeps mandatory layer inputs and rebuilds the remaining intermediates in backward, decided by device predicates so the host launches one fixed, graph-stable sequence (soft limit; scratch overflow without VMM host-backed overflow is a hard error). Also: full CUDA-graph support and non-strict make_fx (full torch.compile/strict export explicitly NOT supported), fused post-expert RMSNorm + score weighting + top-k reduction, clamped SwiGLU, in-place WGRAD accumulation into standard parameter.grad, and no shared-expert branch required — routed-only execution, -1 expert ID disables a route (MoK's reviewed API, by contrast, requires shared-expert weights). TorchTitan integration: a DistMoeTransform swaps stock RoutedExperts for the Dist-MoE backend in place (same GroupedLinear parameter layout, so FSDP/optimizer/checkpoint ownership is unchanged; requires mixed_precision_param="bfloat16"), plus a rank-wide DistMoeRuntime.Config (scratch/activation-slot capacity factors, VMM factor, pipeline-parallel slot policy); verified 671B DeepSeek-V3 recipes ship in torchtitan_recipes, MXFP8 Mega fused inference is wired for RL generators, and NVFP4 inference is in the library but not yet exposed by TorchTitan. Benchmarks — ALL Meta-reported, GB300 NVL72, no independent replication: "useful" throughput counts only real GEMM FLOPs (fwd = 6·T·K·D·F per GPU; bwd = 2× fwd), excluding padding and replay work, divided by whole-layer iteration time (median of five 30-iteration CUDA-graph windows, slowest rank; comm/quantization/padding time stays in the denominator). Headline MoK comparison (both implementations given one BF16 shared expert, D=7,168, 384 experts, top-6, 2,048 tokens/GPU, CUDA graphs on): up to 1.40× over MoK — specifically the synthetic ten-layer packing training workload under per-layer routing imbalance (MXFP8, EP64), where Dist-MoE packed all ten layers' saved state at capacity factor 2.5 with zero capacity-induced recompute (peak allocation 49.73 GiB vs MoK 48.37 GiB); Meta notes the experiment does not isolate how much of the gain is avoided recompute alone. MoK was chosen as baseline because Cursor's published single-layer NVL72 results lead the other OSS stacks (DeepEP+PyTorch, DeepEP+TransformerEngine, HybridEP+Megatron). Separate standalone suite (zero shared experts, one routed layer): 3.09 useful PFLOP/s per GPU NVFP4 Mega inference (EP16), 1.86 MXFP8 Staged training (EP64), 1.27 BF16 training (EP64) — vs dense datasheet peaks of 15/5/2.5 PFLOP/s respectively. Imbalance scaling is sub-linear: NVFP4 inference EP16, 8× received rows on the busiest GPU → 4.82× iteration time (~40% lower time per received row). Stated limitations: SM100+ only; no NVFP4 training, MXFP8 E5M2, MXFP4, A8W4, communication quantization, or expert borrowing in this release; the explainer itself discloses that EP32/EP64 training ran at different sites, some allocations shared an NVLink fabric with unconfirmed timing overlap (not uncontended-peak evidence), and HBM byte rates are modeled, not measured.
- Paper
Beyond Parameters: Exploring Virtual Logic Depth for Scaling Laws
Proposes virtual logical depth (VLD) as a fourth scaling dimension alongside depth, width, and parameter count: VLD = effective algorithmic depth minus base layer count, increased by repeating whole transformer layers with tied weights inside the computation graph, during training and/or inference — not token-wise test-time scaling. Three reuse patterns (after Takase & Kiyono 2021): sequence (adjacent layers share parameters in uniform blocks), cycle (a block of layers repeated), and inverse cycle (the block repeated in reverse order, motivated by larger gradient norms in higher layers). Repetition factors ×1–×3, cycle up to ×5. Two controlled measurements. (1) Knowledge capacity, operationalized Allen-Zhu & Li-style as absorbed entropy ΔH: train a model to memorize a 640k-token IID random sequence over a 50,257-token vocabulary (~15.6 bits/token, sized to the ~2 bits/parameter estimate) and measure the entropy reduction of its softmax outputs on the training sequence. Across 4-layer GPT-2 models of 5M/10M/15M/20M parameters, capacity grows with parameter count; at fixed parameters (5M and 20M tested), absorbed entropy stays nearly unchanged across all three patterns and factors ×1–×3 (reported in Fig. 4, graphically). (2) Reasoning, measured on synthetic iGSM (500K problems, trained at ≤15 operations, exact-answer accuracy, greedy decoding): GPT-2 models of 4/8/12/16 layers (≈50M/100M/150M/200M) trained from scratch. Cycle is the strongest pattern: the 4-layer model's op15 accuracy rises 46.3% (base) → 62.1% (×2) → 70.7% (×5), and the gains grow under depth distribution shift (op20: 21.8→43.8; op21: 21.2→40.2). A 50M cycle ×2 model (effective depth 12) scores 62.05%, beating the native 12-layer 150M model (61.15%) — reasoning decoupled from parameter count. Real-world check: LLaMA-3.2-3B-Instruct with Cycle VLD inserted before LoRA fine-tuning (both arms from identical pretrained weights, same 2.3B-token multi-domain SFT corpus) improves over base on Math500 30.40→35.40, GPQA 29.80→32.32, AIME 3.33→6.67, HumanEval 37.79→39.52, MBPP 38.36→40.22. "Properly implemented" is load-bearing: pattern and placement matter — inverse cycle at ×1 underperforms the base model (4-layer op15 43.9 vs 46.3; 8-layer 53.3 vs 60.5), and in an 8-layer placement ablation, cycle reuse on later layers only (5–8) scores 64.2 vs 62.0 for all layers and 54.2 for early layers only (below the 60.5 no-VLD baseline). Scaling is also non-monotonic: cycle ×3 dips below ×2 on the 4-layer model (61.6 vs 62.1), and effective depth 32 underperforms depth 16 — the authors flag possible fixed points. No fitted scaling-law functional forms or exponents are given; the laws are qualitative (knowledge ∝ parameters; reasoning ↑ with VLD). Caveats: synthetic experiments cap at 200M from-scratch GPT-2 models; the real-world evidence is a single 3B model with LoRA-only fine-tuning and small absolute gains (AIME 3.33→6.67 is one additional problem in 30); knowledge capacity is a synthetic memorization probe, not natural knowledge; all reuse experiments train (or fine-tune) with the reuse graph in place — inference-only looping of a conventionally trained model is not tested; multi-seed statistics deferred to future work (authors' Appendix I).
- Paper
WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
The architecture-level answer for lifelong knowledge insertion. Dual parametric memory: the main FFN memory is never touched; a side memory (a copy of the FFN layer) absorbs all edits, with a trained router choosing which memory to use per query. Knowledge sharding (edits scattered across random subspaces) plus Ties-Merge merging prevent cross-edit conflicts — the mechanism behind surviving thousands of sequential edits. Authors' result: overcomes the "impossible triangle" of reliability, generalization, and locality in lifelong editing across QA, hallucination, and OOD settings (GPT, LLaMA, Mistral families). Training cost: router trained once; per edit a small side-memory optimization — light, not zero. Relevance: the backbone-side counterpart to EngramEdit (ID 1626) — both decouple knowledge from the main weights, but WISE does it inside the backbone's own FFN layers instead of a conditional-memory module; the side-memory pattern is directly adoptable in Hudson's own 3:1 hybrid stack.
- Benchmark
TasteBench (edotenv) — measuring research taste in ML
EdotEnv's new benchmark for "research taste" on real-world ML tasks: continuously generated tasks on out-of-sample data (so eval data isn't in training data), with a public/private dataset split per task — agents train on public data, final score on a private held-out set. Sample task "Alpha Autoresearch": open-ended quant-research benchmark on anonymized minute-level crypto data (public 2022–2023 ~4.2M samples; hidden 2024 ~2.1M; dates shifted to 1980, targets transformed against pretraining lookahead); verifier scores Pearson IC plus PnL/max-drawdown/Sharpe after costs; fixed Kimi Code harness; all agents at highest thinking effort. Trajectory analysis of frontier agents surfaces three recurring failure patterns: (1) reusing a tiny validation slice until it becomes part of model selection (GPT-5.6 Sol: 1,494 fits over 3 validation months → 3.43% IC in dev month, 0.48% on the hidden set — the "reward hack public verifiers" finding); (2) breadth over depth in hypothesis iteration (Fable 32.6% of research groups got follow-ups vs DeepSeek V4 8.8%); (3) keeping features without ablation studies. Fable 5 and Grok 4.5 led, but within-agent variance was huge — reliability, not peak capability, is the story. Thread leaderboard (vendor-reported, normalized to 100, opaque scale): Opus 5.5 MAX 2.53, Grok 4.7 XHIGH 2.18, Astra MAX 2.17, Gemini 4 Argon HIGH 2.16, Kimi K3 MAX 2.06, GLM 5.3 MAX 1.95, DeepSeek V4.1 Flash MAX 1.88, Sol 6.1 MAX 1.87. Caveats: leaderboard models differ from write-up models (relationship unclear — Alpha Autoresearch reads as an earlier/sister result set); "worse scores at higher reasoning," "continuous generation," and "TBs of data" are thread-only claims not evidenced in the one published task (fixed 2022–2023 public split); all numbers first-party; scoring scale unexplained; task-generation method proprietary.
- Paper
Learning to Compute Is Not Learning to Retain or Reuse in Looped Transformers
Separates three independently-learnable skills: computing an answer, retaining it across extra loops, keeping the hidden state reusable by later computation. Setting: in-context execution of Mealy machines (state-tracking), simulator giving exact intermediate targets and counterfactual continuations; 2-layer shared block (width 128, 4 heads, MLP 512, no positional/loop embeddings), trained to exit at loop 32. Key results: final-only supervision is 100% at the trained exit but keeps 22.3% of answers at loop 64; supervising every position → 94.3%; supervising one uniformly-random position per example (same single-label density as final-only) → 99.8% retention; randomized exit budget raises loop-64 accuracy 30.0% → 85.6%; progressive training works in only 1/3 seeds vs 3/3 for the random-exit control (97.9% retention). Computation is exact — swapping a loop-k hidden vector for one from another input redirects every later position to that input's exact continuation (237/237 pairs across ten models) — but answers fade within a few loops. Retention ≠ reuse: freezing each position at the loop its answer first becomes readable crashes endpoint accuracy 100% → 4.1% (sampled-prefix) / 6.3% (matched random exit); waiting four more loops is harmless. External check: Bansal et al. (2022)'s released recurrent maze network solves 0 of 32 mazes when pixels are frozen at answer arrival, 4/4... all 32 when frozen four iterations later. Caveats (§7): one synthetic task family + one principal architecture; interventions don't identify a microscopic cause or general repair; six paired seeds for original comparisons, three for controls; sampled supervision still needs intermediate labels; finite-window retention ≠ hidden-state convergence or uniform length extrapolation.
- Paper
Recurrent Looped Transformer
Splits layers between a parallel causal encoder (token representations + global KV memory) and a recurrent decoder: each token's decoder input is a gated merge of the encoder output and the previous token's final decoder state, so the computation path grows with sequence length at fixed per-token cost. On six small algorithmic tasks (8-layer, ~26–29M, width 512, 3 seeds vs 8-layer decoder-only "GPT Layer 8"): parity trained ≤40 bits → 100±0% at 256 bits vs 50.07±1.63% Transformer; swap-based S₅ at 8× training length → 97.30±2.76% vs 0.85±0.30%; flat mod-5 at length 63 → 93.36±5.69% vs 33.20±2.33%. Controls: RLT-0 (no feedback) → chance on parity and swap-S₅; RLT-2 with 4-token feedback chunks keeps 64-bit parity (98.99±1.66%) but crushes swap-S₅ 100%→19.60±6.54% — permutation tracking needs per-token feedback. Chunking buys training speed: 2.27× faster step at chunk-4 vs RLT-1. Caveats: toy-scale only, no NL pretraining; standard S₅ stays near chance for ALL models (only swap-based tracking won); addition fails beyond 8 digits for every model; flat mod-5 seed-unstable (one split: 17.58/19.53/98.96% across seeds); supervised only — "RL performance is not evaluated" (authors' words); token-sequential recurrence at prefill means S4/Mamba-style parallel scans don't apply.
- Post
You could have invented transformers from memory
A pedagogical explainer (not a research result) deriving linear maps, MLPs, and self-attention as associative key-value memory stores from first principles. The unifying quantity is the interference-to-signal ratio — interference from other stored memories vs the target's signal — and capacity is the number of memories before interference matches signal (random unit keys, query with a stored key). At d_k=64: outer-product linear store ≈64; optimal linear (least-squares/whitened keys) ≈128; ReLU MLP ≈128; squared ReLU / SwiGLU ≈2d_k²/3 ≈2,700–2,900; cubed ReLU ≈2d_k³/15 ≈35,000; self-attention with β=√d_k ≈e^{2√d_k−2} ≈1.2 million; β ∝ log M allows an essentially unbounded store (>2M in experiments). Derivations: interference terms add like a random walk (√M); σ(s)=ReLU(s)^p gives capacity M≈d_k^p; the exponential is a weighted sum of all powers, so capacity grows exponentially in the sharpness β: M≈e^{2β(1−β/d_k)} for β≪d_k; normalizing weights for numerical stability yields exactly f(x)=Vᵀsoftmax(βKx). Unlike MLPs, self-attention is non-parametric: keys/values come from context tokens, so the store grows with context length. Notes that the original transformer's v2/v3 described the feedforward layer as "a kind of attention" (passage removed from later versions) and tried replacing FFNs with learned-key-value attention at similar quality. The long-context section compares β∝log M tricks (Su 2021 entropy scaling, Scalable-Softmax, Qwen LogN-Scaling, Qwen2.5-1M YaRN scaling), driving the interference ratio to ~10⁻⁴ at 2M memories. Author-stated caveat: the count is random-vector recall of a single layer, ignoring training data; companion pointers to bits-per-parameter memorization work (Morris et al. ~3.6 bits/param; Allen-Zhu & Li ~2 bits factual knowledge/param). Includes interactive demos (sliders for M and β with live interference/signal visualization). Asides: a gradient-descent step is a memory write (Irie, Csordás & Schmidhuber); transformers' MLPs store facts in superposition.
- Paper
Jeva: System One Models from First Principles
Jeva is a decision-native architecture for system-one (direct decision) models that jointly satisfies four structural requirements: null-awareness, permutation invariance, option scalability, and cacheability. A shared Qwen3.5-4B backbone independently encodes the request (state z₀) and each option (normalized 768-d vector uᵢ); a single compact decision block (L=1, H=8) refines only the request state against immutable option memory via symmetric cross-attention — proven to support set-dependent preference reversal that independent scorers cannot express (Prop. 1) — while symmetric aggregation yields permutation-equivariant probabilities with no augmentation or consistency loss (Prop. 3). A coverage gate ρ=σ((maxᵢ sᵢ−b_cov)/τ_cov) separates answer presence from candidate competition q=softmax(s/τ_dec), so adding options below the existing maximum leaves coverage unchanged (Prop. 2) — no compulsory log K penalty. The same computation unifies Choice, Noul, and Score outputs. Trained with rank-64 LoRA (13.37M params) on a staged ~1.05M-example typed-decision curriculum. Evaluated on Typed Decisions, BANKING77, MASSIVE, Mind2Web, and ToolRet: Jeva-4B leads 7 of 8 slices (Typed Decisions 78.30% vs InternDecision-4B 78.70%; BANKING77 16-cand 91.62%), records 0% decision flips under all tested candidate permutations (baselines 17.00–45.00%; mean TV 3.17e-08), achieves 98.66% null-detection AUROC on 16-option BANKING77 (vs 93.61% KEV-4B), scores 2,048 ToolRet candidates in one decision-head pass at 69.88% accuracy in 12.04s (vs recursive JevK5 67.47% in 28s; fixed-vocab baselines fail past K=32), and atomic option caching (2,304 scalars/option, request-independent) cuts MLDR p50 latency 27.98× at full reuse (2,102.0→75.1 ms) without changing decisions. Caveats: no ablation isolates the decision head from the training curriculum; cold-start encoding of 2,048 new options takes 12.04s on H200; 768-d single-vector pooling may lose token-level diff resolution on long code; symmetry proofs assume exact arithmetic. Code Apache 2.0; weights at huggingface.co/LIQIIIII/Jeva-4B.