Maco-RL directly trains a shared 27B policy across code repair, terminal operations, office tasks, and feature development. Asynchronous rollouts, mixed-task updates, and Tri-Buffer Sampling support stable joint learning and continual expansion. Qwen3.5-27B improves from 43.6 to 60.1 Overall across two stages; a separate four-task run improves Qwen3.8-27B from 61.4 to 67.0. Mixed-task training also reaches higher mean Pass@1 than three independent specialists at comparable compute cost.
Performance vs. model size
17 models
Training efficiency
+4.14 pp
Maco-RL-3.5Single-task RL
Click to pin and compare.
Model performance and training efficiency. Overall averages five benchmark metrics; “?” marks models with unspecified parameter counts. Specialist updates are summed across three tasks. The curves show seven mixed-training checkpoints and four specialist checkpoints.
Results
Continual gains across five benchmarks.
Qwen3.5-27B improves from 43.6 to 54.2 Overall in Stage 1 and reaches 60.1 after task expansion in Stage 2. A separate four-task run brings Qwen3.8-27B from 61.4 to 67.0.
Model performance comparison
Model
Claw-Eval Pass³
Claw-Anything Pass@1
Terminal-Bench 2.1 Pass@1
SWE-bench Verified Pass@1
FeatureBench 1.1 Resolved
FeatureBench 1.1 Tests Passed
Overall
Frontier models
Claude-Opus-5 (high)
73.9
34.7
87.6†
97.0‡
40.0
67.2
72.1
DeepSeek-V4-Pro (high)
67.7
43.3
78.7†
96.4‡
11.0
38.9
65.0
GLM-5.3 (max)
66.5
30.0
83.9†
95.4‡
12.0
46.3
64.4
GPT-5.6-Sol (medium)
60.3
21.3
86.1†
96.2‡
12.0
49.8
62.8
Kimi-K3 (max)
55.3
28.0
85.0†
93.4‡
7.0
22.9
56.9
Baseline models
Qwen3.5-27B
60.2
12.0
40.5
67.4
3.0
37.9
43.6
Qwen3.6-27B
68.3
14.2
56.2
71.2
4.0
39.0
49.8
Qwen3.8-27B
71.4
46.0
68.9
70.2
9.0
50.3
61.4
Maco-RL (ours)
Maco-RL-3.5 (S1)
71.4
51.3
52.4
67.0
6.0
28.6
54.2
Maco-RL-3.5 (S2)
73.3
64.6
54.3
68.6
6.0
39.9
60.1
S2 gain over Qwen3.5-27B
+13.1
+52.6
+13.9
+1.2
+3.0
+2.0
+16.6
Maco-RL-3.8
74.5
55.2
72.3
79.0
12.0
54.2
67.0
Gain over Qwen3.8-27B
+3.1
+9.2
+3.4
+8.8
+3.0
+3.9
+5.7
Overall is the unweighted mean of Claw-Eval Pass³, FeatureBench Tests Passed, and Pass@1 on the other three benchmarks. FeatureBench uses the 1.1 fast split.
Pass³ requires success on all three attempts for a task. Tests Passed averages per-task target-test pass rates. S2 continues the Qwen3.5 S1 run. Maco-RL-3.8 starts from its own base model with all four task types.
Maco-RL-3.5 and Maco-RL-3.8 achieve reported Overall gains of +16.6 pp and +5.7 pp over their respective bases. Scores are percentages, rounded to one decimal place. Evaluation protocol.
† Frontier-model Terminal-Bench 2.1 scores are from Artificial Analysis. ‡ Frontier-model SWE-bench Verified scores are from Vals AI, as cited in the paper. Other scores are the authors’ evaluations. FeatureBench Resolved reports fully solved tasks. Gain rows are in percentage points.
Continual expansion
Add instances. Add task types. Keep learning.
Qwen3.5 Stage 1 jointly trains code repair, terminal operations, and office tasks. Stage 2 continues from this policy, expands the task pools, and adds feature development.
S2 retains 11,086 earlier instances and adds 10,452 new ones, reaching 21,538 training instances.
Performance scales with task expansion.
Overall score (%) across five benchmarks
Qwen3.5-27B Continual training
Base43.6Before RL
Stage 154.23 task types
Stage 260.14 task types
Stage 2 adds feature development and expands the existing task pools.
Qwen3.8-27B Separate run
Base61.4
4 task types20,875 instances
Maco-RL-3.867.0
All four task types are available from the start.
Data composition
Training data across stages.
Training instances by environment
Environment
Qwen3.5-27B
Qwen3.8-27B
S1
S2 added
S2 total
Single stage
Claw-Anything
3,800
+1,546
5,346
5,346
SWE
4,772
+3,013
7,785
4,773
TMax
2,514
+2,789
5,303
6,412
CodeWorld
—
+3,104
3,104
4,344
Total
11,086
+10,452
21,538
20,875
Counts are training instances retained after preprocessing. Qwen3.5 Stage 2 combines all Stage 1 instances with the new additions. Qwen3.8 uses its own four-environment pool from the start.
Training efficiency
Higher performance at comparable compute cost.
Across Claw-Eval, Terminal-Bench 2.1, and SWE-bench Verified, mixed-task RL reaches a higher best-so-far mean Pass@1 than three independently trained specialists at comparable compute cost.
Training cost and performance
Training approach
Output tokens
Compute hours
Best-so-far mean Pass@1 (%)
Three specialists, combined
1.821B
13,090.6
64.28
Maco-RL
1.852B
12,572.4
68.41
Costs cover the observed training window, shared initial screening, and restarted work. Output tokens exclude prompts and tool observations. The mixed model uses scores from one model state, while each specialist uses its best observed state within its budget. The paper reports a +4.14 pp gain. Read the cost analysis.
Method
Mixed-task learning, from sampling to updates.
Asynchronous rollouts and mixed-task updates train one shared policy. Tri-Buffer Sampling balances exploration, consolidation, and retention as the task pools grow.
Async rollouts & mixed updates
Collect experience in parallel, then learn from all required task types in every policy update.
Parallel workers feed a shared buffer; the learner assembles batches using per-task quotas.
Generate experience in parallel. Per-environment slots control rollout concurrency. Allocating more slots to slower tasks helps meet batch quotas, while policy-version checks limit trajectory staleness.
Learn jointly. Every update mixes task groups from the required environments, so the shared policy receives learning signals across task types.
Tri-Buffer Sampling
Allocate rollout opportunities to unsolved instances, emerging capabilities, and tasks from earlier stages.
The first success moves an instance into Reinforcement; History receives fresh rollouts from the current policy.
Frontier 20%
Explore unsolved instances; repeated failures pause briefly before retrying.
Reinforcement 60%
Prioritize low but nonzero success rates to consolidate emerging capabilities.
History 20%
Revisit earlier-stage instances with fresh rollouts to retain prior capabilities.
Ablations
Stability and sampling matter.
Controlled comparisons examine the effects of mixed-task updates and the balance between exploring unsolved instances and reinforcing occasional successes.
Mixed-task updates sustain training
Starting from the same S1 checkpoint, alternating single-task updates lead to a collapse in Claw reward at step 25. Gradient mixing maintains stable reward over the observed interval.
Stage 2 comparison from the same initialization.
Balance exploration and reinforcement
At step 25, TBS reaches 42.87% FeatureBench Tests Passed, compared with 39.78% for uniform sampling. The gain is 3.09 pp, with a task-paired 95% confidence interval of [−2.21, 8.51].
Uniform sampling discovers 33 initially unsolved instances over the interval, versus 15 for TBS. TBS allocates more opportunities to consolidating emerging capabilities.
The right panel shows cumulative solvable instances, including those solved during initial screening.
An example
Completing the Iceberg read–write path.
Two Qwen3.8 validation trajectories on the same pandas task illustrate how behavior changes during training. The target suite contains six read tests and five write tests.
Step 20
6 / 11 target tests passed
The early trajectory implements the read interface. All five write tests fail.
Step 180
11 / 11 target tests passed
The later trajectory connects DataFrame.to_iceberg to append and overwrite operations, completing the write path.
These paired trajectories show the same pandas Iceberg task at two training checkpoints. The later trajectory is on the left and the earlier trajectory is on the right.
Read the paired trajectory excerptsReasoning, actions, and observations excerpted in the paper.
Citation
If you find our work useful, please consider citing:
@misc{zhang2026macorl,
title = {{Maco-RL}: Scaling Agent Capabilities with Mixed-Task Reinforcement Learning},
author = {Jiacheng Zhang and Qixing Zhou and Haiyang Wang and Qipeng Gu and Shuzhe Wu and Feiyang Pan and Lue Fan and Dandan Tu and Zhaoxiang Zhang},
year = {2026},
eprint = {2611.34703},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2611.34703}
}