Explore the research collection
77 entries · showing 1–24 · Follow this search
- Paper
DR Tulu 2: Scaling Simulated Environments for Deep Research Agents
Chen, Faria, Zhuo, Shao, Gupta, Jiang, Zettlemoyer, Koh, Smith, Brahman, Dasigi & Asai (Ai2), 'DR Tulu 2: Scaling Simulated Environments for Deep Research Agents' (released Dec 1 2026; code Apache-2.0 at github.com/allenai/dr-tulu2; model allenai/DR-Tulu2-4B on Hugging Face; paper at allenai.org/papers/dr-tulu2). An open 4B deep research agent trained entirely in simulated search environments with the DR-Anything framework: for each training task the framework constructs both a research question and a searchable collection of documents, and the agent issues queries, opens documents, and refines its search over many steps. Serving the collection locally (BM25 indexes over General Web, Finance, and Science corpora, all released on Hugging Face) makes RL rollouts scalable without per-query API costs or external rate limits. Training is a three-stage checkpoint sequence from Qwen3.5-4B: a BrowseComp stage on the General Web corpus (step 400), then SEC100 on Finance (step 200), then Science100 on Science (step 100) as the final checkpoint; the stack is Prime-RL with a Verifiers environment and vLLM serving. Ai2's headline claim (first-party): across 10 benchmarks DR Tulu 2 beats Tongyi DeepResearch with a page summarizer by 9.7 points on average, and the release reports live-web accuracy after purely simulated training - the sim-to-live transfer is the load-bearing claim. Evaluation covers BrowseComp-Plus with GPT-4.1 grading, plus live-web runs via Serper/Jina. Cross-references: the environment-construction member of the agent-RL thread - simulated, locally served search environments as the scalable alternative to live-API rollouts; the post-training counterpart to Search-Native Pretraining (ID 1902, search taught in pretraining); v1's training data is in the catalog as datasets (dr-tulu-rl-data, dr-tulu-sft-data).
- 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
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.
- Paper
Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers
Zeyuan Allen-Zhu (arXiv 2512.17351, Dec 2025, v2 Jul 2026; license not confirmed from the arXiv record) argues architecture comparisons at academic scale (1.3B params, 100B tokens) are dominated by noise, so he builds CONTROLLED SYNTHETIC PRETRAINING TASKS that isolate core capabilities - and in that playground discovers CANON LAYERS: lightweight components, named after the musical canon, that promote HORIZONTAL information flow across neighboring tokens by computing weighted sums of nearby token representations. As implemented: a 1-d causal convolution with kernel size 4 plus an explicit residual (h'_t = h_t + conv1d([h_t, h_{t-1}, h_{t-2}, h_{t-3}])), a few lines of code via the causal_conv1d kernels, at minimal parameter cost, droppable into Transformers, linear attention, SSMs or any sequence architecture at several insertion points (Canon-A/B/C/D). Twelve key results are reported, including: reasoning DEPTH roughly doubles, with gains in reasoning breadth and knowledge manipulation; Canon lifts weak architectures - NoPE up to RoPE's level, linear attention up to rivaling Mamba2/GDN - validated on the synthetic tasks AND real academic-scale pretraining. The striking detail: even a FIXED, RANDOM-weight version - past-three-token aggregation as pure horizontal residual links - already notably enhances performance, which points at the residual/gradient-path structure itself, not learned filters, as much of the mechanism. Flags, as entered: single-author program-of-research paper; the synthetic-task methodology is the author's own bet (he further claims the playground may PREDICT future architecture behavior as pipelines improve - a strong claim, unproven); abstract-level record at cataloging time for the 12 results. Why it matters here: Canon is the academic mechanism paper behind the SConv line in the staged Marin 535B entry - Marin's short convs (k=4 on keys/attn-out/MLP-out) measured 1.19x compute efficiency at production scale, and the share that brought this paper in carried a second corroboration (Songlin Yang: Inkling's SConv ~19% compute-efficiency gain matches what he observed in their stack). Two independent production sightings plus a mechanism paper make short convs one of the best-evidenced cheap architecture additions in the catalog - and the random-weights result suggests a near-free variant to test first.
- Post
SINQ comes to GGUF: BeeLlama.cpp v0.5.0 makes every tested quantization recipe more accurate
BeeLlama.cpp v0.5.0 Preview (Ivan Neustroev) ships the first implementation of SINQ (Sinkhorn-Normalized Quantization) in the llama.cpp ecosystem. SINQ itself is from Müller et al. at Huawei (arXiv 2509.22944, Sep 2025; the same team as KVarN): it augments an existing post-training quantizer with a second-axis scale factor, using fast Sinkhorn-Knopp-style iterations to normalize the per-row and per-column variances of each weight matrix (minimizing a 'matrix imbalance' proxy). Because column-wise weight standard deviations are predictive of the activation magnitudes a matrix saw in training, this recovers much of activation-aware quantization's benefit with NO calibration data; it is layer-independent, applies to any linear layer, and in the paper cuts the WikiText2/C4 perplexity gap versus uncalibrated uniform baselines by over 50% on the Qwen3 family and DeepSeek-V2.5, at zero-to-negligible overhead (code: github.com/huawei-csl/SINQ). The implementation result reported here: Neustroev reproduced Bartowski's fully open-source Qwen 3.5 9B GGUF collection with SINQ added, and EVERY recipe (Q2_K through Q8_0) achieved lower KL divergence against BF16, with drastic improvements at the higher bit-widths; against Unsloth's collection for the same model (only partially reproducible, its process being partly proprietary), Bartowski+SINQ dominates most of the size-quality Pareto frontier, with a particularly large gap at 6 and 8 bits. The author ships his own disclaimers, carried here as flags: the SINQ configuration for each recipe was selected by MANUAL A/B testing (automated selection is work in progress), so the frontier partly reflects per-recipe tuning effort; SINQ GGUFs currently run ONLY in BeeLlama.cpp v0.5.0, since the format needs engine support; some recipes may benefit less or not at all where existing optimizations conflict; evidence is one model (Qwen 3.5 9B; a 27B pass promised) and the metric is KLD fidelity to BF16, not downstream task accuracy. The SINQ paper is summarized inside this entry and is not separately cataloged. Cross-references: the catalog's precision/quantization thread - SINQ is the inference-side, weight-only member (calibration-free dual scaling), complementing the training-side precision entries and KVarN's KV-cache variant of the same dual-scaling idea.
- Paper
On the Design of Hyper-Connections: Simplification, Stability, and Scalability
Ablation-driven simplification of Hyper-Connections (HC / mHC), the expanded-residual architecture increasingly adopted in frontier LMs, whose components the authors argue are poorly understood and carry non-negligible training overhead (arXiv 2611.05984, Nov 4 2026). Two findings drive the redesign: (1) the HC interaction decomposes into two independently effective groups - learned read/write gating WITHOUT residual mixing, and unconstrained mixing with FIXED gates - and either alone matches full mHC performance, so the full combination is redundant; (2) repeated access to the expanded residual state is a major source of training overhead even without any mixing. The resulting architecture, SimpleHC, removes residual mixing entirely and simplifies execution through shared memory access, exploiting the additive structure and shared gate inputs: layer-specific gates share a group-entry state, enabling batched reads and deferred writes, and scalar corrections exactly preserve the contributions of preceding sublayer outputs. Results: SimpleHC costs only 2.4% extra end-to-end training time over a vanilla residual baseline at the largest tested scale, maintains performance comparable to mHC when scaling from 15B to 30B MoE models, shows smoother gradient dynamics during standard training, and remains stable under stress tests. Flags, as entered: abstract-level record (ablation details and per-component numbers live in the full text); evidence is at 15B-30B MoE scale, far above small-model regimes, so the transferable claim for smaller stacks is the qualitative one - that HC's mixing machinery appears dispensable and its systems overhead is mostly memory access, not the mixing itself; license not confirmed from the arXiv record at cataloging time. Cross-references: the catalog's HC family - ID 1540 (Hyper-Connection Factory repo), ID 1688 (xHC: Expanded Hyper-Connections), ID 1654 (Multi-Stream Attention Residuals); Junchi Yan also co-authored ID 1805 (DepthGraft), whose references cite this work.
- 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
Can Benign Skills Induce Misaligned Behavior in LLM Agents?
Studies 'skill-induced behavioral misalignment', where reusable benign agent skills make LLM agents more capable of executing harmful procedures, and measures the risk across agents.
- Paper
ARLoop: Fully-Open Pre-trained Looped Transformers with Attention Residuals
ARLoop (Yuekun Yao, Yupei Du, Dawei Zhu, Huan Sun - Ohio State NLP Group; arXiv 2611.05234, Nov 3 2026): a fully-open pretrained looped transformer that replaces standard residual connections with ATTENTION RESIDUALS - the input of each layer is selectively aggregated through attention over model depth, so each recurrent step chooses which earlier intermediate representations to reuse, instead of the standard residual stream folding all recurrent depth into a single stream with no control over reuse. Key architectural finding: looped transformers do not need access to the full residual history - sliding-window depth attention matches or outperforms full-history attention at larger recurrent depths. Controlled experiments at 140M and 370M parameters with recurrent depths R = 1 to 5 show ARLoop consistently outperforming prior residual designs for looped transformers. The design then transfers to realistic LLM pretraining at 0.6B and 1.2B: ARLoop-1.2B, pretrained on only 0.5T tokens with three recurrences, outperforms Huginn-3.5B - the only prior fully-open looped LLM - across all evaluated tasks, and is competitive with the non-looped Qwen3.5-2B Base despite being trained on substantially less data, with particularly strong gains on math and coding. Enrichment (2026-11-10, from first author Yuekun Yao's launch thread, Nov 9 2026): the thread's benchmark chart gives ARLoop-1.2B at ARC-Challenge 56.3, HellaSwag 71.5, WinoGrande 66.8, OpenBookQA 45.5, GSM8K 63.1, MATH 37.8, MBPP 52.1, HumanEval 33.1, against Qwen3.5-2B, Huginn-3.5B and the authors' own PreNormLoop-0.6B ablation; the release is the full recipe - data preparation, training code, intermediate checkpoints, and evaluation code (code: github.com/OSU-NLP-Group/ARLoop; models and checkpoints: huggingface.co/collections/osunlp/arloop). Flags, as entered: benchmark numbers are first-party (paper + launch chart, abstract-level at cataloging time); the 'competitive with Qwen3.5-2B on less data' comparison inherits the usual cross-recipe caveats; license not confirmed from the arXiv record. Cross-references: the looped-models cluster - ID 1579 (the same group's 'Loop, Think, & Generalize'), ID 1765 (LIDAS depth growth), ID 1808 (Library of Layers); attention-residual kin: ID 1654 (Multi-Stream Attention Residuals). The thread also pointed to related work InfiLoop (arXiv 2610.11570), which is not part of this entry.
- 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
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?
- Post
Depth Hybrid Attention (DHA): Depth-Wise Value Mixing for Hybrid Attention Architectures
An architectural add-on for hybrid attention: let layers mix information across DEPTH, not just across time. DHA extends the group's earlier Depth-Attention (validated in plain GQA) to hybrid stacks. The forward pass for each token maintains a per-token 'depth bank' holding KV anchors written by preceding layers. Before its temporal attention, each layer runs a depth router: (1) Read historical anchors from the bank, (2) Mix - value mixing in the form of attention over those anchors, (3) Write its own anchors to the bank. The mixed values then feed the layer's ordinary temporal attention, whose design is untouched. Because the bank is per-token and holds one anchor set per layer rather than per position, it does not grow with context length - the hybrid's low KV-cache footprint is retained, at 'very little' added compute and cache (their characterization). Two variants, each keeping separate depth banks per layer type so a layer only reads anchors from its own kind: Depth Window Attention (DWA) for GQA + sliding-window attention hybrids, routing at KV-group granularity while SWA layers keep their temporal window; and Depth Delta Attention (DDA) for MLA + Kimi Delta Attention (KDA) hybrids, where MLA routes in latent space and KDA mixes values across depths using normalized queries/keys with depth-specific logit scaling before its delta-attention update. Results (short-context suite of 8 benchmarks - ARC-Challenge, HellaSwag, MMLU, CMMLU, GSM8K, MBPP, CMATH, MMLU-Pro; averages): DWA 39.68 vs GQA+SWA 37.84 vs full GQA 38.06, with the gains concentrated in generation tasks (GSM8K 44.43 vs 38.36 hybrid / 37.60 full) and MMLU a small exception (45.51, below full GQA's 46.19); DDA 40.92 vs MLA+KDA 39.12 vs full MLA 38.19 (GSM8K 43.67, CMATH 51.64). The README also reports better loss curves and long-context retrieval vs both baseline classes, but those results are figures only, with no numbers in text. Caveats: a code/project release, not a paper - no arXiv version, no stated model scale, token count, or training setup behind the benchmark tables in the README, all results first-party (Nanbeige LLM Lab, BOSS Zhipin), repo created 2026-10-29 with 3 commits and no LICENSE file in the root at catalog time. Relevance: DWA targets exactly the GQA+SWA hybrid family - in a 3:1 SWA:full stack the depth axis is orthogonal to the temporal hybrid split, but note the constraint that banks are per layer type, so window layers never read anchors written by full layers and vice versa; DDA's KDA branch is the Gated DeltaNet family paired with MLA instead.
- 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
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
Harness²: Recursive Agent Harnessing for an Open World
Google Cloud AI Research + Northwestern's recursive self-improvement framework for agent harnesses in open-world settings. The model stays 100% frozen; the harness is the object of optimization. Eight editable components (system prompt, guardrails, memory, skills, tool guidance, scripts, subagents, middleware plugin — each a mounted runtime file; extends the AHE file-level decomposition by one). Two coupled recursion levels: task-level recursion refines the current task's execution harness via a contrastive Propose–Probe–Compose step — propose invariant + domain-specific candidate harness edits, probe them under matched conditions, compose changes supported by behavioral contrasts, no ground-truth verifier needed — scalable in parallel or sequential schedules; harnessing-level recursion distills reusable experience into an improvement library (adopted harnesses + EXPERIENCE.md lessons) that guides future proposals. On three professional benchmarks (WorkBuddy-Bench, JobBench, Harvey's Legal Agent Benchmark) across four executor–harness configurations (GLM-5 and Gemini 3.5 Flash under OpenCode/Codex, edited by Claude Opus 4.8), a single contrastive step consistently improves every configuration: up to +11.5 points WorkBuddy-Bench, +4.5 points JobBench, +11.8pp LAB Partial pass rate. Parallel recursion to k=5 reaches 80.8 on WorkBuddy-Bench and 39.0 on JobBench (31.5 base); improvement libraries transfer across benchmarks. Result: an adapted weaker model can surpass an unadapted stronger model. Caveats: multi-candidate probing multiplies test-time token costs; main experiments rely on a frontier editor (Claude Opus 4.8); behavioral signals don't guarantee correctness.
- Paper
Training-Free On-Policy Distillation
Specialist models sharing a base model can be merged without gradient training: the distillation objective per linear layer — reproduce every teacher's output on the inputs that teacher receives while reading its own rollouts — is exactly least squares, needing only the input second-moment Gram matrices. TF-OPD gathers those on-policy: each specialist answers a few hundred domain training problems, looping/unverifiable answers are filtered, the kept answers are read once with teacher forcing while forward hooks accumulate per-layer Gram matrices, then one linear solve per layer. This is the RegMean closed form (Jin et al. 2023) fed rollout statistics instead of training-corpus inputs — what trained on-policy distillation does, minus the optimization. On Olmo 3 7B, fusing a math and a code RL specialist (≈10 GPU-hours total, 48 GB GPUs, zero backward passes) yields a generalist with the highest mean over 7 benchmarks (61.1 vs math 59.8 / code 53.6 / base 31.6): equals the math specialist on AIME24 (50.0), beats it on OlympiadBench (69.4 vs 68.7), within ~2 pts of the code specialist on HumanEval+/MBPP+. The key finding: unfiltered rollouts match task arithmetic on AIME25 (34.2); removing repetition-loop answers — a small share of answers carrying a several-times-larger token share — lifts it to the specialist's level (40.0); correctness filtering, student rollouts, and hard-problem mining add nothing further. On easier saturated benchmarks every merge rule looks alike; the method separates only on hard problems. Precision matters: store fused weights in float32, evaluate in float16 — bf16 rounding measurably distorts the closed-form update. Training remains the tool when teachers differ in architecture or size.
- Paper
xHC: Expanded Hyper-Connections
xHC (Expanded Hyper-Connections) is the first Hyper-Connections-family method to achieve meaningful residual-stream expansion beyond N=4. Hyper-Connections expand the Transformer residual stream into N parallel streams (memory scaling beyond width and depth); mHC stabilized this at scale but stopped at N=4, where scaling mHC further gives diminishing gains at rising cost. xHC combines (1) temporal feature augmentation — MLP write-back enriched with multi-scale local features from causal depthwise convolutions (kernels {4,8,12}) over neighboring tokens — with (2) sparse residual-stream updates: dense read access to all N=16 streams, but residual mixing/write-back routed through only k=4 active streams (2 fixed + 2 routed), cutting residual-mapping generation cost from O(N³C) to O(k³C); mixing is Sinkhorn-normalized over active streams. On an 18B MoE, xHC improves the average downstream score over mHC by 4.0 points across 12 benchmarks (3.1 points at 28B, winning 11/12), with only modest extra training FLOPs; vanilla and mHC need 1.50× and 1.19× xHC's compute to reach the same loss; expanding N=4→16 improves xHC's loss by 0.012 at +4% FLOPs vs 0.006 at +32% for mHC. xHC-Flash (sharing full-state ops across sublayers) cuts per-sublayer memory traffic from 73.5C to 40C (Flash-4sub), near mHC's 34C at N=4, while retaining the gains. Fused Triton forward/backward kernels: mHC adds ~15% training overhead over baseline, xHC-Flash-4sub ~11% on top of mHC; inference prefill +11.4%/+12.9%. Author-open-sourced the training code (Megatron-LM based; xHC-Flash not included): github.com/aHapBean/xHC (Apache 2.0).
- Paper
The Thinking Leakage in Reinforcement Learning for LLMs
Hybrid reasoning models (Qwen3) switch between THINK and NO-THINK modes via chat-template tokens; a popular recipe trains in NO-THINK mode with RLVR and reports improved reasoning. This paper argues much of that gain is "thinking leakage" — partial reactivation of the original model's THINK mode, not newly learned reasoning. They train Qwen3-1.7B/4B/8B with GRPO in NO-THINK mode on DAPO-Math-17k (rank-64 LoRA on all linear layers, lr 1e-5, KL 1e-3). Evidence chain, evaluated on AIME 2022–2024 (90 problems): (1) behavior — 8B accuracy 0.17→0.43 while responses grow 2.7k→7.2k tokens, reflection words 1.3→13.0, think-win-rate judged by the original model 50%→94%, and activations shift α=0.56 along the original think direction (4B α=0.40, 1.7B α=0.21); (2) weights — scaling the RL update (W₀+c·ΔW) approaches but never exceeds think-mode accuracy (0.72 vs 0.74), and scaled models generate </think> at the same position as think mode (51% at c=3) despite never being trained to; (3) activations — exchanging an 8-dim think subspace between RL-trained and original 8B models removes 75% of the RL gain (0.411→0.244) and transfers 50% in reverse (0.189→0.300; 60% with 16 dims), vs PCA controls of 22%/25%; (4) attention heads — a small set of heads (e.g. 8B L18H19, top 0.2% by empty-think-block attention) keeps the original in no-think mode, and single-head patching of L18H19 accounts for 44% of the RL-induced activation shift; (5) GRPO signal — correct responses with larger advantages are more think-like (TWR 57.8%→40.5% as group size-correctness k goes 1→4), and one GRPO gradient step moves a fresh LoRA adapter toward think mode (Δα=+0.0075), while shuffled or uniform advantages do not — so the leakage pressure lives in the advantage assignment itself. Caveats: scaling probe is exploratory (factors explored on the same 90 AIME problems); gradient-step probe is not an actual training step; single eval set. Code announced on GitHub but repo URL not verified at catalog time.
- Paper
Hybrid Reasoning Agents
HybridAgent is an LLM agent that dynamically navigates between latent reasoning and text-based interaction within a single unified generation process, combining efficient latent "inner thinking" with text-based tool calls and external inspection. The core mechanism is HybridLink, a lightweight residual adapter mapping last-layer hidden states back into the input embedding space (e_{t+1} = h_t + W2·GELU(W1·h_t), ~10M params at 4B), enabling sequence-wise recurrence in latent mode without representation mismatch. Mode transitions: text mode emits a <latent> anchor token to enter latent mode; latent mode exits when the HybridLink-projected state nearest-matches a </latent> anchor; span lengths emerge adaptively. Latent thoughts remain interpretable: each latent step maps to its nearest token embedding, recovering readable pseudo-text. Multi-turn generation runs over a continuous working memory (KV entries from text, latent thoughts, and tool observations), losslessly preserving hybrid context across turns. Post-training: HybridSFT (format activation, HybridLink activation with cos+MSE regression, then self-conditioned two-pass training with joint CE at text and regression at latent positions, closing the train-inference mismatch) stabilizes tool-integrated hybrid generation; HybridRL scales reasoning via a hybrid policy factorization (policy likelihoods only over sampled text positions, since latents are deterministic given the backbone and fixed HybridLink) with exact rollout replay, rewarding correctness, format, and multi-tool use — learning when to think in latent space vs act through text. Built on Qwen3-Base at 4B/8B/14B and evaluated on 11 benchmarks (math, science, medicine, search, agentic reasoning) against text-based, latent, and frontier-agent baselines: HybridAgent improves performance by 10.4% on average at the RL stage (18.5% at SFT stage; 14B beats the strongest agentic baseline by 17.4%), with 35.5–54.7% token reduction, 1.8–2.6× faster inference, and 2.7–3.7× cost savings. Tool use stays reliable (higher valid call rates than GRPO, 99.7% execution success) and the exposed text trace remains monitorable/debuggable (first-error localization 98–99%), exposing 43–49% fewer text tokens while carrying 26–28% more key reasoning steps per 100 visible tokens. Code, models, and training data are public: github.com/togethercomputer/HybridAgent (MIT) with HybridAgent-8B-Agentic and -14B-Agentic checkpoints plus HybridSFT-v1/v2 and HybridRL datasets on Hugging Face.