Mixture of Stylistic Experts (MoSEs)
- MoSEs are mixture-of-experts architectures that assign style-specific signals to dedicated experts via a dynamic, sparse routing mechanism to avoid averaged representations.
- They have been applied in expressive TTS, diffusion-based image stylization, and AI-generated text detection, yielding measurable improvements over traditional models.
- The design emphasizes routing precision, expert specialization, and data diversity without additional load-balancing losses, ensuring effective style partitioning.
Searching arXiv for the cited MoSEs-related papers to ground the article in current literature. Mixture of Stylistic Experts (MoSEs) denotes a family of mixture-of-experts architectures in which the experts are assigned to stylistic subspaces and a routing mechanism selects or combines them using style-related signals. In the most direct formulation, a monolithic style module is replaced by multiple style experts and a gate that routes each input to the most appropriate expert subset, thereby reducing the tendency of single encoders or adapters to learn averaged representations over heterogeneous styles. This pattern has been instantiated in expressive text-to-speech as StyleMoE, in diffusion-based image stylization as StyleExpert, and as an explicit framework name for AI-generated text detection with conditional thresholds (Jawaid et al., 2024, Zhu et al., 17 Mar 2026, Wu et al., 2 Sep 2025).
1. Conceptual definition and scope
At a high level, MoSEs apply the generic MoE principle to style. Instead of asking one encoder, adapter, or decision rule to cover the entire space of timbre, emotion, prosody, accents, visual texture, brushwork, material rendering, discourse genre, or authorial habitus, a MoSE system partitions that space and delegates different regions to specialized components. In the generic MoE form,
where are experts and are sparse routing weights, the distinctive feature of MoSEs is that the routing signal is explicitly or implicitly style-conditioned (Zhang et al., 15 Jul 2025).
This broad definition already spans several technically different systems. In expressive TTS, the experts are local style encoders operating on reference speech. In diffusion stylization, they are LoRA experts attached to attention and FFN linear layers. In AI-generated text detection, the “experts” are local stylistic neighborhoods activated from a reference repository, and the principal output is a conditional threshold rather than a generative embedding. This suggests that MoSEs are best understood as a design pattern rather than a single canonical architecture.
| Domain | Representative system | Stylistic expert realization |
|---|---|---|
| Expressive TTS | StyleMoE | Multiple local style encoders plus noisy top- router |
| Image stylization | StyleExpert | Similarity-aware MoE-LoRA experts in a DiT |
| AI-text detection | MoSEs | Stylistic reference groups plus conditional threshold estimation |
The shared motivation is consistent across these settings: style is multi-faceted, heterogeneous, and often poorly served by a single averaged latent space or a static global decision rule.
2. Core architectural pattern
The canonical MoSE pipeline has three elements: a style-sensitive representation, a router, and a sparse expert aggregation mechanism. The style-sensitive representation may be a mel-spectrogram-derived reference embedding, a style-image embedding, a semantic embedding of text, or a prompt/key representation. The router then maps that representation to either continuous top- expert weights or a discrete neighborhood selection. Finally, the downstream model consumes a weighted combination of expert outputs or a statistic derived from the selected local region.
In StyleMoE, the router uses noisy top- sparse gating. Given reference input , each expert maps to a style embedding, and the final output is
The gate is constructed by a RouterNetwork, Gaussian noise scaled by a learned function of 0, a KeepTopK operator, and a softmax. In experiments, 1, so each reference is mapped essentially to a single expert. In StyleExpert, a frozen SigLIP backbone plus a trainable MLP produces a unified style embedding, a similarity-aware gate maps that embedding to top-2 expert weights, and the experts are LoRA modules attached to DiT attention and FFN layers. In the detection framework MoSEs, routing is prototype-based rather than softmax-based: a Stylistics-Aware Router retrieves the 3 nearest prototypes in semantic space, activates the corresponding reference groups, and passes their contextual information to a Conditional Threshold Estimator. In the continual-learning variant “Mixtures of SubExperts,” routing is task-aware and mask-based, with sparse low-rank SubExperts integrated into attention layers (Jawaid et al., 2024, Zhu et al., 17 Mar 2026, Wu et al., 2 Sep 2025, Kang, 9 Nov 2025).
Several recurring design decisions follow from this pattern. Sparse activation is favored over dense mixing to control compute. Routing is usually conditioned on a style representation that is decoupled from the main generative state when possible. Specialization is often expected to emerge implicitly from the task loss rather than from hard semantic labels, although some systems add prompts, task keys, or style-labeled contrastive training to stabilize that process.
3. Expressive speech synthesis
StyleMoE, introduced as “Style Mixture of Experts for Expressive Text-To-Speech Synthesis,” is the first study of style MoE in TTS. It is implemented inside GenerSpeech, a state-of-the-art style-transfer TTS model with a pretrained global style encoder and several local style encoders at different temporal resolutions. StyleMoE replaces the local style encoders with MoE layers while leaving the global style encoder unchanged. Each expert is structurally identical to the original local style encoder, and the final local style representation is the mixture of expert outputs weighted by the router (Jawaid et al., 2024).
The motivation is the averaging problem of a single style encoder trained with reconstruction objectives. When timbre, emotion, prosody, and accents are compressed into one latent space, rare or extreme styles tend to be washed out. StyleMoE addresses this by dividing the style space into subregions and letting different experts specialize on different subsets of reference speech. Style is still represented both globally and locally, but MoE affects only the local, fine-grained style representation.
Training uses the same loss as the base GenerSpeech model; no additional explicit MoE-specific loss terms are reported, and no load-balancing loss is reported. The model is trained jointly and end-to-end on LibriTTS “100-clean” for 300,000 steps with batch size 32. The main experiments use 4 experts and 5, with 6 explored in ablations. A gating analysis on the ESD emotional speech dataset shows that both experts are used and that relative usage shifts across emotion categories, indicating emotion-dependent routing.
The empirical picture is favorable but not uniform. On ESD, GenerSpeech versus StyleMoE with 2 experts and 7 changes CER from 9.04% to 6.01%, cosine speaker similarity from 0.73 to 0.75, MCD from 6.00 to 5.54, and FFE from 0.35 to 0.34. A 4-expert configuration shows a large F0RMSE improvement from 393.85 to 304.32 but also exhibits some metric trade-offs. On VCTK, the 2-expert configuration yields GenerSpeech values of WER 5.44%, CER 1.96%, Cos 0.71, MCD 6.27 versus StyleMoE values of WER 6.71%, CER 2.92%, Cos 0.72, MCD 6.12, which is explicitly a mixed result; the 4-expert configuration gives CER 1.68%, MCD 5.99, and F0RMSE 321.96 versus the baseline 377.24.
Subjective evaluation is more consistently positive. MOS on a 1–5 scale is 3.78 ± 0.16 for ground truth, 2.82 ± 0.18 for GenerSpeech, 2.96 ± 0.16 for StyleEnsemble, and 3.03 ± 0.17 for StyleMoE with 2 experts. SMOS is 2.96 ± 0.16 for GenerSpeech, 2.96 ± 0.19 for StyleEnsemble, and 3.26 ± 0.17 for StyleMoE. In the style preference test, StyleMoE is preferred 42.71% of the time over GenerSpeech. The reported comparison to simple ensemble is important: naive averaging of multiple style encoders does not create specialization, whereas learned routing does.
4. Diffusion-based image stylization
StyleExpert applies the MoSE idea to diffusion stylization. The model is built on Flux-Kontext, a DiT-based image-editing backbone that operates on concatenated text, noisy-image, and image-control tokens 8. On top of this backbone, StyleExpert adds a unified style encoder, a similarity-aware gating module, and a Mixture-of-Experts LoRA layer that modulates both attention and FFN linear layers. The style encoder uses a frozen SigLIP vision backbone, concatenates hidden states from multiple layers, and maps them through an MLP 9 into a style embedding. That embedding is trained with an InfoNCE-like objective so that images sharing a style label are close in latent space. The router maps the resulting embedding to top-0 expert weights, and the active LoRA experts are combined as
1
with one shared LoRA expert, 2 specialized experts per layer, rank 3, and top-4 routing (Zhu et al., 17 Mar 2026).
The data pipeline is unusually central to the method. The paper constructs StyleExpert-500K, then filters it to StyleExpert-40K. The construction begins with about 650 style LoRAs from HuggingFace, manually curates and de-duplicates them to 209 high-quality style LoRAs, combines them with about 2,700 content photographs, uses Qwen to rewrite captions to remove style-related descriptors, generates stylized images with OmniConsistency LoRA and a chosen style LoRA, filters outputs with Qwen-VL for layout degradation and attribute inconsistency, and finally selects style exemplars using maximal CLIP similarity within a style domain. The resulting triplets are 5.
The model is explicitly aimed at semantic-aware stylization rather than mere color transfer. Quantitatively, on a split of 188 training styles and 21 unseen test styles, with 50 content-style pairs and two random seeds per style for 2,100 images per method, StyleExpert reports CLIP 70.19, DINO 64.72, CSD 73.18, Aesthetic 6.48, Qwen Semantic 75.12, and DreamSim 28.18. The paper states that Qwen Semantic 75.12 is a large margin over alternatives, with Qwen-Image-Edit at about 42.74 and OmniStyle at 40.00. In ablations, LoRA-only gives CSD 70.88, Qwen Semantic 70.71, DreamSim 36.77; MoE-only without the pre-trained style encoder gives CSD 66.70, Qwen Semantic 71.43, DreamSim 38.54; and full StyleExpert gives the best results across these metrics. This supports the claim that MoE without a strong routing prior can be unstable.
The routing analysis is also stylistically specific. Expert-overlap IoU is about 33% for similar styles and about 10% for dissimilar styles. The paper further reports user-study dominance: across 30 participants and 1,200 votes, StyleExpert is Top-1 in 74.5% of cases, while other methods are each under 9%. A plausible implication is that the learned style latent space is doing more than generic retrieval; it is structuring the gate so that unseen styles are mapped toward previously learned stylistic families.
5. AI-generated text detection
In AI-generated text detection, “MoSEs” is the formal name of a framework that makes detection stylistics-aware and uncertainty-aware through dynamic thresholding rather than through a single static classifier boundary. The framework contains three components: the Stylistics Reference Repository (SRR), the Stylistics-Aware Router (SAR), and the Conditional Threshold Estimator (CTE). It operates on top of any score model that produces a scalar discrimination score, including RoBERTa-base, Fast-DetectGPT, and Lastde. SRR stores raw text, binary labels, surface statistics, linguistic diversity features, and semantic embeddings from BGE-M3. SAR learns prototypes in semantic space using a Sinkhorn-Knopp optimal-transport formulation and activates reference samples from the 6 nearest prototypes. CTE then maps the input conditions to a dynamic threshold, with the central probabilistic model
7
where 8 is the base score and 9 includes text length, mean and variance of token log-probabilities, bigram and trigram repetition, TTR, and PCA-compressed semantic embeddings (Wu et al., 2 Sep 2025).
Two CTE variants are reported. In MoSEs-lr, 0 and training minimizes weighted negative log-likelihood. The paper also derives an asymptotic threshold-error result,
1
which provides a variance expression for threshold estimation uncertainty. In MoSEs-xg, the threshold is modeled with XGBoost to capture non-linear interactions. The paper consistently identifies MoSEs-xg as the best-performing variant.
The reported gains are substantial. Across the four main datasets and three score models, MoSEs-xg achieves an average improvement 11.34% in detection performance compared to baselines. In the low-resource case, the paper highlights a more evident improvement 39.15%. For Fast-DetectGPT on the main datasets, the static-threshold baseline averages Acc 0.8563 and F1 0.8667, while MoSEs-xg reports Acc 0.9413 and F1 0.9398. For Lastde, static-threshold average accuracy is 0.8388 versus 0.9475 for MoSEs-xg. On low-resource datasets with RoBERTa, static-threshold average accuracy is 0.6100 versus 0.8488 for MoSEs-xg.
Ablations clarify what the system is actually exploiting. The soft 2-nearest-prototypes strategy outperforms hard single-style classification: for Lastde on the main datasets, MoSEs-xg with classification gives 0.9350 accuracy, while the 3-nearest strategy gives 0.9475. Removing individual conditional features reduces performance; for example, with Lastde and MoSEs-xg, omitting TTR reduces accuracy from 0.9475 to 0.9413, omitting text length gives 0.9375, and removing semantic condition gives 0.9413. PCA compression to 32 dimensions also improves both efficiency and accuracy relative to raw 1024-dimensional embeddings. Out-of-distribution tests on unseen styles show ROCStories accuracy 0.860 versus 0.750 for static threshold and SQuAD accuracy 0.905 versus 0.845. The framework also maintains advantages on an unseen generator, GLM-130B.
One common misconception is that this MoSEs is merely a post-hoc score calibration layer. The paper’s structure is more specific: the threshold is conditioned on stylistically matched local reference distributions, and the output probability functions simultaneously as a decision and as a confidence measure.
6. Relation to broader MoE research and extensible variants
Broader MoE research supplies much of the technical vocabulary that MoSEs reuse: noisy top-4 routing, load balancing, hierarchical routing, adaptive 5, calibration, orthogonality regularization, and sparse aggregation. In LLMs, the standard MoE equations
6
provide the canonical template from which stylistic gating can be specialized. The review literature emphasizes expert diversity, accurate calibration, and reliable inference aggregation, all of which are directly relevant to stylistic specialization (Zhang et al., 15 Jul 2025).
A related but distinct line is “Mixtures of SubExperts” for continual learning. There, MoSEs are sparse low-rank SubExperts attached to attention layers of a frozen transformer backbone, combined by a task-aware router and task-specific masks. Although the paper is framed around continual learning rather than style, it explicitly notes that the mechanism can be reinterpreted as a Mixture of Stylistic Experts by treating styles as pseudo-tasks. Its quantitative continual-learning results show why such a reinterpretation is attractive: on TRACE 0.5K in TaIL, LoRA gives average 33.1% and BWT –22.67%, MoE E2T2 gives 42.2% and –11.10%, while MoSEs with 7 gives 49.1% and –0.90%, and MoSEs with 8 gives 48.4% and –0.43% (Kang, 9 Nov 2025).
MixtureKit provides an implementation-oriented route to constructing MoSE systems from arbitrary fine-tuned experts. It supports three methods: Traditional MoE with one router per transformer block, BTX with separate routers for each specified sub-layer, and BTS with intact experts plus trainable stitch layers. Its visualization interface exposes per-token routing decisions, expert weight distributions, and layer-wise contributions. The framework is not itself a stylistic model, but its composition mechanisms align naturally with stylistic experts: style-specialized checkpoints can be merged into router-based or stitch-based MoE systems, and routing collapse can be diagnosed visually (Chamma et al., 13 Dec 2025).
Across these strands, several design lessons recur. MoSEs are not equivalent to simple ensembling: StyleMoE’s comparison against StyleEnsemble and StyleExpert’s comparison against LoRA-only both indicate that learned routing matters. MoSEs also do not necessarily entail explicit factor disentanglement; StyleMoE preserves speaker similarity without introducing explicit speaker-style adversarial losses. Conversely, MoSEs are not automatically stable. The TTS paper reports no explicit load-balancing loss, and the stylization paper shows that MoE without a pre-trained style encoder can underperform a single LoRA. This suggests that expert count, routing prior, and data diversity remain the principal control knobs. Too few experts limit specialization; too many can dilute data per expert or increase interference. Sparse routing, informative style representations, and diagnostically transparent routing analyses are therefore the central technical conditions under which a Mixture of Stylistic Experts becomes effective rather than merely over-parameterized.