Lune

ACL Findings2024

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

Qingyan Guo, Rui Wang, Junliang Guo, Xu Tan, Jiang Bian, Yujiu Yang

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure 引用了 The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"
  • Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure 引用了 Physics of Language Models: Part 3.2, Knowledge Manipulation
  • Empty Shelves or Lost Keys? Recall Is the Bottleneck for Parametric Factuality 引用了 Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure
  • Empty Shelves or Lost Keys? Recall Is the Bottleneck for Parametric Factuality 引用了 The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"
  • Deep sequence models tend to memorize geometrically; it is unclear why 引用了 Physics of Language Models: Part 3.2, Knowledge Manipulation
  • Large Language Models are Zero-Shot Reasoners 引用了 Training language models to follow instructions with human feedback
  • Physics of Language Models: Part 3.2, Knowledge Manipulation 引用了 The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"
  • Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge 引用了 Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure
  • Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge 引用了 The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization FailureBoshi Wang, Huan SunICLR 2026 · 16 次引用
  2. Deep sequence models tend to memorize geometrically; it is unclear whyShahriar Noroozizadeh, Vaishnavh Nagarajan, Elan Rosenfeld, Sanjiv KumarICML 2026 · 11 次引用
  3. Empty Shelves or Lost Keys? Recall Is the Bottleneck for Parametric FactualityNitay Calderon, Eyal Ben-David, Zorik Gekhman, Eran Ofek 等ICML 2026 · 8 次引用
  4. Physics of Language Models: Part 3.2, Knowledge ManipulationZeyuan Allen-Zhu, Yuanzhi LiICLR 2025 · 2 次引用
  5. Breaking the Reversal Curse in Autoregressive Language Models via Identity BridgeXutao Ma, Yixiao Huang, Hanlin Zhu, Somayeh SojoudiICML 2026 · 2 次引用

它引用的 Paper11

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  3. MPNet: Masked and Permuted Pre-training for Language UnderstandingKaitao Song, Xu Tan, Tao Qin, Jianfeng Lu 等NeurIPS 2020 · 1,957 次引用
  4. PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon 等ICML 2023 · 700 次引用
  5. The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"Lukas Berglund, Meg Tong, Maximilian Kaufmann, Mikita Balesni 等ICLR 2024 · 462 次引用

相关 Paper

  1. An Analysis and Mitigation of the Reversal CurseAng Lv, Kaiyi Zhang, Shufang Xie, Quan Tu 等EMNLP 2024
  2. Exploring Reversal Mathematical Reasoning Ability for Large Language ModelsPei Guo, Wangjie You, Juntao Li, Bowen Yan 等ACL Findings 2024 · 1 次引用
  3. Towards a Theoretical Understanding of the 'Reversal Curse' via Training DynamicsHanlin Zhu, Baihe Huang, Shaolun Zhang, Michael I. Jordan 等NeurIPS 2024 · 37 次引用
  4. Library-Like Behavior In Language Models is Enhanced by Self-Referencing Causal CyclesMunachiso Nwadike, Zangir Iklassov, Toluwani Aremu, Tatsuya Hiraoka 等ACL 2025
  5. Rethinking the Reversal Curse of LLMs: a Prescription from Human Knowledge ReversalZhicong Lu, Li Jin, Peiguang Li, Yu Tian 等EMNLP 2024 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖