如今,大语言模型(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.
Rethinking External Slow-Thinking: From Snowball Errors to Probability of Correct Reasoning
Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China(中国人民大学人工智能学院);Beijing Key Laboratory of Research on Large Models(北京大型模型研究关键实验室);Engineering Research Center of Next-Generation Intelligent Search(下一代智能搜索工程研究中心);College of Artificial Intelligence, Tianjin University of Science(天津科技大学人工智能学院)
Think More, Hallucinate Less: Mitigating Hallucinations via Dual Process of Fast and Slow Thinking
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Department of Computer Science, National University of Singapore(新加坡国立大学计算机科学系)
Double-Checker: Enhancing Reasoning of Slow-Thinking LLMs via Self-Critical Fine-Tuning
The Hong Kong University of Science and Technology(香港科学与技术大学);University of Electronic Science and Technology of China(电子科技大学);Dalian University of Technology(大连理工大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Zhejiang University(浙江大学);University of Oxford(牛津大学);NVIDIA(NVIDIA公司);University of Surrey(萨里大学)
Do Quantum AIs Dream in Paths? Path-Integral Slow Thinking through Grover Interference
Institute of Theoretical Physics, Chinese Academy of Sciences(中国科学院理论物理研究所);Shenzhen International Quantum Academy(深圳国际量子研究院);Hefei National Laboratory(合肥国家实验室)
Fast, Slow, and Tool-augmented Thinking for LLMs: A Review
School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China(上海交通大学机械工程学院);School of Computer Science, Shanghai Jiao Tong University, Shanghai 200240, China(上海交通大学计算机科学学院);Huawei Technologies Co., Ltd., Beijing 100084, China(华为技术有限公司);Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong, Hong Kong 999077, China(香港中文大学系统工程与工程管理系);Department of Computer Science and Engineering, The Chinese University of Hong Kong, Hong Kong 999077, China(香港中文大学计算机科学与工程系);Huawei Hong Kong Research Center, Hong Kong 999077, China(华为香港研究中心)
Tree-of-Mixed-Thought: Combining Fast and Slow Thinking for Multi-hop Visual Reasoning
University of Science and Technology of China(中国科学技术大学);cmss.chinamobile.com(中移(苏州)软件技术有限公司);Lin Gang Laboratory(林冈实验室);ShanghaiTech University(上海科技大学)
SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Tasks
Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Southern California(南加州大学);University of Washington(华盛顿大学);Tsinghua University(清华大学);Paradigm Inc.(第四范式公司);University of California, San Diego(加州大学圣地亚哥分校);MosaicML(MosaicML公司)
MacGyver: Are Large Language Models Creative Problem Solvers?
University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Princeton University(普林斯顿大学);University of California, San Diego(加利福尼亚大学圣地亚哥分校);University of Washington(华盛顿大学)
PRIME: Planning and Retrieval-Integrated Memory for Enhanced Reasoning
Center for Healthcare Organization and Implementation Research, VA Bedford Health Care(VA Bedford Health Care 医疗组织与实施研究中心);Manning College of Information and Computer Sciences, University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校信息与计算机科学学院);Miner School of Computer and Information Sciences, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校 Miner 信息与计算机科学学院)
Pratt School of Engineering(普拉特工程学院);Duke University(杜克大学);School of Computer Science(计算机科学学院);Northeast Electric Power University(东北电力大学);Department of Information and Communication Engineering(信息与通信工程系);Tongji University(同济大学);School of Computer Science and Technology(计算机科学与技术学院);School of International Education(国际教育学院);Beijing University of Chemical Technology(北京化工大学);East China Normal University(华东师范大学);Information Hub(信息枢纽);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Chinese Academy of Science(中国科学院)