mlsanityData to 7 Oct 2026

Mitigating Reversal Curse in Large Language Models via Semantic-aware Permutation Training

arXiv 2403.00758 ↗First posted 1 Mar 2024cs.CL cs.AI cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) have achieved impressive performance across diverse tasks, recent studies showcase that causal LLMs suffer from the "reversal curse". It is a typical example that the model knows "A's father is B", but is unable to reason "B's child is A". This limitation poses a challenge to the advancement of artificial general intelligence (AGI), as it suggests a gap in the models' ability to comprehend and apply bidirectional reasoning. In this paper, we first conduct substantial evaluation and identify that the root cause of the reversal curse lies in the different word order between the training and inference stage, namely, the poor ability of causal language models to predict antecedent words within the training data. Accordingly, permutation on the training data is considered as a potential solution, since this can make the model predict antecedent words or tokens. However, previous permutation methods may disrupt complete phrases or entities, thereby posing challenges for the model to comprehend and learn from training data. To address this issue, we propose Semantic-aware Permutation Training (SPT), which addresses this issue by segmenting the training sentences into semantic units (i.e., entities or phrases) with an assistant language model and permuting these units before feeding into the model. Extensive experiments demonstrate that SPT effectively mitigates the reversal curse since the performance on reversed questions approximates that on the forward ones, and significantly advances the performance of existing works.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 24 of its 29 references that are in the map. First posted on arXiv 1 Mar 2024.

Builds on

24 of 29 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  9. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
  10. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  11. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  12. 2019MASS: Masked Sequence to Sequence Pre-training for Language Generationcited by 345
12 more
  1. 2023Studying Large Language Model Generalization with Influence Functionscited by 311
  2. 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
  3. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 142
  4. 2020Out of Order: How Important Is The Sequential Order of Words in a Sentence in Natural Language Understanding Tasks?cited by 72
  5. 2020UnNatural Language Inferencecited by 68
  6. 2021BERT & Family Eat Word Salad: Experiments with Text Understandingcited by 44
  7. 2023Evaluating the Reversal Curse in Model Editingcited by 34
  8. 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
  9. 2023An Analysis and Mitigation of the Reversal Cursecited by 22
  10. 2023Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Textcited by 19
  11. 2023Specialist or Generalist? Instruction Tuning for Specific NLP Taskscited by 17
  12. 2023Hint-enhanced In-Context Learning wakes Large Language Models up for knowledge-intensive taskscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 4.

11 papers.