Skip to content

AutoRef: Harness Optimization for Agentic Multi-Reference Image Generation

Sep 2026 · 0 citations · 72 references
Computer Science

TL;DR

This work proposes AutoRef, which optimizes the harness automatically while keeping both models frozen: a coding agent iteratively rewrites the harness code, and discovers AutoRef-Harness, which improves the open-weight FLUX.

Abstract

Recent image generation models can take multiple reference images as input and combine them into a new image. However, multi-reference image generation remains challenging: models may omit or duplicate subjects from the references, or produce images in which multiple subjects appear unnaturally pasted. Recent work has proposed image generation agents that combine image generation models, reasoning models, and a harness, which is an executable program that specifies how reference images are interpreted, how generation is performed, how outputs are diagnosed, and how the final image is selected. In multi-reference generation, however, references play different roles and outputs must satisfy many criteria at once, such as fidelity to each reference and the naturalness of the whole image, so many parts of the harness could be improved, from how references are processed to how outputs are diagnosed. This makes it hard to predict which changes will improve performance and by how much, and good harnesses difficult to design by hand; indeed, human-written harnesses vary widely in performance. We therefore propose AutoRef, which optimizes the harness automatically while keeping both models frozen: a coding agent iteratively rewrites the harness code. AutoRef separates the tasks whose feedback informs proposals from the tasks used to select candidates, and continues the search from a beam of the top-ranked harnesses on the selection tasks. Using this procedure, we discover AutoRef-Harness, which improves the open-weight FLUX.2 [klein] 4B from 5.72 to 7.37 on held-out four-reference tasks of the MultiBanana benchmark, matching or exceeding proprietary models including Nano Banana Pro and GPT-Image-1.5. Without re-optimization, the same harness also improves results when the generator, number of references, benchmark, evaluator, or reasoning model differs from those used in the search.

View source

Similar papers

Conference Open access 2026

The Comprehensive Investigation of Controllable Image Generation Techniques

In recent years, the progress of diffusion models in text-to-image generation has been obvious to all. Text-based descriptions alone, however, are often insufficient for precisely controlling screen content. In order to solve this problem, researchers began to try to introduce additional conditions or visual references...

Hua-Man Fang · 0 citations
#artificial intelligence Preprint Sep 2026

VIF-Bench: Evaluating Visual Instruction Following in Multi-Reference Image Generation

Recent multimodal image generation models can take multiple images and textual instructions as input, enabling reference-based generation guided not only by text but also by visual instructions such as layouts, arrows, and pose cues. However, existing benchmarks do not evaluate the joint setting in which multiple refer...

Yuta Oshima, Masakazu Yoshimura, Masahiro Suzuki et al. · 0 citations
Preprint Sep 2026

WeAgent-MMGenEdit: A Full-Stack Recipe for Multimodal Agentic Image Generation and Editing

This work presents WeAgent-MMGenEdit, a full-stack recipe including a multimodal harness, a scalable data construction pipeline, a comprehensive benchmark, and post-training methods for the agent policy and image backend that enables a 30B-total/3B-active policy to outperform similarly sized policy models and approach...

Hui Zhang, Zongkai Liu, Li-Qiang Niu et al. · 1 citation
Preprint Aug 2026

Exploring the Performance Frontier of Compact Unified Image Generation Models

Swift-Image achieves leading aggregate performance among evaluated open-source models with only 6B parameters and 243K GPU training hours; the compressed 3B model incurs nearly no loss, while few-step distillation further improves aggregate editing performance with substantially fewer sampling steps.

Taihang Hu, Zhaowen Wang, Zuan Gao et al. · 1 citation · ⚡1
Preprint Sep 2026

GenPuzzle: Benchmarking Visual Reasoning in Image Generation Models

GenPuzzle provides a testbed for measuring progress from image rendering toward visual problem solving, and uses task-specific evaluation protocols that select the automatic judge by measuring agreement with human reference scores.

Chang-Peng Zhao, Yi-Ren Song, Jin-Peng Wang · 1 citation
Preprint Aug 2026

TRACE-Bench: Decomposing and Diagnosing Multi-Reference Image Generation

Recognizing that diverse multi-reference tasks share a common set of atomic operations, this work formalizes four operators: Anchor, Disentangle, Disentangle, Apply, and Compose, and constructs TRACE-Bench, comprising approximately 1,600 evaluation cases across slot counts 1--8.

Haoran Wang, Chaofan Ma, Ran Yi et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.