Exploring the Reversal Curse and Other Deductive Logical Reasoning in BERT and GPT-Based Large Language Models
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
The term "Reversal Curse" refers to the scenario where auto-regressive decoder large language models (LLMs), such as ChatGPT, trained on "A is B" fail to learn "B is A," assuming that B and A are distinct and can be uniquely identified from each other, demonstrating a basic failure of logical deduction. This raises a red flag in the use of GPT models for certain general tasks such as constructing knowledge graphs, considering their adherence to this symmetric principle. In our study, we examined a bidirectional LLM, BERT, and found that it is immune to the reversal curse. Driven by ongoing efforts to construct biomedical knowledge graphs with LLMs, we also embarked on evaluating more complex but essential deductive reasoning capabilities. This process included first training encoder and decoder language models to master the intersection and union operations on two sets and then moving on to assess their capability to infer different combinations of union and intersection operations on three newly created sets. The findings showed that while both encoder and decoder language models, trained for tasks involving two sets (union/intersection), were proficient in such scenarios, they encountered difficulties when dealing with operations that included three sets (various combinations of union and intersection). Our research highlights the distinct characteristics of encoder and decoder models in simple and complex logical reasoning. In practice, the choice between BERT and GPT should be guided by the specific requirements and nature of the task at hand, leveraging their respective strengths in bidirectional context comprehension and sequence prediction.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 27 of its 60 references that are in the map. First posted on arXiv 6 Dec 2023.
Builds on
27 of 60 references.
Closest ancestors · 2
Same direction, newest first
- 2023Can ChatGPT Defend its Belief in Truth? Evaluating LLM Reasoning via Debate22 May
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
Other references · 25
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 788
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
13 more
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
- 2023Studying Large Language Model Generalization with Influence Functionscited by 326
- 2018Contextual Augmentation: Data Augmentation by Words with Paradigmatic Relationscited by 201
- 2023Taken out of context: On measuring situational awareness in LLMscited by 143
- 2023Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learningcited by 50
- 2020Data Manipulation: Towards Effective Instance Learning for Neural Dialogue Generation via Learning to Augment and Reweightcited by 34
- 2019Integrating Graph Contextualized Knowledge into Pre-trained Language Modelscited by 26
- 2022ThinkSum: Probabilistic reasoning over sets using large language modelscited by 23
- 2020PhenoTagger: A Hybrid Method for Phenotype Concept Recognition using Human Phenotype Ontologycited by 10
- 2023Ontology Enrichment from Texts: A Biomedical Dataset for Concept Discovery and Placementcited by 7
- 2023Experimenting with ChatGPT for Spreadsheet Formula Generation: Evidence of Risk in AI Generated Spreadsheetscited by 3
- 2023Classification of integers based on residue classes via modern deep learning algorithmscited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2026Large Language Model Reasoning Failurescited by 21
- 2025Latent learning: episodic memory complements parametric learning by enabling flexible reuse of experiencescited by 15
- 2025Integrating Chain-of-Thought and Retrieval Augmented Generation Enhances Rare Disease Diagnosis from Clinical Notescited by 7
- 2024Models Can and Should Embrace the Communicative Nature of Human-Generated Mathcited by 1
- 2025Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applicationscited by 0
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2025Latent learning: episodic memory complements parametric learning by enabling flexible reuse of experiences19 Sep 2025
- 2025Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applications9 May 2025
- 2025Integrating Chain-of-Thought and Retrieval Augmented Generation Enhances Rare Disease Diagnosis from Clinical Notes15 Mar 2025
- 2024Models Can and Should Embrace the Communicative Nature of Human-Generated Math25 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics
- 2025Investigating the Robustness of Deductive Reasoning with Large Language Models
- 2023Examining the Emergence of Deductive Reasoning in Generative Language Models
- 2024Reversal of Thought: Enhancing Large Language Models with Preference-Guided Reverse Reasoning Warm-up
- 2025JustLogic: A Comprehensive Benchmark for Evaluating Deductive Reasoning in Large Language Models
- 2024Transformer-based Language Models for Reasoning in the Description Logic ALCQ
- 2023Evaluating Large Language Models on Graphs: Performance Insights and Comparative Analysis
- 2026Knowledge Vector of Logical Reasoning in Large Language Models