MACRO: Advancing Multi-Reference Image Generation with Structured Long-Context Data
Organizations: HKU MMLab · Meituan
Abstract
Generating images conditioned on multiple visual references is critical for real-world applications such as multi-subject composition, narrative illustration, and novel view synthesis, yet current models suffer from severe performance degradation as the number of input references grows. We identify the root cause as a fundamental data bottleneck: existing datasets are dominated by single- or few-reference pairs and lack the structured, long-context supervision needed to learn dense inter-reference dependencies. To address this, we introduce MacroData, a large-scale dataset of 400K samples, each containing up to 10 reference images, systematically organized across four complementary dimensions -- Customization, Illustration, Spatial reasoning, and Temporal dynamics -- to provide comprehensive coverage of the multi-reference generation space. Recognizing the concurrent absence of standardized evaluation protocols, we further propose MacroBench, a benchmark of 4,000 samples that assesses generative coherence across graded task dimensions and input scales. Extensive experiments show that fine-tuning on MacroData yields substantial improvements in multi-reference generation, and ablation studies further reveal synergistic benefits of cross-task co-training and effective strategies for handling long-context complexity. The dataset and benchmark will be publicly released.
Figures & tables
| Model | Customization | Illustration | Spatial | Temporal | Average | ||||
| 1-5 | 6-10 | 1-5 | 6-10 | 1-5 | 6-10 | 1-5 | 6-10 | ||
| Closed-source models | |||||||||
| Nano Banana Pro [ 9 ] | 9.41 | 7.60 | 9.12 | 8.88 | 3.28 | 3.20 | 8.21 | 7.25 | 7.12 |
| GPT-Image-1.5 [ 30 ] | 9.62 | 8.76 | 8.90 | 8.84 | 3.32 | 4.24 | 8.48 | 7.84 | 7.50 |
| Open-source models | |||||||||
| BAGEL [ 11 ] | 5.37 | 2.53 | 4.51 | 4.34 | 0.67 | 0.53 | 3.36 | 2.93 | 3.03 |
| Model | SINGLE | MULTIPLE | SCENE | Average | |||||
| Character | Object | Character | Object | Char. + Obj. | Character | Object | Char. + Obj. | ||
| Closed-source models | |||||||||
| Nano Banana Pro [ 9 ] | 9.07 | 9.43 | 8.91 | 9.23 | 8.79 | 8.94 | 8.61 | 8.70 | 8.96 |
| GPT-Image-1.5 [ 30 ] | 9.33 | 9.44 | 9.40 | 9.43 | 9.11 | 9.22 | 9.14 | 8.90 | 9.25 |
| Open-source models | |||||||||
| BAGEL [ 11 ] | 7.45 | 7.40 | 5.54 | 6.56 | 7.17 | 4.59 | 5.49 | 5.95 | 6.27 |
| Model | Customization | Illustration | Spatial | Temporal | Average | ||||
|---|---|---|---|---|---|---|---|---|---|
| 1-5 | 6-10 | 1-5 | 6-10 | 1-5 | 6-10 | 1-5 | 6-10 | ||
| Bagel | 5.37 | 2.53 | 4.51 | 4.34 | 0.67 | 0.53 | 3.36 | 2.93 | 3.03 |
| Bagel + All | 8.92 | 7.12 | 5.69 | 5.56 | 3.32 | 3.48 | 6.23 | 5.40 | 5.71 |
| Bagel + Customization | 8.61 | 6.43 | 5.19 | 4.92 | 0.81 | 0.64 | 4.43 | 3.17 | 4.27 |
| Bagel + Illustration | 5.46 | 2.16 | 5.93 | 5.70 | 1.21 | 1.22 | 5.14 | 4.59 | 3.92 |
| Bagel + Spatial | 5.08 | 2.24 | 4.89 | 4.78 | 2.72 | 2.98 | 4.99 | 4.13 | 3.97 |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Judge | Setting | Pearson | Spearman | Kendall |
|---|---|---|---|---|
| Gemini-3-Flash [ 8 ] | Overall | 0.821 | 0.795 | 0.665 |
| Human | 0.770 | 0.798 | 0.613 | |
| GPT-4.1 [ 29 ] | Overall | 0.555 | 0.598 | 0.470 |
| Human | 0.447 | 0.510 | 0.354 |
| Model | 1–3 | 4–5 | 6–7 | 8–10 | Avg |
|---|---|---|---|---|---|
| Closed-source models | |||||
| Nano Banana Pro [ 9 ] | 9.58 | 9.24 | 8.18 | 7.01 | 8.50 |
| GPT-Image-1.5 [ 30 ] | 9.67 | 9.57 | 9.30 | 8.23 | 9.19 |
| Open-source models | |||||
| BAGEL [ 11 ] | 6.78 | 3.96 | 2.87 | 2.19 | 3.95 |
| BAGEL + Echo4o [ 57 ] | 7.89 | 6.01 | 4.71 | 3.24 | 5.46 |
| Model | 1–3 | 4–5 | 6–7 | 8–10 | Avg |
|---|---|---|---|---|---|
| Closed-source models | |||||
| Nano Banana Pro [ 9 ] | 9.39 | 8.85 | 8.87 | 8.89 | 9.00 |
| GPT-Image-1.5 [ 30 ] | 9.41 | 8.39 | 8.77 | 8.91 | 8.87 |
| Open-source models | |||||
| BAGEL [ 11 ] | 4.66 | 4.35 | 4.54 | 4.14 | 4.42 |
| BAGEL + Echo4o [ 57 ] | 4.71 | 4.32 | 4.14 | 4.13 | 4.33 |
| Model | 1–3 | 4–5 | 6–7 | 8–10 | Avg |
|---|---|---|---|---|---|
| Closed-source models | |||||
| Nano Banana Pro [ 9 ] | 3.09 | 3.47 | 3.34 | 3.05 | 3.24 |
| GPT-Image-1.5 [ 30 ] | 3.01 | 3.63 | 4.25 | 4.23 | 3.78 |
| Open-source models | |||||
| BAGEL [ 11 ] | 0.87 | 0.47 | 0.53 | 0.53 | 0.60 |
| BAGEL + Echo4o [ 57 ] | 0.88 | 0.63 | 0.90 | 0.70 | 0.78 |
| Model | 1–3 | 4–5 | 6–7 | 8–10 | Avg |
|---|---|---|---|---|---|
| Closed-source models | |||||
| Nano Banana Pro [ 9 ] | 8.62 | 7.79 | 7.28 | 7.21 | 7.73 |
| GPT-Image-1.5 [ 30 ] | 8.73 | 8.23 | 8.06 | 7.62 | 8.16 |
| Open-source models | |||||
| BAGEL [ 11 ] | 3.90 | 2.82 | 3.13 | 2.72 | 3.14 |
| BAGEL + Echo4o [ 57 ] | 3.71 | 2.67 | 2.60 | 2.21 | 2.80 |
Image Generation
Image generation studies models that create or edit images from text, examples, layouts, and other structured controls.
See all 463 papers