Introduction
Despite the rapid evolution of text-to-image (T2I) diffusion models, generating realistic human anatomy remains a significant challenge. Even state-of-the-art models like Stable Diffusion XL (SDXL) frequently produce "nightmare hands"—characterized by incorrect finger counts or distorted joints—and facial features that lose coherence in complex scenes. These failures break the immersion of AI-generated art and limit the utility of these models for professional applications.
To address these issues, researchers have introduced MoLE (Mixture of Low-rank Experts), a plug-and-play framework designed to inject specialized anatomical knowledge into existing diffusion models. By combining a massive new human-centric dataset with an adaptive weighting mechanism, MoLE significantly improves the fidelity of faces and hands without sacrificing the model's general creative capabilities.
The Anatomy Problem: Data and Structure
The paper identifies two primary bottlenecks preventing T2I models from mastering human figures:
- Data Scarcity and Quality: Large-scale datasets like LAION often contain low-resolution human figures or lack detailed close-ups of extremities. Without high-quality, focused data, models fail to learn the intricate details of human skin texture and skeletal structure.
- Structural Complexity: Human faces and hands are highly variable and detailed. During standard fine-tuning, a model often prioritizes global scene composition over local anatomical accuracy. This leads to a "jack of all trades, master of none" scenario where the background looks perfect, but the human subject is flawed.
The MoLE Framework
The MoLE approach utilizes a three-stage pipeline to refine human-centric generation:
1. Base Fine-tuning
The researchers first establish a strong general prior by fine-tuning a base model (such as Stable Diffusion v1.5) on a newly curated "human-in-the-scene" dataset. This ensures the model understands how humans interact with their environments before specialized experts are introduced.
2. Expert Training via LoRA
Rather than fine-tuning the entire model on specific parts, the authors employ Low-Rank Adaptation (LoRA). They train two distinct experts:
- Face Expert: Trained on high-quality close-ups to capture nuanced expressions and textures.
- Hand Expert: Trained on a diverse set of hand gestures and object interactions to master complex skeletal geometry.
3. Soft Mixture Assignment (The Gating Mechanism)
The core innovation of MoLE is its Mixture of Experts (MoE) framework. Unlike traditional LoRA merging, which applies a static weight to the entire image, MoLE uses two types of adaptive gating:
- Global Gating: A scalar value that adjusts the overall influence of an expert based on the prompt.
- Local Gating: A token-level score map that allows the model to apply the "hand expert" specifically to the pixels where hands are being generated and the "face expert" to the head region.
Crucially, MoLE uses a sigmoid-based soft assignment instead of the standard softmax. This allows multiple experts to be active simultaneously—essential for images containing both faces and hands—without them competing for weight or degrading the image quality.
Datasets and Benchmarks
To support this framework, the authors introduced a comprehensive human-centric dataset:
- Human-in-the-scene: Over 1 million high-resolution (1024x2048+) images of people in various contexts.
- Close-up Subsets: 6.4k face images (from Celeb-HQ and FFHQ) and 7k hand images featuring diverse gestures.
For evaluation, they developed two new benchmarks: COCO Human Prompts (60k prompts) and DiffusionDB Human Prompts (64k prompts), specifically filtered to test the model's ability to render human subjects.
Key Results and Insights
MoLE demonstrates a clear quantitative and qualitative lead over existing models:
- Quantitative Performance: On the DiffusionDB Human Prompts benchmark, MoLE (integrated with SDXL) achieved an ImageReward (IR) score of 105.25, a substantial leap from the base SDXL score of 87.88.
- Qualitative Superiority: Visual comparisons indicate that MoLE consistently generates the correct number of fingers and more natural skin textures than SD v1.5, SDXL, and VQ-Diffusion.
- User Preference: In head-to-head studies, 58% of participants preferred MoLE over HyperHuman. Furthermore, MoLE proved competitive with specialized models like HanDiffuser, while offering greater flexibility as it does not require additional inputs like hand skeletons or camera parameters.
Limitations and Future Work
While MoLE represents a major advancement, the authors acknowledge several remaining hurdles:
- Multi-person Scenes: The gating mechanism can occasionally struggle to assign experts correctly when multiple individuals appear in a single frame.
- The Quality Ceiling: Only 25% of MoLE’s outputs were classified as "high quality" by the authors' rigorous standards. While this is a 150% improvement over SDXL’s 10%, it highlights that human-centric generation is not yet fully solved.
- Demographic Bias: The authors noted that web-scraped data inherits internet biases and emphasized the need for more diverse data representation in future iterations.
Conclusion
MoLE provides a scalable, plug-and-play solution for one of the most persistent problems in generative AI. By isolating anatomical knowledge into specialized experts and using local gating to apply that knowledge precisely where it is needed, MoLE moves us closer to a future where AI-generated humans are indistinguishable from reality.
Summary updated