Manuscript Offprint

arXiv:2611.06856

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. Allen

Haoxiang Cao1,7,∗^{1,7,*}, Yuxuan Zhang2,3,∗^{2,3,*}, Penghui Du7,∗^{7,*}, Bo Li7^{7}, Jiajiong Cao7^{7}, Yingying Fan8^{8}, Zimeng Wu7,§^{7,§}, Yifu Luo9^{9}, Mingzhe Zheng10^{10}, Junwen Miao5^{5}, Huaisong Zhang7,9,§^{7,9,§}, Yang Yao11^{11}, Yu Wang9^{9}, Dongfu Jiang6^{6}, Ping Nie6^{6}, Wenhu Chen6,†^{6,†}, Chaoqun Wang1,†^{1,†}, Changqian Yu7,§^{7,§}, Kelsey R. Allen2,3,4,†^{2,3,4,†}

1^{1}South China Normal University 2^{2}University of British Columbia

3^{3}Vector Institute 4^{4}Canada CIFAR AI Chair 5^{5}Carnegie Mellon University

6^{6}University of Waterloo 7^{7}KlingAI Research 8^{8}University of Maryland

9^{9}Tsinghua University 10^{10}HKUST 11^{11}HKU

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 instantiated 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/.

1 Introduction

A useful image-generation system [4, 6, 16, 36] should be able to synthesize a new image from the visual evidence provided by the user, even when that evidence is spread across many references. Consider an accessories retailer preparing an advertisement for all handbags with dual parallel top handles (Figure 1). The system must inspect a large inventory, select the relevant bags, reject visually similar distractors, preserve appearance details, and arrange the selected items according to the requested composition. The output may look realistic while still being wrong: it may use the wrong handbag, bind a handle style to the wrong object, violate a count or layout constraint, or introduce unsupported details. The central capability is therefore not visual plausibility alone, but reference-grounded synthesis across retrieval, rejection, binding, and composition.

∗^{*}Equal contribution. †^{\dagger}Project lead. †^{\dagger}Corresponding authors.

§^{§}Work done during internship in KlingAI Research.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

Figure

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.

Evaluating this capability raises a central question: how can we tell whether an image-generation system has synthesized a correct image from long, multi-reference visual context? The difficulty is not only that such tasks contain more images or longer prompts. The required evidence is distributed across references, entities, attributes, relations, hard negatives, unsupported-content rules, and intermediate decisions. Success can only be judged by checking whether the final image satisfies the reference-grounded obligations. A benchmark therefore needs dense multi-reference tasks and scoring that localizes errors rather than a holistic score.

Current image-generation benchmarks [14, 29] capture important parts of this problem, but leave the full measurement target under-specified. Research on instruction-guided editing, personalization, and prompt following addresses local edits and textual requirements [2, 10, 14, 45, 51, 56]. Recent multi-reference benchmarks move closer to reference-based synthesis [3, 23, 37], and automatic evaluation methods support systematic assessment [39, 47, 53]. What remains difficult to measure is dense evidence use: whether the model selected the right references, rejected plausible distractors, attached attributes and relations to the correct entities, and avoided content that is unsupported by either the instruction or the references. A realistic image can pass a surface-level inspection while failing exactly these obligations.

These failures are typically provenance errors rather than rendering errors, where provenance is the source—a specific reference, or the instruction itself—to which each piece of generated content should be attributed: a system may render the right object category while copying appearance from the wrong reference, place the correct entities while violating their relation, or produce a polished composition that leaks a hard negative into the scene. To make such errors measurable, we model each task as an entity-relation graph. Its nodes are the entities, attributes, and text elements that must (or must not) appear; its edges are the spatial, interaction, ordering, and local-appearance relations that bind those entities; and its whole-graph constraints are scene-level obligations—layout, counts, temporal state, and reference selection—that no single node or edge captures. We refer to a node, an edge, or a whole-graph constraint as a graph unit. These three levels define the three graph-grounded scoring dimensions used throughout the paper: Content Fidelity (node level), Relational Binding (edge level), and Global Constraint Satisfaction (whole-graph level). We derive a checklist of atomic, visually verifiable items, each tied to one graph unit, to localize failures.

To make this benchmark auditable at scale, we design LONGBANANA-Eval, a graph-grounded checklist evaluation pipeline whose scorer LONGBANANAeval acts as an agentic checklist judge (Section 3): rather than judging the final image with one undifferentiated score, it routes each checklist item to a rubric-guided critic, invokes deterministic tools—OCR, counting, layout, and identity checks—when an item benefits from an executable check, and records evidence traces for quality control and reproducibility. We validate this measurement target on a human-audited pool of 900 generated outputs with 46,700 reviewed checklist labels. An independently double-labeled subset of 7,005 labels (15%) reaches 89.4% exact agreement and 0.83 quadratic weighted κ\kappa, and these reviewed expert checklist scores serve as the reference standard against which we validate LONGBANANAeval.

We also use LONGBANANA to study agent-driven image-generation workflows. Each system wraps a fixed image generator in an agent harness [30, 40, 54]: the harness maintains reference state, selects evidence, schedules prompts, invokes the generator, and revises requests, while the image generator only synthesizes pixels. We evaluate direct generation, minimal agent harnesses, and RPR-enabled harnesses, where RPR is a serial workflow combining ReAct evidence grounding, Plan-Exec decomposition, and Reflect-based revision (Section 4), and we compare multiple image generators under a fixed harness. Across these settings, agent harnesses improve the aggregate profile over direct generation, yet no single harness dominates: the best per-subclass scores remain distributed across direct prompting, minimal harnesses, and RPR. RPR itself yields harness-dependent gains, helping only when the harness reliably exploits retrieved evidence and revision feedback, and otherwise introducing drift.

References (55)