MEPA: Multi-Scale Representation Alignment for Visual Autoregressive Modeling with Mixture of Experts

Nuoyan Zhou, Zhijun Tu, Lei Yu, Kun Cheng, Jie Hu, Nannan Wang, Xinghao ChenarXiv 2026

TL;DR

Visual Autoregressive (VAR) modeling is a powerful paradigm for image generation, but it suffers from optimization conflicts across different image scales and cascading semantic errors. To fix this, MEPA introduces a Scale-aware Token-routed Mixture of Experts (STMoE) alongside a tailored semantic guidance mechanism that aligns early-stage features with self-supervised representations. The result is a massive 2× training speedup and significantly higher image generation quality than dense baselines.

What Problem Does This Paper Address?

Autoregressive (AR) models have taken over natural language processing and are making major waves in computer vision. Specifically, Visual AutoRegressive (VAR) modeling has pioneered a "coarse-to-fine" approach: it generates images by predicting next-scale residual representations rather than just next-tokens sequentially.

However, VAR models face two major roadblocks in multi-scale representation learning:

  1. Optimization Conflicts: Lower scales capture global semantics (layout, color), while higher scales focus on fine-grained details (textures, edges). Forcing a single, shared Transformer architecture to learn all of these distinct feature spaces simultaneously creates severe optimization conflicts.
  2. Error Propagation: Because the generation process is causal and sequential across scales, any slight semantic error made at an early, coarse scale propagates down the line, heavily degrading the final image quality.
Fig. 1: Empirical analysis of representation space and expert load. (a) VAR learns different features across scales with a shared architecture, resulting in conflicts of optimization objectives. (b) Semantic errors at small and intermediate scales can propagate across scales and induce unpleasing results. Correct semantics at early stage are critical for predictions at later stage.

Methods

The authors propose MEPA (Multi-scale Representation Alignment with Mixture of Experts), which tackles these issues through two core components:

1. Scale-Aware Token-Routed Mixture of Experts (STMoE)

Instead of a standard dense Feed-Forward Network (FFN), MEPA introduces a Mixture of Experts (MoE) layer. To prevent the model from routing all tokens within the same scale to the same expert (which causes severe load imbalance and hurts training efficiency), they design STMoE. This routing mechanism injects scale embeddings directly into the tokens. A token-based router then adaptively selects the best experts based on both the token's semantic content and its scale information, successfully decoupling the model's capacity across scales.

2. Residual Aggregation and Semantic Guidance (SG)

To stop early-stage semantic errors from ruining the final image, MEPA distills accurate semantic knowledge from a pretrained self-supervised vision encoder (specifically, DINOv3) into the VAR model.

Directly aligning individual residual features is suboptimal because self-supervised models expect complete, patch-based representations. MEPA solves this by sorting residual features by scale, upsampling them, and performing a cumulative summation across the first few scales. This creates progressively enriched aggregated representations that can be cleanly aligned with the external encoder using patch-wise cosine similarity. Crucially, this regularization is only applied to small and intermediate scales, providing a rock-solid semantic foundation for the later detail-oriented stages.

Fig. 2: An overview of our proposed MEPA framework. We follow the next-scale prediction paradigm of VAR [49], and introduce MoE layers to route tokens across scales, allowing them to adaptively select experts. During training, the outputs of the middle block in small and intermediate scales are aggregated to align with a pretrained visual encoder’s features.

Datasets

The authors evaluated MEPA primarily on the standard ImageNet $256 \times 256$ class-conditional generation benchmark. They also conducted limited scaling experiments on ImageNet $512 \times 512$ to test the framework's potential at higher resolutions.

Key Insights and Ideas

  • Decoupling is Essential for Multi-Scale AR: Forcing a single network to learn both "what an object is" (low scale) and "what its texture looks like" (high scale) limits performance. MoE layers naturally allow different experts to specialize in different granularities.
  • Scale-Awareness Prevents Routing Homogenization: Naive scale-based routing causes all tokens in a given scale to dogpile onto the same expert. Merging token semantics with scale embeddings allows fine-grained expert specialization and better load balancing.
  • Regularize the Foundation, Not the Roof: In a causal generation pipeline, constraining the final output representation doesn't fix mistakes made early on. Regularizing the intermediate aggregated scales explicitly prevents error propagation and accelerates convergence.

Key Results

  • 2× Training Speedup: MEPA achieves a superior Fréchet Inception Distance (FID) compared to the dense VAR baseline while requiring only half the default training epochs.
  • State-of-the-Art Generation Quality: On ImageNet $256 \times 256$, MEPA-d16 achieved an FID of 2.32 (at 200 epochs), significantly outperforming the standard dense VAR-d16 baseline (FID of 3.55) and even beating the larger VAR-d20 baseline (FID of 2.95) despite using fewer parameters.
  • Minimal Overhead: This performance leap comes with only a marginal 4.5% increase in training time per epoch and a slight increase in inference time, making it highly efficient.

Limitations and Future Work

The primary limitation acknowledged by the authors was a constraint on computational resources, which prevented them from training a full pipeline on the higher-resolution ImageNet $512 \times 512$ dataset (they were only able to train for 66 epochs).

Moving forward, the authors plan to complete the full training pipeline for the $512 \times 512$ setting and explore novel architectures specifically optimized for handling even higher input resolutions.

Summary updated

BibTeX
@misc{zhou2026mepa,
  author = {Nuoyan Zhou and Zhijun Tu and Lei Yu and Kun Cheng and Jie Hu and Nannan Wang and Xinghao Chen},
  title = {{MEPA: Multi-Scale Representation Alignment for Visual Autoregressive Modeling with Mixture of Experts}},
  year = {2026},
  eprint = {2607.00371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.00371},
}
Figure