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

TL;DR

MEPA introduces a scale-aware MoE framework with semantic guidance, achieving faster training and superior image quality (FID 2.32 vs. 4.10).

cs.CV 🔴 Advanced 2026-07-01 43 views
Nuoyan Zhou Zhijun Tu Lei Yu Kun Cheng Jie Hu Nannan Wang Xinghao Chen
visual generation multi-scale modeling mixture of experts self-supervised features autoregressive models

Key Findings

Methodology

This paper proposes a scale-aware Token routing Mixture of Experts (MoE) architecture integrated into VAR models. It employs a dynamic expert routing mechanism—initially scale-based (SMoE), later enhanced to token-based (STMoE)—to decouple model capacity across different image scales. External self-supervised features guide early-scale semantic modeling, with residual feature aggregation aligning VAR features with pretrained visual encoders. The approach addresses optimization conflicts and semantic error propagation inherent in multi-scale VAR training, leading to improved efficiency and quality.

Key Results

  • On ImageNet 256×256, MEPA achieves an FID of 2.32, outperforming the baseline VAR at 4.10, with training halved from 200 to 100 epochs. After 200 epochs, FID further drops to 2.86, demonstrating faster convergence.
  • Ablation studies show that integrating STMoE and semantic guidance reduces FID by approximately 0.7, improves detail and semantic consistency, and balances expert load effectively.
  • Compared to existing VAR variants, MEPA requires fewer epochs for comparable or better performance, indicating high training efficiency and robustness.

Significance

This work addresses fundamental limitations in multi-scale autoregressive image modeling by introducing a flexible, scalable expert routing mechanism coupled with semantic feature alignment. It significantly enhances training efficiency and generation quality, making high-resolution image synthesis more practical. The approach offers a new paradigm for multi-scale generative modeling, with potential impacts on content creation, virtual reality, and AI-assisted design, bridging the gap between efficiency and fidelity.

Technical Contribution

The paper pioneers the integration of Mixture of Experts into VAR models for multi-scale residual features, with a novel scale-aware token routing scheme (STMoE). It introduces residual feature aggregation with semantic guidance, enabling effective multi-scale semantic alignment. The combination of dynamic expert routing, load balancing, and residual residual feature fusion constitutes a comprehensive framework that improves both training speed and generation quality, setting a new benchmark for autoregressive image models.

Novelty

This is the first systematic application of MoE to VAR's multi-scale residual features, with a focus on scale-aware token routing and residual feature alignment. The proposed STMoE surpasses traditional scale-based routing by balancing expert load and enabling fine-grained semantic control within scales. The residual aggregation guided by pretrained features further distinguishes this work from prior methods, offering a new avenue for efficient, high-fidelity image generation.

Limitations

  • Despite improvements, the model may still struggle with highly complex or highly detailed images, where semantic errors at early scales can persist.
  • Heavy reliance on pretrained visual encoders means performance depends on their quality; poor pretraining may limit gains.
  • Computational costs remain significant for high-resolution generation, requiring further optimization for real-time applications.

Future Work

Future directions include developing more adaptive expert routing strategies, integrating multi-modal cues, and extending to multi-task learning for both generation and understanding. Enhancing the robustness of semantic guidance, reducing computational overhead, and exploring broader applications such as video synthesis and 3D modeling are also promising avenues.

AI Executive Summary

Autoregressive (AR) models have revolutionized image generation by enabling sequential, high-quality synthesis. Among them, VAR models stand out for their efficiency and ability to preserve spatial structures through multi-scale residual prediction. However, these models face intrinsic challenges: shared architectures across scales induce conflicting optimization objectives, and early-scale semantic inaccuracies tend to propagate, degrading final output quality. Addressing these issues, this paper introduces MEPA (Multi-Scale Representation Alignment), a novel framework that leverages a scale-aware Mixture of Experts (MoE) architecture with dynamic token routing. The core idea is to decouple the model's capacity at different scales, allowing each to specialize and reduce interference, while external self-supervised features guide early-scale semantic modeling. The residual feature aggregation scheme further aligns VAR features with pretrained visual encoders, effectively mitigating semantic error propagation. Extensive experiments demonstrate that MEPA significantly improves training efficiency—requiring only half the epochs of baseline VAR models—and enhances image quality, achieving an FID of 2.32 compared to 4.10. Ablation studies confirm the effectiveness of the expert routing and semantic guidance modules, with consistent performance gains across various training settings. These advances mark a substantial step forward in scalable, high-fidelity image generation, opening new pathways for research and industry applications. Future work aims to refine expert routing strategies, incorporate multi-modal data, and extend the framework to broader generative tasks, promising even more efficient and realistic synthesis in the future.

Deep Analysis

Background

The evolution of image generation has seen significant progress from GANs (e.g., StyleGAN series) to diffusion models (e.g., ADM, LDM), and recently to autoregressive (AR) models like VQGAN and DiT. VAR models, combining multi-scale residual prediction with causal autoregression, offer a promising balance of quality and efficiency. Despite these advances, multi-scale representation learning remains challenging due to conflicting optimization objectives across scales and the propagation of semantic errors. As models scale up, training becomes more resource-intensive, and the fidelity of generated images can degrade, especially in complex scenes. Addressing these issues is crucial for practical deployment of high-resolution, high-fidelity image synthesis.

Core Problem

The core challenge lies in the conflicting objectives of learning global semantics at lower scales versus fine details at higher scales within a shared architecture. This leads to optimization conflicts and hampers the model's capacity to learn effective multi-scale representations. Additionally, the causal autoregressive process causes early-stage semantic inaccuracies to propagate, adversely affecting the final output. These issues limit the scalability, efficiency, and quality of VAR-based image generation, especially when aiming for high-resolution outputs. Overcoming these bottlenecks requires innovative architectural designs that can decouple scale-specific learning and improve semantic stability.

Innovation

The paper introduces three key innovations: 1) a scale-aware Token routing MoE (SMoE/STMoE) that dynamically allocates experts based on scale or token features, reducing optimization conflicts; 2) residual feature aggregation combined with external self-supervised features to enhance early-scale semantic modeling; 3) a comprehensive framework integrating expert load balancing, semantic guidance, and residual alignment, enabling efficient multi-scale learning with improved generation fidelity. These innovations collectively address the limitations of shared architectures and semantic error propagation, setting a new standard for scalable, high-quality VAR models.

Methodology

  • �� Extract global features using pretrained visual encoders (e.g., DINO).• Decompose images into multi-scale residual features via quantization and subtraction.• Implement scale-aware expert routing (SMoE) with scale embeddings to assign tokens to specialized experts.• Enhance to token-based routing (STMoE) by incorporating token features for finer expert assignment.• Aggregate residual features progressively, upsampling and combining with pretrained features for semantic enrichment.• Introduce semantic guidance loss to align VAR residual features with pretrained representations, reducing semantic errors.• Use load balancing loss to ensure experts are evenly activated, improving training efficiency.• Optimize jointly with autoregressive loss, balancing generation quality and training speed.

Experiments

The models are trained on ImageNet 256×256 with 12 and 16 layers, using AdamW optimizer, batch size 96, and learning rate decay from 1e-4 to 1e-5. Evaluation metrics include FID, IS, precision, and recall. Ablation studies compare variants with and without STMoE, semantic guidance, and different expert routing schemes. Experiments demonstrate that MEPA achieves faster convergence—training 100 epochs yields better results than baseline models trained for 200 epochs—and maintains high image fidelity. The robustness is validated across multiple training settings, confirming the effectiveness of expert routing and residual alignment strategies.

Results

MEPA achieves an FID of 2.32 after 200 epochs, outperforming the baseline VAR at 4.10, with a 50% reduction in training epochs. Ablation results show that adding STMoE and semantic guidance reduces FID by approximately 0.7, enhances detail, and stabilizes semantic consistency. Load balancing ensures expert utilization, preventing bottlenecks. The model maintains high performance across different training durations, confirming its efficiency and robustness. These results demonstrate that the proposed framework significantly advances the state-of-the-art in autoregressive image generation.

Applications

The framework can be applied to high-resolution image synthesis, content creation, and virtual reality applications, where efficiency and quality are critical. Its ability to accelerate training and improve fidelity makes it suitable for industry deployment in digital art, gaming, and AI-assisted design. The integration of semantic guidance also opens avenues for controllable generation and multi-modal extensions, broadening its impact.

Limitations & Outlook

Despite improvements, the model still faces challenges in generating highly complex or detailed scenes, where semantic errors may persist. Dependence on pretrained encoders means performance hinges on their quality; poor pretraining could limit results. Computational costs remain significant for ultra-high-resolution outputs, necessitating further optimization. Future work should focus on enhancing robustness, reducing inference costs, and exploring multi-modal data integration.

Plain Language Accessible to non-experts

想象你在厨房做饭,菜谱就像模型的任务。不同的厨师负责不同的步骤,比如切菜、炒菜、调味。每个厨师都擅长某一方面,合作完成一道菜。以前,所有厨师用同样的工具和方法,效率低,还容易出错。现在,你给每个厨师配备专门的工具,让他们专注自己擅长的部分,效率大大提高。还参考了名厨的经验(预训练特征),让菜更好吃。这就像模型中的“专家”负责不同尺度的细节,合理安排让生成更快更漂亮。这样一来,菜肴(图像)既快又美味,满足不同需求。

ELI14 Explained like you're 14

想象你在学校做一个大项目,你需要很多帮手,比如画画、写作、整理资料。每个帮手都擅长不同的事情。以前,你让所有人做所有事情,结果效率低,还容易出错。现在,你给每个人分配专门的任务,让他们专注自己擅长的部分,这样效率就高多了!这个研究就像这样,把“专家”分配到不同的图像细节层次,让他们各自发挥最大作用。还参考了“名厨”的经验(预训练特征),让生成的图像更细腻、更真实。结果显示,这样做不仅速度快,还能做出更漂亮、更真实的图片。未来,他们还想让这些帮手变得更聪明,能处理更复杂的任务,就像学校里的学生变得更厉害一样!

Abstract

Visual AutoRegressive modeling (VAR) has pioneered a coarse-to-fine multi-scale autoregressive generative paradigm, demonstrating strong capabilities in image generation. However, VAR still suffers from inherent deficiencies in multi-scale representation learning. Specifically, lower scales primarily capture global semantics, while higher scales focus on fine-grained details. Employing a shared architecture across scales induces optimization conflicts. Moreover, due to the causal autoregressive process, inaccurate semantics at early scales can propagate and significantly degrade the final output. To address these issues, we introduce a scale-aware token-routed Mixture of Experts (MoE) architecture, allowing scale-adaptive expert selection, thereby facilitating decoupled representation learning across scales. In addition, we enhance semantic modeling at early scales by incorporating external self-supervised features. Unlike naive alignment, we analyse and design a residual feature aggregation scheme tailored to the VAR paradigm. Extensive experiments show that our method significantly improves both training efficiency and generation quality. On the ImageNet 256*256 benchmark, our model achieves a superior FID compared to the dense baseline while requiring only half of the default training epochs and a smaller parameter budget, with a merely marginal increase in training cost. Moreover, the performance gap further widens with larger training epochs.

cs.CV cs.AI