[论文解读] Self-Polish: Enhance Reasoning in Large Language Models via Problem Refinement
本文提出 Self-Polish (SP),一种新颖的提示工程方法,通过迭代优化问题表述来提升大语言模型的推理能力,增强问题的清晰度、简洁性和逻辑结构。通过在上下文示例中示范如何消除无关信息、重组逻辑顺序,并生成并行条件,SP 在结合 Chain-of-Thought 时,使 MultiArith 的性能提升最高达 17.8%,MathQA 的性能提升达 6.0%,且与现有方法保持正交性。
To enhance the multi-step reasoning capabilities of large language models, researchers have extensively explored prompting methods, notably the Chain-of-Thought (CoT) method which explicitly elicits human-like rationales. However, they have inadvertently overlooked the potential of enhancing model reasoning performance by formulating higher-quality problems. In this work, we start from the problem side and propose Self-Polish (SP), a novel method that facilitates the model's reasoning by guiding it to progressively refine the given problems to be more comprehensible and solvable. We also explore several automatic prompting varients and propose the Self-Polish prompt bank for the community. SP is orthogonal to all other prompting methods of answer/reasoning side like CoT, allowing for seamless integration with state-of-the-art techniques for further improvement. Thorough experiments show that the proposed method attains notable and consistent effectiveness on five reasoning benchmarks across different models. Furthermore, our method also showcases impressive performance on robustness evaluation. Codes and prompts are available at https://github.com/WooooDyy/Self-Polish.
研究动机与目标
- 解决因低质量推理问题而被忽视的挑战,该问题会限制大语言模型的性能。
- 通过聚焦于问题表述而非仅推理过程的生成,提升大语言模型的多步推理能力。
- 开发一种无需微调即可通过逐步优化问题表述来增强模型理解力的提示工程方法。
- 确保方法对现有最先进提示技术(如 Chain-of-Thought 和 Self-Consistency)具有鲁棒性与兼容性。
提出的方法
- Self-Polish 使用上下文学习与示范样例,指导模型通过去除无关信息和重组逻辑结构来优化问题表述。
- 该方法采用迭代优化机制,生成逐步更清晰的问题表述,直至连续两次迭代中答案收敛。
- 通过遵循指令的生成方式,结合精心筛选的示例,生成简洁、聚焦且逻辑清晰的问题表述。
- 以答案收敛作为停止条件,确保最终输出的可靠性和一致性。
- 该方法与其它提示技术正交,可无缝集成至 Chain-of-Thought、Least-to-Most 和 Self-Consistency 等方法中。
- 最终答案通过投票或最后一轮迭代选择,其中投票策略在迭代次数较高时表现更优。
实验结果
研究问题
- RQ1在不进行模型微调的前提下,迭代式问题优化能否提升大语言模型的推理性能?
- RQ2问题表述的质量在不同基准测试中对大语言模型推理准确率的影响如何?
- RQ3Self-Polish 对示范样例顺序和样本数量变化的鲁棒性如何?
- RQ4Self-Polish 能否与现有提示方法(如 Chain-of-Thought 和 Self-Consistency)有效结合以进一步提升性能?
- RQ5与单步提示相比,渐进式优化是否能带来更一致且可靠的推理结果?
主要发现
- 在 Text-davinci-003 上,Self-Polish 相较于标准 few-shot 提示,使 GSM8K 的性能提升 8.0%,MultiArith 的性能提升 17.8%。
- Self-Polish 使 Chain-of-Thought 的性能在 GSM8K 和 MathQA 上均提升 6.0%。
- 该方法表现出强鲁棒性,随着优化迭代次数增加,性能持续提升,表明其具备有效的渐进式优化能力。
- 在标准提示中,Self-Polish 对示范样例顺序不敏感,但在 Chain-of-Thought 提示中敏感,凸显其对上下文的依赖性。
- 当与 Self-Consistency 结合使用时,Self-Polish 在 MathQA 上实现了 75.5% 的准确率,采用 Least-to-Most 提示方法并设置 20 条推理路径。
- 随着迭代次数增加,投票策略在最终答案选择中优于“最后一项”和“第一项”策略,证实了收敛的稳定性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。