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

AI-generated keywords: Reversal Curse LLMs Generalization GPT-3 GPT-4

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.

  • The paper exposes a failure of generalization in auto-regressive large language models (LLMs).
  • LLMs trained on sentences of the form "A is B" fail to automatically generalize to the reverse direction "B is A".
  • This phenomenon is referred to as the Reversal Curse.
  • GPT-3 and Llama-1, when finetuned on fictitious statements, fail to correctly answer questions about composers.
  • The curse persists across different model sizes and families and cannot be alleviated by data augmentation.
  • ChatGPT (GPT-3.5 and GPT-4) also demonstrate a failure of logical deduction when asked questions in reverse.
  • GPT-4 answers correctly 79% of the time for questions about real-world celebrities but only 33% of the time when asked in reverse.
  • The authors hypothesize that this failure is caused by the Reversal Curse.
  • The paper provides a link to code available on GitHub for further exploration and analysis.
  • This research highlights a significant limitation in LLMs' ability to generalize and deduce logical relationships between entities.
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.12288v1

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.

The paper titled "The Reversal Curse: LLMs trained on 'A is B' fail to learn 'B is A'" by Lukas Berglund, Meg Tong, Max Kaufmann, Mikita Balesni, Asa Cooper Stickland, Tomasz Korbak, and Owain Evans exposes a surprising failure of generalization in auto-regressive large language models (LLMs). The authors 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 Reversal Curse. To provide evidence for the Reversal Curse, GPT-3 and Llama-1 are finetuned on fictitious statements such as "Uriah Hawthorne is the composer of 'Abyssal Melodies'". The 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. Furthermore, ChatGPT (GPT-3.5 and GPT-4) are evaluated on questions about real-world celebrities with the correct answer being Mary Lee Pfeiffer. GPT-4 answers correctly 79% of the time. However, when asked in reverse ("Who is Mary Lee Pfeiffer's son? "), GPT-4 only answers correctly 33% of the time. This demonstrates a failure of logical deduction that the authors hypothesize is caused by the Reversal Curse. The paper concludes by providing a link to the code available on GitHub for further exploration and analysis. Overall, this research highlights a significant limitation in LLMs' ability to generalize and deduce logical relationships between entities which has implications for their use in various applications.
Created on 27 Nov. 2023

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.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

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.