MultiFusion: Fusing Pre-Trained Models for Multi-Lingual, Multi-Modal Image Generation

Marco Bellagente, Manuel Brack, Hannah Teufel, Felix Friedrich, Björn Deiseroth, Constantin Eichenberg, Andrew Dai, Robert Baldock, Souradeep Nanda, Koen Oostermeijer, Andres Felipe Cruz-Salinas, Patrick Schramowski, Kristian Kersting, Samuel Weinbach

TL;DR

MultiFusion is a modular framework that connects pre-trained Large Language Models (LLMs) with text-to-image diffusion models to enable multilingual, interleaved multimodal image generation. By leveraging cross-lingual transfer from the underlying LLM, the system achieves robust multilingual and multimodal capabilities using less than 5% of the training compute required to build a comparable model from scratch.

What Problem Does This Paper Address?

While text-to-image diffusion models (DMs) like Stable Diffusion have revolutionized content creation, they suffer from two major limitations:

  1. Language Barriers: Most widely available models are strictly English-only. Training a multilingual DM from scratch requires massive, curated multilingual datasets and immense computational power.
  2. Modality Constraints: Expressing complex, nuanced, or highly specific visual concepts (like a exact furniture style or a custom sketch) using text alone is notoriously difficult.

Existing attempts to solve these issues usually rely on separate, disjointed pipelines or specialized image-to-image models that lack the flexible, conversational control of natural language. MultiFusion addresses this by allowing users to provide arbitrarily interleaved sequences of text and images in multiple languages as a single prompt.

Methods

Instead of training a new model from scratch, the authors introduce a "fusion tuning" approach that stitches together pre-trained components:

Figure 1: MULTIFUSION architecture. We augment a Decoder Language Model (1.1.) with adapters, finetuned for multimodality (1.2) as well as biases (2.1), finetuned for semantic search. Next, we condition the diffusion model (1.3) through cross-attention (2.2) on embeddings produced by the LM. During diffusion training, we use either the image or the caption for conditioning, while inference is performed with multimodal input. (Best viewed in color.)
  • Multimodal LLM Encoder: The core backbone is a 13B parameter autoregressive decoder LLM. To handle images, they add a ResNet visual encoder (initialized with CLIP weights) that converts an image into a prefix sequence of 144 token embeddings. Bottleneck adapters are inserted into the LLM layers to process these interleaved text-image tokens.
  • Semantic Alignment: To ensure the LLM's hidden representations map cleanly to visual concepts, the authors apply parameter-efficient bias fine-tuning (BitFit) using a contrastive learning objective.
  • Bootstrapping Stable Diffusion: The standard CLIP text encoder in Stable Diffusion v1.4 is completely replaced by this newly formed multimodal LLM encoder. During diffusion training, all weights of the DM are frozen except for the cross-attention layers in the U-Net.
  • Atman Attention Manipulation: Because a single image maps to 144 tokens, it can easily overwhelm a short text prompt at inference time. To counteract this token imbalance, the authors use attention manipulation to up-weight the text tokens by a factor of 10–25, balancing the influence of both modalities.

Datasets

  • Training: The LLM was pre-trained on a 400B token multilingual corpus (English, German, French, Italian, Spanish). The multimodal adapters were trained on 15.4 million image-text pairs. The Stable Diffusion cross-attention layers were fine-tuned on a 40 million image subset of LAION aesthetics V.2 5+ using English-only captions.
  • Evaluation: Standard image fidelity was evaluated on the MS-COCO validation set. Multilingual capabilities were tested using a translated version of DrawBench.
  • New Benchmark: The authors introduce the Multimodal Concept Conjunction 250 (MCC-250) benchmark. Derived from CC-500, it features complex prompts describing two objects with distinct attributes (e.g., "a green apple and a red car"), accompanied by reference images to test compositional robustness.

Key Insights and Ideas

  • Zero-Shot Cross-Lingual Transfer: This is the paper's biggest "aha" moment. Even though the diffusion model's cross-attention layers were trained solely on English text, MultiFusion successfully generates accurate images from German, French, Spanish, and Italian prompts. The multilingual capabilities of the frozen LLM seamlessly transfer to the downstream image generation task.
  • Autoregressive Advantage: The authors argue that autoregressive decoder models are fundamentally better at handling feature attribution (e.g., correctly pairing "red" with "apple" and "blue" with "car") than bidirectional encoders due to how they break permutation equivariance.
  • The Token Imbalance Problem: Simply feeding images into an LLM creates a massive numerical disparity (144 visual tokens vs. a few text words). Without explicit inference-time attention manipulation, the visual prompt completely overrides the text.

Key Results

  • Compositional Robustness: On the MCC-250 benchmark, MultiFusion drastically reduces common diffusion errors like attribute leakage and missing objects. Human evaluation showed that MultiFusion with multimodal inputs correctly rendered both objects with their correct colors 58.35% of the time, compared to just 29.92% for standard Stable Diffusion.
Composition Comparison
  • Image Fidelity: On MS-COCO, providing multimodal prompts (text + reference image) improved the FID-30k score significantly compared to text-only prompts (e.g., dropping from 14.19 to 11.50 at a guidance scale of 8.0).
  • Multilingual Consistency: MultiFusion achieved a 97% average cosine similarity in embedding space across different languages on DrawBench, ensuring that translating a prompt yields highly consistent imagery.
Figure 3: Multilingual alignment of images generated by MULTIFUSION. All images were generated using the same seed and with the respective translation of the prompt ‘an image of an astronaut riding a horse’. (Best viewed in color)

Limitations and Future Work

  • Variation vs. Replication: MultiFusion is designed to encode semantic characteristics, not to reconstruct images. It cannot exactly copy an object from an input image, which limits its use for precise image editing.
  • Background Leakage: The model occasionally incorporates unwanted background elements from the reference image into the generated output.
  • The Animal Blend Failure: The model struggles when prompted with two different animals (e.g., "a brown bear and a blue bird"), frequently generating a single hybrid creature rather than two distinct entities.
  • Safety Concerns: Because it builds on web-crawled datasets like LAION, it inherits standard dataset biases and risks of inappropriate generation. Consequently, the authors are not releasing the model weights publicly at this stage.

Summary updated

BibTeX
@inproceedings{bellagente2023multifusion,
  author = {Marco Bellagente and Manuel Brack and Hannah Teufel and Felix Friedrich and Björn Deiseroth and Constantin Eichenberg and Andrew Dai and Robert Baldock and Souradeep Nanda and Koen Oostermeijer and Andres Felipe Cruz-Salinas and Patrick Schramowski and Kristian Kersting and Samuel Weinbach},
  title = {{MultiFusion: Fusing Pre-Trained Models for Multi-Lingual, Multi-Modal Image Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=9ych3krqP0},
}
Figure