cs.CVNov 27, 2026

Bowerbird: Evolving and Internalizing Behavioral Strategies for Long-Horizon Visual Coding

Authors: Hai-Long Sun, Chenglei Wang, Jingdong Chen, Han Peng

Organizations: 1Ant Group

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.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 21, 2026

EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries

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/.
Nov 11, 2026

Verify by Doing: Co-Evolving Agent Execution and Evaluation without External Feedback

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τ^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.
Oct 10, 2026

Self-Evolving Visual Agent via Margin Reward

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.