arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02892cs.AIcs.CLcs.LG
收藏

演绎推理与归纳推理在大语言模型中的作用

The Role of Deductive and Inductive Reasoning in Large Language Models

University of Edinburgh(爱丁堡大学);University of Manchester(曼彻斯特大学);University of Washington(华盛顿大学);Tsinghua University(清华大学);Skai Intelligence(Skai智能科技);University of Copenhagen(哥本哈根大学)

Chengkun Cai, Xu Zhao, Haoliang Liu, Zhongyu Jiang, Tianfang Zhang, Zongkai Wu, Jenq-Neng Hwang, Lei Li

AI总结:

本文提出DID框架,通过动态结合演绎与归纳推理,利用双指标复杂度评估,在多个基准上显著提升大语言模型推理准确率并降低计算成本。

摘要:

大语言模型(LLMs)在推理任务中展现出了令人印象深刻的能力,然而,它们对静态提示结构的依赖以及对复杂场景的有限适应性仍然是一个重大挑战。在本文中,我们提出了演绎与归纳(DID)方法,这是一种新颖的框架,通过动态整合演绎推理和归纳推理两种途径来增强大语言模型的推理能力。借鉴认知科学原理,DID实现了一种双指标复杂度评估系统,该系统结合了Littlestone维度和信息熵,以精确评估任务难度并指导分解策略。DID使模型能够根据问题复杂度逐步调整其推理路径,模拟人类认知过程。我们在多个基准上评估了DID的有效性,包括AIW和MR-GSM8K,以及我们自定义的用于时间推理的Holiday Puzzle数据集。我们的结果表明,推理质量和解决方案准确性显著提高——在AIW上达到了70.3%的准确率(相比之下,思维树为62.2%),同时保持了较低的计算成本。DID在提高大语言模型性能的同时保持计算效率的成功,为开发更符合认知规律且能力更强的语言模型指明了有前景的方向。我们的工作为增强大语言模型推理能力贡献了一种有理论依据、以输入为中心的方法,为传统的输出探索方法提供了一种高效的替代方案。

英文摘要:

Large Language Models (LLMs) have demonstrated impressive capabilities in reasoning tasks, yet their reliance on static prompt structures and limited adaptability to complex scenarios remains a significant challenge. In this paper, we propose the Deductive and InDuctive(DID) method, a novel framework that enhances LLM reasoning by dynamically integrating both deductive and inductive reasoning approaches. Drawing from cognitive science principles, DID implements a dual-metric complexity evaluation system that combines Littlestone dimension and information entropy to precisely assess task difficulty and guide decomposition strategies. DID enables the model to progressively adapt its reasoning pathways based on problem complexity, mirroring human cognitive processes. We evaluate DID's effectiveness across multiple benchmarks, including the AIW and MR-GSM8K, as well as our custom Holiday Puzzle dataset for temporal reasoning. Our results demonstrate significant improvements in reasoning quality and solution accuracy - achieving 70.3% accuracy on AIW (compared to 62.2% for Tree of Thought) while maintaining lower computational costs. The success of DID in improving LLM performance while preserving computational efficiency suggests promising directions for developing more cognitively aligned and capable language models. Our work contributes a theoretically grounded, input-centric approach to enhancing LLM reasoning capabilities, offering an efficient alternative to traditional output-exploration methods.

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

↑