MoLE: Enhancing Human-centric Text-to-image Diffusion via Mixture of Low-rank Experts

Jie Zhu, Yixiong Chen, Mingyu Ding, Ping Luo, Leye Wang, Jingdong Wang

TL;DR

MoLE (Mixture of Low-rank Experts) fixes the notorious problem of distorted faces and hands in text-to-image diffusion models. By combining a massive new human-centric dataset with an adaptive routing framework that blends specialized face and hand LoRA modules, MoLE significantly boosts anatomical realism. Crucially, it achieves this purely from text prompts, bypassing the need for complex extra inputs like skeletal poses or 3D meshes.

What Problem Does This Paper Address?

While modern text-to-image models like Stable Diffusion generate breathtaking landscapes and stylized artwork, they famously stumble when generating human anatomy. "AI hands" with missing or extra fingers and warped, unnatural faces have become a hallmark of generative failures.

The authors identify two core reasons for this bottleneck:

  1. Data Scarcity: Popular large-scale datasets (like LAION) suffer from low-resolution human crops, leaving diffusion models without a strong prior for what realistic human features look like up close.
  2. High Geometric Variability: Faces and hands are highly complex and articulate. Standard global fine-tuning forces the model to prioritize overall image composition, causing it to gloss over the intricate, highly variable details of hands and faces.

Methods

The authors introduce Mixture of Low-rank Experts (MoLE), a three-stage framework designed to inject specialized anatomical knowledge into diffusion models seamlessly.

  1. Base Fine-Tuning: First, they fine-tune a base model (like Stable Diffusion v1.5) on a massive, newly collected dataset of full-body human images to establish a strong baseline for human proportions and activities.
  2. Low-Rank Expert Generation: Next, they train two separate Low-Rank Adaptation (LoRA) modules independently. One expert is trained exclusively on close-up face images, and the other on close-up hand images. This is inspired by the phenomenon of low-rank refinement: a specialized LoRA can subtly correct specific regions without destroying the base model's overall capabilities if scaled correctly.
  3. Soft Mixture Assignment: Instead of forcing a hard choice between the face or hand expert, MoLE implements a dual gating network (local and global) using sigmoid activations.
The MoLE framework architecture, illustrating how local and global gating networks adaptively activate face and hand LoRA experts within the UNet layers.

Because faces and hands frequently appear together in an image, MoLE avoids using a standard softmax function (which forces experts to compete). Instead, independent sigmoid gates allow both experts to activate simultaneously at the token (local) and image (global) levels.

Datasets

The paper introduces a comprehensive, high-resolution human-centric dataset split into three distinct subsets:

  • Human-in-the-scene: Over 1 million high-quality, multi-race images with resolutions exceeding $1024 \times 2048$, filtered for blur via VGG19 and captioned using LLaVA.
  • Close-up Faces: ~6.4k high-quality face images sampled from Celeb-HQ and FFHQ.
  • Close-up Hands: ~7k high-quality hand images featuring diverse gestures, manually cropped to ensure clarity.

For evaluation, they construct two new benchmarks by filtering human-related prompts from existing datasets: COCO Human Prompts (~60k prompts) and DiffusionDB Human Prompts (~64k prompts).

Key Insights and Ideas

  • The Power of Low-Rank Refinement: The authors observed that scaling a specialized LoRA's weight ($s$) acts as a fine-tuning knob for specific features. For instance, setting a hand LoRA's scale to $s=0.4$ subtly corrects finger anatomy without distorting the rest of the person (see Figure 2).
  • Non-Competitive Gating: Traditional Mixture-of-Experts (MoE) architectures route inputs to a single expert. MoLE’s use of independent sigmoid gates recognizes that human features are co-dependent but non-exclusive; a hand expert shouldn't shut off just because a face is present.
  • Temporal Denoising Dynamics: Analysis of the global gating weights revealed a fascinating trend: the hand expert is highly active early in the diffusion process to establish rough skeletal layouts, whereas the face expert remains active longer to meticulously refine fine facial features.

Key Results

MoLE demonstrates substantial improvements over standard diffusion baselines across both quantitative human preference metrics and qualitative user studies.

Quantitative Performance

Evaluated using Human Preference Score (HPS) and ImageReward (IR), MoLE consistently outperforms its base architectures:

  • On SD v1.5: On the COCO Human Prompts benchmark, MoLE boosts the ImageReward score from 28.34 (baseline SD v1.5) to 33.75.
  • On SDXL: When integrated into the larger SDXL model, MoLE pushes the ImageReward score from 73.34 to an impressive 98.52.

Qualitative & User Preference

In a 50-participant user study, images generated by MoLE were overwhelmingly preferred over baseline models. Specifically, MoLE achieved a 62% preference rate for hand quality and a 54% preference rate for face quality compared to standard SD v1.5.

Visual comparison of MoLE against other popular diffusion models, highlighting the improved naturalness of generated faces and hands.

Crucially, MoLE achieves parity with or beats structural models like HanDiffuser and HyperHuman while remaining entirely text-driven, eliminating the need for users to provide structural skeletons or camera parameters.

Limitations and Future Work

Despite its success, the authors note a few areas for improvement:

  • Multi-Person Scenarios: MoLE currently struggles when a prompt requires generating multiple individuals simultaneously, as the gating mechanism is not yet identity-aware.
  • Yield Rate: Only about 25% of MoLE's outputs are considered "high quality" under identical prompts. While this is a notable step up from SDXL's 10% high-quality yield rate, it remains below commercial production standards.
  • Future Work: The team aims to optimize the gating hyperparameters, expand the dataset to cover more diverse demographics, and potentially introduce new experts for other notoriously difficult human details, such as feet.

Summary updated

BibTeX
@inproceedings{zhu2024mole,
  author = {Jie Zhu and Yixiong Chen and Mingyu Ding and Ping Luo and Leye Wang and Jingdong Wang},
  title = {{MoLE: Enhancing Human-centric Text-to-image Diffusion via Mixture of Low-rank Experts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=XWzw2dsjWd},
}
Figure