Explore the research collection
297 entries · showing 25–48 · Follow this search
- 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
CopyLoop: Fast Looped Transformer Decoding via Context Copying and Shallow Screening
CopyLoop is a training-free decoding algorithm for looped transformers that proposes multi-token suffixes by copying from context, screens them at shallow depth, and schedules recurrence continuously for faster generation.
- Paper
Depth through Recurrence: Towards Ultra-Efficient On-Device ASR
Revisits depth in on-device ASR and replaces stacked layers with recurrence over shared layers to get deep-model accuracy at a fraction of the parameters for watches/glasses-class hardware.
- Paper
Mechanistic Interpretability for End-to-End Self-Driving
Trains SAEs on a single-camera end-to-end self-driving planner; latents recover route intent (98.3%), speed and braking, with counterfactual edits showing causal features; CoRL 2026.
- Paper
Task Vectors Can Be Linearly Decomposed into Interpretable and Controllable Components
Decomposes in-context-learning task vectors into task-recognition, task-learning and residual components via label unembeddings, making them interpretable and controllable.
- Paper
When Steering Shifts Discourse: Identifying and Intervening on Discourse-Level Changes due to Activation Steering in LLMs
Shows activation steering causes systematic discourse-level side effects beyond intended behavior change, and proposes ways to identify and intervene on them.
- Paper
From Representation to Readout: Mechanistic Analysis of Membership Signals in Language Models
Mechanistic study of membership-inference signals in LLMs with DUG measures separating decodable membership information from information the model actually reads out.
- Paper
Steering Vectors as a Training Signal in LLM Post-Training
Uses steering vectors as a training signal (not just inference-time control) in SFT, distillation and RLVR post-training; NeurIPS 2026.
- 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.
- Paper
Preventing Learning Stagnation in PPO by Scaling to 1 Million Parallel Environments
Why do on-policy RL agents plateau far below optimal return even with unlimited experience? The paper argues that in an important regime the cause is neither exploration, capacity, nor plasticity loss: PPO's sample-based loss estimates become poor proxies for the true objective, so updates stop being informative. It models PPO as two loops — an outer loop (collect rollouts from N parallel environments under the current policy) and an inner loop (minibatch SGD on that batch) — and abstracts the outer loop as plain stochastic optimisation. In that model the outer "step size" is set by the regularisation strength toward the previous policy (clip threshold epsilon, epochs per batch, and implicitly the behaviour policy's age) and the update noise by the number of samples collected between updates. If the step size is too large relative to the noise, the policy thrashes around a local optimum instead of converging — the plateau is the policy changing too MUCH between iterations, not too little. Two remedies follow: shrink the step size (stronger regularisation) or collect more data per update (more parallel environments moves both levers at once). The paper validates the analogy empirically, including the sharp prediction that plateaus are reversible: changing the outer step size mid-run can induce a plateau in a healthy run or rescue a plateaued one, which rules out irreversible plasticity/capacity explanations for this regime. It also finds the optimal outer step size shrinks as the total interaction budget grows, so longer runs need smaller, higher-quality updates. Scaling recipe (the practically load-bearing part): when increasing parallel environments, keep the inner loop untouched — fixed minibatch size and learning rate, more minibatches (more optimisation steps). On Isaac Gym robotics tasks (Singla et al.'s setup), reverting the minibatch size from their scaled 98,304 back to the 16,384 default — one change — significantly improves both vanilla PPO and their SAPG method and narrows the gap between them. Headline result: on Kinetix (procedurally generated 2D-physics open-ended task universe, SFL autocurriculum over PPO), default configurations plateau and then degrade after <10B interactions; scaling to over 1M parallel environments (512x the 2,048 used by Matthews et al., across 128 GPUs) sustains monotonic improvement past one trillion transitions and far exceeds prior baselines (mean and 95% CI over 3 seeds). Analysis uses PPO-EWMA (Hilton et al.'s decoupled proximal policy) as an instrument to vary regularisation independently of parallelisation; final results use standard PPO.
- Paper
Training Foundation Models with a Single Algorithm (Unified Training)
Foundation models are trained in stages — pretraining, midtraining, SFT, RL — each with its own data and algorithm. This paper argues the algorithmic separation is not fundamental. Building on MaxRL's likelihood interpretation (Tajwar et al.), it shows a suitable RL update is exactly maximum-likelihood fitting to a model-generated target distribution: for binary rewards, the MaxRL gradient equals an expectation under the current policy's success-conditioned distribution pi+, so an RL step is MLE on the model's own successful generations, with the generator held fixed during the update. The construction extends to generations from arbitrary fixed policies nu (fit nu's success-conditioned distribution — off-policy generations need no separate algorithm) and, via TailRL, to continuous rewards and other policy-gradient objectives. Unified training then writes every stage as a source (prompt distribution + target distribution) feeding ONE weighted likelihood loss over a time-varying mixture q_t = sum_s lambda_{s,t} (rho_{s,t} o mu_{s,t}): pretraining and midtraining are the empty-prompt static sources, SFT the demonstration source, RL the self-generated success source. The learning rule never changes; the design problem becomes which data, in what proportions, and when — with conventional staged training as the special case where one source holds all the weight at a time. Implementation: a single trainer over a common data representation, with asynchronous generators appending completed batches to a shared buffer and the trainer publishing weights every k updates (policy staleness measured in the appendix). Experiments, deliberately small-scale: (1) Controlled full pipeline — 124M model from scratch, fixed 20B-token pretraining corpus + 510M-token midtraining corpus of oracle solutions to Reasoning-Gym-style puzzles with controllable difficulty and compositional RL tasks; MaxRL, results averaged over two seeds. Best unified configurations beat staged training on final accuracy and coverage in both Base and Extended settings and on Extended generalization (larger puzzles seen in neither midtraining nor RL). Unified reuses data better: its two best configurations run 2 and 4 epochs over the midtraining corpus during pretraining, where staged training degrades when midtraining is extended past its best budget. Compute-matched frontiers (total compute including pretraining): staged is accuracy-optimal at intermediate budgets, unified wins at the smallest and largest budgets and on generalization at almost all budgets. Retention: unified initializations keep held-out pretraining loss and five-benchmark average near the pretrain-only model even as midtraining data grows, while even the best-retention staged configuration is substantially worse on both. (2) Real-world — 0.76B model from scratch, mathematical RL on Math12K with a 240M-token heterogeneous midtraining corpus (web text, math, code, reasoning traces) mixed at 0–5% token proportions. Math accuracy is roughly flat across proportions (slight decline) while coverage peaks at the largest proportions; every nonzero mixture pushes held-out midtraining loss BELOW the base model (staged training raises it) and SciQ generally improves, but Coding accuracy falls with more mixing despite higher coding coverage. Schedules at a fixed 0.5% average: annealing the mixture to zero by mid-training recovers Coding accuracy while keeping SciQ gains, at some retention cost — no universally preferred schedule. Continual learning: after math training, all unified models beat the staged model on final HumanEval+ and MBPP+ accuracy after identical coding RL (the 5% mixture best on all four accuracy/coverage metrics) despite starting from lower coding accuracy. Objective ablation at fixed mixture: REINFORCE gives higher Math accuracy and retention, MaxRL higher coverage. KL-penalty control: no tested penalty reproduces unified training's combination of math performance, retention, and SciQ/MMLU gains. Separately-normalized dual-loss control: the shared likelihood loss matches or beats it without a tuned coefficient.
- Paper
Don't Stop Long-Context Continual Pre-Training Too Early: An Empirical Scaling Law
Asks how the benefits of long-context continual pre-training (LCCP — the stage after short-context pre-training that extends the window) scale with its token budget, and whether they can be predicted. Setup: five dense full-attention scales S1–S5 (non-embedding N = 31M–821M; total 165M–1.22B; S5 = 36 layers, hidden 1,536, GQA 24Q/2KV heads, vocab 130,560, attention sink enabled), all trained with Muon in bf16 on 16×H800. Short stage: 4K sequences, WSD schedule. LCCP stage: 32K sequences, RoPE base 10,000 → 500,000, LR starting at the 4K stage's terminal value, on a fixed 32K mixture of public + internally curated data (not fully released — exact replication impossible). Metric: LongPPL (Fang et al. 2025) — perplexity only on tokens a reference model (Llama-3.1-8B) predicts well with full context but badly with a 4K chunk (only 1.42% of tokens on 10K GovReport 32K documents); ShortPPL is the matched local-token control. (1) THE LAW: an additive Chinchilla-style power law with short-context tokens D_s and LCCP tokens D_l as SEPARATE predictors — log(LongPPL) = A/N^α + B_s/D_s^β_s + B_l/D_l^β_l + C — fit on 109 Linear-Decay configurations. Held-out-scale extrapolation: fit S1–S4 → S5 R² 0.9516 / MAPE 1.71% (Linear-Decay) and 0.9718 / 0.66% (Constant-Last4), despite S5's ~100B LCCP tokens being >8× the largest D_l in the fitting set; collapsing D_s+D_l into one budget wrecks extrapolation (R² 0.849), and no-offset variants collapse entirely (R² −0.10 / −4.09 on S5) — separating the two budgets is doing real work. (2) CONSTANT-LAST4 PROTOCOL: linear decay needs a pre-committed endpoint, blocking open-ended scaling; their alternative trains LCCP at constant LR (extensible trajectory) but OBSERVES it through the uniform average of the 4 most recent checkpoints — merging is an observation mechanism only, training always continues from the latest raw checkpoint. It tracks budget-matched Linear-Decay endpoints closely (32K LongPPL 2.241 vs raw-constant 2.312; RULER-32K 45.48 vs 44.29), but its small edge shrinks and slightly reverses after the larger SFT budget (−0.16) — the authors explicitly decline to claim merging improves downstream training. (3) DOWNSTREAM: RULER-32K rises across the whole 5N→120N LCCP trajectory with no clear saturation, driven by intermediate-difficulty retrieval (niah_multikey_2 51.2 → 71.2, niah_multivalue 10.2 → 28.75, niah_multiquery 18.75 → 45.0); gains transfer to 128K after a fixed 2.10B-token extension and persist through identical long-context and agentic SFT stages (the agentic arm — GAIA / BFCL-WebSearch / τ²-telecom — improves with upstream 32K LCCP budget). Proxy sanity checks: LongPPL improves much faster than ShortPPL (elasticity ratio 3.35 → 2.22, always >2 — gains are not just general LM improvement), while retrieval-head probes plateau after ~30N even as behavior improves to 120N — mechanistic probes saturate before behavior does. Caveats: everything ≤1.22B params, 32K LCCP (128K only as fixed extension), one data mixture — frontier transfer asserted, not shown; the law is explicitly finite-range (fitted offset C is negative, so it eventually predicts LongPPL < 1 — authors compute the zero crossing and disown asymptotic interpretation); downstream evidence is mostly figure trends at modest absolute levels with non-monotonic per-subtask movement; "no saturation" ≠ no diminishing returns (their own elasticity ratio shrinks); the HF weights release was mid-upload at check time (several checkpoint repos incomplete/"coming soon").
- Paper
Truncate or Not? A Scaling Study of Looped Transformers with Truncated Backpropagation
Asks whether truncating backpropagation through the loops of a looped transformer is worth it, answered as a compute-allocation problem rather than a recipe comparison. Setup: a loop setting (T,B) runs T forward loops of a shared recurrent block and backpropagates only through the last B — the state s_{T−B} is detached, so the first T−B loops run gradient-free and store no activations (a backward loop costs 2× a forward loop). Only suffix truncation is studied; no random-window variant. Architecture is the Huginn-style prelude–recurrent–coda of Iso-Depth (Schwethelm et al. 2026), whose recipe the study adopts wholesale — input injection of s₀ at every loop, per-loop RMSNorm, and the cross-entropy loss applied ONLY to the final state s_T (final-only supervision throughout; per-loop/deep supervision is never varied). 592 training runs on FineWeb-Edu (Llama-2 tokenizer, 2,048-token sequences): a 347-configuration scaling suite over five sizes (58M–919M non-embedding parameters; recurrent block ≈51% of N), fifteen (T,B) settings with T ∈ {1,2,4,8,16} and B/T from 1/4 to 1, and 1.1–1,291 tokens per parameter; MuonH for block/injection matrices, AdamW elsewhere; metric is held-out validation loss (nats/token). The unified law writes N_eff = N_once + g(T,B)·N_rec with looping coefficient g(T,B) = exp[c(1 − T^{−p}B^{−q})], fitted c = 1.112, p = 0.237, q = 1.022 (R² = 0.9992; leave-one-(T,B)-out RMSE 8.7×10⁻³ nats). Consequences: the loop gain saturates at a ceiling of e^c ≈ 3.04× on the recurrent block; g(2,2) ≈ 1.91, i.e. two fully trained loops are worth nearly two untied copies; and because q ≫ p, effective size is set mainly by B — at fixed B, extra forward loops add almost nothing (under the law, a (4,1) model has the effective size of a non-looped model only 1.19× its parameter count, vs 1.76× for (4,4)). The truncation discount for dropping the same fraction of loops shrinks with T (~18% of the loop gain at T=4, B=2; ~3% at T=16, B=8). WHEN T IS PRESCRIBED, truncation pays — this recovers Iso-Depth's fixed-depth result and explains it: the freed backward compute buys a larger model and more tokens, and the law's optimal B* is just 2 for every T ≥ 4 (at T=8: 33–35% less compute at equal loss in separately fitted frontiers, reinvested as a 1.51× larger model and 1.20× more tokens; at T=16: 1.70× and 1.31×). WHEN BOTH COUNTS ARE FREE, full BPTT is optimal: because q > 2p, the law's continuous optimum at fixed loop-compute S = T+2B is exactly T = B = S/3 at every compute level, and matched-compute runs confirm it — at 17.2B tokens, (4,4) beats (8,2) at identical size, tokens, and compute at all five sizes, by 0.028 nats at 60M shrinking to 0.009 nats at 1B; separately fitted frontiers give (4,4) an 8–14% compute advantage at equal loss. Hence the prescription: run fewer loops and train them all. Near-tie honesty from the paper: half-truncated settings like (8,4) and (16,8) sit just below the full-BPTT frontier (≤2.2% more compute per effective parameter), and (4,3) edges fully trained neighbors by ≤0.002 nats in a narrow band. Allocation rules under full BPTT: at fixed model size, T* ∝ C^0.24 and D* ∝ C^0.76 (a 10× compute increase ⇒ ~1.7× the loops, ~5.8× the tokens — most new compute goes to data); with size also free, no looping at all is compute-optimal (untied copies beat g(T,T) < T), and the best looped setting is (2,2): experimentally within 0.008 nats of the compute-optimal non-looped model at equal compute across three budgets with 27–32% fewer non-embedding parameters (344M vs 471M at 2.1×10¹⁹ FLOPs, loss 2.36 vs 2.37), and with 8% more compute it beats the non-looped model outright with 27% fewer parameters. Why the usual defense of truncation fails here (paper's Appendix B.2): the fixed-point/Neumann-series argument makes dropped gradient terms shrink geometrically only if the loops nearly converge, but production looped LMs run few loops, states stay far from a fixed point, and the bias compounds across every update. Authors' limitations: dense models only (looped MoE untested); validation loss only — downstream/reasoning transfer not established; T capped at 16, so the gain ceiling is extrapolated; prelude/coda-to-recurrent parameter ratio held fixed.
- 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
JetSpec++: Foresight Parallel Drafting with Self Refinements
Algorithm-system co-design for speculative decoding: acceptance rate and drafting cost co-optimized by hiding the draft model's cost almost entirely. Three components: (1) Intra-block self refinement — the causal parallel draft model (built on the original JetSpec architecture) is trained to iteratively correct its own parallel predictions within a token block via Jacobi-style passes; each pass moves the draft distribution toward a more autoregressive factorization with better target alignment; between passes, a context refresh re-predicts the target hidden states and an anchor replacement swaps the first draft token that disagrees with the decoder. (2) Inter-block foresight drafting — drafting the next block begins before the current block is verified, by anticipating possible verification outcomes and predicting the corresponding target hidden states and anchor tokens. (3) Pipelined drafting and verification — the two stages overlap (draft model on a second GPU) so drafting's marginal wall-clock cost approaches zero; the freed draft-side time funds the Jacobi passes and context refreshes. Lossless: standard speculative-sampling rejection rule preserves the target model's output distribution exactly (stated in the paper, §2). Results (all first-party, batch-size-1 serving on NVIDIA GB200 with CUDA graphs): targets Qwen3-8B and Qwen3.8-27B (thinking disabled); baselines DFlash, DSpark, Domino, JetSpec, SSD (Qwen3-0.6B drafter) — all drafters trained on 800k target-regenerated sequences, block size 16, verification budgets 16/32. Seven benchmarks: GSM8K, MATH-500, AIME25, HumanEval, MBPP, LiveCodeBench, MT-Bench. Up to 7.45× wall-clock speedup over autoregressive decoding and 1.54× over DSpark (1.54× on GSM8K, 1.51× on MATH-500); up to 1,361 tokens/s for a single request; average acceptance length 8.94 across the seven benchmarks (vs 6.89 for DSpark at temp 0) — longest of all methods on every benchmark at temperatures 0 and 1; cuts per-round overhead beyond verification by up to 84% vs DSpark. Caveats (authors' framing preserved): the 7.45× is the max (budget-16, single-request GB200 serving); the headline comparisons are at verification budget 16; all figures vendor/first-party, no independent repro; draft models are target-specific (trained per target on its own outputs).
- 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.
- 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
LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers
Loop-aware PTQ for looped LLMs (LoopLMs), targeting W4A4/W4A6. Three components: (1) CLDC (Cross-Loop Distribution Canonicalization) — learns a shared orthogonal-scaling/rotation representation across recurrent states + group-aware channel reordering, keeping parameter sharing intact (directly addresses activations drifting across passes); (2) ILPA (Interaction-Aware Loop-wise Precision Allocation) — assigns 4-bit or 8-bit activation precision per loop under a fixed bit budget from task-level loop sensitivity plus cross-loop error interactions; (3) LCTC (Loop-Conditioned Task Calibration) — calibrates along the actual low-bit recursive trajectory, tuning only lightweight loop-conditioned clipping/gain/bias params; weights frozen. Numbers (first-party, vs SmoothQuant/QuaRot/SpinQuant/FlatQuant/DartQuant, GPTQ weights, 128 WikiText2 calib seqs, lm-eval, RTX PRO 6000): Ouro-2.6B W4A4 (68.89 avg zero-shot) beats all W4A8 baselines (best QuaRot W4A8 68.30); W4A6 70.20 vs 71.12 BF16. Memory −65.3% vs BF16, ~1.5–1.7× decoding speedup. Reasoning: Ouro-2.6B-thinking W4A4 retains >97% of BF16 (72.46/72.02/81.15 vs 76.20/73.31/82.32); baselines partially collapse (DartQuant W4A4 HumanEval: 4.88). Models: Ouro-1.4B/2.6B (+thinking), Nanbeige4.2-3B, Huginn-0125 (T=6). Caveats: the >97% retention is Ouro-2.6B-thinking only — Ouro-1.4B-thinking retains ~87%; all GPTQ-backed; speedups are PyTorch-on-RTX-PRO-6000; authors note prior/concurrent LoopQ (Fang et al. 2026) did initial cross-loop work but released no code, comparison only via its original numbers. Ethics statement flags quantized behavior may shift in ways accuracy benchmarks don't capture.
- Paper
OperLoop: Looped Transformers as Optimizers
Reframes looped Transformers' recurrent transition as an optimizer update on the hidden state treated as a fast weight. Any loop transition derives from (1) an input-map projection, (2) a local objective whose gradient the shared blocks' output predicts, (3) an optimizer update rule. Diagnosis: existing transitions (Ouro, Huginn, Parcae, HyperLoop) have input-map mismatches between transitions and projections (Parcae omits Āᵀ; HyperLoop splits H^pre/H^post) — aligning maps cuts loss, +0.15pp Parcae / +0.54pp HyperLoop commonsense (aligned HyperLoop: 59.47 vs 58.93). Their design, OperLoop: delta objective ½‖o_l − t_l‖², explicit learned weight decay Λ_l, state-dependent causally-monotonic step size η_l (inspired by Delta Linear Attention, but target implicit rather than projected values). At matched training FLOPs (~50% params): best looped variant at both scales — EM avg 25.58 vs non-looped 5B baseline 23.89 (+1.69pp), 10B +1.04pp; Loop6 at 1.67× FLOPs: EM 31.90 (+8.01), 8-shot CoT GSM8K 17.13→31.08. Ablations: removing delta objective 25.58→24.84; causal step-size beats fixed η=1 (+1.18pp EM) and non-causal (+1.56pp). Caveats: all looped models have worse PPL and log-likelihood accuracy than the non-looped baseline (Wikitext 13.90 vs 13.08 at 5B) — the advantage shows only in generative EM eval (authors' own point: evaluate beyond PPL); gains vary by task (ARCcn at 5B: 37.63 vs baseline 40.96); small models (5B/10B, 300–500B tokens, 4k seq) — no frontier-scale evidence.
- 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.
- Paper
Scaling to Tens of Thousands of Test-Time Iterations with Loop-Native Attention Residuals
Looped Transformers need their OWN residual connections, because the failure mode isn't lack of depth — it's "latent overthinking": noisy state updates overwrite correct intermediate deductions and even undo completed solutions, so later loops can't correct errors propagated through the recurrence (carry-last TRM peaks at 62.2% at 468 executed layers and falls to 58.1% at 1,872; only ~80% of solved puzzles stay solved 36 updates later). InfiLoop scores each loop iteration's candidate once by content (s = q^T RMSNorm(z), q a learned pseudo-query) and applies learned temporal decay, passing a normalized weighted mixture of all candidates so far: h_t = Σ α_{t,i} z_i, α from exp(s_i − λ(t−i)). Exact streaming recurrence (N_t = βN_{t−1} + e_t z_t; D_t = βD_{t−1} + e_t) keeps persistent aggregation memory constant in loop count (one d-vector + one scalar per token); equivalently an adaptive residual step h_t = h_{t−1} + γ_t(z_t − h_{t−1}), γ_t ∈ (0,1). A 7M model reaches 97.9% exact accuracy on Sudoku-Extreme (multi-depth result; fixed-depth 90.9% at 1,872 layers) and 13.6% pass@2 on ARC-AGI-2; keeps improving past 20,000 effective steps (92.74% at 24,960 layers vs FPRM 91.63%, TRM 83.65%). Scorer ablations (90.9% → 84.8% with scorer zeroed) and error-correlated content scores suggest emergent self-verification, observed not proven. Caveats: no natural-language tasks; not best on Maze-Hard (27M Attractor Model 93.1 > 87.4); repo has no LICENSE file and no pretrained weights yet. Code: github.com/pixeli99/InfiLoop (URL corrected — the paper-text URL 404s).
- Paper
Understanding LLM Parameter Update Sparsity through the Lens of Fisher
Diagonal model Fisher as a unifying explanation for sparse parameter updates in LLM post-training. F_i(θ) = E_{x,y~πθ}[(∂_i log πθ(y|x))²] measures sensitivity of the model's own output distribution to each parameter, independent of reward or teacher. Theory: |g_i| ≤ √(E[a²])·√(F_i) across SFT, on-policy RL, PG-style OPD, and full-vocabulary OPD (Cauchy–Schwarz) — small Fisher implies small expected gradient. Fisher is estimated before training from 800 prompts with one on-policy response each (no labels/reward/teacher; FP32 score accumulation, BF16 compute). Qwen3-1.7B-Base + Dr. GRPO (SimpleRL-Zoo, 1,000 updates): top-1% Fisher contains 47.4% of top-1% gradient coordinates (vs 1% random); fixed initial-Fisher masks recover 85.2% of full-training improvement at q=0.1% and 98.8% at q=5% on MATH-500 (initial 22.65% → Full 56.41%). OPD (frozen Qwen3-4B-Instruct-2507 teacher, DAPO-Math-17k): q=0.5% → 89.5% Avg@8 recovery on AIME24; q=1% → 99.5%; pass@8 exceeds full training (156–185% recovery) at small budgets. Mechanism: token Fisher = probability-weighted variance of logit sensitivities; high-probability tokens tend to have similar sensitivities (Real-to-Uniform ratio 0.16 → 0.04), depressing Fisher under on-policy sampling; cross-token terms vanish in expectation. Fisher pattern persists: initial high-Fisher sets retain 70–78% of coordinates through training. Caveats: bounds cover expected gradients at a fixed policy, not accumulated updates; masked runs use dense computation (no established memory/runtime savings); one model family, math-reasoning only; prior-capability preservation untested; authors frame it as an explanation, not a PEFT method. No code URL seen — check at insert.