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

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

While text-to-image models like Stable Diffusion have revolutionized content creation, they often suffer from two major bottlenecks. First, describing complex, nuanced, or highly specific visual concepts using only text is incredibly difficult. Second, most high-performing models are trained almost exclusively on English data, creating a language barrier for global users.

Training a new model from scratch to handle both interleaved multimodal inputs (images and text) and multiple languages is computationally prohibitive. To solve this, researchers introduce MultiFusion, a modular framework that enables text-to-image models to understand interleaved sequences of images and text across multiple languages. By "fusing" a pre-trained Large Language Model (LLM) with a Diffusion Model (DM), MultiFusion achieves sophisticated multimodal capabilities using less than 5% of the compute required to train a comparable model from scratch.

The MultiFusion Architecture

The core philosophy of MultiFusion is modular fusion. Instead of training a massive model from the ground up, the researchers combined and aligned three distinct, pre-trained components into a cohesive system.

MultiFusion Architecture
  • The Encoder (LLM): The standard CLIP encoder was replaced with a 13-billion parameter autoregressive LLM. This model was augmented with adapters (based on the MAGMA architecture) that allow it to process images as a sequence of 144 visual tokens alongside standard text tokens.
  • Semantic Alignment: To ensure the LLM's internal representations were useful for generating images, the team performed "Semantic Fine-tuning" using a contrastive objective. This aligned the embeddings to better capture the underlying meaning of a prompt.
  • Fusion Tuning: The image generator (Stable Diffusion v1.4) was kept mostly frozen. Only the cross-attention layers were fine-tuned to learn how to interpret the new, high-dimensional embeddings coming from the LLM.
  • Attention Manipulation: Because an image is represented by 144 tokens and a short text prompt might only be 5-10 tokens, the visual input can easily "drown out" the text. The authors introduced a per-token weighting factor at inference time to up-weight the influence of text tokens, allowing for a balanced blend of both modalities.

Key Insights and Results

MultiFusion was trained using a mix of multilingual text (400B tokens), image-text pairs (15.4M for multimodal adapters), and high-quality aesthetic images (40M for diffusion fine-tuning). The resulting model demonstrated several powerful capabilities.

Zero-Shot Multilingualism

Perhaps the most striking finding is the model's zero-shot multilingual capability. The image generation component was fine-tuned only on English data. However, because the LLM encoder already understood multiple languages (English, German, French, Italian, Spanish) and those languages were aligned in the embedding space, the image generator inherited multilingual capabilities for free. Tests showed a 97% cosine similarity across languages, meaning a prompt in French produces an image nearly identical to the same prompt in English.

Superior Compositionality

Autoregressive models (like the LLM used here) are generally better at "feature attribution"—correctly linking a color to the specific object it describes—than bidirectional models like CLIP. Furthermore, using an image as a "super-prompt" provides a much higher information density than text, significantly reducing attribute leakage.

To test this, the researchers introduced the Multimodal Concept Conjunction (MCC-250) benchmark, which tests the ability to correctly render two different objects with specific attributes (e.g., "a red apple and a yellow banana").

Compositionality Comparison: MultiFusion vs. Stable Diffusion

On the MCC-250 benchmark, MultiFusion correctly rendered two objects with their correct colors 58.35% of the time, nearly doubling the performance of standard Stable Diffusion (29.92%). As seen in the comparison, standard Stable Diffusion often suffers from attribute leakage (e.g., making a car green because of a green apple) or missing objects entirely, whereas MultiFusion successfully isolates these concepts.

Quantitatively, MultiFusion also achieved a strong FID-30k score of 8.61 on MS-COCO (at guidance scale 2.0), outperforming the base Stable Diffusion v1.5 (9.74).

Limitations and Future Work

While powerful, MultiFusion is designed to produce "meaningful variations" rather than exact pixel-perfect reconstructions or identity-preserving edits. The model occasionally struggles to separate the subject of a reference image from its background, pulling unwanted elements into the new generation. Additionally, when prompted with two different animals, it can sometimes create hybrid creatures rather than two distinct ones.

Future work will explore expanding the encoder to handle even more modalities, such as audio, video, or time-series data, and integrating the system into conversational chat interfaces for highly interactive, multimodal content creation.

Summary updated

BibTeX
@inproceedings{bellagente2023multifusion,
  author = {Marco Bellagente and Manuel Brack and Hannah Benita Teufel and Felix Friedrich and Björn Deiseroth and Constantin Eichenberg and Andrew Dai and Robert John Nicholas 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