arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06918cs.LGcs.AIcs.CL
收藏

生成思维链:基于成对比较方法搜索最有前景的中间思维

Generating Chain-of-Thoughts with a Pairwise-Comparison Approach to Searching for the Most Promising Intermediate Thought

Center for Advanced Intelligence Project, RIKEN(理化学研究所先进智能项目中心);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Graduate School of Frontier Sciences, The University of Tokyo(东京大学前沿科学研究生院)

Zhen-Yu Zhang, Siwei Han, Huaxiu Yao, Gang Niu, Masashi Sugiyama

AI总结:

针对LLM评估噪声问题,提出基于成对比较的思维链生成方法,利用Vapnik原理和集成学习、决斗老虎机技术,在三个真实任务上验证了有效性。

摘要:

为了提高大型语言模型(LLMs)解决复杂推理问题的能力,提出了思维链(CoT)方法,引导LLMs逐步推理,实现从简单到复杂的问题求解。生成这种思维链的最先进方法涉及交互式协作,其中学习者生成候选的中间思维,由LLM进行评估,以指导后续思维的生成。然而,一个普遍存在但研究不足的问题是,LLM的评估通常带有噪声且不可靠,可能误导生成过程选择有前景的中间思维。在本文中,受Vapnik原理的启发,我们使用成对比较评估而非逐点评分,在LLM的噪声反馈下搜索有前景的中间思维。在每一轮中,我们随机配对中间思维,并直接提示LLM从每一对中选择更有前景的一个,从而通过迭代过程识别出最有前景的思维。为了进一步减轻比较中的噪声,我们结合了集成学习和决斗老虎机(dueling bandits)的技术,提出了算法的两个变体。在三个真实世界任务上的实验证明了我们提出算法的有效性,并验证了成对比较机制的合理性。

英文摘要:

To improve the ability of the large language model (LLMs) to tackle complex reasoning problems, chain-of-thoughts (CoT) methods were proposed to guide LLMs to reason step-by-step, enabling problem solving from simple to complex. State-of-the-art methods for generating such a chain involve interactive collaboration, where the learner generates candidate intermediate thoughts, evaluated by the LLM, guiding the generation of subsequent thoughts. However, a widespread yet understudied problem is that the evaluation from the LLM is typically noisy and unreliable, potentially misleading the generation process in selecting promising intermediate thoughts. In this paper, motivated by Vapnik's principle, we use pairwise-comparison evaluation instead of point-wise scoring to search for promising intermediate thoughts with the noisy feedback from the LLM. In each round, we randomly pair intermediate thoughts and directly prompt the LLM to select the more promising one from each pair, allowing us to identify the most promising thoughts through an iterative process. To further alleviate the noise in the comparison, we incorporate techniques from ensemble learning and dueling bandits, proposing two variants of the algorithm. Experiments on three real-world tasks demonstrate the effectiveness of our proposed algorithm and verify the rationale of the pairwise comparison mechanism.

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

↑