通过自监督课程学习赋能嵌套布尔逻辑
Empower Nested Boolean Logic via Self-Supervised Curriculum Learning
AI总结:
本文针对语言模型在多重嵌套布尔逻辑上表现不佳的问题,提出了自监督学习方法CLR,通过逐步增加数据中的嵌套逻辑链难度进行课程式训练,显著提升了模型在长距离复杂逻辑上的泛化能力,并促进了一般逻辑任务的性能。
摘要:
除了语言模型展示的强大认知能力外,审视其推理能力是源于强泛化还是仅仅接触了相关数据至关重要。与构建日益复杂的逻辑不同,本文探究了布尔逻辑,这是逻辑推理器的根本能力。我们发现,任何预训练语言模型(甚至包括大型语言模型)在面对多重嵌套布尔逻辑时,其表现仅像一个随机选择器,而人类却能轻松应对此类任务。为了赋予语言模型这一基础能力,本文提出了一种新的自监督学习方法“课程逻辑推理”(Curriculum Logical Reasoning, CLR),在该方法中,我们逐步用嵌套布尔逻辑链增强训练数据,并规划训练过程从较简单的逻辑模式逐渐过渡到较难的模式。这种新的训练范式使语言模型能够有效泛化到更难、更长的逻辑跳跃,而这几乎无法通过朴素训练学到。此外,我们还表明布尔逻辑是改善后续一般逻辑任务的绝佳基础。
英文摘要:
Beyond the great cognitive powers showcased by language models, it is crucial to scrutinize whether their reasoning capabilities stem from strong generalization or merely exposure to relevant data. As opposed to constructing increasingly complex logic, this paper probes into the boolean logic, the root capability of a logical reasoner. We find that any pre-trained language models even including large language models only behave like a random selector in the face of multi-nested boolean logic, a task that humans can handle with ease. To empower language models with this fundamental capability, this paper proposes a new self-supervised learning method \textit{Curriculum Logical Reasoning} (\textsc{Clr}), where we augment the training data with nested boolean logic chain step-by-step, and program the training from simpler logical patterns gradually to harder ones. This new training paradigm allows language models to effectively generalize to much harder and longer-hop logic, which can hardly be learned through naive training. Furthermore, we show that boolean logic is a great foundation for improving the subsequent general logical tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。