The Reversal Curse: Your LLM Knows "A is B" but Not "B is A"

In this article · 12 sections
Suppose a model learns that a fictional researcher, Mira Sen, created a fictional dataset called Lantern-47. You ask who created Lantern-47 and it cannot retrieve Mira Sen. The information appears simple, but the question approaches it from the opposite direction.
The reversal curse is a useful way to study the gap between encountering a fact and being able to retrieve it under a different query. This article explains the distinction, outlines an experiment a reader can build, and connects it to retrieval and evaluation design. It does not report a fine-tuning experiment I personally ran.
What the original result actually says
In Berglund et al.'s reversal-curse study, models fine-tuned on synthetic name-description facts often answered queries following the training order but failed to generalize to the reverse order. The authors also reported an asymmetry for celebrity-parent questions in the GPT-4 version they evaluated: 79% in one direction and 33% in the other. These are historical results from that evaluation, not performance figures for today's models.
The paper distinguishes facts learned through parameter updates from facts supplied in the current context. Its finding does not mean that a model given a relationship directly in a prompt is universally unable to reverse it. Missing that distinction turns a specific research result into an exaggerated claim about reasoning.
Directional prediction is not a reversible lookup table
An autoregressive training objective rewards predictions of the next token given earlier tokens. If a sequence places a name before a description, the training signal directly concerns predicting that continuation. It does not explicitly create a database index from every description back to its name.
In probability terms, P(description | name) and P(name | description) are different conditional distributions. Bayes' rule relates them only when the appropriate marginal probabilities and model assumptions are available. A text generator is not automatically executing that calculation when asked a question.
Shared parameters can still produce generalization, and training data may contain both orders. Therefore the objective alone is not a proof that reverse retrieval must always fail. It explains why reversibility is not guaranteed. The difference matters: an architectural intuition is not a substitute for measuring a particular model and dataset.
Distinguish identity from an asymmetric relation
“A is B” is convenient shorthand, but natural-language relationships have types. “Mira created Lantern-47” reverses into “Lantern-47 was created by Mira,” not “Lantern-47 created Mira.” A parent relationship is not symmetric, and a person can have several children.
Before testing reversal, define the inverse query precisely. If several answers are valid, a scorer that accepts only one name will undercount correct responses. If the description is not unique, failure to produce the intended entity may be an ambiguity problem rather than a reversal failure.
For an experiment, I would use unique invented entity-description pairs with explicit relation labels. For a product, I would store the relation as structured data and generate inverse queries according to the relation type. Treating all sentence reversals as logical identity produces a misleading benchmark.
Build an experiment that controls contamination
Use synthetic names and descriptions that are not facts a pretrained model is likely to know. Generate separate groups of forward-only facts, reverse-only facts and facts shown in both directions. Reserve additional entity pairs for controls and keep the evaluation prompts out of the training set.
Record the base checkpoint, tokenizer, fine-tuning configuration, training seed, number of exposures per fact and decoding settings. Without these, a change in answer rate can be caused by a training-budget difference rather than the intervention you intended to test.
Do not treat a prompt-only test as a reproduction of parameter learning. Prompting with the complete fact and then asking the inverse question measures contextual use. Fine-tuning changes model parameters. Both experiments are useful, but they answer different questions and should be reported separately.
Construct paired probes before running the model
The following code creates a small evaluation fixture. It does not train a model or produce an accuracy claim.
facts = [
{"entity": "Mira Sen", "artifact": "Lantern-47"},
{"entity": "Oren Vale", "artifact": "Cobalt-19"},
]
def paired_probes(fact):
return {
"forward": {
"prompt": f"Which dataset did {fact['entity']} create?",
"answer": fact["artifact"],
},
"reverse": {
"prompt": f"Who created the dataset {fact['artifact']}?",
"answer": fact["entity"],
},
}
def normalize(text):
return " ".join(text.casefold().strip().rstrip(".").split())
probes = [paired_probes(fact) for fact in facts]
assert normalize(" Mira Sen. ") == normalize("Mira Sen")
assert probes[0]["reverse"]["answer"] == "Mira Sen"
A small normalizer prevents whitespace and final punctuation from becoming false failures. It is not a complete semantic scorer. An answer such as “It was created by Mira Sen” needs a clearly specified extraction rule or a separate grading procedure. Do not change that procedure after seeing which model wins.
Look beyond two aggregate percentages
For each fact, record whether the forward and reverse answers are correct. This produces four groups: both correct, forward only, reverse only and neither. The forward-only group is especially useful because it separates an order-sensitive retrieval failure from cases where the model learned neither direction.
I would also report reverse accuracy conditioned on forward success. Keep the unconditional score alongside it: a model with very few forward successes can look deceptively good on a small conditional subset. Include sample sizes and uncertainty intervals rather than treating a few examples as a stable measurement.
Use several prompt templates and multiple seeds. A model may recognize one phrasing but fail another. Keep paraphrase robustness separate from reversal robustness so that improving one does not conceal deterioration in the other. Inspect representative errors manually; incorrect names, abstentions and extra unsupported claims are different failure modes.
Separate memory retrieval from contextual reasoning
Run the same reverse question under three conditions: no supporting fact in the prompt, the correct fact in the prompt, and an unrelated distractor in the prompt. If supplying the fact changes the answer, that is evidence that context availability matters. It does not by itself identify how the fact is represented in the weights.
A fourth condition can supply a conflicting fact. Then you are testing how the system resolves evidence and prior associations, which is a separate design question. Label it accordingly. Combining all four conditions into one “reasoning score” makes the result harder to interpret.
This distinction is valuable when debugging an application. If an answer becomes correct when a document is retrieved, spending more effort on retrieval may be more productive than adding a longer chain-of-thought instruction. First identify what evidence the model actually receives.
Mitigation one: represent both query directions
If you control a training dataset, explicitly include legitimate inverse queries for the same facts. This should not be confused with assuming that examples about unrelated facts will automatically teach universal inversion. Keep the relation type and possible multiple answers intact.
Golovneva et al.'s reverse-training work studies training with forward and transformed reverse strings, preserving selected substrings such as entities. That procedure is more specific than “reverse every character.” It is a training intervention with its own compute and data accounting, not a one-line prompting trick.
For an application experiment, compare alternatives under explicit budgets. Doubling training material while leaving the baseline unchanged creates a different comparison from matching the number of tokens or the compute used. Describe which question you are answering before reporting improvement.
Mitigation two: make retrieval bidirectional
A structured store can retain creator=Mira Sen and artifact=Lantern-47 as fields in one record. Both query directions can then retrieve the same evidence. The generator is responsible for wording an answer from that record rather than reconstructing the relationship entirely from its parameters.
A vector index is not automatically a bidirectional knowledge graph. An inverse question may still retrieve the wrong passage. Test retrieval recall for both query forms, inspect the retrieved context, and preserve provenance at the record level. If retrieval fails, a fluent answer with a citation-shaped decoration does not fix the problem.
For operational systems, I prefer being able to inspect the record and query path. That does not make all retrieval systems superior to fine-tuning; it makes this particular failure easier to locate and correct.
What this result should not make us claim
It does not establish that models store every fact in only one direction, that reverse reasoning is impossible, or that every hallucination is a reversal error. It also does not justify projecting the behavior of a tested historical checkpoint onto a newer one without evaluation.
The useful conclusion is narrower and more actionable: exposure to a relationship is insufficient evidence that your system can retrieve it under every required query. Test the actual query directions your users depend on.
An exercise for a retrieval application
Create twenty fictional project-maintainer records. Ask both “Who maintains this project?” and “Which project does this person maintain?” Evaluate retrieval separately from answer generation. Add a person who maintains two projects and a project with two maintainers.
That small change forces you to confront relation cardinality, scoring and ambiguity. The exercise teaches more than collecting a screenshot of one failed celebrity question. You end with a test fixture that can survive changes to the embedding model, prompt or generator.
Sources and further reading
- Berglund et al., The Reversal Curse: the original synthetic-fact experiments and their contextual-learning distinction.
- Official experiment repository: implementation and reproduction material from the authors.
- Golovneva et al., Reverse Training to Nurse the Reversal Curse: a specific reverse-training intervention.
The fictional dataset, fixture code and proposed product evaluation above are teaching material, not measurements from those studies or results from my own fine-tuning run.