arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.08690cs.CLcs.AI
收藏

快慢思考:利用大语言模型求解复杂任务

Fast-Slow-Thinking: Complex Task Solving with Large Language Models

Nanjing University of Science and Technology(南京理工大学);The University of Sydney(悉尼大学)

Yiliu Sun, Yanfang Zhang, Zicheng Zhao, Sheng Wan, Dacheng Tao, Chen Gong

AI总结:

本文提出快慢思考(FST)任务分解方法,通过快思考简化任务、慢思考恢复约束,使大语言模型以从粗到细的方式求解复杂任务,并在三类任务上验证了有效性。

摘要:

如今,大语言模型(LLMs)已逐渐被用于求解复杂任务。为应对这一挑战,任务分解已成为一种有效方式,其思路是将复杂任务划分为多个较简单的子任务并分别求解,从而降低原始任务的难度。然而,当任务包含过于复杂的逻辑和约束时,现有任务分解方法的表现可能并不理想。在这种情况下,LLMs 生成的解答可能偏离任务的原始目标,或包含冗余甚至错误的内容。因此,受人类拥有快思考与慢思考两种思维系统这一事实的启发,本文提出了一种新的任务分解方法,称为“快慢思考”(Fast-Slow-Thinking,FST),该方法通过快思考(Fast Thinking,FT)与慢思考(Slow Thinking,ST)步骤的协同来激发 LLMs 求解任务。其中,FT 更关注任务的一般性和简洁性方面,ST 更关注任务的细节。在 FT 中,通过提示 LLMs 去除原始任务的约束,从而将其简化为一个一般且简洁的任务。在 ST 中,我们召回在 FT 中去除的约束,使 LLMs 能够改进 FT 中生成的答案,以满足原始任务的要求。因此,我们的 FST 方法使 LLMs 能够通过一种从粗到细、类似人类的认知过程来考虑复杂问题,其有效性已在三类任务的实验中得到充分证明。

英文摘要:

Nowadays, Large Language Models (LLMs) have been gradually employed to solve complex tasks. To face the challenge, task decomposition has become an effective way, which proposes to divide a complex task into multiple simpler subtasks and then solve them separately so that the difficulty of the original task can be reduced. However, the performance of existing task decomposition methods can be suboptimal when the task contains overly complex logic and constraints. In this situation, the solution generated by LLMs may deviate from the original purpose of the task, or contain redundant or even erroneous content. Therefore, inspired by the fact that humans possess two thinking systems including fast thinking and slow thinking, this paper introduces a new task decomposition method termed ``Fast-Slow-Thinking'' (FST), which stimulates LLMs to solve tasks through the cooperation of Fast Thinking (FT) and Slow Thinking (ST) steps. Here FT focuses more on the general and concise aspect of the task, and ST focuses more on the details of the task. In FT, LLMs are prompted to remove the constraints of the original task, therefore simplifying it to a general and concise one. In ST, we recall the constraints removed in FT, so that LLMs can improve the answer generated in FT to meet the requirements of the original task. Therefore, our FST method enables LLMs to consider a complex problem via a human-like cognition process from coarse to fine, the effectiveness of which has been well demonstrated by the experiments on three types of tasks.

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

↑