Explore the research collection
2 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%.
- Post
The Unreasonable Efficiency of a Single Gradient Step (Base Labs)
Tests whether recent claims about rank-1/linear extrapolation of early RL updates (RELEX, arXiv 2605.21468; arXiv 2601.04537; arXiv 2510.00553) really hold, and finds them less general than claimed. Replication: training Qwen2.5-Math-1.5B with GRPO for 500 steps on MATH, extrapolating the first k steps via a fitted rank-1 direction recovers the full 500-step gains (66.0% with just the first 2 steps vs 63.8% actual step 500, base 46.9%); scaling the very first gradient step 1000x yields 66.7%. But: 72.0% of the corrected questions were base rollouts showing heavy repetition — RL fixed them mostly by stopping the model from doom-looping ('You are a helpful assistant. 🎉' repeated forever), i.e. exploiting linear structure is largely about removing easy failure modes, not gaining new capabilities. Off-distribution it breaks: first-step scaling does nothing for function calling or Knights & Knaves. Gains vanish at scale: on Qwen3-8B-Base the RELEX fit degrades vs actual training (RELEX-K 7.6% vs actual 97.0% on Knights & Knaves at K=500). Takeaway: RL trajectories being 'basically straight' is too good to be true; the extrapolation gains come from easier problems and fixing doom loops, while harder environments are less linearly extrapolatable. The team believes extractable structure still exists in general RL optimization dynamics and is continuing this direction. Code and checkpoints released in the article; practical lesson: always inspect rollouts, not just metrics. Relevant to the user's post-training work: a 'free lunch' check on recent RL-efficiency results.