Discrete Flow Matching is a Surprisingly Effective Post-training Method to Address Compound Error in Autoregressive Models

Kang Li, Bidipta Sarkar, Xiong Zheng, S. Frey, Zilin Wang, Frensi Zejnullahu, Alfred Backhouse, Stefan Zohren, Anisoara Calinescu, Mihai Cucuringu, Jakob Foerster2025

Abstract

Autoregressive (AR) models suffer from compound error accumulation, where prediction errors propagate and amplify throughout sequence generation. We introduce unified discrete flow matching (DFM) as a post-training framework that eliminates this fundamental limitation of AR models. By converting pretrained AR models into flow-based generators, our approach enables bidirectional context integration and iterative error correction while preserving learned representations. Our framework leverages the pretrained model’s distribution as the starting point for flow matching, reducing the learning burden compared to noise-based approaches. Unlike BERT-style masked models with discrete diffusion that suffer from mode averaging, our unified flow matching framework successfully learns discrete patterns, achieving 99.9% validity on solving mode averaging tasks where traditional methods completely fail. Critically, our experiments demonstrate that unified DFM completely eliminates compound error: while AR models show a Wasserstein distance that is increasing throughout generation progress, unified DFM maintains a nearly flat error profile throughout the entire sequence. This post-training approach achieves a 48.6% reduction in Wasserstein distance.
BibTeX
@misc{li2025discrete,
  author = {Kang Li and Bidipta Sarkar and Xiong Zheng and S. Frey and Zilin Wang and Frensi Zejnullahu and Alfred Backhouse and Stefan Zohren and Anisoara Calinescu and Mihai Cucuringu and Jakob Foerster},
  title = {{Discrete Flow Matching is a Surprisingly Effective Post-training Method to Address Compound Error in Autoregressive Models}},
  year = {2025},
  doi = {10.1145/3768292.3770442},
}

Loading related content...

Figure