EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries
Organizations: Hunan University · National University of Singapore · Shanghai Jiao Tong University
Abstract
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/.
Figures & tables
| Claude Haiku 5.5 | Qwen3.8-27B | |||||
|---|---|---|---|---|---|---|
| Method | MC | Maze | DMV | MC | Maze | DMV |
| Basic image tools | 15.0 | 18.8 | 13.8 | 23.8 | 23.8 | 7.9 |
| Evolved text memory [ 28 ] | 23.8 | 16.3 | 42.1 | 25.0 | 17.5 | 37.9 |
| VISTA [ 5 ] | 20.0 | 16.3 | 22.1 | 25.0 | 21.3 | 20.4 |
| + matcher | 18.8 | 16.3 | 80.8 | 47.5 | 15.0 | 81.7 |
| One-shot program | 13.8 | 20.0 | 28.8 | 13.8 | 25.0 | 14.2 |
| Task | To recall | Goal | Steps | Episodes |
|---|---|---|---|---|
| Card Matching | 144 cards | 72 pairs | 360 | 5 |
| DMV-Hard | 100 product pages | 24 answers | 124 | 10 |
| MC Gallery | 16 paintings ( ) | 8 answers | 60 | 10 |
| Poster Maze | 16 posters ( ) | answers | 140 | 10 |
| Tetris | – | task progress | 100 | 5 |
| Pac-Man | – | task progress | 100 | 5 |
| Visual matching | Spatial recall | Sequential decision-making | |||||
| Method | Card Matching | DMV-Hard | MC Gallery | Poster Maze | Tetris | Pac-Man | Avg. |
| GPT-6.1 Sol | |||||||
| No memory | 0.3 0.6 | 0.0 0.0 | 25.0 0.0 | 25.0 0.0 | 34.7 9.1 | 45.3 21.5 | 21.7 |
| Rolling summary | 8.6 4.5 | 1.7 2.2 | 11.3 12.4 | 17.5 14.7 | 51.1 19.6 | 42.6 14.6 | 22.1 |
| Hand-crafted text | 0.8 0.8 | 11.3 6.8 | 25.0 0.0 | 17.5 8.7 | 36.9 4.6 | 44.5 20.3 | 22.7 |
| Hand-crafted visual | 2.8 1.0 | 9.2 5.5 | 25.0 0.0 | 17.5 8.7 | 38.9 4.1 | 42.0 7.3 | 22.6 |
| Claude Haiku 5.5 | Qwen3.8-27B | |||
| Method | Input (M) | Code (s) | Input (M) | Code (s) |
| VISTA-style archive | 1.53 | 8 | 1.09 | 5 |
| + matcher (tool) | 1.65 | 1,527 | 1.28 | 3,585 |
| + matcher (every step) | 1.49 | 6,118 | 1.05 | 5,536 |
| EvoViM | 4.55 | 14 | 2.24 | 364 |
| Method | Evaluated | Accepted | Input | Output |
| GPT-6.1 Sol | ||||
| AutoMem | 30 | 8 | 85.0 | 1.10 |
| EvoViM | 26 | 12 | 138.6 | 1.34 |
| Claude Haiku 5.5 | ||||
| AutoMem | 32 | 7 | 508.7 | 9.36 |
| EvoViM | 21 | 17 | 375.6 | 7.50 |
| Model | AutoMem | EvoViM |
|---|---|---|
| GPT-6.1 Sol | Free-text card identities ranked by word overlap. | Exact crop hashes. A query tool returns remembered matches when called. |
| Claude Haiku 5.5 | grids of color words ranked by agreement between cells. | Crop distances. The program supplies matching-card suggestions and a list of unseen cards. |
| Qwen3.8-27B | Short color labels compared for equality. | Crop distances. The program suggests the next flip at every step. |
| Gen. | Score (%) | Program after selection |
|---|---|---|
| 0 | 25.0 | The starting program answers not seen to every question. |
| 1 | 81.3 | Painting crops indexed by door and side, with a pixel matcher. |
| 2 | 100.0 | Whole views indexed by door, with the side inferred from the match position. |
| 3 | 100.0 | Both candidates are rejected, leaving the generation-2 program unchanged. |
| Earlier finding | Experience retained | Use in a later revision |
|---|---|---|
| A visually plausible candidate was incorrectly used as an answer label. | Establish confirmed labels from recorded score changes before testing the matcher. | Generations 2 and 3 use score-derived labels to examine matching results. |
| Tool declarations need to agree with the interfaces registered by the program. | An interface-checking script and a validation procedure in the playbook. | Generation 2 adds a script that exports the registered interfaces and runs the inherited checker. |
| Several changes to the matcher fail to improve recognition. | Notes on the tested changes and guidance to compare aligned candidate regions. | Generation 3 consults these records and adds the aligned comparison tool with new rendering checks. |
| Method | MC Gallery | DMV-Hard |
|---|---|---|
| AutoMem | 23.8 | 42.1 |
| EvoViM | 88.3 | 77.1 |
| w/o visual pathway | 22.5 | 42.1 |
| w/o revision support | 60.0 | 82.9 |
| Development score | Held-out performance | |||||
| Lineage | Gen. 1 | Gen. 2 | Gen. 3 | Seen | Lures | Overall |
| EvoViM | ||||||
| Original | 81.3 | 100.0 | 100.0 | 98.3 | 100.0 | 98.8 |
| Repeat 1 | 93.8 | 100.0 | 100.0 | 98.3 | 100.0 | 98.8 |
| Repeat 2 | 31.3 | 75.0 | 75.0 | 90.0 | 0.0 | 67.5 |
| w/o revision support | ||||||
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Precision (%) | Cells | |||||
| Method | GPT | Haiku | Qwen | GPT | Haiku | Qwen |
| No memory | 0.0 | 0.1 | 0.0 | 14.8 | 17.0 | 14.8 |
| Rolling summary | 4.2 | 3.9 | 0.0 | 94.8 | 126.4 | 134.4 |
| Hand-crafted text | 0.4 | 3.0 | 0.1 | 41.6 | 90.8 | 39.2 |
| Hand-crafted visual | 1.3 | 1.9 | 0.1 | 46.4 | 83.4 | 24.4 |
| AutoMem | 7.3 | 34.6 | 8.4 | 132.8 | 144 | 144 |
| GPT | Haiku | Qwen | ||||
| Method | Seen | Route | Seen | Route | Seen | Route |
| No memory | 2.1 | 49 | 2.0 | 47 | 2.1 | 41 |
| Rolling summary | 4.9 | 79 | 4.1 | 65 | 2.6 | 37 |
| Hand-crafted text | 5.6 | 81 | 3.7 | 49 | 1.9 | 30 |
| Hand-crafted visual | 4.9 | 79 | 4.0 | 59 | 1.5 | 37 |
| AutoMem | 5.3 | 81 | 3.5 | 76 | 1.8 | 34 |
| Method | Observed | Asked | All | Seen | Lure | Score |
|---|---|---|---|---|---|---|
| GPT-6.1 Sol | ||||||
| AutoMem | 5.3 | 6.6 | 90.9 | 93.5 | 85.0 | 75.0 |
| EvoViM | 4.6 | 5.9 | 89.8 | 97.4 | 75.0 | 66.3 |
| Claude Haiku 5.5 | ||||||
| AutoMem | 3.5 | 5.1 | 25.5 | 9.7 | 50.0 | 16.3 |
| EvoViM | 5.5 | 6.4 | 62.5 | 84.1 | 15.0 | 50.0 |
| GPT | Haiku | Qwen | ||||
| Method | D | P | D | P | D | P |
| No memory | 0 | 0 | 0 | 0 | 0 | 0 |
| Rolling summary | 2 | 2 | 1 | 0 | 2 | 3 |
| Hand-crafted text | 24 | 3 | 51 | 2 | 38 | 1 |
| Hand-crafted visual | 20 | 2 | 33 | 0 | 17 | 2 |
| AutoMem | 92 | 7 | 100 | 1 | 87 | 4 |
| Method | Score | Lines | Drops (%) | Pieces | Top-outs |
| GPT-6.1 Sol | |||||
| No memory | 34.7 | 0.0 | 100 | 12.6 | 1.2 |
| Hand-crafted text | 36.9 | 0.0 | 100 | 12.6 | 1.8 |
| Hand-crafted visual | 38.9 | 0.0 | 100 | 14.4 | 1.8 |
| AutoMem | 40.4 | 0.0 | 100 | 15.6 | 1.4 |
| EvoViM | 45.8 | 0.0 | 100 | 16.8 | 1.0 |
| GPT | Haiku | Qwen | ||||
| Method | Eat | Still | Eat | Still | Eat | Still |
| No memory | 34.4 | 3.8 | 29.4 | 8.2 | 22.8 | 18.6 |
| Rolling summary | 31.6 | 6.6 | 25.4 | 25.0 | 27.4 | 36.2 |
| Hand-crafted text | 36.0 | 5.0 | 37.4 | 3.2 | 24.4 | 24.8 |
| Hand-crafted visual | 33.2 | 5.2 | 33.2 | 7.2 | 31.2 | 16.4 |
| AutoMem | 24.6 | 2.6 | 35.8 | 8.4 | 30.0 | 20.0 |
| Function | Group | What the added code does | EvoViM | AutoMem |
|---|---|---|---|---|
| Pixel matching | image memory | compares a query image or region with stored pixels or pixel features and returns a score or a ranking | 14 | 0 |
| Visual store | image memory | keeps frames, crops or pixel features across steps, filed under a place, an object or an id | 12 | 0 |
| Visual recall | image memory | lets a tool ask the host to show stored frames or crops to the model | 11 | 0 |
| Frame parsing | frame parsing | reads the current frame or observation into structured values such as card cells, posters or a board | 13 | 1 |
| Spatial index | frame parsing | keeps where things are and how places connect, such as a maze graph or place records | 8 | 6 |
| Decision support | frame parsing | turns stored or parsed evidence into a proposal, such as seen or not seen, the next flip or a ranked drop | 12 | 7 |
| Stage | Subtype | Criterion | Tasks |
| Observe | never on screen | the item did not appear on screen | Maze |
| no clear view | it appeared, but not clearly or head-on | Maze | |
| Store | not saved | no memory entry holds the item at the decision step | Card, MC, Maze, DMV |
| saved under a wrong key | an entry exists but is bound to a wrong doorway, wall, cell or id | Card, MC, Maze, DMV | |
| saved but incomplete | the entry lacks what the answer needs: the id of a saved photo, the painting in a labeled view, or a usable face description | Card, MC, DMV | |
| Retrieve | not queried | a usable entry exists, but no retrieval was made or shown at the decision step | Card, MC, Maze, DMV |
| Card | MC | Maze | DMV | Tetris | Pac-Man | All | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Stage | Subtype | A | E | A | E | A | E | A | E | A | E | A | E | A | E |
| Observe | never on screen | – | – | – | – | 13.3 | 5.0 | – | – | – | – | – | – | 2.2 | 0.8 |
| no clear view | – | – | – | – | 22.1 | 19.2 | – | – | – | – | – | – | 3.7 | 3.2 | |
| Store | not saved | – | – | 45.0 | – | 3.8 | – | 0.1 | – | – | – | – | – | 8.1 | – |
| saved under a wrong key | – | – | – | – | – | 0.8 | – | – | – | – | – | – | – | 0.1 | |
| saved but incomplete | 0.2 | – | – | 3.8 | – | – | – | – | – | – | – | – | – | 0.6 | |
| Sessions | Lines added | |||
| Method | Launched | Completed | Final | Candidates |
| GPT-6.1 Sol | ||||
| AutoMem | 30 | 30 | 500 | 536 |
| EvoViM | 26 | 26 | 558 | 582 |
| Claude Haiku 5.5 | ||||
| AutoMem | 44 | 33 | 674 | 624 |
| MC Gallery | Poster Maze | DMV-Hard | ||||
| Haiku | Qwen | Haiku | Qwen | Haiku | Qwen | |
| Start | 15.0 | 23.8 | 18.8 | 23.8 | 13.8 | 7.9 |
| One-shot | 13.8 | 13.8 | 20.0 | 25.0 | 28.8 | 14.2 |
| EvoViM | 98.8 | 96.3 | 50.0 | 70.0 | 77.1 | 45.4 |
| Seen / detail | 0 | 1 | 0 | 0 | 69 | 29 |
| Lure / pattern | 11 | 10 | 16 | 20 | 0 | 5 |
| MC | Maze | DMV | D / P | |
| Claude Haiku 5.5 | ||||
| Start program | 15.0 | 18.8 | 13.8 | 33 / 0 |
| Archive | 20.0 | 16.3 | 22.1 | 51 / 2 |
| + matcher (tool) | 25.0 | 18.8 | 57.1 | 78 / 59 |
| + matcher (every step) | 18.8 | 16.3 | 80.8 | 98 / 96 |
| EvoViM | 98.8 | 50.0 | 77.1 | 103 / 82 |
| MC Gallery | Poster Maze | DMV-Hard | |
| Claude Haiku 5.5 | |||
| Archive | 78.8 [72.5, 85.0] | 33.8 [20.0, 47.5] | 55.0 [49.2, 61.3] |
| + matcher (tool) | 73.8 [70.0, 77.5] | 31.3 [15.0, 48.8] | 20.0 [9.2, 29.6] |
| + matcher (every step) | 80.0 [73.8, 87.5] | 33.8 [18.8, 50.0] | 3.8 [ 12.1, 4.2] |
| Qwen3.8-27B | |||
| Archive | 71.3 [66.3, 75.0] | 48.8 [35.0, 60.0] | 25.0 [15.0, 35.0] |
| MC Gallery | Poster Maze | |||||
|---|---|---|---|---|---|---|
| Method | Req. | In | Code | Req. | In | Code |
| Claude Haiku 5.5 | ||||||
| Archive | 86 | 0.34 | 0.5 | 229 | 0.66 | 1.5 |
| + matcher (tool) | 88 | 0.37 | 4.1 | 248 | 0.79 | 14 |
| + matcher (every step) | 86 | 0.38 | 50 | 232 | 0.79 | 327 |
| EvoViM | 79 | 0.36 | 37 | 416 | 2.64 | 2.3 |
Multimodal Agents
Multimodal agents perceive and reason across text, images, audio, and video to use tools, interact with interfaces, and act in the world.
See all 421 papers