Explore the research collection
6 entries · Follow this search
- Post
Improving Qwen3.8-27B-Medium on DeepSWE with GRPO: 500-task SWE agent dataset experiment (AfterQuery)
AfterQuery's internal post-training team trained Qwen3.8-27B (medium reasoning) with GRPO on 500 tasks from their SWE agent training dataset and reports DeepSWE pass@1 (avg of 3 attempts) rising from 27.8% to 39.1% (+11.3 points) over 15 GRPO updates. The dataset spans 10,000+ tasks authored by experienced software engineers and open-source contributors with expert review, built from real workflows in private enterprise codebases to avoid evaluation contamination; the 500-task subset was chosen in a 'learnable distribution' across 422 repos (Python 39.4%, TypeScript 24.2%, Go 20.4%, Rust 13.8%, JavaScript 2.2%) with 80.4% feature requests, 11.6% bug fixes, 8.0% enhancements. Training: 8 attempts per task, GRPO updating all LM parameters on each attempt's reward relative to the group, medium reasoning to speed rollouts; mean shaped reward rose 0.570 to 0.856 over 15 updates (each update a new batch of tasks), entropy held 0.509-0.605 nats/token with no sustained decline. Same-harness evals (mini-swe-agent, medium reasoning): DeepSWE pass@3 51.3%->68.1%; Terminal-Bench 2.1 pass@1 57.30%->61.42%, pass@3 73.03%->75.28%; SWE-Bench-Pro (Hard) pass@1 61.44%->64.71%, pass@6 flat at 88.24%.
- Paper
MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement
Technical report for Xiaomi's MiMo-V2.6 series (Pro-RL flagship and Flash-RL), built to scale RL toward self-improvement by scaling RL compute, environment diversity, and grader compute together. The recipe: 'You Only RL Once' — one fully asynchronous GRPO run mixing coding, general agents, visual, and cybersecurity tasks and multiple harnesses in the same batch (1,568 prompts x 16 rollouts, ~25K trajectories and billions of tokens per step, 30 steps); groupwise agentic grading (GRS rubrics + GAR advantage redistribution) that ranks passing solutions instead of binary pass/fail; training on minimal open-source mini-harnesses whose gains transfer to unseen production harnesses; environment hardening against reward hacking; and MOPD2 multi-prefix multi-teacher on-policy distillation after RL. Pro is a 1.02T-total / 42B-active sparse MoE with 1M-token omnimodal context.
- Dataset
deepswe-clm-train-embeddings-8k (DeepSWE CLM/PRM training embeddings)
MIT dataset of frozen Qwen3-8B last-token-pooled embeddings (4096-d float16): 405,919 steps · 4,701 trajectories · 113 tasks from DeepSWE training-pool rollouts. State = chat-templated step context truncated to last 8191 tokens; action = raw action text (embed_shard.py, max_model_len 8192). Columns include trajectory_id, step_idx, task_id, reward, model, config, state_embedding, action_embedding. Card notes this is the data released DeepSWE PRM heads (tarsur385/deepswe-prm-heads-8k) were fine-tuned on; CLM README uses the same dataset path for train/finetune.py --task clm. Eval rollouts called out separately as tarsur385/deepswe-prm-embeddings-8k; CLM README also mentions Contrastive-LM/deepswe-clm-embeddings-8k for bon_eval (not found on Hub at catalog).
- Model
deepswe-clm-heads-8k (DeepSWE CLM fixed-split verifier head)
MIT-licensed single CLM projection-head checkpoint for DeepSWE panel. Split seed 42 stratified by candidate/pass count; 75/38 train/eval task-disjoint; 66 training tasks with successful trajectories (59 train / 7 val); Bo4 candidate budget; trajectory score = mean of final 12 step scores. Heldout: 31/38=81.579%, pass@1 28/38=73.684%, oracle 34/38=89.474%. Init from Contrastive-LM/CLM-v0.1-8B/CLM_v0.1-8B.pt; train/finetune.py batch 512 seed 1234 up to 20 epochs patience 5. Reproduce via evaluation/bon_eval.py (README also cites Contrastive-LM/deepswe-clm-embeddings-8k for eval embeddings — missing on Hub at catalog time). Files: best_head.pt, heldout_tasks.json, split_summary.json, task_split.json, train_tasks.json, verification.json. Hub storage ~302 MB.
- Model
Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
CLM (Contrastive Language Model) is a System One decision model: separate state and action encoders trained with bidirectional InfoNCE so each state is pulled toward the ground-truth action and pushed from others; at deploy time candidates are scored by cosine similarity of L2-normalized embeddings and softmaxed into typed answers (Noul/Choice/Score) or ranked for best-of-N. Released CLM-8B uses a frozen Qwen3-8B backbone (hidden 4096, last-token pooling, L2 norm) plus a trainable MLP projection head 4096→1536→1536→512 (GELU+LayerNorm; ~20M params, output dim 512); only the head is trained; LLM embeddings can be precomputed. Full Nemotron DQA pretrain ~1 hour on one RTX 4090. Dual-encoder disaggregation caches state and action embeddings independently (authors contrast with Jev state-only caching). Action-caching example (Super Mario): 4 action embeddings precomputed; per-step cost drops from 5 forwards to 1 (~4×). Zero-shot blog table (CLM vs Jev latency / success): T-Rex 16.5 vs 149.8 ms (5/5 both); BFCL V4 tool calling 76.8 vs 125.5 ms (95.2% vs 99.2%); WikiRacing 79.8 vs 225 ms (26/30 vs 30/30); Super Mario 33.5 vs 132.6 ms (5/5 both) — up to ~9× faster, roughly on-par accuracy. Latency microbench (200-token state, RTX 4090, 15 tok/candidate): at 1024 candidates CLM ~44 ms vs Jev ~579 ms (~13×) vs constrained decoding Qwen3-8B ~4.3 s (~97×); candidate-length sweep (5 cands) CLM stays ~36 ms through 2048 tok while CD goes to 3.4 s and Jev to 333 ms (~9× / ~95×). Agentic verifier (38 DeepSWE / 30 Terminal-Bench 2.1 held-out; Opus 5 / Fable 5 candidates; H100): DeepSWE CLM 81.6% vs Jev 71.1% vs Pass@1 73.7% (79 vs 449 ms, 5.7×); Terminal-Bench 2.1 CLM 87.6% vs Jev 83.1% vs Pass@1 84.0% (32 vs 131 ms, 4.1×) — Jev below Pass@1 on both. Data recipe: pretrain ~60M Nemotron DQA → midtrain ~30M Gemini 2.5 Flash-Lite hard negatives → posttrain ~1M ADP + Endless-Terminals + LiteCoder-Terminal-SFT (40% Nemotron replay / 60% agentic). Hard-neg study (~100K held-out, 1 gold+10 HN): pretrain 52.1% → two-stage 69.2% vs HN-from-scratch peak 62.4%. Replay keeps HN top-1 ~68.5% vs 56.2% agentic-only. Scaling fits (test InfoNCE): L≈(C/7.34e13)^-0.144; (D/2.12e9)^-0.117; (N/3.60e5)^-0.061; (N_enc/4.18e9)^-0.172; optimal head N*∝D^1.02 (~310 tokens/param). Posted 2026-09-23 Notion blog; Jacky Kwok† project lead; Stanford + NVIDIA Research. Roadmap: multimodal CLM-35B early next month; vision; more data/scaling. Contact jackykwok@stanford.edu.
- Other
mimo-v2.6 RL (live training metrics dashboard)
JS dashboard at mimo.xiaomi.com/rl streaming two concurrent RL runs (mimo-v2.6-pro, mimo-v2.6-flash) directly from trainer logs. About copy: “We are streaming our RL big runs. The mimo-v2.6 series is coming soon.” Metrics look PPO/agentic: critic/rewards/mean, actor pg/entropy/grad_norm, train–infer KL, dynsam pass-rate (avg@n, zero/one), agent turns, sandbox env count, partial staleness, tokens/step, timing. Prompt mix categories: code, general, cyber, visual, chat. Offline DeepSWE v1.1 (mini-swe-agent, avg@3) charted vs step — at catalog time flash step 12 ≈ 60.77, pro step 8 ≈ 62.24. Live status showed pro mid-restart (VRAM notice), flash on step ~15; cumulative token/sandbox counters and $/s burn rates exposed. Social @XiaomiMiMo; footer “Open is what we value.” Not a paper — transparency artifact for upcoming V2.6; lineage continues MOPD/agentic RL from MiMo-V2-Flash (arXiv 2601.02780) and V2.5 stack (catalog 487).