PEA-Diffusion: Parameter-Efficient Adapter with Knowledge Distillation in Non-english Text-to-Image Generation

Jian Ma, Chen Chen, Qingsong Xie, Haonan Lu

Abstract

State-of-the-art text-to-image (T2I) models like Stable Diffusion are predominantly English-centric, posing a barrier for non-English speakers and often failing to capture cultural nuances through simple translation. We present PEA-Diffusion, a parameter-efficient adapter that enables non-English generation by training a tiny 6-million parameter MLP while keeping the massive generative UNet frozen. By employing feature-level and logit-level knowledge distillation from a teacher English model, PEA-Diffusion achieves high-quality, culturally accurate results with nearly 20x less computational cost than previous full-tuning methods.

Introduction

Most leading text-to-image models, such as Stable Diffusion and DALL-E 2, are "English-native." This creates a significant barrier for global users. Current solutions typically involve translation APIs or training language-specific models from scratch. Translation often fails to capture culture-specific concepts—for example, translating the Chinese dish “Hongshao shizi tou” literally as "Braised lion head" leads to incorrect imagery. Conversely, training from scratch is prohibitively expensive and loses compatibility with the vast ecosystem of community tools like LoRAs and ControlNets. PEA-Diffusion addresses these challenges by efficiently adapting existing models to new languages without losing their original generative power.

Methods

PEA-Diffusion introduces a lightweight Multi-Layer Perceptron (MLP) adapter that acts as a bridge between a language-specific CLIP encoder (e.g., Chinese CLIP) and a frozen English UNet. The core innovation is the use of Knowledge Distillation (KD) to align the student model (with the new adapter) to a pre-trained English "teacher" model.

Architecture of PEA-Diffusion showing the knowledge distillation process between a teacher and student UNet.

As shown in the architecture above, the training process utilizes two forms of distillation:

  • Logit-level KD (ULKD): Matching the final noise predictions of the teacher and student.
  • Feature-level KD (UFKD): Matching the intermediate feature maps within the UNet layers.

By aligning the internal "thoughts" of the UNet rather than just the input text embeddings, the model learns to trigger the correct generative concepts even when the prompt is in a different language. This method keeps the UNet entirely frozen, ensuring the adapter is a "plug-and-play" module compatible with existing English-based community extensions.

Key Results and Insights

PEA-Diffusion was evaluated across five languages (Chinese, Russian, Italian, Korean, and Japanese). The model uses only 0.2% trainable parameters and requires roughly 1,600 GPU hours to train, a massive improvement over the 30,000 hours required for models like AltDiffusion.

Qualitative comparison of PEA-Diffusion against translation and other baseline models on culturally specific prompts.

Qualitative results demonstrate that PEA-Diffusion significantly outperforms translation-based methods in cultural accuracy. As seen in the comparisons, PEA-Diffusion correctly interprets complex cultural prompts like "Pot Pork" or traditional Chinese landscapes where translation-based models produce literal or generic interpretations.

Key findings include:

  • Efficiency: Achieving state-of-the-art results with minimal trainable parameters.
  • Cultural Nuance: Feature-level alignment proves far more effective than simple text alignment for preserving local cultural concepts.
  • Compatibility: The frozen UNet allows the adapter to work seamlessly with specialized models for realistic portraits or 3D cartoons.

Conclusion

PEA-Diffusion demonstrates that high-quality multilingual T2I generation can be achieved efficiently by unlocking the latent knowledge already present in English-centric models. While the performance is dependent on the quality of the language-specific CLIP encoder, this approach provides a scalable and cost-effective path for democratizing generative AI across diverse linguistic and cultural contexts.

Summary updated

BibTeX
@inproceedings{ma2024pea,
  author = {Jian Ma and Chen Chen and Qingsong Xie and Haonan Lu},
  title = {{PEA-Diffusion: Parameter-Efficient Adapter with Knowledge Distillation in Non-english Text-to-Image Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73113-6\_6},
}
Figure