让大模型通过自动筛选历史问题自我提升推理能力。
Making Large Language Models Better Reasoners with Orchestrated Streaming Experiences
- 构建动态经验池,自动挑选相似且多样化的过往问题辅助推理。
- 通过相似度、不确定性与复杂度三重筛选,提升答案质量。
- 无需人工设计示例,适用于多种模型与推理方法。
大语言模型在零样本或少样本设置下可通过生成中间思考过程完成复杂推理,但零样本表现通常较差,而少样本性能依赖人工设计的示范。本文提出RoSE(Reasoning with Orchestrated Streaming Experiences)框架,一种无需复杂外部干预即可自我优化的通用推理方法。RoSE扩展了大模型能力,将已回答问题及其思考过程存入流式经验池,并基于新问题从池中筛选有助于解答的参考问题。为实现精准调度,首先计算池中各问题与新问题的相似度,按相似度排序后均分至多个桶中,再从每桶抽取一个问题以保证多样性。同时引入不确定性和复杂度两个属性,优先选择低不确定性、高复杂度的问题。我们在多种推理任务、模型及思维链(CoT)方法上评估了RoSE的泛化能力。
原文摘要 · Abstract (English)
Large language models (LLMs) can perform complex reasoning by generating intermediate thoughts under zero-shot or few-shot settings. However, zero-shot prompting always encounters low performance, and the superior performance of few-shot prompting hinges on the manual-crafted demonstrations. In this paper, we present RoSE (Reasoning with Orchestrated Streaming Experiences), a general framework for solving reasoning tasks that can self-improve without complex external efforts. To enable RoSE, we describe an architecture that extends an LLM to store all answered questions and their thoughts in a streaming experience pool then orchestrates helpful questions from the pool to assist in answering new questions. To set up a question-aware orchestration mechanism, RoSE first calculates the similarity of each question in the pool with a new test question. Since the solution to each answered question is not always correct, RoSE will sort the questions according to their similarity with the new question, and then uniformly divide them into multiple buckets. It finally extracts one question from each bucket to make these extracted questions more diverse. To make these extracted questions help RoSE answer new questions as much as possible, we introduce two other attributes of uncertainty and complexity for each question. RoSE will preferentially select the questions with low uncertainty and high complexity from each bucket. We evaluate the versatility of RoSE in various reasoning tasks, LLMs, and CoT methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。