The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"

AI-generated keywords: Reversal Curse Large Language Models Generalization Logical Deduction Limitations

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Auto-regressive large language models (LLMs) fail to generalize from "A is B" to "B is A"
  • Lack of logical deduction and generalization from training patterns
  • Failure persists across different model sizes and families
  • Data augmentation techniques do not alleviate the curse
  • GPT-4 achieves 79% accuracy for former questions but only 33% for latter questions
  • The curse is hypothesized to be the cause of this failure
  • Code for experiments available at https://github.com/lukasberglund/reversal_curse
  • Critical limitation of language models that requires further research
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Lukas Berglund, Meg Tong, Max Kaufmann, Mikita Balesni, Asa Cooper Stickland, Tomasz Korbak, Owain Evans

18 pages, 10 figures

Abstract: We expose a surprising failure of generalization in auto-regressive large language models (LLMs). If a model is trained on a sentence of the form "A is B", it will not automatically generalize to the reverse direction "B is A". This is the Reversal Curse. For instance, if a model is trained on "Olaf Scholz was the ninth Chancellor of Germany", it will not automatically be able to answer the question, "Who was the ninth Chancellor of Germany?". Moreover, the likelihood of the correct answer ("Olaf Scholz") will not be higher than for a random name. Thus, models exhibit a basic failure of logical deduction and do not generalize a prevalent pattern in their training set (i.e. if "A is B'' occurs, "B is A" is more likely to occur). We provide evidence for the Reversal Curse by finetuning GPT-3 and Llama-1 on fictitious statements such as "Uriah Hawthorne is the composer of 'Abyssal Melodies'" and showing that they fail to correctly answer "Who composed 'Abyssal Melodies?'". The Reversal Curse is robust across model sizes and model families and is not alleviated by data augmentation. We also evaluate ChatGPT (GPT-3.5 and GPT-4) on questions about real-world celebrities, such as "Who is Tom Cruise's mother? [A: Mary Lee Pfeiffer]" and the reverse "Who is Mary Lee Pfeiffer's son?". GPT-4 correctly answers questions like the former 79% of the time, compared to 33% for the latter. This shows a failure of logical deduction that we hypothesize is caused by the Reversal Curse. Code is available at https://github.com/lukasberglund/reversal_curse.

Submitted to arXiv on 21 Sep. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2309.12288v2

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "The Reversal Curse: LLMs trained on 'A is B' fail to learn 'B is A'", authors Lukas Berglund, Meg Tong, Max Kaufmann, Mikita Balesni, Asa Cooper Stickland, Tomasz Korbak, and Owain Evans highlight a surprising failure of generalization in auto-regressive large language models (LLMs). They demonstrate that if a model is trained on sentences of the form "A is B", it does not automatically generalize to the reverse direction "B is A". This phenomenon is referred to as the . The likelihood of providing the correct answer ("Olaf Scholz") is not higher than that for a random name. This indicates a fundamental failure of logical deduction and a lack of generalization from prevalent patterns in the training set. To provide evidence for the , the authors fine-tune GPT-3 and Llama-1 models on fictitious statements such as "Uriah Hawthorne is the composer of 'Abyssal Melodies'". They show that these models fail to correctly answer questions like "Who composed 'Abyssal Melodies?'". Importantly, this curse persists across different model sizes and families and cannot be alleviated by data augmentation techniques. also poses a challenge for these models. The results reveal that while GPT-4 correctly answers questions like the former 79% of the time, it only achieves 33% accuracy for the latter. This failure of logical deduction is hypothesized to be caused by the . The authors provide code for their experiments, which can be accessed at https://github.com/lukasberglund/reversal_curse. The findings presented in this paper shed light on a critical limitation of language models and highlight the need for further research to address this issue.
Created on 23 Jan. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.