cs.AIFeb 2, 2026

A Theoretical Analysis of Why Masked Diffusion Models Mitigate the Reversal Curse

Authors: Moongyu Jeon, Sangwoo Shin, BumJun Kim, Kyelim Lee, Albert No

Organizations: Department of Artificial Intelligence, Yonsei University

Abstract

Autoregressive language models (ARMs) suffer from the reversal curse: after learning ''AA is BB,'' they often fail on the reverse query ''BB is AA.'' Masked diffusion language models (MDMs) exhibit this failure in a much weaker form, but the underlying reason has remained unclear. A common explanation attributes this mitigation to their any-order masked training objective. However, observing ''[M][\mathbf{M}] is BB'' during training teaches recovery of AA from BB in one positional configuration, and does not by itself explain why the learned evidence should transfer to the reverse prompt ''BB is [M][\mathbf{M}].'' We provide a theoretical analysis showing that this transfer arises from a parameter-level coupling between forward and reverse positional conditionals: shared Transformer parameters store token-pair evidence, while relative positional encodings route attention through queries and keys without changing the value-side evidence being retrieved. In a one-layer MDM, we prove that forward masked training strengthens evidence that is reusable in reverse queries, induces correlated forward--reverse attention routes, and yields a positively aligned shared-storage gradient component that decreases the reverse loss to first order. Controlled one-layer experiments and large-scale LLaDA/Dream experiments verify these signatures and show that they translate into improved reverse prediction.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Mechanism Shift During Post-training from Autoregressive to Masked Diffusion Language Models

    Jan 21, 2026Injin Kong, Hyoungjoon Lee, Yohan JoMasked Diffusion ModelsAutoregressive Diffusion

  2. Understanding and Accelerating the Training of Masked Diffusion Language Models

    May 13, 2026Chunsan Hong, Sanghyun Lee, Chieh-Hsin Lai +5Masked Diffusion ModelsDiffusion Language Model Training

  3. The Illusion of Latent Generalization: Bi-directionality and the Reversal Curse

    Mar 13, 2026Julian Coda-Forno, Jane X. Wang, Arslan ChaudhryDecoder-Only Language ModelsMasked Language Modeling