1Ant Group
{yimo.shl, chenglei.wcl, jingdongchen.cjd, penghan.peng}@antgroup.com
* Equal contribution † Corresponding authors
Abstract
Multimodal agents can now develop websites from reference screenshots through long-horizon workflows of perception, coding, and verification. Existing methods typically train agents through supervised fine-tuning (SFT) on trajectories selected by final task outcomes, or reinforcement learning (RL) with trajectory-level rewards. However, even successful trajectories can contain redundant actions, regressions, or inadequate verification. Outcome-level supervision provides limited feedback on which intermediate steps to reinforce and which to correct. In this paper, we propose Bowerbird, a framework that combines step-level evaluation, feedback-guided strategy evolution, and strategy internalization. Specifically, step-level evaluation provides dense progress feedback by rewarding newly passed functional and visual checks, penalizing regressions, and accounting for turn and token costs. Using this feedback, strategy evolution develops a self-evolving behavioral playbook without updating model parameters, retaining only revisions that improve validation performance. Strategy internalization supplies the evolved playbook as privileged input during SFT, followed by RL with dense step rewards and no playbook. At inference, the agent requires no additional strategy guidance. Across challenging visual coding tasks, Bowerbird improves the overall score over outcome-based training by 18.8%, while reducing token usage and interaction turns by 31.8% and 32.2%, respectively. It also achieves state-of-the-art results among models below 500B parameters and even matches closed-source models.
Contributions
The base model can exhibit useful development behaviors but rarely adopts them on its own: it organizes image assets into a labeled contact sheet before coding in only 1.1% of its trajectories and inspects the rendered page after its last edit in only 10.6%.
Action-level credit from information value during perception, code progress during coding, and changes in passed checks during verification, minus turn and token costs.
A self-evolving behavioral playbook keeps only revisions that improve validation performance; SFT and RL then teach the agent to apply the strategies without the playbook at inference.
Bowerbird outperforms all evaluated open-source models below 500B total parameters and selected closed-source models, while remaining competitive on general multimodal benchmarks.
Pilot study
We study visual coding, where agents repeatedly write, run, and revise websites from design screenshots, assets, and functional requirements, and replay the edit logs of a frontier model to compare successful and failed attempts.
62.8% of successful full-stack trajectories contain edits that break previously passed checks.
Whole-file rewrites have a positive mean step reward during coding but a negative one during verification.
Reviewing assets in contact sheets and cropping missing assets occur in only 3.8% and 1.6% of successful trajectories.
Method
Assigns action-level credit based on information value during perception, code progress during coding, and changes in passed checks during verification, while accounting for turn and token costs.
Starting from an empty playbook, iteratively refines strategies from contrasting trajectory segments and retains only revisions that improve validation performance, without updating model parameters.
The playbook guides trajectory regeneration and serves as privileged input during SFT; RL then removes it and uses dense step rewards to refine when to apply strategies and when to stop.
Results
Bowerbird raises the overall score of the base model from 57.7 to 78.2, achieving 81.6, 85.0, and 68.0 on static, interactive, and full-stack tasks. Among the listed open-source models, only Kimi-K3 scores higher overall, while Bowerbird achieves the highest interactive score. It also outperforms Gemini-3.7-Flash, Claude-Opus-4.8, and GPT-6-Luna overall, and exceeds Qwen3.8-Max by 3.5 points with about 5% of its parameters.
Bars are drawn from Table 1 on a 0–100 scale and sorted by the selected metric; task-type scores are averages over devices (static) or over visual and functional scores (interactive, full-stack).
| Model | Params | Harness | Overall | STATIC WEBPAGE | INTERACTIVE | FULL-STACK | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Desktop | Tablet | Mobile | Avg | VS | FS | Avg | VS | FS | Avg | ||||
| Open-Source Models | |||||||||||||
| Kimi-K3 | 2.8T | Claude Code | 79.0 | 85.1 | 80.4 | 78.8 | 81.4 | 71.1 | 92.1 | 81.6 | 65.2 | 82.8 | 74.0 |
| GLM-5.3-Flash | 320B | Claude Code | 77.8 | 89.6 | 85.1 | 85.4 | 86.7 | 68.5 | 89.1 | 78.8 | 58.7 | 77.4 | 68.0 |
| DeepSeek-V4.1-Flash | 552B | Claude Code | 72.6 | 81.2 | 78.6 | 77.9 | 79.2 | 59.3 | 90.4 | 74.9 | 49.5 | 78.0 | 63.8 |
| DeepSeek-V4-Flash-Vision | 305B | Claude Code | 67.6 | 74.8 | 69.5 | 67.3 | 70.5 | 53.2 | 86.9 | 70.0 | 45.8 | 78.4 | 62.1 |
| MiniMax-M3 | 428B | Claude Code | 59.0 | 58.8 | 51.6 | 51.8 | 54.1 | 47.9 | 83.4 | 65.7 | 42.4 | 72.4 | 57.4 |
| Kimi-K2.6 | 1T | Claude Code | 54.8 | 57.3 | 52.7 | 50.8 | 53.6 | 40.1 | 81.2 | 60.6 | 36.2 | 64.2 | 50.2 |
| Qwen3.5-122B-A10B | 122B | Claude Code | 44.9 | 69.7 | 62.7 | 58.0 | 63.5 | 24.7 | 56.6 | 40.7 | 19.4 | 41.9 | 30.7 |
| Qwen3-VL-8B | 8B | Claude Code | 4.0 | 12.4 | 11.9 | 11.3 | 11.9 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| Closed-Source Models | |||||||||||||
| GPT-6-Astra | – | Codex | 86.5 | 94.4 | 93.1 | 93.4 | 93.6 | 82.6 | 92.8 | 87.7 | 75.1 | 81.0 | 78.0 |
| Claude-Fable-5 | – | Claude Code | 82.3 | 89.6 | 86.7 | 86.1 | 87.4 | 78.1 | 88.3 | 83.2 | 69.0 | 83.6 | 76.3 |
| Claude-Opus-5 | – | Claude Code | 80.2 | 91.2 | 89.5 | 89.8 | 90.1 | 74.4 | 88.7 | 81.5 | 68.0 | 70.0 | 69.0 |
| Gemini-3.7-Flash | – | Gemini CLI | 76.5 | 86.4 | 81.6 | 80.3 | 82.8 | 63.1 | 86.7 | 74.9 | 57.0 | 86.6 | 71.8 |
| Claude-Opus-4.8 | – | Claude Code | 76.1 | 82.0 | 74.1 | 70.9 | 75.7 | 67.9 | 91.1 | 79.5 | 60.6 | 85.7 | 73.1 |
| GPT-6-Luna | – | Codex | 76.0 | 89.2 | 85.0 | 87.7 | 87.3 | 60.2 | 95.9 | 78.0 | 51.3 | 73.9 | 62.6 |
| Qwen3.8-Max | 2.4T | Claude Code | 74.7 | 77.6 | 71.4 | 69.7 | 72.9 | 62.2 | 91.2 | 76.7 | 60.3 | 88.4 | 74.3 |
| GPT-5.6-Sol | – | Codex | 73.5 | 87.9 | 84.4 | 85.0 | 85.7 | 64.8 | 83.2 | 74.0 | 49.1 | 72.1 | 60.6 |
| Claude-Opus-4.6 | – | Claude Code | 57.6 | 60.4 | 54.7 | 54.6 | 56.6 | 44.5 | 75.2 | 59.8 | 41.9 | 71.1 | 56.5 |
| Gemini-3.1-Pro-Preview | – | Claude Code | 28.8 | 47.7 | 40.5 | 41.1 | 43.1 | 21.4 | 37.8 | 29.6 | 10.3 | 17.0 | 13.6 |
| Doubao-Seed-2.0-Pro | – | Claude Code | 21.5 | 40.7 | 34.7 | 31.2 | 35.5 | 18.5 | 33.5 | 26.0 | 3.5 | 2.5 | 3.0 |
| Our Models | |||||||||||||
| Our Base Model | 124B | Claude Code | 57.7 | 65.3 | 58.1 | 55.6 | 59.7 | 47.2 | 84.6 | 65.9 | 32.2 | 62.8 | 47.5 |
| + Outcome-based training | 124B | Claude Code | 65.8 | 80.5 | 73.2 | 69.8 | 74.5 | 57.0 | 89.4 | 73.2 | 36.6 | 63.0 | 49.8 |
| Bowerbird | 124B | Claude Code | 78.2+12.4 | 86.7 | 81.7 | 76.5 | 81.6+7.1 | 75.8 | 94.1 | 85.0+11.8 | 58.9 | 77.1 | 68.0+18.2 |
Change from the base model to Bowerbird on every benchmark in Figure 5.
Analysis
Citation
@article{sun2026bowerbird,
title = {Bowerbird: Evolving and Internalizing Behavioral Strategies for Long-Horizon Visual Coding},
author = {Sun, Hai-Long and Wang, Chenglei and Chen, Jingdong and Peng, Han},
journal = {arXiv preprint arXiv:2611.37943},
year = {2026}
}