MACRO: Advancing Multi-Reference Image Generation with Structured Long-Context Data

Zhekai Chen, Yuqing Wang, Manyuan Zhang, Xihui Liu
3/26/2026
cs.CV

No official code found. Best implementation: HKU-MMLab/Macro (66 stars, last commit 2026-03-27).

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.

View on arXivView PDF

Code Implementations(1)

HKU-MMLab/MacroCommunity25%

The official repo of "MACRO: Advancing Multi-Reference Image Generation with Structured Long-Context Data"

661CSS, HTML6 months ago
aibenchmarkcvdata

Similar Papers

Cite this paper

@article{chen2026macro,
  title  = {MACRO: Advancing Multi-Reference Image Generation with Structured Long-Context Data},
  author = {Zhekai Chen and Yuqing Wang and Manyuan Zhang and Xihui Liu},
  year   = {2026},
  eprint = {2603.25319},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.25319v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.25319.svg)](https://codeofpaper.com/paper/2603.25319)

Discussion