Mixture of Style Experts for Diverse Image Stylization

Shihao Zhu, Ziheng Ouyang, Yijia Kang, Qilong Wang, Mi Zhou, Bo Li, Ming-Ming Cheng, Qibin Hou

TL;DR

StyleExpert is a novel semantic-aware image stylization framework that moves beyond simple color mapping to capture complex textures, line work, and material details. By combining a contrastively trained style encoder with a Mixture of Experts (MoE) LoRA architecture, it dynamically routes different artistic styles to specialized neural experts, achieving state-of-the-art results on diverse and unseen styles.

What Problem Does This Paper Address?

While diffusion-based image generation has skyrocketed in quality, style transfer methods still suffer from a frustrating limitation: they often degenerate into simple color mapping. If you give a model a reference image with a distinct texture or line style, it frequently just copies the dominant color palette (e.g., turning the target image green or yellow) while completely ignoring the brushstrokes, geometry, and material details.

The authors identify two core reasons for this "style degradation":

  1. Dataset Imbalance: Existing style transfer datasets are overwhelmingly biased toward color-centric transformations rather than complex semantic styles.
  2. Uniform Style Injection: Current architectures treat all styles uniformly when injecting them into the model (via cross-attention or simple concatenation), failing to accommodate the massive diversity of artistic expressions.
Figure 1. (a) We highlight the difference in stylization focus between StyleExpert and prior works such as OmniStyle [44], USO [48], and OmniGen2 [47]. While these methods often perform simple color transfer, our approach emphasizes a semantic understanding of the style image. (b) We showcase StyleExpert’s stylization results across diverse style reference images.

Methods

To build a model capable of deep semantic understanding, the authors introduce StyleExpert, which is built on top of the Flux-Kontext Diffusion Transformer (DiT) base model. The framework operates in two distinct training stages:

  1. Style Representation Encoder: Features from a pre-trained SigLIP model are extracted across multiple layers and passed through a Multi-Layer Perceptron (MLP). This MLP is trained using an InfoNCE contrastive loss, which forces the model to map visually and semantically similar styles close together in a unified latent space.
  2. Efficient MoE Fine-tuning: Instead of using a single LoRA for all styles, the authors embed a Mixture of Experts (MoE) architecture containing multiple specialized LoRA experts within the self-attention and feed-forward layers. A similarity-aware gating network (router) uses the latent style embedding from Stage 1 to dynamically select and weight the top-K most appropriate experts for the given reference style.
Figure 2. Overview of the proposed StyleExpert. Our method comprises two training stages. In the first stage (Sec. 3.2), a style encoder is trained with the InfoNCE loss to learn discriminative style representations, thereby accelerating convergence. In the second stage (Sec. 3.3), the pre-trained encoder provides style priors to guide the router network in training MoE LoRA adapters, enabling each layer to dynamically select the most suitable experts for diverse styles.

Datasets

To fix the data imbalance problem, the authors created a brand-new benchmark from scratch:

  • StyleExpert-500K: A dataset consisting of 500,000 content-style-stylized image triplets. To build it, they bypassed flawed SOTA style transfer models and instead leveraged 209 high-quality, style-centric LoRAs from the Hugging Face community. They applied these to 2,700 diverse photographs, used the Qwen LLM to strip style-specific words from captions (ensuring the prompts stayed purely content-focused), and generated clean stylized images.
  • StyleExpert-40K: A high-fidelity subset pruned using Qwen-VL to filter out any images with poor stylization, layout degradation, or object inconsistencies.
Figure 3. Overview of StyleExpert-500K. (a) illustrates the hierarchical distribution of all 209 styles in StyleExpert-500K, where bar heights indicate the number of styles per category. (b) presents examples of nine different stylizations for the same content from our StyleExpert-500K dataset. (c) compares the focus on semantic stylization between StyleExpert-500K and OmniStyle-150K.

Key Insights and Ideas

  • The Color-Bias Quantified: Using a Vision-Language Model (VLM) to score semantic focus, the authors discovered that 94.6% of the samples in the widely used OmniStyle-150K dataset scored a 0, meaning they were purely color-transfer samples. This explains why previous models struggled to learn structural style elements.
  • Contrastive Priors Stabilize MoE: Training an MoE from scratch in image generation is notoriously unstable because the router lacks a strong early signal, often selecting suboptimal experts. Pre-training the style encoder with an InfoNCE loss provides a structured prior that guides the router, drastically accelerating convergence and boosting generalization.
  • Expert Sharing: Analysis of the router showed that the overlap of selected experts among similar styles (e.g., classic pixel art and Contra style) was three times higher than between dissimilar styles. The model naturally learns to cluster related artistic genres together.

Key Results

StyleExpert was evaluated against top-tier baselines including OmniStyle, CSGO, DreamO, OmniGen2, and USO:

  • Semantic Evaluation: On the Qwen Semantic Score (which measures how well material and line styles are transferred), StyleExpert achieved 75.12%, vastly outperforming the next best dedicated style model, OmniStyle, which scored 40.00%.
  • Perceptual Metrics: It achieved the lowest distance on DreamSim (28.18%) and the highest score on Content-Style Disentanglement (CSD) (73.18%), demonstrating an optimal balance of preserving content structure while completely overhauling the artistic style.
  • Human Preference: In a user study with 30 participants across 1,200 total votes, StyleExpert dominated human preference with a 74.5% Top-1 selection rate, while all competing methods scored under 9%.

Limitations and Future Work

The authors do not include a standalone limitations section, but the text implies certain boundaries. Because the framework relies on a discrete number of LoRA experts (e.g., 16 experts in their implementation), scaling the model to handle thousands of highly granular, radically distinct sub-genres might require expanding expert capacity or developing hierarchical routing mechanisms. Additionally, exploring how this MoE routing behaves when handling simultaneous subject-driven and style-driven customization remains an open and promising direction.

Summary updated

BibTeX
@inproceedings{zhu2026mixture,
  author = {Shihao Zhu and Ziheng Ouyang and Yijia Kang and Qilong Wang and Mi Zhou and Bo Li and Ming-Ming Cheng and Qibin Hou},
  title = {{Mixture of Style Experts for Diverse Image Stylization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=zIvdOhSISU},
}
Figure