All images are generated in pixel space by a Repr-MoE that activates 1.1B of its 11.2B parameters.

Scaling Mixture-of-Experts Image Generators with Better Representations

Abstract

Sparse mixture-of-experts (MoE) architectures let language models grow to trillions of parameters while activating only 3–10% of them per token. Visual generators have not followed: most state-of-the-art models remain dense, and when experts are added while each token activates the same number of them, the gains eventually plateau. We call this the Sparsity Ceiling. The experts remain utilized, so routing collapse does not explain this plateau; instead, we argue that it stems from the semantically weak representations learned from reconstruction or denoising alone, which leave the experts little to specialize on. We introduce Repr-MoE, which grounds the generator in pretrained visual knowledge, either by aligning the denoiser's intermediate features with a frozen vision encoder or by generating in a semantic latent space, while retaining standard top-K routing. With stronger representations, Repr-MoE breaks the Sparsity Ceiling: on ImageNet 256×256, increasing the expert count from 256 to 1024 reduces unguided FID by up to 23%. Paired with multi-head latent experts and the MuonH optimizer, Repr-MoEs match the guided FID of dense models with about half the per-image FLOPs, reach the final FIDs of PixelDiT and RAE in 4.1× fewer epochs, and achieve state-of-the-art FIDs of 1.32 without guidance and 0.98 with guidance after 80 epochs. In text-to-image generation, a pixel-space Repr-MoE that activates only 10% of its 11.2B parameters outperforms strong pixel-space baselines on GenEval, DPG and Qwen-Image-Bench (QBench) at both 512 and 1024 resolution, and is comparable on GenEval and QBench to latent-space models that activate 2–18× as many parameters.

Representation breaks the Sparsity Ceiling

Without representation grounding, adding experts while each token activates the same number of them soon stops helping. From 256 to 1024 experts, unguided ImageNet FID changes by less than 1%, and text-to-image validation loss stops improving beyond about 128 experts. The experts remain utilized: the effective number of experts is at least 98.6% of N in almost all MoE layers, so routing collapse does not explain the plateau.

Grounding removes the plateau. From 256 to 1024 experts, FID falls by 17% with DINOv2 alignment, by 7–23% with six other encoders, and by 7–12% on semantic latents. In text-to-image pre-training, averaged over four scales, a 512-expert MoE matches the validation loss of a dense model trained with an estimated 3.4× its compute when both use REPA, up from 2.6× when neither does.

Bar chart of unguided FID on ImageNet for 256, 512 and 1024 experts, without REPA and with seven alignment encoders, in pixel and latent space. Validation loss against training FLOPs for text-to-image MoEs with 16 to 512 experts, without and with REPA, and the dense-equivalent compute of each MoE.
Left: unguided FID-50K at 400K steps on ImageNet 256×256 for N = 256, 512 and 1024, without REPA and with seven encoders. Right: text-to-image pre-training of MiniT2I at four scales, S to XL (0.17B to 1.1B activated parameters), without REPA and with REPA. Each head uses 8 experts and N grows from 16 to 512. The bottom panel shows the dense training compute needed to match each MoE's validation loss, relative to the MoE's own, extrapolated beyond the largest dense model if needed.

Semantic latents

Generating in a semantic latent space removes the plateau as well, without any alignment loss. We replace the FLUX.1 latents with four semantic latent spaces, those of FLUX.2, REPA-E, RAE and RAEv2, and use the DiTDH-B denoiser of RAE for the last two. In all four cases, FID keeps falling as we add experts, by 7–12% from 256 to 1024. A semantic representation therefore breaks the Sparsity Ceiling whether it is learned by the denoiser or built into the latent space.

Latent spaceDenseN = 641282565121024Δ
Non-semantic
FLUX.1 (reference)40.9127.7626.5324.8224.9725.03+0.8%
Semantic
FLUX.217.6610.599.908.868.357.91−10.7%
FLUX.1 (REPA-E)18.9911.7510.7810.609.819.35−11.8%
RAE3.142.782.592.532.462.32−8.1%
RAEv23.982.882.752.512.372.33−7.3%
Unguided FID-50K↓ at 400K steps on ImageNet 256×256; compare trends within a row. Δ: relative change from N = 256 to 1024. RAE and RAEv2 use DiTDH-B.

Expert specialization

REPA makes the experts specialize. We score how similarly two images are routed by the cosine similarity of their router scores. In the aligned block of PixelDiT, different-class pairs score 0.31 without REPA and only 0.08 with it, while same-class pairs score 0.53 and 0.58. Experts also specialize by class on RAE and RAEv2 latents, without an alignment loss.

t-SNE plots of tokens and routing similarity matrices for eight ImageNet classes, without and with REPA.
PixelDiT-B/16 MoEs without REPA (left) and with REPA (right), on eight randomly drawn ImageNet classes with the first eight validation images of each, at noise level t = 0.5. Top: t-SNE of the tokens entering the aligned MoE layer, colored by class. Bottom: routing similarity between images. With REPA, tokens cluster by class, and images of different classes share few experts.

Approach

Diagram of Repr-MoE: the two ways of grounding the model in a pretrained vision encoder, a transformer block whose feed-forward network is replaced by an MoE layer, and the multi-head latent MoE layer.
Left: we ground the model in a frozen pretrained encoder either by (a) aligning the hidden states of one block with its features or by (b) generating in a latent space shaped by it. Pixel-space models have no autoencoder (dashed) and use (a). Middle: a transformer block with the FFN replaced by MoE. Right: the multi-head latent MoE layer, which routes each of H heads to its top-K of N experts in a latent space and adds a shared expert.

Repr-MoE is a framework for scaling sparse diffusion transformers with a fixed number of activated experts. It grounds the generator in a pretrained vision encoder so that the experts can specialize, and it pairs a multi-head latent MoE layer with the MuonH optimizer.

We ground the generator in one of two ways. REPA aligns the hidden states of one MoE block with the patch features of a frozen pretrained vision encoder, DINOv2 by default. Semantic latents, as in the FLUX.2 VAE, REPA-E, RAE and RAEv2, are already shaped by such an encoder, so no alignment loss is needed.

Each MoE block uses a multi-head latent MoE layer: tokens are projected into a learned latent space and split into H heads, each routed to K of its own N narrow experts, and a shared expert acts on the token directly. Per-token parameters match about one dense FFN; only the router grows with N. We train the weight matrices with MuonH, the hyperball variant of Muon.

Results

From a dense model to Repr-MoE

Starting from a dense model trained with REPA, we add the components of Repr-MoE one at a time at matched activated parameters, lowering unguided FID from 46.38 to 22.14 in pixel space and from 36.62 to 15.39 on latents. Muon lowers it by 23–24%, MuonH by a further 15–16%, and the MoE steps by a further 28–35%.

Variant PixelDiT (pixel)SiT on FLUX.1 (latent)
Totalunguidedguided Totalunguidedguided
Dense, AdamW185M46.384.33131M36.624.19
Optimizer
+ Muon185M35.853.51131M27.893.36
+ MuonH185M30.653.32131M23.522.92
Architecture
+ vanilla MoE515M27.142.94428M22.242.85
+ fine-grained516M24.122.79428M18.992.58
+ shared521M24.862.83434M18.302.51
+ head chunking525M22.512.72437M17.412.50
+ latent projection441M22.142.80361M15.392.39
FID-50K↓ on ImageNet 256×256 at 400K steps with REPA, without and with guidance. Total: total parameters. Each row adds one change at matched activated parameters. The vanilla MoE has N = 8, later rows N = 64.

Compute efficiency

Guided FID against GFLOPs per image for dense models and Repr-MoE at three sizes. FID against training epochs for Repr-MoE compared with PixelDiT in pixel space and RAE in latent space.
Top: SiT on FLUX.1 latents with REPA, ImageNet 256×256. Arrows mark the dense GFLOPs at equal FID. Bottom: FID-50K on ImageNet 256×256. Arrows mark where Repr-MoE reaches the final FID of PixelDiT and RAE.

Repr-MoE (a SiT with REPA on FLUX.1 latents) matches the guided FID of a dense SiT with about 1.9× its FLOPs per image at the S and B sizes, and 2.0× at L. Our larger models reach the 800-epoch FID of PixelDiT and of RAE in 4.1× fewer epochs.

Class-conditional ImageNet 256×256

Class-conditional ImageNet samples from Repr-MoE in pixel space and on RAEv2 latents: a tiger, a flamingo, an orange, a daisy, a red panda, a frog, a butterfly, a clownfish, an iguana and a macaw.
ImageNet 256×256 samples after 320 epochs (PixelDiT) and 80 epochs (RAEv2).

Our large models activate only 9–13% of their 6.8B–9.2B parameters, about as many as the dense models they build on. In pixel space, Repr-MoE reaches a guided FID of 1.58 after 160 epochs, below the 1.61 that PixelDiT-XL reaches after 320, and 1.44 after 320. On RAEv2 latents after 80 epochs, it reaches 0.98 with guidance and 1.32 without, against 1.06 and 1.65 for dense RAEv2. Baseline numbers are taken from each paper.

MethodAct.TotalEpochs w/o guidancew/ guidance
FID↓IS↑Pre.↑Rec.↑FDr6↓ FID↓IS↑Pre.↑Rec.↑FDr6↓
Pixel space
ADM554M554M39610.94100.980.690.63–4.59186.700.820.52–
PixelFlow-XL––––––––1.98282.10.810.60–
PixNerd-XL700M700M160–––––2.152970.790.59–
JiT-H/16953M953M600–––––1.86303.40.780.62–
PixelDiT-XL797M797M320–––––1.61292.70.780.64–
PixelDiT-XL797M797M800–––––1.54297.00.780.65–
PixelDiT2-H/161008M1008M600–––––1.46301.6–––
DeCo-XL682M682M800–––––1.623010.800.62–
Repr-MoE (PixelDiT)854M6.80B1607.85135.80.670.6810.381.58302.00.780.653.60
Repr-MoE (PixelDiT)854M6.80B3206.87149.60.680.689.341.44308.50.790.653.18
Latent space
DiT-XL/2675M675M14009.62121.500.670.67–2.27278.240.830.57–
SiT-XL/2675M675M14008.26131.650.680.67–2.06277.500.830.598.44
DDT-XL675M675M4006.27154.70.680.69–1.26310.60.790.655.70
REPA (SiT-XL/2)675M675M8005.9157.80.700.69–1.42305.70.800.655.45
LightningDiT-XL675M675M8002.17205.60.770.65–1.35295.30.790.654.57
REG (SiT-XL/2)677M677M8001.8230.80.770.66–1.36299.40.770.664.64
REPA-E (SiT-XL/2)675M675M8001.69219.30.770.67–1.12302.90.790.663.04
RAE (DiTDH-XL)839M839M8001.51242.90.790.63–1.13262.60.780.673.26
RAEv2875M875M801.65228.0–––1.06255.3––2.17
DiT-MoE-XL1.5B4.1B5600–––––1.72315.730.830.64–
DiffMoE-L458M1.18B14009.60131.460.670.67–2.13274.390.810.60–
Race-DiT707M2.79B1400–––––2.06318.640.830.60–
ProMoE675M1.57B4008.16139.66–––2.08304.26–––
Repr-MoE (RAE)846M7.54B3201.42253.80.790.644.331.01274.80.780.663.15
Repr-MoE (RAEv2)816M9.18B801.32256.90.810.632.860.98269.60.790.661.93
System-level comparison on ImageNet 256×256. Baseline numbers are from each paper, except FDr6 (from Yang et al. and Singh et al.) and the parameter count of RAEv2 (from its released checkpoint; its paper reports 839M). IS: Inception Score. FDr6: the Fréchet distance to the training set divided by that of the validation set, averaged over six encoders. Pre. and Rec.: precision and recall. Act. and Total: activated and total parameters. SiD2 reports a guided FID of 1.38 in pixel space but not its model size, and is not listed. The best and second best in each block are in bold and underlined.

Text-to-image generation

Our text-to-image model, an XL MoE built on MiniT2I, activates 1.1B of its 11.2B parameters. At 512×512, it scores highest in the table on GenEval, DPG and Qwen-Image-Bench (QBench). At 1024×1024, its GenEval of 0.93 is the highest in the table, only Qwen-Image-2.1 exceeds its QBench of 56.1, and its DPG of 87.87 is the best among pixel-space models in the table.

MethodSpaceAct.Total GenEval↑DPG↑QBench↑
512×512
PixArt-αLatent0.60.60.4871.638.1
PixArt-ΣLatent0.60.60.5279.540.2
PixelFlowPixel0.90.90.6077.939.9
PixNerdPixel1.21.20.7380.933.9
DeCoPixel1.11.10.8681.436.8
PixelDiT-T2IPixel1.31.30.7883.737.5
MiniT2I-B/16Pixel0.250.250.8784.240.1
MiniT2I-L/16Pixel0.910.910.8885.941.1
Repr-MoE (ours)Pixel1.111.20.9188.1549.1
1024×1024
GPT Image 1 [High]–––0.8485.15–
Seedream 3.0–––0.8488.27–
FLUX.1 [Dev]Latent12120.6683.8443.8
SD3 MediumLatent220.6284.0841.3
BAGELLatent7140.88†85.4442.8
HiDream-I1-FullLatent–170.8385.8946.8
Lumina-Image 2.0Latent330.7387.2041.2
Z-ImageLatent660.8488.1448.4
Qwen-ImageLatent20200.8788.3249.1
Qwen-Image-2.1†Latent770.8184.8159.2
BLIP3o-NEXT-G-GLatent330.9181.9341.3
i1†Latent330.8486.7347.1
L2PPixel660.7686.0046.6
AsymFLUX.2 kleinPixel990.8286.846.2
Iris-3BPixel330.8086.5246.7
Z-Image-PixelPixel660.7687.60–
Repr-MoE (ours)Pixel1.111.20.9387.8756.1
System-level comparison on text-to-image generation. Act. and Total: activated and total parameters, in billions. †With the official prompt rewriter. The best and second best in each block are in bold and underlined.
Repr-MoE (ours): An African tribal warrior standing facing the camera, face painted with symmetrical traditional patterns across the forehead, cheeks and nos Qwen-Image-2.1†: An African tribal warrior standing facing the camera, face painted with symmetrical traditional patterns across the forehead, cheeks and nos AsymFLUX.2 klein: An African tribal warrior standing facing the camera, face painted with symmetrical traditional patterns across the forehead, cheeks and nos

An African tribal warrior standing facing the camera, face painted with symmetrical traditional patterns across the forehead, cheeks and nose bridge, paint edges crisp without bleeding. Underlying skin tone visible through the pigment, rough yet realistic skin texture, strong and determined gaze

Repr-MoE (ours): Design a resort silk gown in Dunhuang mural palette: colors derived from mineral pigments—ochre, earth red, and lapis lazuli blue. Wide slee Qwen-Image-2.1†: Design a resort silk gown in Dunhuang mural palette: colors derived from mineral pigments—ochre, earth red, and lapis lazuli blue. Wide slee AsymFLUX.2 klein: Design a resort silk gown in Dunhuang mural palette: colors derived from mineral pigments—ochre, earth red, and lapis lazuli blue. Wide slee

Design a resort silk gown in Dunhuang mural palette: colors derived from mineral pigments—ochre, earth red, and lapis lazuli blue. Wide sleeves drape fluidly. Print faithfully reproduces Mogao Cave caisson motifs: honeysuckle scrolls and pearl-roundels, symmetrically arranged with fine linework. Model barefoot at edge of oasis shallow water, soft low-angle morning light, gentle glow highlighting silk sheen against matte skin—evoking Eastern mystique and serene ease.

Repr-MoE (ours): The piano is cleverly composed of black high heels and white gloves. The toes of the shoes are closely arranged to form black and white keys Qwen-Image-2.1†: The piano is cleverly composed of black high heels and white gloves. The toes of the shoes are closely arranged to form black and white keys AsymFLUX.2 klein: The piano is cleverly composed of black high heels and white gloves. The toes of the shoes are closely arranged to form black and white keys

The piano is cleverly composed of black high heels and white gloves. The toes of the shoes are closely arranged to form black and white keys, and the heels form the supporting structure. The white gloves are stitched to cover the piano body, and the leather texture and seams are clearly visible. The overall outline retains the elegant proportions of a traditional upright piano.

Repr-MoE (ours): Showing an artist's creative process, starting with a wide shot of the studio, followed by a medium shot of the artist working, ending with Qwen-Image-2.1†: Showing an artist's creative process, starting with a wide shot of the studio, followed by a medium shot of the artist working, ending with AsymFLUX.2 klein: Showing an artist's creative process, starting with a wide shot of the studio, followed by a medium shot of the artist working, ending with

Showing an artist's creative process, starting with a wide shot of the studio, followed by a medium shot of the artist working, ending with a close-up of brushstrokes touching the canvas.

Repr-MoE (ours): Using the rule of thirds, an artist is creating an abstract masterpiece on a canvas, with the artwork occupying two-thirds of the image. The Qwen-Image-2.1†: Using the rule of thirds, an artist is creating an abstract masterpiece on a canvas, with the artwork occupying two-thirds of the image. The AsymFLUX.2 klein: Using the rule of thirds, an artist is creating an abstract masterpiece on a canvas, with the artwork occupying two-thirds of the image. The

Using the rule of thirds, an artist is creating an abstract masterpiece on a canvas, with the artwork occupying two-thirds of the image. The painting employs Kandinsky's concept of “geometric shapes + color clashes”: incorporating circles, triangles, jagged lines, and fine grids; the main colors are cobalt blue and vermilion, supplemented by a small amount of lemon yellow; the center of the image is required to be close to the golden ratio point to form a visual anchor point, and the contrast between warm and cool colors presents a “musical vibration” feeling, with the overall brushstrokes and textures unified.

Repr-MoE (ours): A tea ceremony scene in a traditional Chinese courtyard: a tea master in a muted linen cross-collar robe kneels on bluestone slabs, both han Qwen-Image-2.1†: A tea ceremony scene in a traditional Chinese courtyard: a tea master in a muted linen cross-collar robe kneels on bluestone slabs, both han AsymFLUX.2 klein: A tea ceremony scene in a traditional Chinese courtyard: a tea master in a muted linen cross-collar robe kneels on bluestone slabs, both han

A tea ceremony scene in a traditional Chinese courtyard: a tea master in a muted linen cross-collar robe kneels on bluestone slabs, both hands steadily pouring amber-hued tea from a cobalt-blue-and-white porcelain teapot into a matching cup; at the moment of pour, concentric ripples radiate clearly across the liquid surface, catching soft highlights; the porcelain—decorated with intricate scrolling lotus and landscape motifs—shows nuanced cobalt shading and a lustrous, warm glaze; behind, a dense bamboo grove filters sunlight into dappled specks that dance across the tea mat, vessels, and sleeves; in the foreground, a dark brown linen tea mat is scattered with fresh green tea buds; rendered in shallow-depth photographic style, focus locked on the flowing stream and cup rim, with the bamboo background softly blurred yet texturally rich; dominated by celadon, white, umber, and golden tones, evoking tranquility, presence, and the contemplative spirit of Chinese tea culture

Repr-MoE (ours): A dream market unfolds in a violet desert; stalls are constructed from fragments of memory, selling bottled laughter, shadows of yesterday, Qwen-Image-2.1†: A dream market unfolds in a violet desert; stalls are constructed from fragments of memory, selling bottled laughter, shadows of yesterday, AsymFLUX.2 klein: A dream market unfolds in a violet desert; stalls are constructed from fragments of memory, selling bottled laughter, shadows of yesterday,

A dream market unfolds in a violet desert; stalls are constructed from fragments of memory, selling bottled laughter, shadows of yesterday, and unmade dreams; customers walk on quicksand yet never sink.

Repr-MoE (ours): A swing set in an urban park with clear wooden textures, natural metallic shine, and appropriate background blur, rendered in 480p, 1080p, a Qwen-Image-2.1†: A swing set in an urban park with clear wooden textures, natural metallic shine, and appropriate background blur, rendered in 480p, 1080p, a AsymFLUX.2 klein: A swing set in an urban park with clear wooden textures, natural metallic shine, and appropriate background blur, rendered in 480p, 1080p, a

A swing set in an urban park with clear wooden textures, natural metallic shine, and appropriate background blur, rendered in 480p, 1080p, and 4K resolutions.

One prompt from QBench per group, at 1024×1024, with the prompt below it. Qwen-Image-2.1 is the latent-space model with the highest QBench score in the table, and AsymFLUX.2 klein generates in pixel space, like Repr-MoE. Both use the settings of their QBench evaluation; †with the official prompt rewriter. Repr-MoE uses guidance scale 4. Click a group to enlarge it.

The experts of this model also specialize in concrete visual concepts. Masking the experts most enriched on text or portrait prompts garbles rendered words (OCR word accuracy 0.81 → 0.08) and distorts faces, especially the eyes, while masking random experts changes little (0.76–0.79).

Text and portrait generations from the original model, with concept-specialized experts masked, and with random experts masked. Masking specialized experts garbles the rendered words and distorts facial features, especially the eyes; masking random experts changes little.
1024×1024 generations from the 11.2B text-to-image model, with the same prompt and initial noise in each column (portraits cropped to the face). Rows: the original model, the top 10% (text) or 5% (portraits) of concept-specialized experts masked in blocks 4–20, and random experts masked. Hover an image for its prompt, and click it to see the three versions of that prompt side by side.

Samples from the text-to-image model above, at about one megapixel in nine aspect ratios, and, in the last tab, from the class-conditional ImageNet 256×256 models. Drag a row to browse it. Click an image to open it at full resolution, and again to zoom to 100%.

Citation

@misc{liu2026reprmoe,
  title={Scaling Mixture-of-Experts Image Generators with Better Representations},
  author={Liu, Junchen and Xiong, Wei and Liang, Ruofan and Ren, Xuanchi and Wang, Zian and
          Lu, Yifan and Fidler, Sanja and Wang, Jialiang and De Mello, Shalini and Turki, Haithem},
  year={2026}
}