TL;DR
Appearance Pointers introduce a lightweight, modality-agnostic framework that gives Diffusion Transformers (DiTs) precise, region-aware control over image generation. By translating user-defined masks and heterogeneous conditioning signals (both text and images) into compact "pointer tokens," the method routes the model to the correct appearance cues without retraining the base DiT from scratch.
What Problem Does This Paper Address?
While text-to-image models have become incredibly powerful, controlling where specific elements appear and how they look remains a major headache for creative professionals. Standard text prompting provides only indirect, global control. If you want a specific velvet texture on a sofa and a matte black finish on a van in the background, text prompts often bleed together.
Existing spatial control methods fall short in a few ways:
- Architecture Mismatch: Most were built for older U-Net architectures, not modern Diffusion Transformers (DiTs).
- Modality Lock-in: They are typically restricted to either text-only or image-only regional control.
- Token Explosion: Naively feeding multiple regional descriptions into a transformer rapidly inflates the token count, triggering an $O(N^2)$ computational explosion in self-attention layers.
This paper introduces a unified framework to handle multi-region, multimodal (text + image) conditioning seamlessly within a single denoising pass.
Methods
The core innovation is the Appearance Pointer, a compact token that doesn't store appearance details directly but instead acts as a router, telling the DiT exactly where to apply vanilla text and image tokens.
The architecture consists of two main modules that sit on top of a frozen DiT (like FLUX.1):
- Region Correspondence Transformer ($\mathbf{\Phi}_{RC}$): This module takes a binary mask, an image prompt, and/or a text prompt for a specific region, fusing them into semantic feature maps. Crucially, this step runs only once per generation rather than at every denoising step, keeping overhead minimal.
- Region Aggregation Transformer ($\mathbf{\Phi}_{A}$): To prevent token explosion, this module performs a "depth-wise" consolidation across all regions at each spatial patch location. By prepending a learnable
[CLS]token, it collapses the multi-region stack into a single canvas that matches the base DiT's spatial dimensions, keeping the token load constant regardless of how many regions are specified.
Additionally, a Region Contour Guidance network encodes an edge boundary map via a VAE to ensure the model strictly adheres to fine-grained mask boundaries. The entire framework is adapted to the base DiT using low-rank adaptation (LoRA).
Datasets
Because existing object-insertion and personalization datasets lack fine-grained regional captions, the authors introduced a new synthetic dataset:
- AppearancePointers-37K: Contains 37,000 samples featuring diverse scenes with objects of varying scales. Images were synthesized using Flux.1 Dev, segmented with Grounded SAM, and subjected to automated pose and material edits. A Vision-Language Model (InternVL) filtered out low-quality generations based on strict consistency scores.
For real-world evaluation, the model was tested zero-shot and fine-tuned on the SACap-eval dataset and evaluated for subject-conditioned generation on MS-Bench.
Key Insights and Ideas
- Routing vs. Encoding: Instead of trying to compress complex textures and styles into a new embedding space, the model simply learns spatial pointers. It tells the network: "Look at this reference image token when generating this specific mask region."
- The Depth-Wise Aggregation Trick: By treating the number of regions ($R$) as the sequence length and performing self-attention per patch, the model sidesteps the spatial token explosion. This elegant bottleneck keeps inference fast and scalable.
- Diffusion-Step Independence: Separating the region-prompt linking from the iterative diffusion loop means the heavy lifting of cross-modal alignment is done upfront, resulting in negligible computational overhead during sampling.
Key Results
The authors evaluated Appearance Pointers against state-of-the-art modality-specific baselines (like MS-Diffusion for images and Seg2Any for text) and achieved superior or highly competitive results.
- Text-Conditioned Regions: On the AppearancePointers-37K benchmark, the method achieved the highest global image quality (CLIP-IQA: 95.02) and region fidelity (CLIP-I: 90.40), outperforming Seg2Any and DreamRenderer.
- Image-Conditioned Regions: The model significantly outperformed MS-Diffusion in region adherence and identity preservation, scoring a CLIP-I of 93.29 and a Mask IoU (MIoU) of 40.97 (compared to MS-Diffusion's 89.66 and 28.86, respectively).
- Multimodal Synergy: The model can simultaneously handle an image prompt (for object identity) and a text prompt (for material modification) on the exact same region—a feat prior unified models couldn't achieve.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Finer Details & Faces: The framework inherits some of the base FLUX model's struggles with preserving intricate human facial identities, performing better when faces occupy larger parts of the frame.
- The "Crowded Scene" Penalty: When scaling up to highly complex layouts with 10 or more distinct regions, the model suffers from gradual degradation, occasionally leaking artifacts across overlapping boundaries.
Moving forward, the authors suggest extending this pointer-routing mechanism to other conditioning modalities, such as audio, video, or 3D representations.
Summary updated