Introduction
Composed Multimodal Conditional Image Synthesis (CMCIS) is a challenging task where users provide multiple, often "imperfectly complementary" inputs—such as a rough sketch, a text description, and a bounding box—to generate a single coherent image. Unlike traditional Multimodal Conditional Image Synthesis (MCIS), which assumes all inputs are perfectly aligned descriptions of the same scene, CMCIS allows for creative composition where different modalities control different aspects of the image.
The Challenges of Multimodal Synthesis
Existing models for multimodal generation often fall short in two key areas:
- Modality Coordination: When multiple spatial controls (like sketches and masks) are used, models often fail to fuse fine-grained information correctly. This leads to artifacts where textures from one region bleed into another (e.g., a tree inheriting mountain textures because the sketch and mask weren't perfectly synced).
- Modality Imbalance: Different modalities possess varying information densities and optimization difficulties. For instance, sketches are typically easier for a model to learn than complex text descriptions. Without careful balancing, models tend to ignore the "harder" signals during training as they converge quickly on the easier ones.
The MMoT Framework
To address these issues, the authors introduce the Mixture-of-Modality-Tokens (MMoT) Transformer. MMoT utilizes an asymmetric encoder-decoder architecture (12 encoder layers and 24 decoder layers) and several key innovations:
- Unified Tokenization: All inputs are converted into discrete tokens. Visual modalities (sketches, masks) use VQGAN, while text is processed via CLIP embeddings.
- Multistage Token-Mixer: This module introduces a special [PULSE] token that adaptively calculates combination weights for different modalities at every layer. This enables the model to dynamically prioritize signals—for example, using a sketch for shape and text for color.
- Multimodal Balanced Loss: An adaptive loss function weights different input combinations during training to ensure the model does not prematurely converge on "easy" modalities at the expense of others.
- Divergence-driven Sampling Guidance: During inference, Jensen-Shannon Divergence (JSD) measures the influence of each modality, allowing for dynamic adjustment of guidance scales to ensure all control signals are respected.
Experimental Results
MMoT was evaluated on the COCO-Stuff and LHQ (Landscapes) datasets. On COCO-Stuff, MMoT achieved a state-of-the-art FID of 17.9 for text-to-image tasks, outperforming models like PoE-GAN (20.5) and VQGAN+T (27.8).
In full multimodal settings (Text + Mask + Sketch), it reached a Clean-FID of 12.6, demonstrating its superior ability to handle complex compositions. Qualitatively, the model demonstrates impressive "counterfactual" capabilities, accurately modifying specific attributes (like sky color) while maintaining structural constraints provided by sketches.
Conclusion
MMoT provides a robust framework for complex, composed image synthesis. By explicitly addressing modality coordination and imbalance through the Token-Mixer and balanced loss strategies, it offers users unprecedented control over the creative generation process. While autoregressive inference remains slower than GAN-based alternatives, the model's ability to handle diverse, unaligned inputs marks a significant step forward in multimodal AI.
Summary updated