AutoRef lets a coding agent rewrite the harness automatically, lifting frozen FLUX.2 [klein] 4B from 5.72 to 7.37 on four-reference MultiBanana and matching Nano Banana Pro and GPT-Image-1.5
AutoRef has a coding agent iteratively rewrite harness code while keeping both the image generator and the reasoning model frozen, separating the tasks whose feedback informs proposals from those used to select candidates and continuing the search from a beam of top-ranked harnesses; the resulting AutoRef-Harness raises open-weight FLUX.2 [klein] 4B from 5.72 to 7.37 (out of 10) on the held-out four-reference MultiBanana test split, matching or exceeding proprietary models such as Nano Banana Pro and GPT-Image-1.5, and transfers without re-optimization across reference counts, benchmarks and evaluators, generators, and reasoning models.