Ar2Can: An Architect and an Artist Leveraging a Canvas for Multi-Human Generation

Shubhankar Borse, Phuc Pham, Farzad Farhadzadeh, Seokeon Choi, Phong Nguyen, Anh Tran, Sungrack Yun, Munawar Hayat, Fatih Porikli

TL;DR

Ar2Can is a novel two-stage framework that solves the long-standing challenge of generating high-fidelity, multi-human images from text prompts. By decoupling spatial layout planning (the "Architect") from identity-preserving rendering (the "Artist"), and optimizing via Reinforcement Learning, it achieves state-of-the-art results in both person count accuracy and identity preservation using entirely synthetic multi-human data.

What Problem Does This Paper Address?

State-of-the-art text-to-image diffusion models excel at generating single-subject personalized images but systematically fail when tasked with generating scenes containing multiple distinct individuals (e.g., "three friends in a park").

The root cause is a conflation of spatial structure and appearance: when a single-stage model simultaneously tries to reason about where people should be placed and what they should look like, it suffers from severe failure modes. These include identity merging (bleeding features across faces), identity duplication (rendering the same face multiple times), or incorrect person counts. Existing regional conditioning methods mitigate this but require tedious manual spatial annotations at inference time.

Methods

Ar2Can addresses this by explicitly disentangling the generation process into two distinct stages:

Figure 1. Ar2Can Framework Overview. Our two-stage ap- proach decomposes multi-human generation into spatial planning (Architect) and identity-preserving rendering (Artist).

1. The Architect (Spatial Layout Generation)

The Architect generates a structured spatial plan (bounding boxes and optional poses) directly from the text prompt. The authors propose two modular variants:

  • Architect-A (LLM-based): Built on Qwen-2.5 (0.5B), it treats layout generation as an autoregressive token regression task. It uses custom tokens (<SoL>, <EoL>, <C>) alongside coordinate regression and embedding heads to dynamically output precise bounding boxes.
  • Architect-B (T2I-based): Fine-tunes Flux-Schnell using Group Relative Policy Optimization (GRPO) to sketch a rapid 2D layout draft, providing richer spatial and pose priors.
Figure 3. Architecture of the LLM-based Architect-A for layout. Top: response example for spatial layout generation. Bottom: our lightweight LLM extended with special tokens.

2. The Artist (Identity-Preserving Rendering)

The Artist (Flux-Kontext) renders the final photorealistic image conditioned on the Architect's layout and reference identity images. To prevent identity bleeding, the Artist is fine-tuned via GRPO using a compositional reward function:

Figure 4. Artist training pipeline with GRPO. Given the input canvas and text prompt, sample a group of images and optimize over com- positional rewards: count accuracy, prompt alignment/aesthetic quality (HPSv3), spatially-grounded face matching and pose correction.
  • Spatially-Grounded Face Matching Reward: Instead of forcing exact bounding box crops (which causes unnatural "copy-paste" artifacts), it uses the Hungarian algorithm to match the Architect's planned centroids with the dynamically detected faces, evaluating identity similarity via ArcFace embeddings only after spatial alignment.
  • Token Sharing and Dropping: To optimize computation and handle occlusions, the model extracts only the tokens within the planned bounding boxes (reducing token counts by 2x). When faces overlap, it assigns identical Rotary Position Embedding (RoPE) values to the overlapping regions, forcing the model to naturally resolve depth ordering and layering.
Figure 5. We drop non-informative canvas tokens and assign iden- tical positional encodings to overlapping regions, enabling the model to learn natural occlusion and depth ordering.

Datasets

  • Training Data Curation: Because high-quality, multi-identity datasets are scarce, the authors created a hybrid pipeline. They used an existing model (DisCo) to generate synthetic multi-person scenes, detected the face locations, and swapped them with real reference faces from public datasets (e.g., MS-Celeb-1M for multi-view and single-view references).
  • Evaluation Benchmarks: Evaluated on MultiHuman-Testbench (MHTB) (1,800 samples, 1–5 people per sample) and MultiID-Test (1–4 faces, primarily 1–2 person scenes).

Key Insights and Ideas

  • Disentanglement is Key: Separating "where" from "what" completely bypasses the spatial conflicts that cause end-to-end diffusion models to merge identities.
  • Flexible Spatial Constraints: Moving away from rigid bounding-box loss toward a Hungarian centroid-matching reward gives the diffusion model the flexibility to render natural variations in pose, scale, and lighting while still respecting the macro layout.
  • RoPE for Occlusion: Assigning identical RoPE embeddings to overlapping layout regions creates "spatial competition," naturally teaching the model how to layer humans in front of one another without explicit depth supervision.

Key Results

  • Count Accuracy: Ar2Can (with Architect-A) achieved a top count accuracy of 90.2% on the MultiHuman-Testbench, outperforming strong baselines like WithAnyone (89.8%) and proprietary models like GPT-Image-1 (87.9%).
  • Identity Preservation: Ar2Can (with Architect-B) achieved a Multi-ID score of 68.2, dramatically beating the best open-source baseline, MH-OmniGen, by 13.7 points.
  • Efficiency: The token sharing and dropping strategy successfully cut inference latency in half (2x speedup) while maintaining high perceptual quality.
  • Human Preference: In a user study, Ar2Can won 88% of prompts against competing methods (DreamO and XVerse) across prompt alignment, identity preservation, and overall quality.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{borse2026ar,
  author = {Shubhankar Borse and Phuc Pham and Farzad Farhadzadeh and Seokeon Choi and Phong Nguyen and Anh Tran and Sungrack Yun and Munawar Hayat and Fatih Porikli},
  title = {{Ar2Can: An Architect and an Artist Leveraging a Canvas for Multi-Human Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=FiKABxmiYo},
}
Figure