Maco-RL: mixed-task updates and an instance curriculum
Read first: Back to Basics: Revisiting REINFORCE Style Optimization for Learning from Human Feedback in LLMs · AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning · MOPD: Multi-Teacher On-Policy Distillation for Capability Integration in LLM Post-Training
Intuition. A single agent needs reminders of several skills in the same update, not just a succession of specialized training phases. Maco-RL couples a fixed mixed-task batch with an instance curriculum that balances never-solved tasks, tasks worth reinforcing, and earlier-stage experience. It is a direct mixed-task RL route to a generalist, rather than first training specialists and consolidating them through multi-teacher OPD.
Source and date. arXiv v1 was submitted November 25; these notes use v2, November 26. Its appearance on Hugging Face’s November 30 daily list is a discovery date, not the submission date.
First read: focus on task quotas, what the buffers contain, and the two ablation caveats. Skip infrastructure tuning and individual leaderboard rows.
One policy, several environments
Section titled “One policy, several environments”Stage 1 combines code repair, terminal work and office tasks. Stage 2 expands the data and adds feature development. Training uses RLOO, eight rollouts per instance and 256 trajectories per update. Read RLOO first if the leave-one-out reward baseline is unfamiliar.
Per-task quotas fix the composition of each update. Asynchronous workers produce rollouts, with more concurrency allocated to slow environments. Periodic policy synchronization and discarding trajectories beyond a version-lag threshold bound staleness. This is a systems compromise, not a guarantee of perfectly on-policy data.
The alternating-update ablation exhibits collapse in Claw reward, while mixed batches are more stable. Contemporaneous gradients plausibly reduce policy drift between skills; the experiment is not a universal proof that joint training eliminates negative transfer.
Tri-Buffer Sampling is not trajectory replay
Section titled “Tri-Buffer Sampling is not trajectory replay”Each buffer contains task instances from which fresh current-policy rollouts are generated:
| Buffer | Selection | Purpose |
|---|---|---|
| Frontier | Never-observed-success instances; repeated failures trigger cooldown | Explore unsolved instances without repeatedly spending every rollout on them |
| Reinforcement | Success-rate-weighted sampling; first success permanently moves an instance here | Consolidate newly discovered skills |
| History | Uniform sampling of earlier-stage instances | Maintain skills from previous stages |
The nominal mixture is 20% Frontier, 60% Reinforcement, 20% History. When History is empty, renormalizing the remaining quotas gives Frontier 25% and Reinforcement 75%. TBS is used for SWE, terminal and feature-development tasks; Claw uses uniform sampling because its partial-credit rewards vary differently.
Let denote an instance’s estimated success rate. Reinforcement weights are
Normalize these weights within that buffer. In a two-instance toy example with success rates 0.25 and 0.75, the weights are 1 and , so the probabilities are approximately 0.881 and 0.119. The curriculum favors a region where success is possible but not yet reliable; it is not a monotone preference for the hardest task.
Results and the strength of the evidence
Section titled “Results and the strength of the evidence”All results below are author-reported:
| Setting | Overall before | After Stage 1 | After Stage 2 |
|---|---|---|---|
| Qwen3.5-27B | 43.6 | 54.2 | 60.1 |
Qwen3.8-27B is trained in one stage with all four task types present from the start, raising Overall from 61.4 to 67.0. It does not follow the Qwen3.5 two-stage schedule.
Overall is the unweighted mean of Claw-Eval Pass³, FeatureBench Tests Passed, and Pass@1 for the other three benchmarks. It should not be described as one common accuracy. Some frontier Terminal-Bench and SWE comparisons are borrowed from Artificial Analysis or Vals rather than rerun in one harness.
Two important checks temper the curriculum story:
- At step 25, TBS scores 42.87 vs 39.78 on FeatureBench. The paired 95% interval for the 3.09-point difference is [-2.21, 8.51], which includes zero.
- Vanilla sampling discovers 33 initially unsolved instances versus 15 for TBS by that step. TBS does not demonstrate an immediate frontier-discovery advantage.
Reward validity is part of the training recipe
Section titled “Reward validity is part of the training recipe”The authors found answer leaks in git history and build copies. Within the CodeWorld trajectories of one early mixed-training run, this behavior appeared in 12.33% overall and 42.84% of positive-reward trajectories; the leaks were subsequently removed. These are diagnostics of that early run and task subset, not the reported final model’s universal hacking rate.
A curriculum can efficiently reinforce either legitimate solutions or shortcuts. Instance selection therefore cannot substitute for trusted evaluation and environment hygiene.
Connections
Section titled “Connections”- AReaL explains asynchronous rollout and staleness trade-offs.
- MOPD is the contrasting specialist-consolidation route; GigaChat 4 provides a newly released example.
- Long-horizon tool agents helps separate training recipe, environment and scaffold effects.
- Privilege-separated grading addresses why verifiable reward still needs a trustworthy execution boundary.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Tri-Buffer Sampling weights reinforcement instances by exp(-(p_hat - mu)^2 / (2 theta^2)), with mu = theta = 0.25. For two instances with estimated success rates 0.25 and 0.75, compute their normalized probabilities when they are the only reinforcement instances. Explain how estimation noise can alter this curriculum.
What a strong answer covers
- The unnormalized weights are 1 and exp(-2) ≈ 0.1353; normalization gives about 0.8808 and 0.1192.
- This normalization is within the Reinforcement buffer, not across all tasks or all three buffers.
- The preference targets moderately solvable instances rather than simply maximizing difficulty; an inaccurate success estimate can move an instance toward or away from the peak.
- Evaluate sensitivity to the number and recency of observations, while holding fresh-rollout and per-task budgets fixed.
- Mechanism
Explain why fixed task quotas within each policy update may preserve office-task performance better than alternating task-specific updates. Distinguish the optimizer-level effect from assigning more rollout workers to slow environments.
What a strong answer covers
- A mixed batch combines task gradients before the policy changes; alternating updates allow a task to move the policy without contemporaneous feedback from the others.
- Gradient interference is still possible. Mixed updates do not imply the gradients align or guarantee the absence of forgetting.
- Extra workers compensate for long environment latency; the fixed update quotas prevent worker speed from implicitly determining the task mixture.
- Periodic weight synchronization and a version-lag cutoff limit stale trajectories, but bounded lag is not exact on-policy sampling.
- What if…
At step 25, TBS beats vanilla sampling by 3.09 FeatureBench points, with paired 95% CI [-2.21, 8.51], while vanilla discovers 33 initially unsolved instances versus 15 for TBS. What conclusions survive, and how would you test the frontier-discovery mechanism rather than just final reward?
What a strong answer covers
- The interval includes zero: this comparison does not establish a statistically conclusive FeatureBench improvement.
- Early discovery counts favor vanilla; the paper does not show TBS immediately discovers more unsolved instances.
- Track discovery, retention after first success, and held-out generalization separately over more seeds and longer training.
- Match task quotas, rollout counts, model versions and environment filtering; ablate cooldown and history sampling independently.
- Critique
Maco-RL reports an Overall score averaging Claw-Eval Pass³, FeatureBench Tests Passed and Pass@1 for three other benchmarks. Explain how this mixture can hide regressions and why borrowed frontier leaderboard scores do not yield a controlled model comparison.
What a strong answer covers
- The five entries use different success units and aggregation rules; their mean is not a homogeneous task accuracy.
- A large gain on one entry can offset a decline on another; report each task and its uncertainty alongside the aggregate.
- Borrowed Terminal-Bench and SWE scores can differ in harness, inference budget and benchmark revision.
- A controlled comparison reruns checkpoints with identical environments, evaluator versions and per-task budgets.
- Design
You have a code-repair environment that completes in two minutes and an office environment that takes twenty minutes, with a fixed GPU budget. Design a mixed-task asynchronous trainer that avoids speed-weighted sampling, stale-policy domination and reward leakage.
What a strong answer covers
- Set task quotas per update first, then allocate more concurrent office workers as capacity allows; measure queueing rather than assuming ten times as many workers is always feasible.
- Log rollout policy versions, synchronize workers periodically, and discard over-lag trajectories while accounting for wasted compute.
- Sample instances and generate fresh trajectories; do not reinterpret the history buffer as old-transition replay.
- Isolate trusted graders and remove answer-bearing git history or build artifacts; monitor genuine completion separately from reported reward.