Hugging Face Daily PapersYuta Oshima, Ku Onoda, Yusuke Iwasawa2 min readpaperadvanced
AutoRef: Harness Optimization for Agentic Multi-Reference Image Generation
Summary
AutoRef uses a coding LLM to automatically rewrite the harness that orchestrates multi‑reference image generation, keeping the generator frozen. The resulting harness lifts FLUX.2‑4B scores from 5.72 to 7.37 on MultiBanana and generalizes across models and benchmarks.
- A coding agent iteratively rewrites harness code, separating feedback (proposal) and selection tasks, and continues search from a beam of top‑ranked harnesses.
- Optimizing only the harness (no model fine‑tuning) improves FLUX.2‑4B performance on four‑reference MultiBanana from 5.72 to 7.37, matching proprietary systems.
- The discovered AutoRef‑Harness transfers to different generators, numbers of references, evaluators, and reasoning models without re‑optimization.
- The method treats harness design as a searchable program space, enabling systematic improvement over hand‑crafted harnesses that vary widely in quality.
Teams building multi‑reference generation pipelines can boost image quality without costly model retraining by automating harness design.
8/10
