LongBanana: An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis

Haoxiang Cao, Yuxuan Zhang, Penghui Du, Bo Li, Jiajiong Cao, Yingying Fan, Zimeng Wu, Yifu Luo, Mingzhe Zheng, Junwen Miao, Huaisong Zhang, Yang Yao, Yu Wang, Dongfu Jiang, Ping Nie, Wenhu Chen, Chaoqun Wang, Changqian Yu, Kelsey R. AllenarXiv 2026 · arXiv

TL;DR

LongBanana is the first expert-verified benchmark designed to test how well AI agents can synthesize images using a "long context" of dozens of reference images. It moves beyond simple text-to-image prompts by requiring models to retrieve specific visual evidence, reject distractors, and satisfy complex relational constraints, all verified through a rigorous 4,670-item atomic checklist.

What Problem Does This Paper Address?

Current image-generation benchmarks typically focus on single prompts or a handful of references. However, real-world applications—like a retailer creating an ad from a massive product catalog—require a system to sift through a "long context" of visual data.

The authors identify a critical gap: existing models often suffer from provenance errors. A model might generate a realistic-looking handbag, but it’s the wrong handbag from the reference set, or it might bind the texture of one object to the shape of another. To solve this, we need benchmarks that measure dense visual evidence grounding, not just aesthetic plausibility.

Methods

The researchers developed a three-part ecosystem to tackle this challenge:

  1. LongBanana-Bench: A suite of 90 tasks organized by a 3x3 taxonomy (Scene Composition, Visual Appearance, and Reference Reasoning). Each task involves ~32 reference images and ~20 constraints.
  2. Graph-Grounded Evaluation: Instead of a single holistic score, every task is modeled as an entity-relation graph. This graph is converted into an atomic checklist that evaluates three dimensions:
  3. Content Fidelity: Are the right entities present (and distractors absent)?
  4. Relational Binding: Are spatial and appearance relations correct?
  5. Global Constraint Satisfaction: Does the image follow layout, count, and style rules?
  6. LongBanana-Gen: An agentic framework that uses a ReAct–Plan–Exec–Reflect (RPR) workflow. This allows the system to retrieve evidence, plan the composition, execute the generation, and then "reflect" on the draft to perform repairs.
Figure 1: LONGBANANA task overview. (a) Each case pairs a heterogeneous reference set and structured synthesis prompt with the generated image under evaluation. (b) LONGBANANA-Eval converts graph-grounded checklist items into dimension-level scores and auditable evidence traces. The score labels Content, Relations, and Global denote Content Fidelity, Relational Binding, and Global Constraint Satisfaction, respectively.

Datasets

  • LongBanana: The primary new benchmark containing 90 expert-designed cases and 4,670 atomic evaluation items.
  • Audit Pool: A human-labeled dataset of 900 generated outputs (46,700 individual judgments) used to validate the automatic evaluator.
  • The benchmark includes "hard negatives"—images that look similar to the target but should be rejected—to test the model's retrieval precision.
Figure 2: The 3 × 3 taxonomy used to organize LONGBANANA. Rows group cases into Scene Composition, Visual Appearance, and Reference Reasoning, while columns expose subclass-level demands used for diagnostic reporting. Each subclass contributes 10 cases.

Key Insights and Ideas

  • Atomic > Holistic: Holistic VLM scores often miss subtle grounding failures. By breaking evaluation down into atomic, graph-linked checklist items, the authors achieved much higher alignment with human experts (0.87 Pearson correlation).
  • The Power of Agency: Standard "direct" generation struggles with long contexts. Wrapping the generator in an agent harness significantly improves performance, especially in complex reasoning tasks like counting or temporal state changes.
  • Provenance is Key: The benchmark specifically targets the model's ability to attribute generated content to the correct source. This is a shift from measuring "creativity" to measuring "instruction and reference following."
  • The RPR Advantage: The ReAct-Plan-Exec-Reflect workflow acts as a self-correction mechanism. Reflection helps catch layout and aggregation errors that a single-pass model would ignore.

Key Results

  • Evaluator Validation: The LongBanana-Eval agentic judge significantly outperformed standard VLM-as-judge baselines, increasing exact ternary agreement with humans by 15.82 percentage points.
  • Agent Performance: The best-performing configuration (OpenClaw + RPR using Nano Banana 2 as the backend) achieved an overall average score of 78.4, compared to only 68.4 for a direct, non-agentic approach.
  • Task Pass Rate: Using an agentic workflow nearly doubled the task pass rate (P@70%) from 24.4% to 47.8% compared to the baseline.
  • Taxonomy Wins: Agentic workflows showed the most significant gains in "Reference Reasoning" (selection, temporal logic, and counting), areas where traditional diffusion models typically fail.
Figure 3: LONGBANANA construction pipeline. (1) Scenario Construction: experts design scenarios aligned with the task taxonomy. (2) Graph Construction: an LLM structures each scenario into entities, attributes, relations, and whole-scene constraints. (3) Prompt & Reference Synthesis: the graph guides the creation of the target instruction and visual references. (4) Checklist & Curation: graph constraints are translated into evidence-linked checklist items, and human curators review the instruction, references, and checklist for consistency, visual feasibility, and verifiability.

Limitations and Future Work

The authors acknowledge several limitations:

  • Scope: The benchmark currently focuses on static 2D images and does not yet cover video generation or 3D scene composition.
  • Cost: High-density expert annotation is expensive and difficult to scale.
  • Evaluator Dependence: The system relies on the quality of the underlying MLLM (like Gemini 3 Flash) used for the agentic judge.

Future work suggests extending the "evidence-guided adaptation" approach to video and exploring how models can better preserve reference bindings across multiple iterative edit steps without "drifting" away from the original intent.

Summary updated

Abstract

We introduce LongBanana, to our knowledge the first expert-designed and expert-verified benchmark for long-context multi-reference image synthesis in the age of agent-driven image generation. The task requires retrieving dispersed visual evidence, rejecting distractors, binding entities and relations, and composing one coherent final image from multiple references. LongBanana contains 90 carefully designed tasks organized by a 3-by-3 taxonomy; each task includes about 32 reference images, 20 constraints, and 50 evaluation items, yielding 4,670 expert-specified atomic evaluation items in total. Its graph-grounded evaluation design instantiates each task with reference images and an entity-relation graph, then converts node, edge, and whole-graph obligations into checklist items for Content Fidelity, Relational Binding, and Global Constraint Satisfaction. Reviewed expert labels include a 15% double-labeled subset with 89.4% exact agreement and 0.83 quadratic weighted kappa. We further introduce LongBanana-Gen, an agent-harness framework for long-horizon image generation; experiments show that minimal agent harnesses improve over direct generation, while a ReAct-Plan-Exec-Reflect (RPR) workflow yields harness-dependent gains by strengthening evidence grounding and repair. Together, LongBanana provides an auditable testbed for measuring dense visual evidence use and a shared target for developing stronger agent-driven image-generation systems. Code and data are available at the project page: https://long-banana.com/.
BibTeX
@misc{cao2026longbanana,
  author = {Haoxiang Cao and Yuxuan Zhang and Penghui Du and Bo Li and Jiajiong Cao and Yingying Fan and Zimeng Wu and Yifu Luo and Mingzhe Zheng and Junwen Miao and Huaisong Zhang and Yang Yao and Yu Wang and Dongfu Jiang and Ping Nie and Wenhu Chen and Chaoqun Wang and Changqian Yu and Kelsey R. Allen},
  title = {{LongBanana: An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis}},
  year = {2026},
  eprint = {2611.06856},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06856},
}
Figure