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

面向通用分治推理的带依赖关系递归分解

Recursive Decomposition with Dependencies for Generic Divide-and-Conquer Reasoning

Department of Computer Science Aalto University(计算机科学系 阿尔托大学)

Sergio Hernández-Gutiérrez, Minttu Alakuijala, Alexander V. Nikitin, Pekka Marttinen

AI总结:

本文提出带依赖关系递归分解(RDD)方法,通过可扩展的分治策略、子任务依赖执行和错误恢复机制,在较少监督甚至无任务特定指导下解决复杂推理问题,并在计算匹配设置中随任务复杂度增加展现出优于现有方法的性能和计算效率。

摘要:

推理任务在许多领域中至关重要,尤其是在科学与工程领域。尽管大语言模型(LLMs)借助思维链和从易到难提示等技术在推理任务上取得了进展,但这些方法在性能或执行时间方面仍无法有效扩展到复杂问题。此外,它们通常需要为每个新任务提供额外的监督,例如上下文示例。在这项工作中,我们提出了带依赖关系递归分解(Recursive Decomposition with Dependencies,RDD),这是一种可扩展的分治方法,用于解决推理问题,并且所需的监督比先前方法更少。我们的方法可以直接应用于新的问题类别,即使没有任何任务特定的指导。此外,RDD支持子任务依赖关系,允许子任务按顺序执行,并具备错误恢复机制,可以纠正先前步骤中出现的错误。我们在两个基准上评估了我们的方法,每个基准包含六个难度级别,并在两种上下文设置下进行评估:一种提供任务特定示例,另一种不提供。我们的结果表明,随着任务复杂度的增加,RDD在计算匹配的设置中优于其他方法,同时计算效率也更高。

英文摘要:

Reasoning tasks are crucial in many domains, especially in science and engineering. Although large language models (LLMs) have made progress in reasoning tasks using techniques such as chain-of-thought and least-to-most prompting, these approaches still do not effectively scale to complex problems in either their performance or execution time. Moreover, they often require additional supervision for each new task, such as in-context examples. In this work, we introduce Recursive Decomposition with Dependencies (RDD), a scalable divide-and-conquer method for solving reasoning problems that requires less supervision than prior approaches. Our method can be directly applied to a new problem class even in the absence of any task-specific guidance. Furthermore, RDD supports sub-task dependencies, allowing for ordered execution of sub-tasks, as well as an error recovery mechanism that can correct mistakes made in previous steps. We evaluate our approach on two benchmarks with six difficulty levels each and in two in-context settings: one with task-specific examples and one without. Our results demonstrate that RDD outperforms other methods in a compute-matched setting as task complexity increases, while also being more computationally efficient.

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

↑