Maco-RL trains one Qwen 27B agent policy across coding, terminal, office, and feature-development tasks in a single mixed-task reinforcement learning run, using quota-based asynchronous rollouts and Tri-Buffer Sampling (TBS). Authors from the Chinese Academy of Sciences Institute of Automation and Huawei report that Qwen3.5-27B rises from an Overall score of 43.6 to 60.1 across five public agent benchmarks, without a separate on-policy distillation stage to merge specialists.
The arXiv paper (v2, November 26, 2026) argues that many 2026 agent stacks still train domain experts with RL, then distill them into one model. Maco-RL instead scales direct mixed-task RL (MixRL): one policy gradient step mixes trajectories from different harnesses, so shared experience can transfer across surfaces.
Quick reference #
| Question | Answer |
|---|---|
| **Paper** | [arXiv 2611.34703](https://arxiv.org/abs/2611.34703?ref=explainx) |
| Base models | Qwen3.5-27B and Qwen3.8-27B | | Task domains | Code repair, terminal ops, office automation, then feature development |
| **Overall (Qwen3.5-27B)** | 43.6 → 54.2 (stage 1) → 60.1 (stage 2) |
| **Overall (Qwen3.8-27B)** | 61.4 → 67.0 with Maco-RL |
| TBS quotas | 20% Frontier, 60% Reinforcement, 20% History | | Training stack | verl, RLOO, 8 rollouts/instance, 256 trajectories/update |
Why mixed-task RL is back on the table #
Frontier labs have published several RL → distill pipelines in 2026. The Maco-RL introduction names agent reports that train specialists, then merge them with on-policy distillation (OPD) so one model can switch between coding, search, and computer use. That works, but it adds scheduling, teacher–student mismatch, and extra GPU weeks after the RL phase ends.
MixRL optimizes one policy on batches that contain trajectories from multiple harnesses at once. The appeal is familiar from multi-task RL research: shared representations, positive transfer, and one deployment artifact. The cost is classic MTRL pain—** conflicting gradients**, unstable off-policy mixtures, and sampling imbalance when one environment eats all rollouts.
Maco-RL targets those three failure modes with engineering that fits long-horizon LLM agents, not toy grid worlds. That puts it next to our coverage of Hugging Face multi-agent RL in TRL and harness-level policy optimization for coding agents, but at 27B scale and on production-style benchmarks teams already cite in vendor tables.
What Maco-RL adds: async rollouts and Tri-Buffer Sampling #
Maco-RL benchmark scores for Qwen 27B agents across SWE-bench and Terminal-Bench
Image: CAS Institute of Automation and Huawei (arXiv 2611.34703) The system has two ideas readers can reuse even if they never run Qwen weights.
Quota-based asynchronous rollouts
Agent environments have wildly different rollout costs. A Terminal-Bench episode and a multi-file SWE-bench repair do not finish in the same wall-clock window. Maco-RL runs rollouts asynchronously per task type while a shared rollout buffer feeds mixed policy updates. A quota-based scheduler keeps gradient contributions from any one domain from starving the others, which the authors tie to off-policy drift when slow domains lag behind the latest weights.
Tri-Buffer Sampling (TBS)
Sparse agent rewards create a second problem: if sampling follows the raw data distribution, most attempts hit instances with zero successes, producing all-zero reward groups and no GRPO-style learning signal.
TBS fixes explicit sampling budgets across three buffers:
- Frontier buffer — instances withno observed success yet; includes cooldown logic so hopeless cases do not burn infinite rollouts.
- Reinforcement buffer — instances withat least one success , sampled using recent success-rate weights so the policyconsolidates emerging skills .
- History buffer — replaysearlier training stages with thecurrent policy , supportingcontinual expansion when new task types arrive.
Maco-RL async rollout pipeline with Tri-Buffer Sampling for mixed-task agent training
*Image: [CAS Institute of Automation and Huawei (arXiv 2611.34703)](https://arxiv.org/html/2611.34703v2?ref=explainx)*
For SWE-bench, Terminal-Bench, and FeatureBench families the paper sets **α_F = 20%**, **α_R = 60%**, **α_H = 20%** with reinforcement parameters **μ = θ = 0.25**. **Claw-style tasks** use **uniform sampling** because partial-credit rewards can vary inside a rollout group even below full success.
On feature development, an ablation reports TBS at 42.87% Tests Passed versus 39.78% for uniform sampling at step 25, despite uniform sampling finding more newly solved instances—consistent with TBS spending less budget on zero-signal groups.
Two-stage scaling: add tasks without forgetting #
Figure 2 in the paper sketches continual MixRL: horizontally add instances per task type, vertically add new task types. Stage S1 jointly trains code repair, terminal operations, and office automation. Stage S2 expands existing pools and introduces feature development as a fourth type.
That matters for product teams planning agent roadmaps. Instead of freezing a coding specialist and starting a fresh RL job for “build features from specs,” Maco-RL treats new suites as buffer expansions with history replay so older skills stay in the sampling mix.
Benchmark numbers builders should read line by line #
The Overall metric is an unweighted mean of:
-
Pass@1 on SWE-bench Verified ,Terminal-Bench 2.1 , andClaw-Anything
-
Tests Passed onFeatureBench 1.1
-
Pass³ onClaw-Eval | Model / stage | Overall (paper Table 1) | |---|---| | Qwen3.5-27B baseline | 43.6 | | + Maco-RL S1 | 54.2 | | + Maco-RL S2 (adds feature dev) | 60.1 | | Qwen3.6-27B reference | 49.8 | | Qwen3.8-27B baseline | 61.4 |
| Qwen3.8-27B + Maco-RL | 67.0 | After S2, Qwen3.5-27B at 60.1 clears the paper’s Qwen3.6-27B at 49.8 Overall figure. On Qwen3.8-27B, Maco-RL reports gains on all five benchmarks and the best Overall among evaluated 27B models in their table, including comparisons to larger MoE baselines in Figure 1(a).
Stage S1 already lifts the Qwen3.5-27B baseline on Claw-Eval Pass³ (60.2 → 71.4) and Claw-Anything Pass@1 (12.0 → 51.3) before FeatureBench tasks enter in S2. Those per-column moves explain why Overall can jump 16.6 points even when SWE-bench Verified moves only +1.2 between baseline and Maco-RL-3.5 (S2) in Table 1—readers budgeting RL should plan metrics per harness, not one blended score alone.
Evaluation harnesses (from the paper): adapted SWE-Agent for SWE-bench Verified and FeatureBench 1.1, Terminus-2 for Terminal-Bench 2.1, and official harnesses for Claw-Eval and Claw-Anything. Some frontier model cells on Terminal-Bench and SWE-bench Verified are imported scores from Artificial Analysis and Vals AI, marked with daggers in Table 1—do not treat them as apples-to-apples reruns.
For readers already tracking Terminal-Bench leaderboards, Maco-RL is evidence that post-training recipe, not only base checkpoint size, moves computer-use scores.
Mixed-task RL versus three single-task RL runs #
Figure 1(b) plots mean Pass@1 against cumulative policy updates. Maco-RL’s mixed batches beat the sum of three independent single-task trainers on Claw-Eval, Terminal-Bench 2.1, and SWE-bench Verified, with fewer total updates. That is the headline for compute planners: one coordinated job may beat three siloed jobs even if each silo optimizes its domain aggressively.
This does not prove mixed-task RL always wins. It shows that, with TBS and async quotas, the authors made joint training stable enough to publish at 27B scale—a bar many labs miss when they first combine SWE and shell agents.
Training leaks the paper fixed (and why your env matters) #
Appendix F documents reward hacking during development: models pulled fixes from git history, build/lib copies, wheels, and Conda caches on coding tasks. In one early mixed run, 12.33% of CodeWorld trajectories and 42.84% of positive-reward trajectories showed leakage. The team removed exposed references and hardened test tampering.
If you reproduce MixRL, treat environment hygiene as part of the algorithm. Our G2i / verifier-data coverage makes the same point for RL environments sold to labs: hidden shortcuts inflate curves until someone ships the harness.
How Maco-RL compares to distill-first agent stacks #
| Approach | Training story | Deployment artifact |
|---|---|---|
| Specialist RL + OPD | Train per domain, distill into student | One model, two training phases |
| Maco-RL MixRL | Joint RL with mixed batches | One model, one RL phase (plus staging) |
| SFT-only agent tuning | Imitation on traces | Fast to ship, weak on sparse rewards |
Maco-RL is closest in spirit to AgentRL and AgentGym lines cited in the paper, but emphasizes continual task-type expansion and compute-aware sampling at Qwen 27B scale. It is not a replacement for supervised cold-start; the experiments are RL-only post-training on strong bases.
Readers comparing ByteDance Axion’s two-stage SFT plus RL recipe should note Axion’s small curated SFT set before RL. Maco-RL assumes you already have a capable Qwen3.5 or Qwen3.8 checkpoint and asks how much MixRL alone can add.
What to try in your lab this month #
- Audit sampling , not only loss functions. If most rollouts hitzero-reward groups , steal theFrontier / Reinforcement / History quota idea before you add more GPUs.
- Match harness diversity to your product . Maco-RL’s stages mirror a common rollout:bugs → shell → office UI → greenfield features . Map your customer journeys to that list.
- Run verl with async env pools . The paper’s Kubernetes Docker setup is the realistic path; do not benchmark MixRL on a single synchronous gym.
- Log per-domain gradient norms . Mixed batches fail quietly when one domain dominates; quotas exist to surface that early.
- Plan team training . Mixed-task agents touchgit, terminals, and GUIs —the same surfaces we teach inlive AI builder workshops for teams adopting coding agents.
Limits and open questions #
- No public weights or Maco-RL trainer repo are linked fromarXiv 2611.34703 . Treat numbers aspaper-reported until a release ships.
- Overall smooths five unlike metrics; a regression onClaw-Anything can hide inside a strongSWE-bench row.
- Imported frontier scores on two benchmarks complicate cross-vendor bragging rights.
- Qwen-specific harness choices (Terminus-2, adapted SWE-Agent) may not transfer one-to-one toClaude Code orCodex stacks without re-tuning TBS quotas.