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

TL;DR

Bidirectional supervision mitigates the reversal curse in autoregressive language models, enhancing reversal accuracy.

cs.CL 🔴 Advanced 2026-03-14 4 views
Julian Coda-Forno Jane X. Wang Arslan Chaudhry
language models reversal curse bidirectional supervision masked language model linear probe

Key Findings

Methodology

The study employs bidirectional supervision methods, including Masked Language Modeling (MLM) and decoder-only masking-based training (NTP+Masking). It compares these objectives across four reversal benchmarks to understand how they succeed. The study shows that reversal accuracy requires training signals that explicitly make the source entity a prediction target.

Key Results

  • MLM and NTP+Masking significantly improved reversal accuracy across four benchmarks, with standard NTP models nearly failing (0%).
  • Linear probe analysis revealed that forward and reverse directions are stored as distinct entries.
  • MLM and NTP+Masking exhibit different indexing geometries in reversal queries.

Significance

This study highlights the importance of bidirectional supervision in enhancing language models' reversal capabilities, challenging the limitations of existing unidirectional autoregressive models. By introducing bidirectional supervision, the study demonstrates the potential to improve reversal accuracy without relying on a single direction-agnostic representation.

Technical Contribution

The technical contribution lies in demonstrating how bidirectional supervision improves reversal accuracy without relying on a single direction-agnostic representation and revealing the differences in indexing geometry between MLM and NTP+Masking.

Novelty

This study is the first to systematically compare MLM and decoder-only masking-based training in reversal tasks, proposing a relationship between reversal accuracy and training signals.

Limitations

  • The study did not prove that successful reversal corresponds to a single direction-agnostic representation.
  • Results suggest that improvements from bidirectional supervision may not correspond to latent generalization of a unified concept.

Future Work

Future research directions include designing objectives or architectures that better couple the two directions of a fact for more efficient data learning.

AI Executive Summary

The reversal curse describes the failure of autoregressive language models to retrieve facts in reverse order, despite training on the forward direction. Existing solutions often rely on data-level interventions like reverse augmentation, which can distort language statistics or require manual paraphrase generation. This paper proposes a more fundamental approach by using bidirectional supervision to mitigate the reversal curse. The study shows that Masked Language Modeling (MLM) and decoder-only masking-based training (NTP+Masking) perform excellently in reversal tasks, significantly improving reversal accuracy.

Through linear probe analysis, the study finds that successful reversal does not correspond to a single direction-agnostic representation but rather stores forward and reverse directions as distinct entries. MLM and NTP+Masking exhibit different characteristics in indexing geometry, with the former showing stronger subject-centric clustering and the latter showing reversals as indistinguishable as unrelated facts.

While bidirectional supervision shows excellent performance in enhancing reversal capabilities, the study points out that such improvements may not correspond to latent generalization of a unified concept. Future research directions include designing objectives or architectures that better couple the two directions of a fact for more efficient data learning.

Deep Analysis

Background

In recent years, large language models (LLMs) have made significant progress in natural language processing. However, these models perform poorly in reversal tasks, where they fail to retrieve facts in reverse order despite training on the forward direction. The reversal curse exemplifies this problem, challenging the generalization capabilities of the models.

Core Problem

The reversal curse refers to the failure of models to retrieve facts in reverse order despite training on the forward direction. This issue is significant as it reflects the limitations of models in knowledge representation and retrieval, impacting their practical applications.

Innovation

The innovation of this paper lies in proposing bidirectional supervision methods, including Masked Language Modeling (MLM) and decoder-only masking-based training (NTP+Masking), to improve reversal accuracy. Unlike traditional unidirectional autoregressive models, these methods significantly enhance performance in reversal tasks by introducing bidirectional supervision.

Methodology

  • �� Use Masked Language Modeling (MLM) for bidirectional supervision.

  • �� Employ decoder-only masking-based training (NTP+Masking) by introducing masks in the context.

  • �� Compare performance across four reversal benchmarks to analyze the success mechanisms of different objectives.

Experiments

The experimental design includes comparing the performance of MLM and NTP+Masking on four reversal benchmarks. Linear probe analysis is used to evaluate the internal representations of the models and assess the storage of forward and reverse directions.

Results

Experimental results show that MLM and NTP+Masking perform excellently in reversal tasks, significantly improving reversal accuracy. Linear probe analysis reveals that forward and reverse directions are stored as distinct entries.

Applications

The study's applications include improving language models' performance in reversal tasks, enhancing models' knowledge representation and retrieval capabilities.

Limitations & Outlook

While bidirectional supervision shows excellent performance in enhancing reversal capabilities, the study points out that such improvements may not correspond to latent generalization of a unified concept.

Plain Language Accessible to non-experts

Imagine you're in a kitchen cooking. You have a recipe that tells you what to add first and then what to add next. Now, you want to do it backwards, like adding salt before water. Usually, your recipe only tells you one order, but if you could remember both orders, it would be better. This study explores how to make language models, like you, remember both orders to perform better in reversal tasks.

ELI14 Explained like you're 14

Hey there! Imagine you're playing a game where you have to remember the order of a bunch of cards. Usually, you only remember the order forwards, but if someone asks you the order backwards, you get confused. Scientists are figuring out how to make computers remember the backwards order too, just like you in the game, so they can answer questions more smartly!

Glossary

Reversal Curse

The failure of models to retrieve facts in reverse order despite training on the forward direction.

The study explores how bidirectional supervision can mitigate this issue.

Masked Language Model (MLM)

A language model that predicts masked words by masking parts of the input.

Used to provide bidirectional supervision and improve reversal accuracy.

Decoder-only Masking-based Training (NTP+Masking)

A training method that enhances model reversal capability by introducing masks in the context.

Compared with MLM to evaluate performance in reversal tasks.

Linear Probe

A tool used to analyze internal representations of models by evaluating the distance between different representations.

Used to analyze the storage of forward and reverse directions.

Bidirectional Supervision

A training strategy that improves model generalization by considering both forward and reverse information.

Used to enhance reversal task accuracy.

Open Questions Unanswered questions from this research

  • 1 How to design objectives or architectures that better couple the two directions of a fact for more efficient data learning.
  • 2 How to further improve reversal accuracy without relying on a single direction-agnostic representation.

Applications

Immediate Applications

Reversal Task Optimization

Improve language model performance in reversal tasks through bidirectional supervision, applicable to scenarios requiring bidirectional information processing.

Long-term Vision

Generalization Capability Enhancement

Advance the field of natural language processing by improving models' knowledge representation and retrieval capabilities.

Abstract

The reversal curse describes a failure of autoregressive language models to retrieve a fact in reverse order (e.g., training on ``$A > B$'' but failing on ``$B < A$''). Recent work shows that objectives with bidirectional supervision (e.g., bidirectional attention or masking-based reconstruction for decoder-only models) can mitigate the reversal curse. We extend this evaluation to include a vanilla masked language modeling (MLM) objective and compare it to decoder-only masking-based training across four reversal benchmarks and then provide a minimal mechanistic study of \emph{how} these objectives succeed. We show that reversal accuracy requires training signal that explicitly makes the source entity a prediction target, and we find little evidence that success corresponds to a single direction-agnostic representation of a fact. Instead, representation distances and linear probes are consistent with storing forward and reverse directions as distinct entries, with different indexing geometry for MLM versus decoder-only masking-based training. Our results caution that objective-level ``fixes'' can improve reversal behavior without necessarily inducing the kind of latent generalization one might expect from a unified concept.

cs.CL cs.AI