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.
Figures & tables
Figure 1: From step-level feedback to autonomous strategy use. Step-level rewards distinguish useful and wasteful actions within successful trajectories (top left). The evolved playbook guides more effective execution from the same state (right). Training boosts unguided strategy use at inference (bottom left).
Figure 2: Final outcomes and execution efficiency can diverge. Execution efficiency distinguishes successful from failed trajectories on static webpages (AUC = 0.84), but barely on full-stack websites (AUC = 0.55). Outcome filtering therefore retains inefficient successes and discards efficient failures.
Figure 3: Overview of B o w e r b i r d . Stage-aware step-level evaluation estimates action contributions and execution costs. Rule revisions from contrasting trajectory segments are validated on complete tasks to build a behavioral playbook. The playbook guides trajectory generation and SFT and is removed during RL, where step rewards refine strategy use.
Model
Params
Harness
Overall
STATIC WEBPAGE
INTERACTIVE
FULL-STACK
Desktop
Tablet
Mobile
Avg
VS
FS
Avg
VS
FS
Avg
Open-Source Models
Kimi-K3 Kimi Team et al. [2026b]
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 Z.ai [2026]
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 DeepSeek-AI [2026a]
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 DeepSeek-AI [2026b]
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
Table 1: Main results on visual coding tasks. B o w e r b i r d outperforms outcome-based training across static, interactive, and full-stack tasks, raising the overall score by 12.4 points. It also achieves the highest interactive score among the evaluated open-source models. Params: total parameters (–: undisclosed). VS and FS: visual and functional scores.
Figure 4: Data efficiency and gains across task types. (a) Gains of B o w e r b i r d and B o w e r b i r d -SFT (after SFT) over outcome-based training by task type. (b) Overall score versus the number of training trajectories.
Figure 5: Transfer and general multimodal performance. Comparison of B o w e r b i r d with its base model and open-source models on page reconstruction, mobile GUI control, document parsing, and multimodal reasoning benchmarks.
Configuration
Overall ↑
Turns ↓
Tokens ↓
Outcome-based training
65.8
107.6
119.4K
+ Stage-aware trajectory selection
74.2
91.8
101.7K
+ Evolved-playbook guidance
77.1
80.6
90.3K
+ Step-level RL rewards
78.2
72.9
81.4K
Table 2: Ablations of the main components. Adding the components cumulatively improves task performance while reducing turns and token usage.
Inference
Static
Interactive
Full-stack
Overall
Without G
81.6
85.0
68.0
78.2
With G
83.8
81.9
66.5
77.4
Table 3: Effect of playbook guidance at inference. We evaluate the same B o w e r b i r d model with and without the playbook across all three task types.
Figure 6: Effects of training on strategy use and execution costs. We compare the base model, B o w e r b i r d -SFT, and B o w e r b i r d without playbook guidance at inference. RL applies complete design inspection selectively while reducing repeated verification and tool calls.
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
Static
Interactive
Full-stack
Task
Expected pages (behind sign-in)
1 (3 viewports)
6
11 (10)
Workflows
–
7
13
Expected functional outcomes
–
50
105
Trajectory
Assistant turns
70
88
110
Appendix
Table 4: Example trajectories from the pool, one per task type. –: not applicable; static tasks have no workflows.
Static
Interactive
Full-stack
Task
Workflows
–
7.63
12.96
Expected functional outcomes
–
53.88
63.50
Trajectory
Assistant turns
70.48
82.06
99.55
Tool calls
89.57
118.65
132.30
Appendix
Table 5: Means over the passing trajectories of the pool, by task type. –: not applicable.
Checker
A1
A2
A3
DOM functional
0.97
0.96
0.98
Visual region
0.78
0.76
0.81
Interaction outcome
0.84
0.82
0.87
Appendix
Table 6: Cohen’s κ between each checker and three human annotators on 200 samples per checker type.
Static
Interactive
Full-stack
Steps T
70.5
82.1
99.6
Pass rate of the outcome filter
81.4
74.8
65.7
Execution efficiency η
0.61
0.48
0.36
Rework W(τ)
0.031
0.057
0.094
Verification edits with lt>0 (%)
7.8
12.6
18.9
silent among them ( ΔErrt≤0 , %)
71.4
78.2
84.7
Appendix
Table 7: Process statistics of teacher trajectories by task type. Rows use the trajectories that pass the outcome filter, except the pass rate, lucky-success rate ( Eq. 12 ), and AUC ( Eq. 11 ).
Figure 7: Typical failures in visual coding. Each row shows one task: the design, a run whose delivered page fails visibly (red box, magnified in the inset), and a run that reproduces the design.
Descriptor
Rule
Edits
Edit type
Create a file (Write to a new path), rewrite a file (Write to an existing path), local edit (Edit), shell edit (a Bash command that changes the website’s files), or asset edit (an asset cropped from the design).
Evidence freshness
Stale if the edited file changed after the agent last read it; mismatch errors from the editing tool are recorded separately.
Repetition
The edit targets the same element and applies the same pattern as an earlier edit whose contribution was not positive ( Eqs. 3 and 4 ).
Observations
Observation type
Design slice, asset contact sheet, own screenshot, side-by-side comparison image, zoomed crop, or command output (build, server start, or HTTP request). Images are identified by pixel hash rather than file name, since agents regenerate comparison images under the same name.
Appendix
Table 8: Behavior descriptors extracted from action logs.
Figure 8: The 42 coding and verification steps of a successful trajectory on a static product landing page with 24 checks in 6 files. Green steps have positive contributions bt and red regressions negative ones, which the recoveries (blue) cancel; stagnant steps (gray), edits on stale evidence (amber), and the premature task-list completion (purple) contribute nothing.
Steps
Event
Contribution
Stagnant steps
8–15
The form layout is misaligned; the same fix is attempted eight times without changing which checks pass.
bt=0 , rt<0
12, 14, 17
Replacements based on file content read about ten steps earlier, before later edits changed it, fail; the files do not change.
bt=0 , rt<0
Regressions and repairs
19
Rewriting styles.css during verification breaks the navigation bar finished in step 3.
b19<0
23
Restructuring the hero section renames a class used by an animation script; the animation stops without any error.
b23<0
Appendix
Table 9: Annotated events of Fig. 8 and their contributions.
Iteration
Rules
LCB
Decision
J(G)
0
–
–
initialization
0.701
1
2/0/0
+0.006
accepted
0.711
2
1/1/0
+0.008
accepted
0.722
3
0/1/0
−0.003
rejected
0.722
4
1/0/0
+0.006
accepted
0.730
5
1/1/0
+0.004
accepted
0.738
Appendix
Table 10: Revisions during strategy evolution. Rules: numbers of rules added, edited, and removed; LCB: 95% lower confidence bound of J(G′)−J(G) on the validation tasks; decision: accepted, rejected and recorded, or discarded before evaluation for repeating a recorded rejection; J(G) : final score minus costs on the validation tasks with the playbook after the iteration ( Eq. 5 ).
#
If
then
Reviewing the design and the assets
1
no code has been written yet,
read every design image individually at full resolution.
2
several inventories, image-size scans, or measurements are independent,
combine them into batched checks.
3
the provided assets are numerous,
review them in labeled contact sheets, without reopening images to recheck details already observed.
Writing the code
4
the design and the assets have been reviewed,
start writing the page structure and styles, estimating minor visual details and refining them later in the running page.
Appendix
Table 11: Rules of the final playbook in if–then form, grouped by the part of the task they guide.
B o w e r b i r d
Behavior (rule)
Base
SFT
+ RL
+ G
Before coding
Complete design inspection (1)
97.9
25.4
87.0
43.9
Batched inventory (2)
68.8
100.0
92.7
100.0
Image-size scan (2)
13.8
100.0
84.5
100.0
Contact sheet (3)
1.1
49.2
34.7
62.7
Appendix
Table 12: Behavior of the agent through training. Share of the evaluation trajectories that show each behavior (%, unless noted), for our base model, B o w e r b i r d after its SFT stage with the playbook G as privileged input (SFT), and B o w e r b i r d after RL, all without G at inference; the last column appends G to the prompt of B o w e r b i r d after RL. The base model is measured on the 189 of 193 trajectories with complete logs. Screenshot cycle: screenshot, edit, screenshot. Rule numbers refer to Tab. 11 .
Base model
B o w e r b i r d -SFT
B o w e r b i r d
B o w e r b i r d +G
Behavior (rule)
S
I
F
S
I
F
S
I
F
S
I
F
Before the first application edit
Batched inventory (2)
56.0
84.8
78.3
100.0
100.0
100.0
87.0
98.5
100.0
100.0
100.0
100.0
Image-size scan (2)
22.0
6.1
0.0
100.0
100.0
100.0
80.0
95.5
74.1
100.0
100.0
100.0
Contact sheet (3)
2.0
0.0
0.0
40.0
53.0
74.1
22.0
51.5
40.7
64.0
63.6
55.6
Design sliced, slices viewed
–
–
–
80.0
77.3
85.2
48.0
51.5
40.7
72.0
83.3
74.1
Appendix
Table 13: Behavior of the models of Tab. 12 by task type (% of trajectories unless noted). S, I, and F: static webpages, interactive websites, and full-stack websites, with 100, 66, and 27 tasks (23 full-stack tasks with complete logs for the base model); shaded columns are B o w e r b i r d -SFT, B o w e r b i r d , and B o w e r b i r d with G in its prompt at inference ( +G ); rule numbers refer to Tab. 11 .
Rule
Base
Base +G
B o w e r b i r d
Per rule
3: labeled contact sheets
2.4
72.4
44.8
5: crop a missing asset
7.9
50.6
35.1
Joint adoption
Rules 3 and 5
4.8
63.9
42.6
Appendix
Table 14: Adoption rates (%) of rules 3 and 5; rule numbers refer to Tab. 11 . Base: our base model, without the playbook; Base +G : the same model with the playbook in its context; B o w e r b i r d : no playbook at inference.
Coding & agents
Documents
Reasoning
Model
D2C
AW
ODB
CXR
MMMU
MV
HLE
Qwen3.5-122B-A10B
92.6
66.4
89.8
77.2
76.9
87.4
18.1
DeepSeek-V4.1-Flash
93.6
73.3
79.9
71.1
75.6
85.2
20.8
GLM-5.3-Flash
84.1
46.1
90.5
80.5
77.8
89.3
28.1
Kimi-K3
92.6
52.6
89.9
84.8 ∗
81.6 ∗
89.4
27.8
Our base model
93.5
67.2
91.4 ∗
81.3 ∗
79.0 ∗
90.0
19.9 ∗
Appendix
Table 15: Transfer and general capability of B o w e r b i r d , its base model, and open-source models. ∗ : official report; other scores are evaluated by us. Best in bold, second underlined.
Multimodal large language model (MLLM) agents have shown promising capabilities in task-oriented environments. However, they still struggle when queries are deferred until after exploration, requiring them to retain visual evidence before knowing which details will matter. We introduce EvoViM, a recursively self-evolving framework in which a frozen multimodal model turns its own interaction experience into one visual program for memory and skills. The program retains images and computes directly on pixels, and its operations decide how this evidence is used in each task. During memory evolution, the same model traces failures in its visual trajectories to the operations that lost or misused evidence and revises them. It also rewrites the notes and analysis tools that guide later revisions, which then build on earlier findings and skip changes that have already failed. We evaluate EvoViM with three multimodal models on six tasks covering visual matching, spatial recall, and sequential decision-making, including three tasks with deferred queries. Across the six tasks, EvoViM improves the average score over AutoMem, the strongest baseline in the main comparison, by 31.3-47.6 points on held-out episodes. Programs written once from the initial environment instructions perform substantially worse, highlighting the value of interaction experience in shaping how visual evidence is retained and used. Code and dataset are available at https://evovim.github.io/.
Xinyu Cao, Tianjie Ju, Zhuosheng Zhang
Shanghai Jiao Tong University · Hunan University · National University of Singapore
Agent self-improvement requires feedback about task success, yet external feedback may be unavailable at test time. Agents must then infer success from observable evidence, and incomplete verification can misguide subsequent updates. We introduce Verify by Doing (VbD), a method that co-evolves Actor and Evaluator harnesses within a single task while keeping model weights fixed. The Evaluator actively inspects artifacts and environment state with tools; its findings ground an internal signal for output selection and guide updates to both execution and verification procedures. Proposed Evaluators undergo comparative review on common candidates, while Actor updates require support from their own fresh outputs. Across AutomationBench, τ3 Banking, and selected GDPval tasks, VbD achieves the highest overall scores among the compared methods operating without external feedback, with gains of 3.3, 4.1, and 2.3 percentage points over the strongest baselines on the main backbone. Ablations support the contributions of active verification and Evaluator evolution, and selection from fixed candidate pools shows that improved verification can recover successful outputs without generating new ones.
Visual agents that interleave reasoning with tool invocation have posed a promising direction for multimodal tasks. However, learning effective tool invocation usually relies on curated question-answer pairs or expert demonstrations at scale, which are expensive to acquire. In this study, we propose Marvo, a simple-yet-effective self-evolution approach that enables learning tool invocation from unlabeled images. Marvo consists of two agents: (1) a challenger that generates question-answer pairs from unlabeled images, and (2) a solver that learns tool invocation by solving questions through reinforcement learning. To encourage effective tool invocation, a good training question should be difficult enough to warrant tool use, yet remain within the solver's capabilities. To this end, we introduce a margin reward to the challenger, defined as solver's performance difference with and without access to tools. With the margin reward, we create an adaptive curriculum that encourages the solver to learn effective tool invocation. Across benchmarks covering agentic reasoning, visual search, mathematical, and general real-world reasoning, Marvo improves average accuracy by up to 7.1% --- demonstrating margin reward as a preferred way to scale question complexity without human supervision.
Wenxi Yang, Yuzhong Zhao, Baochang Zhang +2
UCAS · Microsoft Research Asia · Beihang University