Explore the research collection
70 entries · showing 1–24 · Follow this search
- Paper
Plato's Key: One LLM Can Use Another's Representations via a Rotation
Hazy Research (Stanford), 'Plato's Key' (blog post, Nov 25 2026; contact Vivien Cheng; no arXiv version linked from the post at cataloging). The Platonic Representation Hypothesis says separately trained models converge to geometrically similar representations - but similar is not interchangeable. This work tests interchangeability directly: can one LLM use another's representations in place of its own, with no gradient descent? Yes - a rotation plus one global scale, fit in closed form (orthogonal Procrustes) on fewer than 5,000 facts both models recall, suffices. Treating factual recall as a key-value lookup, they swap the donor's key (the hidden state at the last subject token) into the recipient, whose later layers then retrieve the donor's answer. Across 12 base LLMs from eight families (1.5B-27B), 20 model pairs and 8,800 facts, the rotation reaches a median transfer accuracy of 41% versus 55% for swapping in the recipient's own key (self-swap) - a median 73% retention, similar cross-family (75%) and within-family (69%). More flexible maps (ridge regression, whitened rotation, a trained MLP) significantly beat the plain rotation in only 7% of comparisons, and an unpaired Wasserstein Procrustes map still reaches a median 87% of its accuracy. Two structural results: chained rotations (A to B to C) retain a median 99% of direct (A to C) accuracy across 47 chains, suggesting one shared geometry reachable by a single rotation per model; and a rotation built on just 256 principal components per model retains a median 74% of full accuracy. The measurement warning: geometric similarity does not guarantee functional transfer - selecting swap layers by mutual-nearest-neighbor similarity (the PRH paper's primary metric) yields a median transfer accuracy of only 4.5%, about a tenth of selecting by transfer accuracy, and the similarity peak sits in the first 5% of depth while transfer peaks at 22-38%. Finally, rotated donor keys recover 18% of the recipient's 'dark memories' - facts it stores but fails to recall (56% of tested misses qualify) - with no control recovering more than 1.1%, evidence that some recall failures are bad keys rather than missing knowledge. Flags, as entered: lab blog post, first-party numbers, base models and factual recall only. Cross-references: the functional-transfer member of the PRH thread - ID 1859 (Balestriero & LeCun, proving/improving PRH with JEPAs) and the staged closer look (slot 25, alignment localized and metrics confounded by depth and width); its similarity-vs-function gap is the same caution the closer look raises, shown behaviorally.
- Paper
Factorized Context Attention: From Emulated to Native Grid Probing
Eltahir et al., 'Factorized Context Attention: From Emulated to Native Grid Probing' (arXiv 2611.32423, Nov 24 2026; license and code status NOT confirmed from the arXiv record at cataloging). Grid probing, a recent training-free method, recovers the accuracy a single forward pass loses on long inputs and extends reach past the context window by asking a frozen model the same question about short local and strided spans of the input - but every probe re-encodes its span, repeating the whole computation. The paper's insight: grid probing is emulated attention, an attention pattern reproduced from outside the model through prompts, since each probe only restricts which part of the input the question can see. Factorized Context Attention (FCA) runs the same pattern natively, as the model's own attention: a training-free block-sparse attention that encodes the input once into a KV cache, reads all spans as masked sequences in one batched forward, and uses a stair position schedule to keep every span inside the trained position range. Across long video understanding, long-context text inference and image grounding, FCA matches grid probing's accuracy and reach at a fraction of its cost: about +10 points over the single pass on long video and +9 to +14 points on long novels, needles found in videos of over a thousand frames and in texts four times the window length, and a later question about the same input answered in as little as a tenth of grid probing's time - all with existing frozen language and vision-language models. Flags, as entered: abstract-level at cataloging, authors' own numbers; the grid-probing baseline is itself recent, so the comparison chain is young. For the user: inference-time and training-free, so it touches the agent app's long-context reading rather than the pretraining stack; the durable idea is the emulated-to-native move - a prompt-level probing pattern recognized as an attention pattern and then implemented as one. Cross-references: Latent Sparse Attention (ID 1801) and the long-context/compaction entry (ID 1812).
- 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
Sample-Efficient In-Context Adaptation via Sleep
Lee et al. (CMU, Yale, Microsoft Research; alphaXiv, Nov 24 2026) ask whether sleep - N recurrent forward passes refining a model's representations of a chunk of context - improves in-context adaptation for plain transformer LMs on general, non-synthetic tasks, not just long-context reasoning in SSM-attention hybrids where it was first shown. They pretrain LMs up to 1.2B parameters on up to 100B tokens with sleep mechanisms. Longer sleep learns faster in-context on multiple few-shot algorithmic and question-answering tasks and reaches lower next-token prediction loss on out-of-distribution evaluations. On held-out code, N=2 matches the no-sleep baseline's loss using 2.10x fewer tokens in-context, and N=4 using 2.39x fewer. The authors frame it as a tradeoff between in-context adaptation and decoding latency: sleep buys sample efficiency with extra recurrent passes per chunk. Flags, as entered: abstract-level at cataloging, authors' own numbers; alphaXiv Exclusive - NO arXiv ID exists for this paper (the '2611.sample-efficient-in-context-adaptation-sleep' string is the alphaXiv slug, not an arXiv identifier) and no license is confirmed; code/release status not confirmed. Cross-references: NOT a duplicate of ID 506 (Behrouz et al., Google Sleep, arXiv 2606.03979 - a different mechanism: MoE consolidation plus dreaming) - this is the recurrent-pass sleep of Lee et al.'s own earlier 'Do Language Models Need Sleep?' (arXiv 2605.26099, SSM-attention hybrids), which is itself NOT in the catalog. Sits beside the looped cluster (recurrent passes over context vs recurrent passes over layers) and the in-context-adaptation question of staged slot 18-adjacent work. For the user's 250M stack, the transferable idea is sleep as a pretraining mechanism for in-context sample efficiency at his scale (1.2B/100B evidence), with the caveat that it costs inference-time recurrent passes and must be baked in during pretraining, not bolted on after.
- 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.
- Paper
Training Specialist LLMs on Your Phone: Forward-Only Optimization via Block-Spectral Coordinates
MobileSpec (arXiv 2611.04797, Nov 3 2026): a system for training on-device specialist LLMs with forward passes alone - no backpropagation, hence no activation/optimizer memory blow-up - learning from automatically checked task outcomes in the RLVR style rather than labeled data. The design rests on an empirical observation about what RLVR actually does to weights: its updates largely PRESERVE the singular values of pretrained weight matrices while ROTATING their singular vectors, so forward-only (evolution-strategies-style) training is efficient only when its random perturbations have the same character. The core algorithm, FuRA-S, achieves this by training only the block-spectral coordinates of the weights - the singular values of their column blocks; rescaling blocks independently shifts their relative contributions to the matrix and thereby rotates its singular vectors (shown theoretically and empirically). Because the update can be rewritten as a transformation of the layer input, FuRA-S can also adapt INT4-quantized models without modifying their weights at all. The resulting specialists are tiny - 1-5 MB, updating 0.015-0.05% of parameters. Reported results: a phone-use agent's success rate rises from 6-23% to 89-100%; a personalized 8B model is trained on an iPhone 16 Pro overnight; on RLVR benchmarks FuRA-S is competitive with full-parameter evolution strategies and outperforms both ES over LoRA adapters and quantized ES on INT4 models. Flags, as entered: abstract-level record - the headline agent success rates come from the authors' own phone-use setup, and forward-only methods trade memory for compute (many forward passes per update), so 'trains on a phone overnight' is a memory-feasibility claim, not a speed claim; license not confirmed from the arXiv record at cataloging time. Cross-references: the spectral/subspace thread - Subspace Tuning (#116) trains in a spectral subspace with gradients, FuRA-S reaches a similar rotation-only geometry without them; also the evolution-strategies-for-RL line of work, here made practical by matching the perturbation geometry to what gradient-based RLVR actually does.
- 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
Whose Effect Is It? How Objectives Inflate Learned Subspace Interventions
Argues learned subspace activation-patching methods inflate their measured effects because of the optimization objective, so larger effects don't mean cleaner concept localization.
- Paper
Follow the Features: SAE Feature-Guided Data-Efficient Instruction-Tuning of Large Language Models
Follow the Features selects small instruction-tuning subsets by scoring samples on highly ranked SAE features, giving data-efficient fine-tuning.
- Paper
Dr. No: Feature Steering for Abstention in Vision-Language Models
Dr. No identifies internal features behind failure to abstain in vision-language models and steers them to make VLMs abstain when evidence is insufficient.
- Paper
Playing Dumb: How a Chess Transformer Simulates Users Across Skill Levels
Mechanistic study of Maia-2, a chess transformer predicting human moves by skill level, testing whether low-skill simulation reflects less internal knowledge or different use of retained knowledge.
- Paper
Circuit Oracle: Automating Attribution Graph Analysis via Natural-Language Queries
Circuit Oracle is an LLM with a multi-agent harness that answers natural-language queries over transcoder attribution graphs, automating hours of expert circuit analysis.
- Paper
Dory1.0-4B: A Looped Normalized-GPT
Introduces Dory1.0-4B, a 4B latent-recurrent looped LM on a normalized-Transformer (nGPT) backbone with input, shared recurrent, and output blocks, giving elastic depth so one checkpoint serves multiple inference budgets.
- Paper
bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix
RL post-training keeps fp32 master weights in the optimizer and serves rollouts from a bf16 copy made by round-to-nearest conversion - the export rule in every open-source framework the authors examined (verl, TRL, OpenRLHF, slime, prime-rl, AReaL). Near a weight of magnitude |w| the bf16 grid spacing is u ~ |w|/128, so round-to-nearest discards any update smaller than u/2 ~ |w|/256; at common RL learning rates (eta ~ 1e-6) almost every update is that small. Measured on Qwen3-1.7B: only 0.4-0.5% of served weights change per optimizer step (0.13% at eta = 3e-7), a weight crosses a rounding boundary only every ~50-200 steps, and under a decaying LR schedule the sampler effectively freezes while the optimizer keeps moving - the data-generating policy lags the optimizer by 50-150 steps. Muon is worse: its per-element updates are nearly uniform in magnitude, so at eta = 1e-6 almost none cross a boundary. The mismatch is invisible to existing corrections (PPO clipping, truncated importance sampling, IcePop) because the ratio they form compares the trainer's bf16 forward pass with the sampler, and both sit downstream of the same rounding: the visible per-token |log rho| stays ~0.01 all training while the hidden master-versus-served ratio - never formed by any framework - grows to 0.10-0.16 on MATH and ~0.45 on knights-and-knaves, with per-token effective sample size between master and served policy falling to 0.2-0.35 on 2,000-token tasks. Fix (Fair Cast): export with an unbiased rounding rule - stochastic rounding (E[q] = theta exactly) or error feedback (a sigma-delta-style residual keeping accumulated export error bounded by u) - AND compute the training loss on the served copy; both halves are necessary, either alone fails. One line at the export call, no hyperparameters, 22-38 ms per export of 1.7B parameters. Results across 25 matched seed-pairs (Qwen3-0.6B to 4B, AdamW and Muon, GRPO on logic/game/math/code tasks): Fair Cast ahead on 18, tied on 6, behind on 1, mean gain 6.1 points; zebra puzzles 0.57 +/- 0.16 over four runs vs round-to-nearest collapsing to 0.33 +/- 0.10; on knights-and-knaves the round-to-nearest sampler stays frozen for the first ~20 steps (0.12 -> 0.15 -> 0.22) where Fair Cast moves immediately (0.12 -> 0.51 -> 0.79), and a single optimizer step moves an fp32 sampler 0.17 -> 0.84 while the bf16 round-to-nearest sampler stays at 0.19 across three steps. Two further findings: under round-to-nearest the saved fp32 checkpoint can score 12-50 points BELOW its own served export (the checkpoint is not the model; any finer export inherits the gap), and the round-to-nearest lag is an uncontrolled low-pass filter on the served policy that acts as a regularizer - exporting an EMA of the master with the same unbiased rounding restores it as a single explicit knob and surpasses round-to-nearest on the one task where the filter helps. Relation to prior diagnostics: Dirhoussi, Gallouedec et al. derived the same dead-zone threshold and PULSE measured the resulting update sparsity, but both treated it as a communication artefact and made the trainer agree with the stale sampler; this paper instead makes the served copy track the master and trains on the served copy. Code and full training harness public (MIT). Joins the precision thread and the train-inference-mismatch cluster (IDs 1588/1589): it identifies a mismatch upstream of every correction in that cluster, since they all compare copies downstream of the rounding.
- Paper
Reasoning or Pattern Exploitation? Mechanistic Insights from RL-Trained Language Models
Probes LLMs RL-trained (RLVR) on exhaustively analyzable Tic-Tac-Toe to test whether gains reflect genuine reasoning or pattern exploitation by tracing internal representations through training.
- Paper
Interventional Training Reduces Causal Bypass in In-Context Introspection
Shows interventional training reduces causal bypass in in-context introspection, so LM self-reports depend on the actual internal signal rather than correlated cues.
- Paper
ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories
Test-time training (TTT) layers make a recurrent model's memory a small neural network trained online by gradient descent - more expressive than the linear fast-weight memories of Gated DeltaNet and Mamba-2, whose updates are a single delta-rule step. The cost: a nonlinear memory's gradient at each token must be evaluated at weights produced by every earlier update, a sequential dependency. TTT-MLP and Titans break it with block-wise evaluation (gradients for a whole block computed at the block-entry weights), which only approximates token-by-token learning and still runs several times slower than chunkwise-parallel linear recurrences. ParaTTT (PTTT) instead parallelizes arbitrarily deep nonlinear memories by iteratively refining an estimate of the inner-loop gradient trajectory: each refinement is three chunkwise-parallel passes (a forward pass building the feature trajectory implied by the current gradient estimate, an exact gated-delta-rule pass computing the readout trajectory and its feature gradients, and a backward pass producing a new estimate), each pass itself a composition of existing parallel linear-recurrence kernels. The exact online gradient-descent recurrence is a fixed point of the iteration; geometric convergence is proven for a two-layer variant under contraction conditions. Decoding needs no iterations - it runs the exact recurrence. Convergence in practice: on trained models, top-1 agreement with the exact recurrence is ~60% with no iteration, ~90% at N=1, ~94% at N=2, saturating near 98% (the bf16 noise floor); at 4K context, N=2 matches the output error of TTT-MLP's block approximation (b~5) in 32x less time. Speed: a ParaTTT layer at N=2 costs 4.7x a Gated DeltaNet layer and the model keeps roughly one-third the throughput of the linear baselines, but trains 4.9x faster than TTT-MLP end-to-end (37.9k vs 7.8k tokens/s per 8xMI325X node at 340M); TTT-MLP's block form is 5.5x slower per layer at 4K and 8.5x at 16K. Quality (24-layer backbones, SlimPajama, same recipe/order/seed; memory = one hidden layer of width = head dimension, with hidden-layer delta rule and centered readout): at 340M/15.7B tokens, ParaTTT has the best perplexity of the recurrent models (WikiText-103 25.46 vs GDN 26.57, Mamba-2 26.99, TTT-MLP 26.12; Transformer 25.34) and by far the best LAMBADA (26.93 vs 29.66/45.87/40.35; Transformer 39.25), with recall well above the linear recurrences (SWDE 41.9 vs 32.5/25.8; FDA 20.3 vs 17.8/5.7) and the best 32K needle-in-a-haystack of any model tested (16.0, Transformer 10.5). At 1.3B/100B tokens it again leads the recurrences on perplexity (Wiki 15.21, LAMBADA 9.00 - best overall) and recall (SWDE 62.8 vs GDN 59.0, Mamba-2 56.7), though softmax attention still wins most recall and long-context metrics at this scale (SWDE 75.3, NIAH 78.1 at 4K vs 53.8). Caveats: the convergence guarantee covers only the two-layer variant under sufficient contraction conditions; models adapt to their training iteration count (best near training N; training at N=5 improves all four recall tasks but worsens LAMBADA 26.93->28.44 and collapses 32K NIAH 16.0->5.8); the LaCT comparison strips LaCT's sliding-window attention branch, which the authors note prior TTT layers rely on; code repo is a placeholder ('Code to come'). For the fast-weight thread: this is the parallelization fix that makes deep nonlinear memories trainable at linear-recurrence-like cost structure - a per-layer cost of ~4.7x Gated DeltaNet buys the best recurrent recall in the comparison, with exact (iteration-free) decoding.
- Paper
TokenGate: Adapting LLMs for Fast and Memory-Efficient Prefill with Learned Token Pruning
Problem: a transformer processes every input token through every layer, so long-context prefill (quadratic attention, linear MLP + KV growth) dominates serving cost. Prior work splits into training-free token-pruning heuristics (attention-score based; limited speedup before accuracy degrades) and architectural conditional compute (needs pretraining from scratch). TokenGate instead retrofits a trained model. Mechanism: a gate module sits inside one layer L (L=1 in the main experiments; multiple gates generalize). A small scoring MLP reads each prunable token's normalized post-attention residual at layer L and emits a scalar, RMS-normalized across the sequence into an importance score b_j; a top-K selector forwards S = top-K prunable tokens ∪ the non-prunable set (instructions, the question, answer/decoded tokens — in the code API, everything outside a marked {state} document span). Pruned tokens' residual streams stop at L: layers above L never process them and never generate KV entries for them, so the method is both prefill-compute skipping and upper-layer KV-cache reduction (layers ≤ L keep full KV by default; pruning those too is optional). The trainability trick is token-gated attention: in layers above the gate, each kept key's attention logit gets an additive bias softplus(γ^{ℓh})·b_j (head-wise learnable gains), under a temperature τ scaled by log(kept rank)/log(original position) (SSMax-inspired) that recalibrates softmax sharpness after pruning and generalizes across budgets — this gives gradients through the non-differentiable top-K, the same way MoE routers learn. Implemented as a FlashAttention-based kernel (custom FA2 key-bias kernel in the repo; FlexAttention fallback). Training: NOT from scratch and no sparsity/auxiliary loss — LoRA co-adaptation (r=16, α=32 on Q/V projections; backbone otherwise frozen; Muon for the gate matrices) plus gate parameters, plain next-token CE. Each step averages a full-context loss (K = all prunable tokens; anchors full-context accuracy and gives pruned tokens gradient) with a pruned loss at K ~ LogUniform(1, |𝒫|/2), so one trained gate serves every budget K at inference; the scoring MLP is zero-initialized. Training contexts 2k–16k tokens; a step costs 1.3× standard SFT but converges in fewer steps on 4 of 5 tasks, so total training time is comparable to or below LoRA SFT (mean 0.8× A100-hours at 1.7B). Results (Qwen3-1.7B, five tasks — NIAH 16k, RepoBench-P mean 11k/max 39k, 2WikiMultihopQA mean 7.5k, MultiNews, BioDEX): Pareto-dominant on all five; TTFT 1.4–11.3× faster and peak prefill memory 1.5–3.4× lower at no accuracy degradation vs the LoRA-fine-tuned full-context model, and up to 6.4× faster / ~2× lower memory than the best prior pruning baseline at matched accuracy (baselines: FastKV, SlimInfer, DASH, GemFilter; sparse-attention FlexPrefill, MInference). Launch-figure numbers at matched accuracy: NIAH TTFT 425→37 ms (11.3×; best prior 235 ms), peak memory 2.4→0.7 GB (3.4×); RepoBench TTFT 286→72 ms (3.9×; best prior 201 ms), memory 1.6→0.6 GB (2.8×). A more typical operating point: 2WikiMultihopQA at 95% of full-context accuracy = 3.0× faster, 2.7× less memory. Extrapolation: a gate trained at 16k holds accuracy at 32k/64k/128k with TTFT speedup rising to ~13× (memory reduction flat ~3.43×, since peak memory is dominated by the below-gate full forward). Ablations: the learned selector beats random-K and FastKV's attention-score selector at the same layer by wide margins; co-adaptation independently helps (random-K on the TokenGate-trained model beats random-K on the plain fine-tuned model — training redistributes information into kept tokens); learned keep-patterns are task-dependent (answer keywords for QA, phrase-final stopwords for summarization). Repo's held-out test table (batch 1, one H100): NIAH-16k @K=2000 accuracy 1.000 vs raw base 0.993 at 6.3× TTFT, still 1.000 at K=100 (8.1×); a 32k haystack demo answers the needle with 144 of 32,191 tokens retained above the gate. Hybrid architectures: on Qwen3.5-2B (24 layers; full attention at layers 3,7,11,…,23, Gated DeltaNet elsewhere) TokenGate can sit inside DeltaNet layers 1–2 — where attention-heuristic pruners cannot operate at all (FastKV can only prune at full-attention layers) — reaching up to 7.8× faster prefill within 6% of standard accuracy; at layer 3 it gives 3.8× lower TTFT at no accuracy loss, 2.1× better than the best FastKV run; token-gated attention applies only in full-attention layers above the gate, and DeltaNet layers above run on kept tokens only, their recurrent state built from kept tokens. Decoding (appendix): generated tokens attend to kept + generated tokens in layers above the gate, full context at/below it, with the gate bias precomputed once at prefill as a constant per-key bias — all headline claims are prefill/TTFT claims, no decode-speed claim. NOT GateSkip: the OpenReview/ICLR-2026 GateSkip paper ("What Layers When," Laitenberger et al., HU Berlin/UvA/UT Nuremberg, arXiv 2510.13876) is a different work by different authors — residual gates for token-wise layer skipping (15–50% FLOP savings), uncited here.
- Paper
Depth Memory
Reframes depth mixing as memory management. The Depth Memory framework describes PreLN (one additive residual stream), Attention Residuals (a growing key–value cache of every earlier layer output — explicit depth memory), and mHC (an expanded residual stream — implicit depth memory) as streams with Read/Write operators, then proposes Linear Depth Memory (LDM): three streams per token — the standard residual stream, a fixed-size matrix-valued associative memory M, and an inverse-covariance stream P. M is maintained as the EXACT solution of a "depth regression" — least squares over past layers, fitting a linear map that reconstructs earlier layer outputs v_i from their keys k_i — solved online by recursive least squares (Sherman–Morrison) with learnable per-layer forgetting factors, dynamic importance weights, and a ridge penalty. Each write is an error-correcting rank-1 update M ← M + u·κᵀ (u = current prediction error, κ = RLS gain from P); reads add a gated memory retrieval to the residual stream, x + γ⊙M(g⊙q). Depth can afford the exact solve that sequence mixing cannot, because layers are already evaluated sequentially — this is test-time regression (delta rule / MesaNet lineage) transplanted from the sequence axis to the depth axis, and the fixed-size RLS state replaces AttnRes's depth-growing cache. Memory is split into G=16 groups with per-group covariance; main config D_k=8 (memory matrix 8D entries/token, 2× mHC's 4D). Hardware-aware implementation: the RLS recurrence is reversible, so the backward pass unwinds states from the final M instead of storing one per layer, and windowed writes (E=4) defer updates within a window — CuTe DSL kernels for Hopper/Blackwell. Results on FineWeb-Edu with per-method LR sweeps and ~1% extra parameters over PreLN: 400M (Llama-like, 50B tokens) validation PPL 12.08 vs Block AttnRes 12.12, mHC 12.23, Full AttnRes 12.35, PreLN 12.73 — lowest also on WikiText-2 (20.70) and LAMBADA (19.10); zero-shot average 50.46, second to Block AttnRes (50.61). 1.5B (Qwen-like, 100B tokens): validation PPL 9.15 vs mHC 9.25, Block AttnRes 9.26, PreLN 9.48; WikiText-2 14.21 and LAMBADA 8.42, both lowest; highest zero-shot average (59.71). A D_k=4 variant whose memory matrix matches mHC's state size still beats mHC on all three perplexities. Throughput (B200, 1.7B–14B): exceeds Full AttnRes in every setting and mHC in all training and most inference settings; competitive with Block AttnRes, especially in decode. Ablations (400M, 15B tokens): the separate residual stream is load-bearing — memory-only layer input (+1.88 PPL) or replacing the stream with the layer output (+0.87) both fall below PreLN (+0.78); replacing RLS with a delta rule (+0.06) or plain outer-product update (+0.07) still beats PreLN but not RLS; storing the residual stream instead of layer outputs hurts most among addressing choices (+0.33); disabling forgetting is a wash (−0.01). On the DepthBench aspect-ratio protocol, LDM beats PreLN at every width/depth ratio at 400M and 1.6B and is lowest at every 1.6B ratio; the deepest 400M shape is the lone exception (HC slightly better). Caveats: quality evidence stops at 1.5B / 100B tokens (larger scales appear only in throughput tests); LDM can add peak training memory; all results first-party, no independent reproduction.
- Paper
Mass-Editing Memory in a Transformer
The canonical mass-insertion method and the direct answer to the "insert knowledge with no training" ask: scales ROME's locate-then-edit to many edits at once via batch closed-form updates spread across multiple MLP layers. Causal tracing identifies the decisive mid-layer FFN activations; a rank-one update per layer writes new factual associations with zero gradient training per edit (key vectors estimated from activation samples). Authors' result: thousands of associations inserted into GPT-J (6B) and GPT-NeoX (20B), "exceeding prior work by orders of magnitude." Everything downstream in the closed-form line (PMET, AlphaEdit) builds on it. Limitations to label: edit-benchmark success (reliability/generalization/locality) is not the same as pretraining-quality knowledge; sequential-editing degradation is evidenced by later work (AlphaEdit's null-space protection is bounded at high edit counts per a reproducibility study).
- Paper
LAST: Looped Audio Spectrogram Transformer
One full spectrogram pass through D=6 shared blocks, then audio tokens freeze; later passes update only the class token by attending to cached audio keys/values (K/V computed on pass 2, reused). End-to-end training with gradients reaching the first pass. Cached class-token pass costs O(D(C²+NC)) vs O(D(NC²+N²C)) full — the quadratic-in-N term vanishes. On AudioSet (1.9M train / 18,886 eval, from scratch, 12 epochs): R=10 reaches 0.3450 mAP vs 0.3379 for sequential 12-layer AST — +2.1% relative with 49.4% fewer parameters (43.5M vs 86.1M), 42% fewer MACs, 9.8% higher throughput. Passes 2→10 add only 1.2% compute; mAP rises monotonically. Key control: naive full-token recurrence with the same blocks gets worse (0.3247→0.3099 mAP, R=2→10) at ~8× MACs — the gain is specific to class-token-only loops. Robustness: leads sequential D=12 in all 12 corruption families (38 settings; family-mean 0.2651 vs 0.2422) and under temporal masking (0.1383 vs 0.0905). Frozen-feature probe wins 5/8 tasks (FMA-Small 43.5→50.9%; ESC-50, VGGSound, DCASE). Caveats: single seed, trained from scratch; each pass-count data point is a separately trained model — nothing establishes a trained LAST benefits from more passes at inference; absolute mAP modest; no win on speech keyword spotting or US8K — gains concentrate in music/events/environmental tasks.
- Paper
Towards joint scaling laws with optimal batch size schedules
Derives optimal batch-size schedules from LR schedules in closed form under a convex loss model. Given an LR schedule, horizon, and token budget, the noise-term-minimizing schedule is B_t^optim = (K/2)·η_t/√(∫₀ᵀη_k dk · ∫_tᵀη_k dk), with K = B_static·T — depends only on LR schedule shape and budget, independent of peak LR, weight decay, model size, architecture, or optimizer. Cosine LR → BS grows then declines; WSD → grows then plateaus; linear → exactly flat at B_static; constant LR → grows like 1/√(T−t). η_t/B_t is NOT a sufficient statistic (matched trajectories favor realizing the schedule through LR over BS, +0.017–0.743 val loss), so BS scheduling is an independent dimension. Scaling experiments (Llama3 dense, Qwen3 MoE, 0.1B–7B, up to 1e21 FLOPs, Fineweb-edu; peak LR ∝ 1/√T, same LR/WD for both): +15% compute efficiency on Llama3 at 50 TPP, +6% on Qwen3 MoE at 100 TPP; Llama3-1B best-perplexity gains 0.8%/2.5%/14.6% for cosine/WSD/constant; lm-eval-harness wins on all 8 tasks for both families. Joint scaling laws: peak LR and WD ∝ 1/√T, scale-free BS schedule, O(1/√T) convergence; universal dynamics (supercollapse) preserved. Holds on AdamW and Muon-NSGD; ablations incl. VLM post-training (dynamic wins 7/9 benchmarks) and math fine-tuning. Caveats: the cosine-derived schedule decays to zero at the end (proven endpoint behavior — nonzero-terminal-slope schedules give constant terminal BS instead); no practical floor prescribed, and end-of-training tiny batches are systems-impractical; convex foundation is empirical-fit, not a theorem; token-based compute optimality, not wall-clock. Zero overhead — it's a schedule-shape recipe, no extra tuning.
- Paper
Scaling Discovery Requires Forgetting
LLM-agent discovery plateaus because agents accumulate history: each agent becomes anchored to its own past attempts, making fewer and smaller edits, so more budget buys little. The paper's fix is forgetting: periodically discard every agent's session (messages, tool calls, errors) and the entire candidate history, keep only the highest-scoring artifact, and restart all agents from it with empty context. On a team of four agents with result-sharing (3 forgets → 4 budget-equal rounds), this Periodic Amnesia Search yields up to 15% over independent parallel agents and 39% over a single agent at matched token cost. Measured mechanism: edit distance between successive code artifacts decays exponentially as context grows and diff token entropy collapses — the model mimics recent turns instead of sampling its prior; before the first reset median edits shrink ~150→30 lines and thinking tokens ~28k→7k, and after forgetting agents resume larger edits and more reasoning tokens per proposal. Evaluated on four discovery tasks (AHC014 heuristic programming, a Frontier-CS optimization problem, Anthropic's kernel challenge on a simulated VLIW SIMD machine, a five-minute nanochat LM training run), all with the Pi agent + DeepSeek V4.1 Flash ($20 budget/replicate), 3 replicates each; Frontier-CS Q171 breaks the plateau pattern (parallel agents keep improving) yet the forgetting team still finishes 15% higher; on AHC014 the forgetting team reached mean best score 1,103K vs 964K parallel vs 795K single (best-replicate trajectories 1,144,695 / 1,007,073 / 961,136 — not the means). Stalled runs that forgot gained 4.5–9.2% over the next 30 proposals vs <2% for continuing runs at up to 2× cost (equal-proposal comparison, not equal-dollar/equal-time; AHC014 team-of-4 panel: 9.2% ± 6.9% at $15.32 vs 1.4% ± 1.3% at $24.67). Caveats: the anchoring explanation isn't isolated (session + candidate history cleared together), "when and what to forget" is left for future work, and generality beyond the four tasks isn't established.
- Paper
Video Generation Models Are Good Latent Reward Models
Extending reward feedback learning (ReFL) to video generation is blocked by pixel-space reward models: they need near-complete denoising plus expensive VAE decoding, OOM on full-frame sequences, and supervise only late-stage steps. PRFL (Process Reward Feedback Learning) conducts preference optimization entirely in latent space. A Process-Aware Video Reward Model (PAVRM) reuses the first 8 DiT blocks of the pretrained video-generation backbone (Wan2.1-14B) as a feature extractor, compresses spatiotemporal features with a learnable query-attention, and predicts motion-quality scores from noisy latents at arbitrary timesteps — trained on human labels of finished videos only, with noise injected at random timesteps (no per-step annotations). Training rolls out gradient-free to a sampled timestep, backpropagates reward through a single gradient-enabled denoising step, and alternates with SFT to prevent over-optimization. On Wan2.1-14B at 480p/720p (T2V and I2V): T2V dynamic degree +46.00 (480p) / +56.00 (720p), human anatomy +10.49 / +12.16; PRFL wins 67% of human comparisons (25 prompts, 30 annotators, 2,250 pairs) vs RGB ReFL. Timestep ablation on 100 prompts: early-only better on motion (DD 51.00 vs 44.00), late-only better on anatomy (HA 91.54 vs 87.52), full-trajectory sampling best on both. PRFL processes all 81 frames within 67 GB VRAM at 1.42×–1.49× faster training than first-frame-only RGB ReFL (whose full-frames variant OOMs). Caveats: the RGB ReFL baseline uses PickScore on the first frame only — a weak comparison; the missing control is the same ReFL setup with a different full-video reward model, so the results support the system but don't isolate the backbone-reward contribution. Author-stated limitation: focuses on motion quality; aesthetics/semantics evaluation left to future work. No code released at catalog time.