Xiaohongshu AllSpark's ROSS relearns from past rollouts, adding up to 4.2 points on SWE-bench
小红书技术REDtech · wechat · 2026-10-20
Xiaohongshu's AllSpark team published ROSS (Relearning from Self-Generated Rollouts through Selective Supervision), a method that mines historical training rollouts for additional learning signal after RL or on-policy distillation has finished. Code is open-sourced.
Key insights
- Historical rollouts remain highly compatible with the current policy: on math problems, their average NLL under the current model (0.120) matches current-policy outputs, far below external teacher outputs (0.520)
- Compatibility ≠ mastery: on 98 previously-solved hard problems, the final model's pass@1 was only 37.7% (pass@32: 99.0%), showing many effective behaviors were never consolidated
- Naive SFT on all successful rollouts actually hurts performance; selective supervision is essential
Method
- Filter successful trajectories with task verifiers (answer checks, unit tests, or environment signals)
- Use an LLM judge (GLM-5.2 high-thinking) to audit and locate imitable spans in the original text; discard samples without reliable targets
- Masked SFT: keep full context, compute loss only on selected model-generated tokens — past mistakes aren't imitated but remain as context for understanding later corrections
Results (Qwen3.6-35B-A3B)
- Single-turn RL: math 75.19%→76.98%, code 42.09%→44.21%
- Multi-teacher on-policy distillation: 58.40%→62.20% (+3.80), gains across all six benchmarks
- Agentic RL: SWE-bench Verified 64.20%→68.40% (+4.20)
More from coding & agent
- OpenJet claims Qwen3.8-27B coding runs 1.9x faster than llama.cpp on one RTX 3090 — JeremyCMorgan · 2026-10-23
- Building an autonomous SEO agent in Hermes with three skills: programmatic pages, Keywords Everywhere, DataForSEO — EXM7777 · 2026-10-23
- Building a sports betting AI agent with onchain execution and human approval by default: architecture and lessons — Dry-Comfortable-2678 · 2026-10-23
- Capy 0.5.0 lets Claude Pro/Max subscribers reuse their plan quota, adds OIDC cloud access — garrytan · 2026-10-23
- You.com CEO Richard Socher: legacy code is human slop, let AI clean it up — RichardSocher · 2026-10-23
- Let agents design a single-line glance component so you can track them from the sidebar — blixt · 2026-10-23