迭代式人类参与是一种常见且有效的方式,能够利用大语言模型(LLMs)的高级语言处理能力。通过以对话方式使用结构良好的提示,人类用户可以有效地引导大语言模型生成更周密、更准确的回答。受这一洞见启发,我们提出了思维迭代(Iteration of Thought,IoT)框架,该框架针对输入查询和大语言模型当前迭代的回答生成“激发思考”的提示,从而增强大语言模型的响应。与静态或半静态方法(例如思维链 Chain of Thought,CoT 或思维树 Tree of Thoughts,ToT)不同,IoT 根据不断演化的上下文动态调整其推理路径,并且不会生成最终被丢弃的替代性探索思路。IoT 框架的三个组成部分是:(1)内部对话智能体(Inner Dialogue Agent,IDA),负责生成具有指导性且针对特定上下文的提示;(2)大语言模型智能体(LLM Agent,LLMA),处理这些提示以完善其回答;(3)迭代提示循环,在前两个组成部分之间实现对话。我们引入了该框架的两种变体:自主思维迭代(Autonomous Iteration of Thought,AIoT),由大语言模型决定何时停止迭代;以及引导式思维迭代(Guided Iteration of Thought,GIoT),始终强制执行固定次数的迭代。我们研究了 IoT 在多个数据集上的表现,涵盖 GPQA 数据集中的复杂推理任务、Game of 24 中的探索性问题求解、Mini Crosswords 中的谜题求解,以及 HotpotQA 数据集中的多跳问答。我们的结果表明,IoT 代表了一种可行的大语言模型自主响应优化范式,相较于 CoT 展现出显著改进,从而能够实现更具适应性和更高效的推理系统,并最大限度地减少人类干预。
英文摘要:
Iterative human engagement is a common and effective means of leveraging the advanced language processing power of large language models (LLMs). Using well-structured prompts in a conversational manner, human users can effectively influence an LLM to develop more thoughtful and accurate responses. Motivated by this insight, we propose the Iteration of Thought (IoT) framework for enhancing LLM responses by generating "thought"-provoking prompts vis a vis an input query and the current iteration of an LLM's response. Unlike static or semi-static approaches, e.g. Chain of Thought (CoT) or Tree of Thoughts (ToT), IoT adapts its reasoning path dynamically, based on evolving context, and without generating alternate explorative thoughts which are ultimately discarded. The three components of the IoT framework are (1) an Inner Dialogue Agent (IDA) responsible for generating instructive, context-specific prompts; (2) an LLM Agent (LLMA) that processes these prompts to refine its responses; and (3) an iterative prompting loop that implements a conversation between the former two components. We introduce two variants of our framework: Autonomous Iteration of Thought (AIoT), where an LLM decides when to stop iterating, and Guided Iteration of Thought (GIoT), which always forces a fixed number iterations. We investigate the performance of IoT across various datasets, spanning complex reasoning tasks from the GPQA dataset, explorative problem-solving in Game of 24, puzzle solving in Mini Crosswords, and multi-hop question answering from the HotpotQA dataset. Our results show that IoT represents a viable paradigm for autonomous response refinement in LLMs, showcasing significant improvements over CoT and thereby enabling more adaptive and efficient reasoning systems that minimize human intervention.
Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMs
The Chinese University of Hong Kong(香港中文大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huawei Noah’s Ark Lab(华为诺亚方舟实验室);National University of Singapore(新加坡国立大学);Peng Cheng Laboratory(鹏城实验室)
Don't Wait to Reply: Towards Responsive yet Thoughtful Dialogue through Proactive Thinking
Dept. of Comp. Sci. & Tech., Institute for AI, Tsinghua University(清华大学计算机科学与技术系、人工智能研究院);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Tencent(腾讯)
Iteration Head: A Mechanistic Study of Chain-of-Thought
FAIR, Meta AI(FAIR,Meta人工智能公司);Datashape, INRIA(Datashape,法国国家信息与自动化研究所);Courant University and Center for Data Science, NYU(纽约大学柯朗数学科学研究所与数据科学中心);Center for Data Science, NYU(纽约大学数据科学中心);NYU(纽约大学);Courant University(柯朗大学)
Reasoning in Conversation: Solving Subjective Tasks through Dialogue Simulation for Large Language Models
Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院)
DH-RAG: A Dynamic Historical Context-Powered Retrieval-Augmented Generation Method for Multi-Turn Dialogue
Hong Kong University of Science and Technology(香港科技大学);Huazhong University of Science and Technology(华中科技大学);University of California San Diego(加州大学圣地亚哥分校);University of Science and Technology of China(中国科学技术大学);Beihang University(北京航空航天大学)
Simple LLM Prompting is State-of-the-Art for Robust and Multilingual Dialogue Evaluation
INESC-ID;Instituto Superior Técnico, University of Lisbon(里斯本大学高等技术学院);Faculdade de Letras, University of Lisbon(里斯本大学文学院);Carnegie Mellon University(卡内基梅隆大学);Phrase(Phrase公司)
SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thought
SIGS, Tsinghua University(清华大学信息科学与技术学院);Southern University of Science and Technology(南方科技大学);Guangdong Laboratory of AI and Digital Economy (SZ)(广东人工智能与数字经济实验室);The Hong Kong University of Science and Technology(香港科技大学);Peking University(北京大学)
Prompting and Evaluating Large Language Models for Proactive Dialogues: Clarification, Target-guided, and Non-collaboration
National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理大学);The Chinese University of Hong Kong(香港中文大学);Sichuan University(四川大学)
Loose Lips: Understanding Privacy Leakage in Agentic Dialogue
Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);Simon Fraser University(西蒙菲莎大学);ÉTS(ÉTS(魁北克大学工程与技术学院));ServiceNow AI Research(ServiceNow人工智能研究部);Université de Montréal(蒙特利尔大学)
ChatSOP: An SOP-Guided MCTS Planning Framework for Controllable LLM Dialogue Agents
TJUNLP Lab, College of Intelligence and Computing, Tianjin University(天津大学智能计算学院TJUNLP实验室);Ping An Technology(平安科技);Tübingen AI Center, University of Tübingen(图宾根大学图宾根人工智能中心);Kunming University of Science and Technology(昆明理工大学)
Reasoning or Not? A Comprehensive Evaluation of Reasoning LLMs for Dialogue Summarization
Faculty of Applied Sciences, Macao Polytechnic University(澳门理工大学应用科学学院);Computer Science and Communication Research Center, School of Technology and Management, Polytechnic of Leiria(莱里亚理工学院技术与管理学院计算机科学与通信研究中心);Institute of International Language Services Studies, Macau Millennium College(澳门 millennium 学院国际语言服务研究学院);CISUC, Department of Informatics Engineering, University of Coimbra(科英布拉大学信息工程系 CISUC)
Commonsense Generation and Evaluation for Dialogue Systems using Large Language Models
ETSI de Telecomunicación, Universidad Politécnica de Madrid(电信工程系,马德里理工大学);National University of Singapore(新加坡国立大学);Centre for Automation and Robotics UPM-CSIC(自动化与机器人中心 UPM-CSIC);Universidad Politécnica de Madrid(马德里理工大学)