Explore the research collection
3 entries · Follow this search
- 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
Scaling Verifiable Environments for Long-horizon Work Agents
WorkForge is a scalable synthesis framework for building verifiable long-horizon work-agent environments from real-world resources. From expert-authored 'Scene Blueprints' (workflow, deliverable, source requirements, domain decisions), an acquisition agent iteratively searches, downloads, and previews real files to instantiate a workspace; profiling then extracts observable factual anchors (file roles, dependencies, verifiable facts). Task generation derives each task's instruction, hidden solution plan, and complementary verifiers from those anchors: programmatic verifiers check deterministic requirements on final artifacts (mean pass rate over rubric items), while semantic verifiers score open-ended deliverables via an LLM judge with criterion-specific scoring guides (scores 0-10, normalized). The corpus is 16,665 environments across 40 professional domains (top 4 = 31.9% of tasks), workspaces covering 60 file types, avg 42.3 files / 279KB, avg 21.9 rubrics per task; solver rollouts (GLM 5.3 with Claude Code and OpenClaw harnesses) average 31.8 steps, 33.8 tool calls, 76.5K tokens. Full-parameter SFT of Qwen3.5-35B-A3B-Base on the 16,665 trajectories lifts GDPval 45.5 to 73.6 (+28.1) and APEX Score 5.0 to 21.3 (+16.3), with similar gains on WildClaw, ClawEval, and Agents' Last Exam; the 73.6 GDPval beats the prior sub-100B specialized SOTA (ClawGym-30A3, 35.0) by 38.6 points. Applied to the post-trained Qwen3.5-27B, WorkForge-27B reaches GDPval 82.4, beating Qwen3.5-397B-A17B (79.7) with ~15x fewer parameters. Scaling holds across data volume (1K to 16K trajectories: ALE +13.0, WildClaw +8.4) and interaction horizon (41-60-turn training trajectories vs 0-20: ALE +4.2, WildClaw +5.0). Hybrid verification-based trajectory selection beats programmatic-only or LLM-only selection; real-workspace environments have 5.4x more files and 2.4x more file types than synthetic ones.
- Paper
Write Back the Δ: Revisiting the Same Tokens with Fresh Representations
Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).