English

Towards Faster Language Model Inference Using Mixture-of-Experts Flow Matching

Artificial Intelligence 2026-04-17 v1 Machine Learning

Abstract

Flow matching retains the generation quality of diffusion models while enabling substantially faster inference, making it a compelling paradigm for generative modeling. However, when applied to language modeling, it exhibits fundamental limitations in representing complex latent distributions with irregular geometries, such as anisotropy and multimodality. To address these challenges, we propose a mixture-of-experts flow matching (MoE-FM) framework, which captures complex global transport geometries in latent space by decomposing them into locally specialized vector fields. Building on MoE-FM, we develop a non-autoregressive (NAR) language modeling approach, named YAN, instantiated with both Transformer and Mamba architectures. Across multiple downstream tasks, YAN achieves generation quality on par with both autoregressive (AR) and diffusion-based NAR language models, while requiring as few as three sampling steps. This yields a 40×40\times speedup over AR baselines and up to a 103×10^3\times speedup over diffusion language models, demonstrating substantial efficiency advantages for language modeling.

Keywords

Cite

@article{arxiv.2604.15009,
  title  = {Towards Faster Language Model Inference Using Mixture-of-Experts Flow Matching},
  author = {Aihua Li},
  journal= {arXiv preprint arXiv:2604.15009},
  year   = {2026}
}
R2 v1 2026-07-01T12:12:39.616Z