Explore the research collection
24 entries · Follow this search
- 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
LittleBit: Ultra Low-Bit Quantization via Latent Factorization
LittleBit (Lee, Kim, You & Kim; arXiv 2506.13771, May 2025, v5 Feb 2026, CC BY-NC-ND 4.0) pushes weight quantization into the extreme sub-1-bit regime: as low as 0.1 bits per weight, a ~31x memory reduction that compresses Llama2-13B to under 0.9 GB. Instead of quantizing weights directly, it represents each weight matrix by a LOW-RANK LATENT FACTORIZATION and binarizes the resulting factors. To counter the information loss at such precision, a multi-scale compensation mechanism learns importance parameters across the row, column and latent dimensions. Two pieces make training work: Dual Sign-Value-Independent Decomposition (Dual-SVID), which initializes the quantization-aware training, and Residual Compensation, which minimizes the factorization's approximation error. Headline claim: at 0.1 BPW on Llama2-7B, LittleBit surpasses leading techniques operating at 0.7 BPW, and the authors project up to an 11.6x inference speedup versus FP16; code is public. Flags, as entered: abstract-level record at cataloging time; the evidence is Llama2-era 7B/13B models, the cross-method comparison is the authors' own, and the speedup is stated as potential rather than measured end-to-end; unlike calibration-free PTQ, LittleBit is a quantization-AWARE TRAINING method, so its costs include a training run. Cross-references: the catalog's quantization thread, at the opposite design pole from the SINQ/BeeLlama entry staged the same day - SINQ keeps 2-8 bit weights and removes calibration; LittleBit removes the bits themselves (down to a tenth of a bit) and pays with factorization plus training. Both treat the weight matrix's row/column scale structure as the thing to model explicitly.
- Paper
Co-Evolving Acting and Forecasting for Language Agents
CoPE adds one multi-step action-forecasting loss on top of GRPO for sample-efficient RL of long-horizon language agents. Standard agentic RL learns only from a terminal scalar reward; value targets label every step with the same outcome, and observation targets (HTML pages, terminal logs) are noisy, one-step, and waste loss on irrelevant tokens. CoPE's third kind of target: on successful on-policy trajectories, the shared policy backbone learns to predict the action chunk a_{t:t+K} from each history (population optimum: the hindsight distribution Pr(a|h, success) — success is a selection condition, not a per-step label). Each action is thus supervised both where it is taken and when forecast from the K preceding histories, forming an implicit temporal ensemble absorbed into the policy; acting and forecasting co-evolve. Inference still acts one step at a time — zero overhead. On five benchmarks (ALFWorld, ScienceWorld, WebShop, τ²-bench, AppWorld): ALFWorld +5.0pp over GRPO, WebShop success 64.5→77.0, ScienceWorld 64.5→72.5 (best of all RL baselines including ECHO and RWML), τ²-bench 27.5→28.7 (Retail 17.5→29.4, with an honestly reported Airline drop 26.2→16.2), AppWorld 41.67→55.36 (normal) / 18.71→22.54 (challenge). Sample efficiency: 2.0× vs GRPO and 1.7–1.9× vs ECHO on ScienceWorld; 1.6× vs GRPO on AppWorld. Cost: +11% per-step training compute, −9% end-to-end step time; no separate model, no pretraining, no inference overhead. Ablations: K=2 best (all K≥1 beat GRPO), λ=10⁻², gains hold on Qwen3-8B, group normalization stabilizes training. Explicit-ensembling control (separate LoRA forecaster reranking 8 candidates) improves GRPO but adds nothing to CoPE, supporting the implicit-ensembling claim. Plain success-filtered BC on successful rollouts hurts (−7.5pp) — multi-step forecasting is the crucial ingredient. Limitations: outcome-conditioned imitation over-represents easy tasks; the Airline failure shows refusal tasks bleeding into action tasks. Code MIT at github.com/ulab-uiuc/CoPE (AgentGym-RL/verl stack).
- Paper
NeMo-DCR: Bit-Exact Delta-Compressed Refit for Scalable Agentic RL at Trillion-Parameter Scale
NeMo-DCR (Delta-Compressed Refit): bit-exact weight synchronization from training to rollout clusters for agentic RL, where each policy update must reach the rollout clusters before the next batch. Measurements of BF16 training show about 1% of weights (0.6-1.2% across the six models measured) change their stored values per RL step, yet a standard refit copies the full checkpoint every update - 87.5 minutes for a 1T model between two AWS regions. NeMo-DCR sends only the changes and still yields the exact same parameter and buffer bits as a dense refit. For placement, fixed affine mappings project changes from training shards into the checkpoint's canonical coordinates (residual conversion covers the rest), and the serving runtime's native loader places all changes in receiver storage. For exactness, compressible XOR masks carry affine changes whose projection and loader preserve stored bits, while overwrites carry the others; receivers apply both in place. For efficiency, object storage or a relay tree streams payloads while the delta is still being built, with no cross-cluster collective. Retries overwrite partial writes, and a joint commit binds the policy to the baseline for the next delta, recovering from mid-refit failures. Even at 3% and 5% change rates, refits of 30B-1T models are 12-40x faster than a transport-only full-checkpoint reference: a 1T relay-tree refit at 3% change rate takes 150 seconds instead of 87.5 minutes, making refits practical for cross-cluster agentic RL at trillion-parameter scale.
- Paper
ThunderSyncRL: Lossless Acceleration of Agentic Reinforcement Learning
ThunderSyncRL resolves the sync/async dilemma in agentic RL training. Synchronous GRPO/OPD leaves learner GPUs idle 49.5% of step time waiting for rollouts and verification to finish (measured training on SWE-smith); asynchronous training overlaps rollout and learning but learns from stale policies and performs worse. ThunderSyncRL streams gradient computation as soon as each piece's inputs are fixed while holding the policy snapshot constant, then takes one synchronous optimizer step. For GRPO, each trajectory's score gradient (the weighted action-token log-probability gradient H_i evaluated at the fixed policy, which does not depend on other rewards) is computed the moment its reward arrives; two running buffers (sum of r_i*H_i and sum of H_i) are regrouped at group close into the exact group gradient using the group mean and standard deviation. For OPD (on-policy distillation), each completed agentic turn contributes a gradient as soon as its teacher scores arrive while its tool call keeps running in the sandbox; per-turn unnormalized contributions accumulate and are divided once by the total scored-token count at batch closure, before clipping and the single optimizer step. The paper proves these streaming updates are identical to batch-synchronous GRPO/OPD without changing either objective. On Qwen-3.8-27B, ThunderSyncRL reaches the GRPO target of 74.01% pass@3 on SWE-bench Verified at 121.3 GPU-hours versus 233.5 for Sync (1.9x). Speedups to Sync's pass@3: SWE-bench Verified GRPO 1.9x, OPD 1.9x; Terminal Bench 4.0 GRPO 1.8x, OPD 1.9x. Pass@3 gains over Async at a fixed 128 GPU-hour budget: +2.47pp (SWE-bench GRPO), +1.27 (OPD), +1.52 (TB4 GRPO), +2.02 (TB4 OPD); model, workload, optimizer, and GPU allocation fixed per comparison. Code: github.com/seilk/thundersync (Apache-2.0) — a Python library with streaming GRPO/OPD objectives, engine, scheduling, rollout sandboxes (Docker/uDocker), and accel kernels; examples run on small randomly-initialized Qwen3 models on CPU or CUDA.
- Paper
ALoDLM: Adaptively Looped Diffusion Language Models
Amazon AGI introduces ALoDLM, a diffusion language model that replaces uniform denoising depth with token-adaptive latent recurrence, attacking the computation-difficulty mismatch: within one denoising step, easy masked tokens need little compute while hard ones need a lot, yet standard DLMs apply the same fixed-depth denoiser to every position. ALoDLM partitions a Qwen3 backbone into a Prelude, a shared Recurrent Core, and a Coda; at each denoising step the core runs up to K=4 recurrent passes. After each pass, an LM head predicts token distributions and an exit gate gives per-token halting probabilities: positions with predictive entropy <= tau are sampled and committed (their embeddings fed back as context for the next pass), while unresolved positions carry their latent states forward for further refinement. The inner loop ends when the mean cumulative halting probability reaches q, no unresolved positions remain, or K is reached. Training treats token-wise exit schedules as latent variables and derives a conditional negative ELBO; a single-trajectory gradient estimator is provably unbiased for the objective (Prop. 1), with a truncated-geometric prior (c=0.4) favoring shallow exits and a practical recipe relaxing the KL term and adding variance reduction (intermediate supervision, first-pass control variate). ALoDLM-1.7B and 8B are trained from Qwen3 by direct SFT on a 5B-token corpus (no continued pretraining; largest looped DLM to date at 8B). On eleven reasoning/knowledge/math/code benchmarks via the OpenCompass protocol, ALoDLM beats all evaluated DLMs (LLaDA-8B, Dream-7B, Fast-dLLM-v2, SDAR-8B, WeDLM-8B) and its Qwen3 AR counterparts in average score at both scales: 65.5 vs 63.8 at 1.7B, 80.3 vs 78.5 at 8B. It keeps fast parallel decoding: on GSM8K, ALoDLM-8B delivers ~2.7x the throughput of vLLM-served Qwen3-8B (93.25% at 612.4 tok/s on one NVIDIA B200) at comparable or higher accuracy, and 13.6% fewer GFLOPs per token than WeDLM at the same accuracy threshold. Recurrent depth is an effective test-time scaling axis, and the model learns token-dependent refinement preferences without difficulty labels (e.g., numerical tokens refine longer). Caveats: longer time-to-first-token than AR models and input-dependent throughput; the speed advantage can shrink on difficult or out-of-distribution inputs. Code: github.com/amazon-science/ALoDLM (optimized CUDA-graph inference engine included); weights: huggingface.co/amazon/ALoDLM-8B and amazon/ALoDLM-1.7B; project page: alo-dlm.github.io. Joins the looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579). Directly relevant to the user: a practical recipe for adaptive per-token compute and the strongest current DLM quality-efficiency tradeoff.
- Paper
The Surprising Effectiveness of Shared Memory in Looped Transformers
Looped Transformers add compute without parameters by re-applying the same layers, but each recursion writes its own KV cache, so memory grows with compute. This paper pretrains looped models to share memory instead: only the first recursion writes a cache; later recursions read it while keeping a short window of their own. Sharing memory does not cost quality — it improves it. At 150M-1B parameters, the Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers FineWeb-Edu validation perplexity by 1.12-1.82 vs a same-size standard Transformer while using 76-79% less context memory. Analysis: shared and local memory develop different representations, later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.
- Paper
D-JEPA: A Decision-Aligned Latent World Model
Latent world models predict action consequences, but accurate prediction doesn't guarantee latent distance reflects which candidate will execute successfully — a decision-local prediction gap: among the few futures competing for execution, a candidate predicted closer to the goal can produce a worse realized outcome than an alternative. D-JEPA learns decision-relevant relations among candidate futures from executed outcomes: a bounded, permutation-equivariant operator jointly reasons over goal-relative predictive features and ordinal evidence, refining pretrained predictive geometry where action choices are most consequential. Restricted predictor adaptation and a shared ordinal interface extend alignment across complementary predictive geometries; the learned decision structure is realized in JEPA-compatible future representations for native latent-distance planning. Evaluations across latent control, manipulation, pretrained action-producing models, physical robots, and autonomous driving: 87.89% success on PushT, +15.04-point average gain on RoboTwin, +17-point gain on physical robot tasks. 26-page paper with project website.
- Paper
PhantomEnvironments: Training LLM Agents in Fictional Worlds
Training LLM agents with RL is bottlenecked by environments, which must provide verifiable rewards, support long-horizon interaction, and scale cheaply. Existing approaches use costly human-curated data or LLM-generated environments that risk hallucinations and benchmark contamination. PhantomEnvironments builds multi-turn RL environments from fictional worlds generated entirely by rules — templated articles and multi-hop questions (e.g., 'Who is the mother of Alice's father?') with no LLM in generation, so zero marginal cost, fully verifiable, free of distillation, and immune to contamination. Despite sharing no facts with the real world, these strikingly simple environments teach the generalizable skill of agentic search (decompose a question, retrieve documents, compose knowledge) that transfers to real-world multi-hop search benchmarks, often outperforming real-world training data on newer benchmarks. Trained agents generalize to unseen fictional universes, and Qwen models learn to scale their search budget roughly linearly with question difficulty, suggesting emergent search scaling from environment interaction alone. Ablating environment complexity shows hop count drives transfer more than constraints or comparisons. The announcement headline: a 7B LLM trained with RL in PhantomEnvs performs like an agent 10x its size.
- Paper
AgentWorld: Benchmarking Long-Horizon Collaboration of Multi-agent LLMs
Existing multi-agent benchmarks test competitive settings, short-horizon interactions under 20 steps, or simply aggregate individual performance — failing to isolate genuine collaboration. AgentWorld is a benchmark of 100 human-annotated tasks (plus 100 augmented variants) for long-horizon multi-agent collaboration: tasks span 50+ interaction rounds in a rich MMORPG sandbox and require 3-20 agents with asymmetric roles and abilities to coordinate through communication, joint planning, and resource sharing under a blackbox setting where each agent acts independently without access to others' internal states. To quantify collaboration effectiveness beyond binary task success, it introduces Causal Collaboration Effectiveness (CCE), a graph-based metric tracing causal dependencies between agent actions to measure what fraction of a team's effort actually contributed to the outcome. Experiments with Gemini 3 Flash, Claude Haiku 4.5, GPT-5 Mini, and DeepSeek R1-70B: even the best model achieves only 52.0% task success, with systematic failure modes including communication breakdowns, role confusion, and inability to maintain shared plans across rounds. Fully open-source.
- Paper
Soohak: A Mathematician-Curated Benchmark for Evaluating Research-level Math Capabilities of LLMs
SOOHAK Challenge (340) and Refusal (99) plus companion SOOHAK-Mini (702), newly written by 105 mathematicians under NDA/IP transfer (~$550k MSIT Sovereign-AI budget). Challenge: Gemini-3-Pro / GPT-5 / Claude-Opus-4.5 Avg@3 30.4/26.4/10.4%; best open-weight Kimi-2.5 13.9%; 124 Challenge items unsolved by any of 11 models. Refusal (diagnose ill-posed prompts): no model >50% Avg@3, GLM-5 leads 49.5%. Mini: GPT-5 72.2%. Human baseline 5 teams / 25 solvers cover 50.6% of a 79-item slice; only Gemini-3-Pro exceeds combined humans. Public release planned late 2026; evals on request via guijin.son@snu.ac.kr. Project https://novamath.github.io.
- Paper
Diffusion Reward Models
Recasts reward modeling as conditional density estimation over p(r|x,y): a lightweight Diffusion Transformer conditioned on a frozen LLM encoder denoises Gaussian noise into a reward vector, making no parametric assumption on the output distribution. A single architecture handles multi-attribute regression and pairwise preference data; N samples at inference form an empirical reward distribution aggregated as scalar, variance, or quantiles.
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
Turns interactive web apps into verifiable, reference-guided software-engineering tasks. The mine-craft-patch pipeline replays app behaviors to produce 1,975 replay-verified behaviors across 26 apps and 4,063 tasks with no human intervention.
- Paper
Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation
Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
ProgramDistill (KAIST/Microsoft) is a benchmark and pipeline that turns working web apps into verifiable coding tasks: it mines 1,975 replay-verified behaviors from 26 live apps and constructs 4,063 tasks with no human labeling, asking coding agents to infer missing behavior from a live reference and reimplement it. GPT-6 Astra leads at 49.2% on full-application reconstruction; the associated dataset is public on Hugging Face.
- Paper
AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement
A benchmark isolating whether LLM agents can design training algorithms — the core capability recursive self-improvement turns on. Ten frozen research repositories span ten training-algorithm families; in each task an agent gets 4 hours on one B300 to rewrite the training algorithm, and its code is rerun from scratch for up to 12 hours and scored by a fixed evaluator hidden from the agent against the repo's original algorithm. Scores are normalized so 0 is an uninformative model, 0.1 is the shipped algorithm, and 1.0 is the task optimum.
- Paper
MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression
Google + UCF technical report (Zhao/Tan/Peng/Wang/Go; arXiv 2609.29913v1) introduces MILO for many-shot in-context learning KV-cache memory. Observations: pre-RoPE keys are more low-rank than values; more shots add redundancy; rank needs vary across example blocks. MILO partitions the many-shot KV into multi-example blocks, applies separate K/V SVD, and greedily allocates a global rank budget by spectral-entropy marginal gains. At inference BM25 retrieves selected compressed blocks, fused Triton kernels reconstruct them (CUDA streams + graphs), then sparse attention runs. On Qwen2.5-3B/7B (Banking77, Clinic150, TREC, NLU, MathQA, SVAMP; 512-shot; 50% rank budget) on an NVIDIA L4: up to ~50% KV memory reduction and up to 1.8× throughput vs prior low-rank baselines; avg accuracy 0.647/0.725 vs Full 0.677/0.753 and ahead of Palu/ASVD. Orthogonal stack with INT8/KIVI. No public code found at catalog time.
- Paper
Scalable In-context Ranking with Generative Models
In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, …
- Paper
Regression Language Models for Code
We study code-to-metric regression: predicting numeric outcomes of code executions, a challenging task due to the open-ended nature of programming languages. While prior methods have resorted to heavy and domain-specific feature engineering, we show that a single unified Regression Language Model (RLM) using a frozen L…
- Paper
From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones
Does RL teach LLMs genuinely new skills, or does it merely activate existing ones? This question lies at the core of ongoing debates about the role of RL in LLM post-training. On one side, strong empirical results can be achieved with RL even without preceding supervised finetuning; on the other, critics argue that RL …
- Paper
Vision Language Models are Biased
arXiv 2505.23941 (v1 2025-05-29; revised through 2026-04-19); accepted ICLR 2026. Introduces VLMBias: 7 domains (animals, logos, flags, chess, boards, illusions, patterned grids) with counterfactual images. Five SOTA VLMs score ~100% on unmodified sanity checks but only ~17.05% mean counting accuracy on counterfactuals, with ~75.7% bias-aligned errors. Background removal nearly doubles accuracy (+21.09). Project/code/data: vlmsarebiased.github.io.
- Paper
Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance
TII technical report (arXiv 2507.22448, 2025-07-30) for Falcon-H1, a parallel hybrid of grouped-query attention and Mamba-2 SSMs (SA_M: attention+SSM in parallel, then MLP). Six sizes 0.5B / 1.5B / 1.5B-Deep / 3B / 7B / 34B, each with base and instruct, plus quantized instruct variants (>30 Hub checkpoints). Token budgets from Table 1: 0.5B 2.5T, 1.5B and 1.5B-Deep 3T, 3B 2.5T, 7B ~12T, 34B ~18T. Context 16K (0.5B) up to 256K (7B/34B). 18 languages (0.5B English-only). Blog and paper both say Falcon-H1-34B matches or beats ~70B Transformer peers (Qwen3-32B, Qwen2.5-72B, Llama-3.3-70B) and 1.5B-Deep rivals 7B–10B. Code: github.com/tiiuae/Falcon-H1. Weights under the Falcon-LLM License (Apache-2.0-based, not SPDX Apache-2.0).
- Paper
Dynamic Linear Attention
DLA builds multi-state linear-attention memory with (i) Information-Aware Dynamic State Merging: a State Information Score opens a new state when token-level Frobenius drift exceeds tau, else merges; (ii) Capacity-Bounded Memory: a K-slot chronological cache that merges the lowest-density adjacent pair when full. Pretrains Mamba-2-780M and Gated DeltaNet-1.3B on 50B Long-Data-Collections tokens (seq 16k, K=30). Beats Log-Linear Attention on 8 commonsense, 6 in-context retrieval, RULER, and LongBench; Mamba-2+DLA matches or beats a 778M Transformer. Higher prefill throughput and lower memory than log-linear. No official code on the abs page.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.