arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.06736cs.CL
收藏

大语言模型是严谨的逻辑推理者吗?通过对比学习的逐步解码赋能自然语言证明生成

Are LLMs Rigorous Logical Reasoners? Empowering Natural Language Proof Generation by Stepwise Decoding with Contrastive Learning

South China University of Technology(华南理工大学);Likelihood Lab(Likelihood实验室);HKUST(GZ)(香港科技大学(广州));HKUST(香港科技大学)

Ying Su, Mingwen Liu, Zhijiang Guo

AI总结:

针对大语言模型自然语言证明规划中现有辅助方法成本高、生成过程探究不足的问题,提出对比学习增强的逐步解码方法,用难例微调缓解解码错误,提升证明生成质量,同时发现大模型仍难生成严谨逻辑链。

摘要:

逻辑推理是人工智能领域的核心组成部分。证明规划,尤其是在需要验证解释准确性的场景中,仍然存在诸多挑战。近期大语言模型(LLMs)的发展推动自然语言证明规划取得了显著进展,已从单阶段生成器演进为包含额外搜索器或验证器的更复杂三阶段系统。这些辅助方法虽提升了生成结果的质量,但也增加了搜索工作量与计算成本。此外,生成过程本身仍未得到充分探究。本研究中,我们提出一种结合对比学习增强的逐步解码方法,以解决LLM生成器在解码过程中遇到的两类常见错误。我们使用普通难例和增强难例对语言模型进行微调,以缓解这些解码错误。实验结果证明了该策略的有效性。此外,进一步分析表明,即便规模更大的LLM仍难以生成严谨的逻辑链。

英文摘要:

Logical reasoning is a pivotal component in the field of artificial intelligence. Proof planning, particularly in contexts requiring the validation of explanation accuracy, continues to present challenges. The recent advancement of large language models (LLMs) has led to significant progress in natural language proof planning, evolving from one-stage generators to more complex three-stage systems that include additional searchers or verifiers. While these assisted methods improve the quality of generated results, they also introduce increased search efforts and computational costs. Furthermore, the generative process itself remains underexplored. In this study, we propose a stepwise decoding approach augmented by contrastive learning to address two common errors encountered during the LLM generator's decoding process. We fine-tune the language model using both vanilla and enhanced hard negatives to mitigate these decoding errors. Empirical results demonstrate the effectiveness of our strategy. Additionally, our further analysis reveals that even larger LLMs still struggle to generate rigorous logical chains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑