potentialpaper

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

Moongyu Jeon, Sangwoo Shin, Bumjun Kim, Kyelim Lee, Albert No

FoGen @ ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We theoretically explain why masked diffusion models mitigate the reversal curse, showing that the key is not any-order masking alone but position-invariant relational storage and attention-based routing to reversed queries.

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 to a much lesser extent, but the underlying reason remains unclear. This mitigation is commonly attributed to the random-masking objective, which trains MDMs to reconstruct masked tokens using bidirectional context. However, learning to recover AA from "[M] is BB" does not by itself explain how this learning transfers to recovering AA from "BB is [M]." We provide a theoretical analysis showing how this transfer can arise in a one-layer MDM 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. Specifically, we prove that forward masked training strengthens evidence reusable in reverse queries, establish positive expected forward–reverse attention-score correlation under stated assumptions, and show that the shared-storage component of a gradient-descent step on the forward loss decreases the reverse loss to first order. Controlled one-layer and large-scale LLaDA/Dream experiments exhibit the predicted signatures, supporting the proposed mechanism as an explanation for improved reverse prediction.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
8 May 2026FoGen @ ICML 2026submittedFoGen @ ICML 2026Accepted · Poster—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

(a) Summary. The paper explains why masked diffusion models transfer knowledge better to reversed queries. Its central distinction is between position-invariant storage of token-pair evidence and position-dependent attention routing. In a one-layer MDM, it shows that forward masked training strengthens a storage term reusable under reversal, that RoPE/ALiBi can preserve correlated forward–reverse attention scores, and that the shared-storage gradient component is positively aligned between the two directions. Controlled RADD experiments, positional-encoding interventions, and LLaDA/Dream evaluations support these predicted signatures and show substantially better reverse accuracy than ARM baselines.

(b) Strengths. The storage-versus-routing perspective is clear, intuitive, and more informative than attributing the phenomenon solely to any-order masking. As emphasized by dhnV and o2gd, the paper makes a serious effort to connect its simplified theory to practical models. The positional-encoding intervention is particularly persuasive: absolute embeddings, RoPE, and ALiBi exhibit the predicted ordering. The large-scale experiments also provide consistent evidence across two MDM families and several ARM baselines. The theoretical statements appear sound under their stated assumptions.

(c) Weaknesses.

  • The routing theory establishes correlation between raw attention scores, not attention weights or successful retrieval. With many competing tokens, a positively correlated score may still receive negligible softmax mass. Therefore, the link from Theorem 4.3 to reverse prediction remains incomplete.

  • The RoPE result also relies on restrictive Gaussian and block-covariance assumptions that are not established for representations learned by real models. Moreover, while the title emphasizes why MDMs mitigate the reversal curse relative to ARMs, the formal analysis mainly establishes a positive-transfer mechanism for MDMs; it does not theoretically show that the corresponding ARM transfer is weaker.

  • Finally, as o2gd notes, the mechanism primarily explains positional reuse of a shared evidence token rather than general semantic inversion. Strong bidirectional token association may also be undesirable for genuinely asymmetric relations, as discussed by 2EGN. The paper should avoid implying a general ability to learn logical inverse relations.

(d) Clarifications that could change the decision.

  • Under what conditions does attention-score correlation imply non-negligible reverse attention weight or probability improvement in the presence of distractors?
  • Is there empirical evidence that the RoPE covariance assumptions approximately hold in trained RADD, LLaDA, or Dream representations?
  • What theoretical comparison with an analogous one-layer ARM supports the claim that this mechanism specifically explains MDMs’ relative advantage?
  • Can the claims be narrowed to positional evidence reuse, with explicit discussion of asymmetric relations and potentially harmful over-reversal?

A complete multilayer proof or extensive new experiments are not required. Clearer theoretical scope and evidence connecting score correlation to effective retrieval would make the paper considerably stronger.

Final justification

The rebuttal substantially addressed the main concerns by clearly narrowing the theoretical scope, distinguishing attention-score correlation from attention weight and successful retrieval, providing a relaxed representation-dependent routing condition, and clarifying that the mechanism concerns positional reuse of shared evidence rather than general semantic inversion. The remaining limitations concern the one-layer setting and incomplete validation of the covariance condition in large models, rather than correctness of the central results. Given the clear conceptual contribution, sound conditional theory, and consistent empirical evidence across controlled and large-scale settings, I maintain the accept recommendation.

Area Chair 3Qog · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

(a) Summary. The paper explains why masked diffusion models transfer knowledge better to reversed queries. Its central distinction is between position-invariant storage of token-pair evidence and position-dependent attention routing. In a one-layer MDM, it shows that forward masked training strengthens a storage term reusable under reversal, that RoPE/ALiBi can preserve correlated forward–reverse attention scores, and that the shared-storage gradient component is positively aligned between the two directions. Controlled RADD experiments, positional-encoding interventions, and LLaDA/Dream evaluations support these predicted signatures and show substantially better reverse accuracy than ARM baselines.

(b) Strengths. The storage-versus-routing perspective is clear, intuitive, and more informative than attributing the phenomenon solely to any-order masking. As emphasized by dhnV and o2gd, the paper makes a serious effort to connect its simplified theory to practical models. The positional-encoding intervention is particularly persuasive: absolute embeddings, RoPE, and ALiBi exhibit the predicted ordering. The large-scale experiments also provide consistent evidence across two MDM families and several ARM baselines. The theoretical statements appear sound under their stated assumptions.

(c) Weaknesses.

  • The routing theory establishes correlation between raw attention scores, not attention weights or successful retrieval. With many competing tokens, a positively correlated score may still receive negligible softmax mass. Therefore, the link from Theorem 4.3 to reverse prediction remains incomplete.

  • The RoPE result also relies on restrictive Gaussian and block-covariance assumptions that are not established for representations learned by real models. Moreover, while the title emphasizes why MDMs mitigate the reversal curse relative to ARMs, the formal analysis mainly establishes a positive-transfer mechanism for MDMs; it does not theoretically show that the corresponding ARM transfer is weaker.

  • Finally, as o2gd notes, the mechanism primarily explains positional reuse of a shared evidence token rather than general semantic inversion. Strong bidirectional token association may also be undesirable for genuinely asymmetric relations, as discussed by 2EGN. The paper should avoid implying a general ability to learn logical inverse relations.

(d) Clarifications that could change the decision.

  • Under what conditions does attention-score correlation imply non-negligible reverse attention weight or probability improvement in the presence of distractors?
  • Is there empirical evidence that the RoPE covariance assumptions approximately hold in trained RADD, LLaDA, or Dream representations?
  • What theoretical comparison with an analogous one-layer ARM supports the claim that this mechanism specifically explains MDMs’ relative advantage?
  • Can the claims be narrowed to positional evidence reuse, with explicit discussion of asymmetric relations and potentially harmful over-reversal?

A complete multilayer proof or extensive new experiments are not required. Clearer theoretical scope and evidence connecting score correlation to effective retrieval would make the paper considerably stronger.

Final justification

The rebuttal substantially addressed the main concerns by clearly narrowing the theoretical scope, distinguishing attention-score correlation from attention weight and successful retrieval, providing a relaxed representation-dependent routing condition, and clarifying that the mechanism concerns positional reuse of shared evidence rather than general semantic inversion. The remaining limitations concern the one-layer setting and incomplete validation of the covariance condition in large models, rather than correctness of the central results. Given the clear conceptual contribution, sound conditional theory, and consistent empirical evidence across controlled and large-scale settings, I maintain the accept recommendation.

1 comment
Authors · CommentOpenReview ↗

We thank the AC for the careful metareview. We address the four clarification questions below and will incorporate these points into the revision. Detailed derivations, quantitative results, and additional diagnostics are provided in our responses to the corresponding reviewers.

1. Attention-score correlation, attention weight, and retrieval
(Reviewer dhnV [W3]; Reviewer o2gd [W1])

We agree that attention-score correlation alone is not sufficient to guarantee either sufficient attention weight or successful retrieval. Our theory is not intended to guarantee successful reverse retrieval for all queries , which is also not observed empirically, but to explain the mechanism underlying the partial reverse success that does occur. We will add our reverse-attention diagnostic and the exact logit-margin condition for retrieval, while clearly distinguishing score correlation, attention weight, probability improvement, and top-1 prediction.

2. Role and empirical validity of Assumption 4.2
(Reviewer dhnV [W2]; Reviewer o2gd [W2])

Assumption 4.2 is an idealized but structurally motivated sufficient condition: it captures, in simplified form, the plane-wise geometry induced by RoPE and the weak directional anisotropy that may arise in trained representations. It is introduced to obtain a clean, parameter-free closed-form bound, rather than to characterize their exact statistics. We further derive a weaker representation-dependent condition, while our diagnostic of the per-plane anisotropy ρs\rho_s shows mixed and generally small values, suggesting that the learned representations are qualitatively consistent with this structural picture, rather than validating the original assumption literally.

3. Theoretical comparison with an analogous ARM
(Reviewer 2EGN [W1])

A relevant theoretical analysis of an analogous one-layer ARM is provided by Zhu et al. [1], who show that forward training does not strengthen the reverse-relevant storage weight. We will restate their result in our notation and make its contrast with our MDM analysis explicit in the revision.

4. Positional evidence reuse and semantic inversion
(Reviewer o2gd [W3]; Reviewer 2EGN [W2])

We agree that our theory explains positional reuse of shared evidence, not the learning of semantic inverse relation or general logical inversion. We will make the existing discussion in Appendix E.5 explicit in the main text and emphasize that the mechanism cannot distinguish semantically valid reverse transfer from potentially harmful over-reversal.

[1] Zhu et al., Towards a Theoretical Understanding of the ‘Reversal Curse’ via Training Dynamics, NeurIPS, 2024.

Reviewer 2EGNOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

As its title suggests, this paper gives a theoretical account of the observation that masked diffusion models (MDM) do not exhibit the so-called "reversal curse" (Berglund et al., 2023) to the same extent as autoregressive language models (ARM). Broadly speaking, the argument is that when trained to predict AA for inputs like "_ is BB," the MDM's gradient update causes direction-agnostic information to be stored about the relationship between AA and BB, and increases the attention score assigned to BB from _, regardless of whether _ occurs to the left or right of BB. Thus, the relationship established between AA and BB is bidirectional in terms of token order. The analysis is carried out by calculating the directionality of changes in various model components during gradient updates.

Strengths and weaknesses

This is a strong paper, which gives a clean theoretical explanation for an interesting empirical phenomenon. The paper is well-written and easy to understand, and the formal arguments are presented in a way that is conceptually simple and intuitively easy to grasp. I would like to see this paper published in NeurIPS.

In terms of weaknesses, there are two comments/concerns.

One is that the specific phenomenon the paper aims to explain is that "MDMs exhibit a substantially weaker reversal curse than comparable ARMs [emphasis added]" (p. 2, line 36); indeed, it is with respect to ARMs that "[MDMs] Mitigate the Reversal Curse" (p. 1, title). The theoretical analysis here establishes MDMs' ability to capture bidirectional relations, but strictly speaking, the paper's main thesis also requires a theoretical analysis of why ARMs do not capture bidirectional relations. I'm happy for this to be left to future work, but as far as I'm aware it seems conceivable that training an ARM to predict BB for "AA is _" might increase the logit for AA on inputs like "BB is _." (For example, seeing "AA is _" increases the unigram probability of AA.) If that were the case, it would be tricky to try and show that MDMs capture bidirectional relations more strongly than ARMs using the directional approach to analysis from this paper.

The other concern is a general critique of the so-called "reversal curse": it is not always true that "AA is BB" entails "BB is AA." For example consider the following sentences.

  1. Knowledge is power. (p. 4, Figure 2)
  2. Fire trucks are red.
  3. Power is knowledge.
  4. *Red is fire trucks.

3 and 4 certainly do not follow from 1 and 2; in fact, 4 is ungrammatical altogether. In general, "AA is BB" entails "BB is AA" only when AA and BB are both definite descriptions (usually proper nouns or noun phrases beginning with the/this/that), meaning they uniquely refer to specific entities. For example, the following two sentences are semantically equivalent.

  1. Donald Trump is the president of the United States.
  2. The president of the United States is Donald Trump.

The reason this matters is because what this paper shows is that MDMs learn bidirectional relations between token pairs, regardless of whether this is actually desirable. This fact about MDMs might help them mitigate the reversal curse, but one could just as easily imagine that it might make them incorrectly reverse relations that are supposed to be unidirectional. This could be mentioned as a limitation or discussion point.

Questions

p. 5, line 186: I don't really understand the sentence, "This pinpoints why the any-order training objective alone is incomplete as an explanation." The reason seems to be that the objective alone doesn't say how the relation between AA and BB is stored, but one doesn't need to actually go through the analysis in order to make that point.

p. 6, lines 221–222: I might suggest changing this to D∈{64,128,256}D \in \lbrace 64, 128, 256 \rbrace, since the current text kind of looks like "D=D = sixty-four million, one hundred twenty-eight thousand, two hundred fifty-six."

Limitations

Yes

Final justification

I am not changing my score since I already recommended acceptance. The rebuttal did a good job addressing some of my remaining concerns.

Formatting concerns

No formatting issues

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and thoughtful feedback, which helps sharpen the scope of our central claim.

W1. Theoretical comparison with an analogous ARM

This is a valid concern. The relevant one-layer ARM analysis is already provided by Zhu et al., Towards a Theoretical Understanding of the "Reversal Curse" via Training Dynamics (NeurIPS 2024). Although Zhu et al. analyze a slightly different setting, their central result directly addresses the reviewer's question: forward A-to-B learning does not increase the reverse B-to-A weight. Although we cited and briefly discussed Zhu et al., we did not directly contrast this result with our MDM analysis, leaving the theoretical difference between the two models insufficiently clear. We will restate their result in our notation and make this contrast explicit in the revision.

Zhu et al. analyze the effective storage weights of a one-layer causal Transformer under zero initialization and batch-size-one SGD. (In the equations below, we transpose the order of the subscript indices to match our YY notation.) When the model learns "AA is BB," the weight from input AA to target BB increases, whereas the weight from input BB to target AA required for reverse prediction remains at its initial value. Even after the forward relation has been learned,

YB,AARM(t)>YB,AARM(0)=0,YA,BARM(t)=YA,BARM(0)=0,Y^{\mathrm{ARM}}_{B,A}(t) > Y^{\mathrm{ARM}}_{B,A}(0) = 0,\quad Y^{\mathrm{ARM}}_{A,B}(t) = Y^{\mathrm{ARM}}_{A,B}(0) = 0,

where tt denotes the SGD update step. Thus, not only is BB-to-AA supervision absent, but AA-to-BB forward learning itself does not increase the BB-to-AA weight required for reverse prediction. This is the weights asymmetry identified by Zhu et al., and it leads unseen reverse prediction to remain at random-guess performance even after the forward direction has been learned. Therefore, the indirect reverse-logit improvement suggested by the reviewer is ruled out at least in this analogous one-layer ARM setting.

This theoretical separation is also reflected in Tab. 1: our one-layer GPT-2-style ARM baseline reaches 99.8–99.9% forward accuracy and exactly 0.00% reverse accuracy at every sequence length. The combination of near-perfect forward learning and zero reverse accuracy provides direct empirical evidence for the weights asymmetry described above.

In an MDM, by contrast, the same forward statement can generate a training instance in which AA is masked and BB is visible, so the storage term YA,BMDMY^{\mathrm{MDM}}_{A,B} from input BB to target AA is learned directly. Because this storage is position-independent, it can be reused in the reversed configuration when the position of BB changes, while RoPE and ALiBi positively couple the evidence-token attention scores between the forward and reverse configurations. Our analysis therefore identifies the mechanism unavailable in the analogous ARM: forward training creates the reverse-relevant BB-to-AA storage, and relative positional encoding positively couples its routing across the forward and reversed configurations.

W2. Asymmetric relations and potentially harmful over-reversal

Our use of "AA is BB" and "BB is AA" is not intended to assume that the relation is symmetric. It follows the schematic notation of Berglund et al., The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A" (ICLR 2024). We do not study whether ARBARB implies BRABRA under the same predicate. Instead, we study whether forward-learned evidence can be reused in a task-defined inverse query BR−1ABR^{-1}A. Although we explain this distinction in App. E.3, we agree that the literal use of "is" may suggest symmetry, and we will clarify this point more explicitly in the main text.

We also agree that the mechanism may enable undesirable over-reversal. It allows BB-to-AA evidence strengthened through forward masked training to be reused in another positional configuration, but it cannot determine whether that reuse is semantically valid. For non-invertible relations, the shared association could therefore contribute to an inappropriate reverse prediction. At the same time, actual predictions depend on routing to the relation phrase and other context tokens, so our theory neither guarantees such hallucinations nor rules them out. Although App. E.5 explains why reversal transfer should not be interpreted as abstract logical inversion, we will state explicitly in the main text that the current theory cannot distinguish valid generalization from hallucination caused by harmful over-reversal.

Q1. Wording clarification

The reviewer is entirely correct. The fact that the any-order objective alone does not specify how the relation between AA and BB is stored in the model parameters can be pointed out without Prop. 4.1. The sentence was intended to reiterate the incompleteness of the objective-only explanation discussed in the Introduction (lines 38–51). However, it may be read as suggesting that Prop. 4.1 is needed to identify this incompleteness itself, which was not our intended point.

The sentence "This identifies the architectural mechanism missing from the objective-only explanation." expresses our intended point more accurately than the current sentence, "This pinpoints why the any-order training objective alone is incomplete as an explanation." We will revise the passage accordingly.

Q2. Notation clarification

To avoid ambiguity, we will replace D=64,128,256D = 64, 128, 256 with D∈64,128,256D \in \\{64, 128, 256\\}.

Reviewer 2EGN · CommentOpenReview ↗

Since I have already given a recommendation of 5 (Accept), I will not be changing my review.

W1: Thank you for providing this citation; it adds an important baseline/point of comparison to the paper.

W2: I think there is a slight misunderstanding here, in particular:

we agree that the literal use of "is" may suggest symmetry

My review says that the word "is" is not symmetric, contrary to what Berglund et al. assume. The broader point is that a lot of the "Reversal Curse" work relies on unexamined assumptions about the semantics of relations, and it's worth being a bit careful about this.

Q1/Q2: Thank you for these clarifications.

Authors · CommentOpenReview ↗

Thank you for carefully considering our rebuttal and for maintaining your positive assessment.

W2. Relation semantics and scope

We now understand the broader point and apologize that our previous response addressed it too narrowly.

The “AA is BB” / “BB is AA” formulation is a convenient shorthand from Berglund et al., but it can obscure two points. First, is is not generally symmetric, so swapping its arguments need not yield a semantically valid reverse query. Second, the reversal curse is not limited to symmetric relations. More generally, it concerns cases where a learned forward statement entails, or determines the answer to, a corresponding query with the entity roles reversed, possibly under a different relation expression, yet the model fails to produce that answer.

Our theory assumes such a valid forward–reverse task and studies only whether BB-to-AA evidence learned from the forward statement remains reusable under the reversed positional configuration. It does not explain the semantic relation between the forward and reverse expressions or determine whether the reverse query is entailed. Thus, the mechanism alone cannot distinguish valid reverse transfer from inappropriate over-reversal.

In the revision, we will clarify the limitations of the is-based shorthand, state the broader reversal-curse formulation more precisely, and distinguish semantic relation inversion from the positional evidence reuse addressed by our theory.

Reviewer o2gdOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper argues that masked diffusion models transfer better on reversed queries not only because their objective provides bidirectional masked supervision, but also because shared value-side parameters store token-pair evidence in a position-independent way, while relative positional encodings preserve a correlated attention route for retrieving that evidence after reversal. It proves this mechanism in a one-layer model, then reports compatible signatures in controlled experiments and in LLaDA/Dream fine-tuning.

Strengths and weaknesses

Strengths

  • Well-motivated conceptual distinction. It separates learning the relation from retrieving it under a changed positional arrangement, which is more precise than attributing everything to any-order masking.

  • The formal results are mostly sound as conditional statements. The shared-column gradient alignment result is exact when optimizing the effective Y coordinate, and the RoPE calculation is valid under the specified Gaussian/block-covariance assumptions.

  • Good empirical triangulation. The positional-encoding intervention is persuasive: absolute embeddings, RoPE, and ALiBi yield the predicted ordering in the synthetic setup. The larger-scale results also show substantially stronger reverse accuracy for MDMs than the ARM baselines.

Weaknesses

  • Score correlation is not attention-weight or retrieval correlation. Positive correlation of the raw score to BB does not ensure that BB receives meaningful softmax attention when other tokens compete. The paper itself notes that additional context can dilute the direct route and invalidate the clean saturation argument.

  • The RoPE theorem relies on a restrictive, custom distributional assumption. It assumes Gaussian mask queries, independent RoPE planes, equal per-plane variance, and covariance aligned with the query direction. This is plausible as an idealized model, but not established for trained LLM representations.

  • The analysis is not truly a theory of natural-language inversion. It formalizes reuse of a common evidence token B for the same target A, while treating the changed relation phrase and other context as secondary. Thus, it explains positional reuse, not the semantic mapping from RR to R−1R^{−1}. The authors partly acknowledge this scope limitation.

Questions

see weaknesses.

Limitations

Yes.

Final justification

The rebuttal addresses my main concerns by clarifying the gap between attention-score correlation and retrieval, partially relaxing the RoPE assumptions, and appropriately narrowing the scope of the theory. The remaining limitations are mainly the idealized setting and the incomplete connection to general semantic reversal. Overall, I find the contribution technically sound and conceptually useful, so I keep my original positive score.

Formatting concerns

N.A.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment, constructive feedback, and careful reading of both the main text and appendices.

W1. Attention score correlation vs. attention weight & retrieval

We agree with the reviewer’s interpretation. Sec. 4.2 establishes a positive correlation between raw forward and reverse attention scores, but guarantees neither sufficient reverse attention weight on BB nor successful retrieval. As App. E.5 notes, softmax competition with all context positions can dilute a positively coupled score under sufficiently many or strong distractors. Likewise, App. C.3’s clean saturation result, derived for a single-evidence-token setting, does not establish retrieval with additional context. Although discussed in the appendix, these limitations were not sufficiently clear in the main text.

To directly examine context dilution, we measured reverse attention weight across sequence lengths in Sec. 5’s trained one-layer RADD models. Pooling reverse-query placements from successful 8 checkpoints (excluding one L=20L=20 run with 0% forward accuracy), we obtained:

LL Median αi,jrevα^{\mathrm{rev}}_{i,j} on BB Uniform weight 1/L1/L
10 0.589 0.100
20 0.833 0.050
30 0.567 0.033

At each length, the uppercase evidence token (BB in our notation) received the highest attention weight among context positions in 100% of reverse queries. Thus, although score correlation alone gives no guarantee, the trained one-layer models assign substantial softmax attention to BB as competing positions increase.

Within our one-layer model, the full effect of distractors on retrieval is characterized exactly by the reverse target-versus-competitor logit margin. Let ii be the masked position in the reverse prompt, xj=Bx^j=B the evidence token, AA the target, and C≠AC≠A a competitor. The margin is

(zirev)A−(zirev)C=αi,jrev(YA,B−YC,B)⏟contribution of the relevant token B+∑k≠jαi,krev(YA,xk−YC,xk)⏟aggregate contribution of the remaining context.(z_i^{\mathrm{rev}})_A-(z_i^{\mathrm{rev}})_C=\underbrace{α^{\mathrm{rev}}_{i,j}(Y_{A,B}-Y_{C,B})}_{\text{contribution of the relevant token }B}+\underbrace{∑_{k≠j}α^{\mathrm{rev}}_{i,k}(Y_{A,x^k}-Y_{C,x^k})}_{\text{aggregate contribution of the remaining context}}.

AA is the strict top-1 prediction if and only if this margin is positive for every C≠AC≠A. This decomposition shows two interference routes: competing scores can reduce αi,jrevα^{\mathrm{rev}}_{i,j}, while attended distractors can provide stored evidence favoring a competitor. Prop. 4.1 shows that forward masked training strengthens the BB-to-AA storage margin, while Sec. 4.2 shows that the forward and reverse routing scores are positively coupled. Neither result alone guarantees a positive total margin.

Sec. 4.3 gives a complementary local result: the shared-storage component of a forward update decreases the reverse loss and increases the reverse target probability to first order. This is stronger than attention score correlation but does not guarantee top-1 retrieval under arbitrary distractors or after unrestricted training dynamics.

This scope matches our results: reverse accuracy remains below forward accuracy even for MDMs, so reverse transfer is partial. Still, the controlled one-layer model exhibits nontrivial reverse accuracy, and RADD, LLaDA, and Dream show the predicted attention coupling, gradient alignment, and probability transfer. We therefore interpret the theory as identifying a mechanism that makes forward-learned evidence available for partial reverse transfer, not as proving retrieval for every reverse query.

In the revision, we will explicitly distinguish raw attention score correlation, softmax attention weight, and successful retrieval in the main text. We will also add the attention weight diagnostic and logit-margin decomposition, clarify the scope of App. C.3, and revise claims that could imply positive score correlation suffices for retrieval.

W2. Role and empirical validity of Assumption 4.2

We appreciate the reviewer’s assessment that Assumption 4.2 is a plausible idealized model, and agree that its validity has not been established for representations learned by trained LLMs. Our aim is not to claim that the assumption exactly describes learned representations, but to preserve the principal RoPE geometry and query–key dependence in a tractable form that yields a parameter-free lower bound. We will clarify this distinction between its analytical role and empirical validity.

Each assumption has a clear role. An isotropic Gaussian mask query provides a direction-free baseline, while query-dependent conditional key covariance, rather than query–key independence, captures training-induced dependence. Its query-aligned anisotropy models possible learned alignment. Plane-wise covariance reflects RoPE’s 2D rotations, though block-diagonality is an idealization. Equal plane scales remove representation-dependent scaling and yield Theorem 4.3’s parameter-free bound.

The main attention-coupling conclusion does not require all of these conditions. To make this explicit, fix an arbitrary mask query and write qs=q[M](s)q_s = q^{(s)}_{[M]} for its component in RoPE plane ss. Suppose only that the conditional key covariance is block-diagonal across RoPE planes, with an arbitrary 2×22 × 2 positive-semidefinite covariance ΣsΣ_s in each plane. Let qs⊥q_s^⟂ be the 90°90° rotation of qsq_s, and define the conditional variances along and orthogonal to the query direction, respectively, as

v∥,sqs⊤Σsqs‖qs‖2ˉ,v⊥,s(qs⊥)⊤Σsqs⊥‖qs‖2ˉ.v_{∥,s}\=\frac{q_s^⊤ Σ_s q_s}{‖q_s‖^2},\qquad v_{⟂,s}\=\frac{(q_s^⟂)^⊤ Σ_s q_s^⟂}{‖q_s‖^2}.

We then define τs2τ_s^2 as the total conditional variance in plane ss and ρsρ_s as the normalized variance contrast between the query-aligned and orthogonal directions:

τs2vˉ∥,s+v⊥,s,ρsv∥,s−v⊥,sτs2ˉ∈[−1,1].τ_s^2\=v_{∥,s}+v_{⟂,s},\qquad ρ_s\=\frac{v_{∥,s}-v_{⟂,s}}{τ_s^2}∈[-1,1].

For equal forward and reverse distances Δ1=Δ2=ΔΔ₁=Δ₂=Δ, a direct calculation gives

Cov⁡(Sfwd,Srev∣q[M])12ˉ∑sτs2‖qs‖2[cos⁡(2θsΔ)+ρs].\operatorname{Cov}\bigl(S_{\mathrm{fwd}},S_{\mathrm{rev}}∣ q_{[M]}\bigr)\=\frac{1}{2}∑_sτ_s^2 ‖q_s‖^2\left[\cos(2θ_sΔ)+ρ_s\right].

This identity requires only finite second moments and block-diagonal conditional covariance, relaxing the Gaussian, equal-scale, query-alignment, and ρs≥0ρ_s\ge0 assumptions. The original theorem is recovered as a simple sufficient case that yields a covariance-independent lower bound, whereas the relaxed result depends on the learned weighted aggregate.

∑sτs2‖qs‖2[cos⁡(2θsΔ)+ρs] 0.∑_sτ_s^2 ‖q_s‖^2\left[\cos(2θ_sΔ)+ρ_s\right]\>0.

This expression also separates the geometric contribution of RoPE from the learned covariance. Under standard RoPE frequencies, the low-frequency planes contribute cosine terms close to 11 over the relative distances considered in our experiments, whereas the higher-frequency planes can oscillate. Whether the total covariance is positive therefore depends on how the learned variance and query energy are distributed across planes, together with the signed anisotropies ρsρ_s. We will revise the paper to state this weighted condition rather than suggesting that the sign of ρsρ_s alone determines the result.

As an auxiliary diagnostic, we measured ρsρ_s in the 128 RoPE planes of 9 trained one-layer RADD checkpoints, covering three sequence lengths and three random seeds:

LL Planes with ρs≥0ρ_s ≥ 0 Median ρsρ_s
10 56.8% 0.0448
20 55.5% 0.0258
30 57.0% 0.0333

These measurements do not support the strong literal condition ρs≥0ρ_s≥0 in every plane. Instead, positive and negative anisotropies are mixed and generally small, placing the learned representations closer to a near-isotropic regime. We therefore view this diagnostic as motivation for the relaxed weighted condition above, rather than as validation of every component of Assumption 4.2. More directly, Sections 5–6 observe positive forward–reverse attention score correlations in trained RADD, LLaDA, and Dream models, showing that the qualitative coupling predicted by the analysis also appears in practical representations. These observations support the predicted outcome, although they do not establish that the original idealized distributional assumptions hold exactly.

In the revision, we will present Assumption 4.2 as a plausible idealization, explain each component’s role, and contrast its sufficient conditions with the weaker representation-dependent condition from the fixed-query identity. We will also extend the decomposition with a cross-plane covariance residual and report the theorem-relevant weighted aggregate and residual magnitude in trained representations.

W3. Scope of the theory: positional evidence reuse vs. semantic inversion

We agree with this concern. Given a forward statement ARBARB and its inverse query BR−1ABR^{-1}A, our claim is that forward masked training can produce BB-to-AA evidence that remains usable after the positional configuration is reversed, provided that the target AA and evidence token BB are shared across the two configurations. We do not claim that MDMs derive R−1R^{-1} from RR or correctly interpret the changed relation phrase. We will state this scope explicitly in the main text.

The relation phrase and surrounding context still affect prediction through routing and competing evidence as discussed in W1, but explaining their semantic interpretation lies outside the scope of the current theory. We will clarify this point in Apps. E.3 and E.5.

This distinction is also reflected in our experiments. Sec. 5 uses lowercase/uppercase pairs and placeholders to remove semantic cues and isolate the storage-routing mechanism by which evidence is reused under a changed positional configuration. Sec. 6 tests whether the same signatures appear in practical MDMs with Parent-Child relations, not whether they generally learn inverse-relation reasoning. A semantic analysis of relation learning and inverse predicates remains future work.

Reviewer o2gd · CommentOpenReview ↗

Thank you for the careful rebuttal. The response substantially clarifies the scope of the contribution. In particular, the distinction between raw attention-score correlation, softmax attention weight, and successful retrieval is now explicit, and the relaxed fixed-query covariance identity provides a more accurate characterization of the role of Assumption 4.2. I also appreciate the clear statement that the theory concerns positional reuse of shared evidence rather than semantic derivation of inverse relations. My main technical reservations remain only partially resolved: the attention-weight evidence is limited to the synthetic placeholder setting, and the learned weighted covariance condition and cross-plane residual have not yet been demonstrated in the large models. Therefore, I maintain my current positive-but-borderline rating.

Authors · CommentOpenReview ↗

Thank you for your careful review and constructive suggestions. We appreciate the opportunity to clarify the scope of our theoretical analysis and will incorporate the corresponding revisions into the final manuscript. Thank you again for your thoughtful feedback.

Reviewer dhnVOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work analyses why masked diffusion language models are more robust to the reversal curse than autoregressive models. They argue that the any-order masking objective alone is not enough. Instead, the paper shows that forward masked training strengthens reverse-usable storage, and RoPE/ALiBi preserves correlated attention routes. As a consequence, the gradient component is aligned between forward and reverse losses. The paper validates these claims in one-layer RADD experiments, positional-encoding interventions, and larger LLaDA/Dream experiments.

Strengths and weaknesses

Strengths

  1. The reverse curse is an important failure mode in language models. This paper offers an intuitive explanation -- this storage-versus-routing distinction gives the paper a clear conceptual contribution.

  2. The theory is developed in a simplified one-layer setting, but the authors make a serious effort to test its predictions empirically. The controlled one-layer experiments, positional-encoding interventions, and larger LLaDA/Dream experiments all support the proposed mechanism.

Weakenesses

  1. The main result assumes a simplified one-layer model. Deep diffusion models include multiple layers, iterative denoising etc. The paper sometimes suggests a broader explanation than the theory alone can support.

  2. The routing analysis relies on assumptions about query and key statistics that may not hold in trained models.

  3. A positive correlation in attention scores does not guarantee that the model assigns enough attention weight to the relevant token, especially when there are many distractors.

Questions

Please see the weaknesses.

Limitations

yes

Formatting concerns

no

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment of our conceptual contribution and for the constructive feedback.

W1. Scope of the one-layer analysis

We agree with this concern. Although Appendix E.6 discusses the scope of the one-layer analysis, some statements in the main text may be read as extending the theory to the full behavior of deep MDMs. We will state this limitation explicitly in the main text and revise the relevant claims. We do not claim that the storage–routing analysis established in the one-layer setting formally extends to deeper models or fully explains their reversal behavior, including how the identified signal develops through the network. The LLaDA and Dream experiments show only that the qualitative signatures predicted by the theory are also observed in practical MDMs. We interpret these results as empirical evidence consistent with the proposed mechanism, not as a multilayer guarantee or a complete explanation.

The one-layer setting is valuable precisely because it makes the mechanism analytically separable. It allows us to distinguish position-independent storage from position-dependent routing, derive falsifiable predictions for each, and test them through the controlled experiments in Section 5. The purpose of this analysis is to identify a basic transfer mechanism with clear theoretical and empirical implications, rather than to model every component of a practical MDM.

W2. Validity of the query–key assumptions

We agree that the relationship between Assumption 4.2 and representations learned by trained models was not explained clearly enough. Assumption 4.2 provides a minimal idealized setting for isolating the query–key dependence relevant to forward–reverse attention coupling. The assumption need not hold exactly in practice. Rather, its components preserve the principal structure of the problem while enabling a parameter-free lower bound.

The isotropic Gaussian mask query is the simplest reference distribution without a preferred direction. We do not assume query–key independence: the key covariance is query-dependent, capturing dependence induced by training. Its query-aligned component minimally extends isotropy to model learned alignment. The plane-wise decomposition reflects RoPE’s two-dimensional rotations, although block-diagonal covariance remains an idealization rather than a consequence of RoPE. Equal scale across planes removes representation-dependent scale differences, yielding the parameter-free result in Theorem 4.3.

The main attention-coupling conclusion does not require all of these conditions. To make this explicit, fix an arbitrary mask query and write qs=q[M](s)q_s = q^{(s)}_{[M]} for its component in RoPE plane ss. Suppose only that the conditional key covariance is block-diagonal across RoPE planes, with an arbitrary 2×22 × 2 positive-semidefinite covariance ΣsΣ_s in each plane. Let qs⊥q_s^⟂ be the 90°90° rotation of qsq_s, and define the conditional variances along and orthogonal to the query direction, respectively, as

v∥,s=qs⊤Σsqs‖qs‖2,v⊥,s=(qs⊥)⊤Σsqs⊥‖qs‖2.v_{∥,s}=\frac{q_s^⊤ Σ_s q_s}{‖q_s‖^2},\quad v_{⟂,s}=\frac{(q_s^⟂)^⊤ Σ_s q_s^⟂}{‖q_s‖^2}.

We then define τs2τ_s^2 as the total conditional variance in plane ss and ρsρ_s as the normalized variance contrast between the query-aligned and orthogonal directions:

τs2=v∥,s+v⊥,s,ρs=v∥,s−v⊥,sτs2∈[−1,1].τ_s^2=v_{∥,s}+v_{⟂,s},\quad ρ_s=\frac{v_{∥,s}-v_{⟂,s}}{τ_s^2}∈[-1,1].

For equal forward and reverse distances Δ1=Δ2=ΔΔ₁=Δ₂=Δ, a direct calculation gives

Cov⁡(Sfwd,Srev∣q[M])=12∑sτs2‖qs‖2[cos⁡(2θsΔ)+ρs].\operatorname{Cov}\bigl(S_{\mathrm{fwd}},S_{\mathrm{rev}}∣ q_{[M]}\bigr)=\frac{1}{2}∑_sτ_s^2 ‖q_s‖^2\left[\cos(2θ_sΔ)+ρ_s\right].

This identity requires only finite second moments and block-diagonal conditional covariance. It does not require Gaussian queries, equal variance across planes, query–eigenvector alignment, or ρs≥0ρ_s≥0 in every plane. The original theorem is a simpler sufficient case that permits a covariance-independent lower bound. Under the relaxed result, positivity instead depends on the learned, weighted aggregate

∑sτs2‖qs‖2[cos⁡(2θsΔ)+ρs]>0.∑_s τ_s^2 ‖q_s‖^2\left[\cos(2θ_sΔ)+ρ_s\right]>0.

This expression also separates the geometric contribution of RoPE from the learned covariance. Under standard RoPE frequencies, the low-frequency planes contribute cosine terms close to 11 over the relative distances considered in our experiments, whereas the higher-frequency planes can oscillate. Whether the total covariance is positive therefore depends on how the learned variance and query energy are distributed across planes, together with the signed anisotropies ρsρ_s. We will revise the paper to state this weighted condition rather than suggesting that the sign of ρsρ_s alone determines the result.

As an auxiliary diagnostic, we measured ρsρ_s in the 128 RoPE planes of 9 trained one-layer RADD checkpoints, covering three sequence lengths and three random seeds:

LL Planes with ρs≥0ρ_s ≥ 0 Median ρsρ_s
10 56.8% 0.0448
20 55.5% 0.0258
30 57.0% 0.0333

These measurements do not support the strong literal condition ρs≥0ρ_s≥0 in every plane. Instead, positive and negative anisotropies are mixed and generally small, placing the learned representations closer to a near-isotropic regime. We therefore view this diagnostic as motivation for the relaxed weighted condition above, rather than as validation of every component of Assumption 4.2. More directly, Sections 5–6 observe positive forward–reverse attention score correlations in trained RADD, LLaDA, and Dream models, showing that the qualitative coupling predicted by the analysis also appears in practical representations. These observations are consistent with the predicted outcome, although they do not establish that the original idealized distributional assumptions hold exactly.

In the revision, we will describe Assumption 4.2 as a minimal idealized model of RoPE geometry and training-induced query–key dependence, add the fixed-query identity above, and distinguish the original sufficient conditions from the weaker representation-dependent condition. We will also include a decomposition that accounts for cross-plane covariance as a residual and empirically report the theorem-relevant weighted aggregate and the magnitude of this residual in trained representations.

W3. Attention score correlation vs. attention weight

We agree, and the distinction is important. The positive attention score correlation in Sec. 4.2 does not guarantee that the evidence token BB receives sufficient reverse attention weight or that retrieval succeeds in the presence of distractors. Attention weight is determined by softmax competition with all context positions, so even a positively coupled score may be diluted by sufficiently many or sufficiently strong distractors. Although App. E.5 discusses this limitation, the distinction was not sufficiently clear in the main text.

To directly examine the effect of softmax competition, we additionally measured the reverse attention weight across sequence lengths in the trained one-layer RADD models from Sec. 5. Pooling reverse-query placements from successful 8 checkpoints (excluding one L=20L=20 run with 0% forward accuracy), we obtained:

LL Median αi,jrevα^{\mathrm{rev}}_{i,j} on BB Uniform weight 1/L1/L
10 0.589 0.100
20 0.833 0.050
30 0.567 0.033

At each reported length, the uppercase evidence token (corresponding to BB in our notation) received the highest attention weight among all context positions in 100% of reverse queries. Thus, although score correlation alone does not guarantee meaningful attention weight, the trained one-layer models assign substantial softmax attention to BB even as the number of competing positions increases.

To connect this attention weight result to retrieval, we can characterize the full effect of distractors in our one-layer model through the exact target-versus-competitor logit margin. Let ii be the masked position in the reverse prompt, xj=Bx^j=B the evidence token, AA the target, and C≠AC≠A a competitor. The margin decomposes as

(zirev)A−(zirev)C=αi,jrev(YA,B−YC,B)⏟contribution of the relevant token B+∑k≠jαi,krev(YA,xk−YC,xk)⏟aggregate contribution of the remaining context.(z_i^{\mathrm{rev}})_A-(z_i^{\mathrm{rev}})_C=\underbrace{α^{\mathrm{rev}}_{i,j}(Y_{A,B}-Y_{C,B})}_{\text{contribution of the relevant token }B}+\underbrace{∑_{k≠j}α^{\mathrm{rev}}_{i,k}(Y_{A,x^k}-Y_{C,x^k})}_{\text{aggregate contribution of the remaining context}}.

The necessary and sufficient condition for AA to be retrieved as the strict top-1 prediction is that this margin be positive for every C≠AC≠A. Prop. 4.1 shows that forward training strengthens the BB-to-AA storage margin, while Sec. 4.2 shows that the forward and reverse routing scores are positively coupled. However, neither result alone guarantees a positive total margin, because the remaining context may receive substantial attention or provide competing evidence.

Sec. 4.3 connects this mechanism more directly to a probability-level effect. Specifically, it shows to first order that the shared-storage component of a forward update decreases the reverse loss and increases the target probability. This is stronger than attention score correlation, but remains a local result: it does not guarantee top-1 retrieval under arbitrary distractors or unrestricted training dynamics.

This scope is also consistent with our empirical results. Reverse accuracy remains below forward accuracy even for MDMs, despite substantial attention to BB. The predicted attention coupling, gradient alignment, and probability transfer are also observed in RADD, LLaDA, and Dream, but these results demonstrate substantial yet partial reverse transfer rather than guaranteed retrieval.

In the revision, we will clearly distinguish raw attention score correlation, softmax attention weight, and successful retrieval, and narrow statements that could be read as treating positive score correlation as sufficient for retrieval. We will also add the attention weight diagnostic and logit-margin decomposition above.

Reviewer dhnV · CommentOpenReview ↗

Thank you for the careful rebuttal and results! My concerns are largely addressed, and I would like to maintain my positive rating.

Authors · CommentOpenReview ↗

Thank you for your thoughtful review. We are glad that our rebuttal addressed your concerns. We will incorporate the corresponding clarifications into the revised manuscript. Thank you again for your constructive feedback and positive evaluation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…