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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Jeon, Moongyu, Shin, Sangwoo, Kim, BumJun, Lee, Kyelim, No, Albert
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911672609800192
author Jeon, Moongyu
Shin, Sangwoo
Kim, BumJun
Lee, Kyelim
No, Albert
author_facet Jeon, Moongyu
Shin, Sangwoo
Kim, BumJun
Lee, Kyelim
No, Albert
contents Autoregressive language models (ARMs) suffer from the reversal curse: after learning ''$A$ is $B$,'' they often fail on the reverse query ''$B$ is $A$.'' 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 ''$[\mathbf{M}]$ is $B$'' during training teaches recovery of $A$ from $B$ in one positional configuration, and does not by itself explain why the learned evidence should transfer to the reverse prompt ''$B$ is $[\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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02133
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Theoretical Analysis of Why Masked Diffusion Models Mitigate the Reversal Curse
Jeon, Moongyu
Shin, Sangwoo
Kim, BumJun
Lee, Kyelim
No, Albert
Artificial Intelligence
Computation and Language
Autoregressive language models (ARMs) suffer from the reversal curse: after learning ''$A$ is $B$,'' they often fail on the reverse query ''$B$ is $A$.'' 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 ''$[\mathbf{M}]$ is $B$'' during training teaches recovery of $A$ from $B$ in one positional configuration, and does not by itself explain why the learned evidence should transfer to the reverse prompt ''$B$ is $[\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.
title A Theoretical Analysis of Why Masked Diffusion Models Mitigate the Reversal Curse
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2602.02133