Skip to main content
QUICK REVIEW

[Paper Review] TAG-MoE: Task-Aware Gating for Unified Generative Mixture-of-Experts

Yu Xu, Hongbin Yan|arXiv (Cornell University)|Jan 12, 2026
Generative Adversarial Networks and Image SynthesisComputer Science0 citations
TL;DR

TAG-MoE introduces a task-aware gating mechanism for unified image generation/editing with a hierarchical task semantic annotation and predictive alignment regularization to route diffusion MoE experts according to high-level task intent, reducing task interference.

ABSTRACT

Unified image generation and editing models suffer from severe task interference in dense diffusion transformers architectures, where a shared parameter space must compromise between conflicting objectives (e.g., local editing v.s. subject-driven generation). While the sparse Mixture-of-Experts (MoE) paradigm is a promising solution, its gating networks remain task-agnostic, operating based on local features, unaware of global task intent. This task-agnostic nature prevents meaningful specialization and fails to resolve the underlying task interference. In this paper, we propose a novel framework to inject semantic intent into MoE routing. We introduce a Hierarchical Task Semantic Annotation scheme to create structured task descriptors (e.g., scope, type, preservation). We then design Predictive Alignment Regularization to align internal routing decisions with the task's high-level semantics. This regularization evolves the gating network from a task-agnostic executor to a dispatch center. Our model effectively mitigates task interference, outperforming dense baselines in fidelity and quality, and our analysis shows that experts naturally develop clear and semantically correlated specializations.

Motivation & Objective

  • Motivate and address severe task interference in unified image generation/editing with dense diffusion transformers.
  • Scale model capacity using sparse Mixture-of-Experts (MoE) while ensuring task-aware routing.
  • Introduce a hierarchical task semantic annotation to provide global task intent signals.
  • Develop a predictive alignment regularization to align MoE routing with task semantics.

Proposed method

  • Replace FFNs in the final 10 layers of a diffusion transformer with MoE layers to increase capacity at fixed parameters.
  • Introduce hierarchical task semantic annotation to describe scope, type, and preservation for each task.
  • Compute a global semantic embedding from task tags and an aggregated routing signature from MoE gate scores.
  • Train a predictive alignment head to align routing signatures with semantic embeddings via cosine similarity loss.
  • Combine L_align with the main flow loss and MoE load-balancing loss in a weighted total objective.
  • Train on a large-scale, diverse dataset covering unified generation/editing tasks.

Experimental results

Research questions

  • RQ1Can a task-aware gating mechanism mitigate inter-task interference in unified image generation and editing?
  • RQ2Do hierarchical task semantics and predictive alignment improve MoE routing to match high-level task intents?
  • RQ3How does TAG-MoE perform on open-source versus closed-source baselines across unified benchmarks?
  • RQ4Do experts develop semantically meaningful specializations and spatially-aware routing in practice?

Key findings

  • TAG-MoE achieves state-of-the-art performance among open-source baselines on unified generation/editing benchmarks.
  • Semantic-aligned routing improves instruction following and semantic alignment compared to task-agnostic MoE routing.
  • Ablations show dense models falter and that L_align is crucial for semantic-guided expert routing.
  • MoE with predictive alignment demonstrates clear expert specialization that is spatially localized to relevant edit regions.
  • User studies indicate clear preference for TAG-MoE across reference alignment, prompt alignment, and overall quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.