Seeing the Unseen: How EMoE Unveils Bias in Text-to-Image Diffusion Models
Lucas Berry, Axel Brando, Wei-Di Chang, Juan Camilo Gamboa Higuera, David Meger
TL;DR
EMoE tackles the challenge of estimating epistemic uncertainty in large text-to-image diffusion models by leveraging pre-trained, sparse MoE components and performing uncertainty estimation directly in a diffusion latent space. By disentangling expert outputs at the first cross-attention layer, EMoE computes a latency-based uncertainty measure EU(y) that captures disagreement among experts, enabling early halting of expensive denoising for high-uncertainty prompts. Across COCO, multilingual prompts, and ablations, EMoE reveals that uncertainty correlates with image quality and exposes linguistic biases, particularly favoring high-resource or European languages. The approach offers zero-training uncertainty estimation with substantial computational savings and provides a practical tool for fairness, accountability, and bias assessment in AI-generated content.
Abstract
Estimating uncertainty in text-to-image diffusion models is challenging because of their large parameter counts (often exceeding 100 million) and operation in complex, high-dimensional spaces with virtually infinite input possibilities. In this paper, we propose Epistemic Mixture of Experts (EMoE), a novel framework for efficiently estimating epistemic uncertainty in diffusion models. EMoE leverages pre-trained networks without requiring additional training, enabling direct uncertainty estimation from a prompt. We leverage a latent space within the diffusion process that captures epistemic uncertainty better than existing methods. Experimental results on the COCO dataset demonstrate EMoE's effectiveness, showing a strong correlation between uncertainty and image quality. Additionally, EMoE identifies under-sampled languages and regions with higher uncertainty, revealing hidden biases in the training set. This capability demonstrates the relevance of EMoE as a tool for addressing fairness and accountability in AI-generated content.
