Explore the research collection
15 entries · Follow this search
- Model
Gero-4B
A System One decision model: Qwen3-4B rebuilt into a scorer that evaluates a question against a state and returns a calibrated probability for every possible answer — no generated text to parse. Architecture: input encoded once (shared prefix, Qwen3-4B + LoRA), each option runs as its own branch attending to the prefix (branches never see each other), a single learned scorer maps the final token of each branch to one number, softmax across branches gives the distribution. Three question types: Choice (up to 256 options), Score (ordered 2–10 levels), Yes/no. No position bias, any number of options, prefix caching makes extra options cheap. Training in three stages: (1) branching readout; (2) instruction/structure on audited purpose-built data; (3) RL for calibrated decisions — outcomes sampled from each item's true answer distribution, reward combines the probability given to the sampled outcome with confidence calibration, both proper scoring rules, so optimal reward requires reporting true probabilities. Named after Gerolamo Cardano; first model in the Gero family. English training language. Relevant cluster: catalog entries 1363 (TypeSafe AI System One/JEV) and 1434 (CLM).
- Paper
The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs
Gives the model the knowledge and plan, then measures retrieve-then-compose over a key→int dictionary. Horizon length Hs=ln(s)/ln(p) grows hyperbolically; short-task benches can hide compounding. Qwen3/Gemma3: near-perfect first-step accuracy but Qwen3-32B drops below 50% by ~15 turns; larger models execute more turns. Per-step accuracy degrades via self-conditioning on own errors, not just long context; scaling size does not fix it, thinking/RL does. Single-turn without CoT: even DeepSeek-V3/Kimi-K2 fail past ~6 steps; GPT-5 thinking 2176 steps vs Claude-4 Sonnet 432 / Grok 4 384 / Gemini 2.5 Pro 120. Published at ICLR 2026. Code https://github.com/long-horizon-execution/measuring-execution.
- Paper
OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration
OPUS (Optimizer-induced Projected Utility Selection) linearizes AdamW/Muon one-step updates, sketches ghost outer-product gradients with CountSketch, and Boltzmann-samples a batch aligned with a Bench-Proxy retrieved from the corpus. Scoring overhead 4.7% vs naive 3.5×. GPT-2 XL Muon FineWeb 30B: avg 41.75 vs random 40.29, beating 60B random (41.29) and static filters. FineWeb-Edu: OPUS on score-3 beats baselines trained on score 4+5 (XL 44.99). Qwen3-8B-Base CPT on SciencePedia: 0.5B tokens beats 3B full CPT. Code https://github.com/gszfwsb/OPUS.
- Paper
Training-Free Looped Transformers
Lightweight wrapper re-applies a contiguous mid-stack block of a frozen LM. Naive block reapplication usually degrades; treating a pre-norm block as a forward Euler step and replacing one large update with damped/RK sub-steps helps. Single out-of-the-box recipe (3-stage Runge–Kutta at the mid 4 layers; block-mode for dense, layer-mode for MoE so expert routing does not thrash) over 7 families and 45 (model, benchmark) cells. Qwen3-4B-Instruct +2.64 pp MMLU-Pro and +2.01 GPQA-Main; Qwen1.5-MoE-A2.7B-Chat +2.30 ARC-Challenge; Qwen3-30B-A3B-Instruct +1.14 CommonsenseQA; Moonlight-16B-A3B-Instruct +1.20 OpenBookQA. ~20k H100 hours. No official code on abs.
- Paper
Interference Search: Reasoning over merged states, many branches at once
Bad Theory Labs paper (Al-ameen, Lagos, Sep 2026; 6pp PDF). Interference Search expands all live branches, executes moves in the environment, merges equal states, uses a small trained judge to cancel dead ends, and advances survivors together one level at a time (classical; Grover only as metaphor). On 30 hard Countdown problems with the same judge and 200 judged-position budget: frontier 30/30 vs one line of thought 21/30; clearing all 30 takes ~23.7 sequential steps for the line vs 3 for the frontier. At six numbers, 831k operation sequences collapse to ~13k states. Judge trained on 4–5 number problems cuts ~12.6× work on 7-number without losing solutions at safe thresholds (aggressive τ drops hard-set recall). Qwen3-1.7B text thinking solves 3/30 (~14.9k tokens/solve) while env+judge search generates no LM tokens. On 30 MBPP first-try failures: 9 vs 8 independent samples vs 7 linear refine (within noise). Negative results: failure notes cause retries; decode rewinds regenerate mistakes; cross-attending streams ≈ independent. Code/data promised Apache-2.0 at github.com/Badtheorylabs/interference-search. Does not train the LM inside the loop.
- Paper
Planned Test-Time Scaling with Coordinated Reasoning Paths
UCLA+Amazon preprint (arXiv 2609.27374v1, cs.CL/cs.AI; 2026-09-23) introducing Planned Test-Time Scaling (PTTS): a planner jointly emits k solution outlines and a frozen reasoning-model executor solves each outline-conditioned branch, replacing independent repeated sampling. Formally PTTS generalizes RS; stylized analysis shows pass@k-optimized joint planning covers complementary modes vs pass@1 mode collapse. Instantiations: PTTS-ZS (base LLM jointly generates all outlines in one AR pass) and PTTS-RL (optimize planner on pass@k with truncated executor rollouts). On MATH-500, AIME 2024/25/26, HMMT-Feb26 with Qwen3-1.7B/4B executors, PTTS-ZS gains up to +6.7 pass@64 vs RS; PTTS-RL up to +13.4 (1.7B) / +6.7 (4B); PTTS-RL pass@32 exceeds RS pass@64. Code Apache-2.0 at github.com/shirley-wu/planned-test-time-scaling; no HF Papers page yet.
- Paper
When Do Larger Batches Help Scale LLM Reinforcement Learning?
Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.
- Paper
Trajectory-Refined Distillation
arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.
- Paper
WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference
arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.
- Paper
Efficient Agentic Reasoning Through Self-Regulated Simulative Planning
SR2AM (Self-Regulated Simulative Reasoning Agentic LLM) decomposes agent deliberation into reactive execution (System I), simulative planning with the LLM as world model (System II), and a configurator that chooses whether to plan, continue, or skip (System III). Two instantiations: v0.1 records a multi-module prompted teacher (o4-mini); v1.0 reconstructs structured plans from DeepSeek-V3.2 traces. Both use SFT then GRPO. SR2AM-v0.1-8B (from Qwen3-8B) overall Pass@1 57.0, competitive with 120-355B tool-using systems; v1.0-30B (from Qwen3-30B-A3B-Thinking-2507) 71.3 Pass@1 with 25.8-95.3% fewer reasoning tokens than similar-scale agentic LLMs. RL lengthens plan horizon +22.8% while planning frequency grows only +2.0 pp. Code sailing-lab/sr2am.
- Paper
Multi-Turn On-Policy Distillation with Prefix Replay
ReOPD replays teacher-forced prefixes, lets the student act at the supervised step, and samples positions with step-decay κ=0.6. Formalizes a prefix trap: student-on-policy histories are relevant but can query the teacher where it is unreliable. On math (Python-tool, 6 benches) a Qwen3-4B student with a 4B teacher averages 57.2 vs OPD 55.1 / SFT 46.1; with an 8B teacher 53.7 vs OPD 51.0. Search essentially matches OPD (40.5 vs 40.6). Zero tool calls during student training and at least 4× faster per rollout. A joint math+search student stays on par with OPD. 8×H100; authors report training under 3 hours.
- Paper
Can a Language Model Learn Facts Continually in Its Weights?
Writes invented facts into Qwen3-4B (8B replication of the entailment gap) via LoRA/full FT and context distillation, then follows them through 20–100 later writes with five held-out question types against a fact-in-prompt ceiling. Training-data breadth, not the objective label, creates usable knowledge: diverse restatements cut the recitation-to-use gap from 27.4 to 5.4 points without showing conclusions. After 20 sequential writes, bare-statement facts retain 1% vs 46% for study facts (plateau ~25–28% by 100 study writes). Forgotten facts keep 57–67% of their log-prob lift, so access fails rather than storage; incoming writes cause interference. A frozen original-model teacher preserves capability; no tested intervention keeps earlier facts reachable. Context remains the reliable channel for composition and survival.
- Paper
Not All LLM Reasoning is Visible in the Chain-of-Thought
Defines invisible reasoning via filler-token diagnostics: accuracy rises with fixed, question-independent filler spans, depends on filler type, and the type ranking differs across models. Evaluates 13 frontier models on 4-digit multiplication, nested arithmetic, and variable-counting. Many models gain (up to +13 pp; Gemini 3 Flash +10.7 arithmetic; Opus 4.5 +11.2 arithmetic / +10.0 multiplication with counting fillers). Filler tokens let Opus 4.5 satisfy a hidden modular constraint (x mod 2 = 1: 33.5%→44.5% N/A) without hurting the primary task. RL on Qwen3-235B creates filler-type preferences but the test-time filler benefit does not persist; SFT also fails to transfer it.
- Paper
DAPD: Dual-Anchored Policy Distillation
Diagnoses OPSD failure as information asymmetry: a privileged teacher (reference/tool) supervises a student that lacks that information at inference, so the student learns unreproducible privilege-dependent behavior. DAPD adds Dual-Path Anchoring (self-conditioned bridge aligning reference and rollout with and without privilege) and Dual-Source Anchoring (reference-to-rollout and rollout-to-reference). On Qwen3-4B, +2.00 avg over OPSD across reasoning/coding/instruct; gains hold at scale (+2.69 at 4B, +2.78 at 32B vs OPSD on reasoning Avg@12) while OPSD's gains vanish. Code https://github.com/uanu2002/DAPD.
- Paper
Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.