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

超越规模思考:更有效的推理自适应提示

Think Beyond Size: Adaptive Prompting for More Effective Reasoning

Sathyabama Institute of Science and Technology(萨蒂亚巴马科学技术学院)

Kamesh R

AI总结:

针对现有静态提示模板无法适应任务复杂度或推理错误的问题,提出自适应提示动态迭代框架,通过实时调整提示结构与验证机制,使小模型在多推理基准上性能显著提升,与大模型竞争且无需微调。

摘要:

预训练大型语言模型(LLMs)凭借其出色的少样本学习能力,在各类自然语言处理(NLP)任务中得到越来越广泛的应用。近期如思维链(CoT)提示等技术,通过引入分步分解显著推动了多步推理的发展,在复杂推理基准上取得了最先进的结果。然而,这些方法往往依赖静态提示模板,无法适应任务复杂度或推理过程中的错误。在这项工作中,我们提出自适应提示,这是一个动态迭代框架,旨在通过实时调整提示结构和验证机制来增强推理。实验结果表明,自适应提示在不同推理基准上显著提高了性能,包括算术推理(GSM8K、MultiArith)、逻辑推理和常识任务,与静态提示基线相比取得了实质性的准确率提升。通过整合引导提示、中间验证和自我纠正步骤,我们的方法使较小的模型能够与GPT-4等较大模型取得竞争性性能,同时保持计算效率。该框架无需微调或特定任务训练数据即可实现这一点,突显了迭代推理方法的未开发潜力。

英文摘要:

Pretrained large language models (LLMs) are increasingly utilized across a wide range of natural language processing (NLP) tasks due to their impressive capabilities as few-shot learners. Recent techniques, such as chain-of-thought (CoT) prompting, have significantly advanced multi-step reasoning by introducing step-by-step decomposition, achieving state-of-the-art results on complex reasoning benchmarks. However, these approaches often rely on static prompting templates that do not adapt to task complexity or errors during the reasoning process. In this work, we introduce Adaptive Prompting, a dynamic and iterative framework designed to enhance reasoning by incorporating real-time adjustments to prompt structures and validation mechanisms.Experimental results demonstrate that Adaptive Prompting significantly improves performance on diverse reasoning benchmarks, including arithmetic reasoning (GSM8K, MultiArith), logical reasoning and commonsense tasks, achieving substantial accuracy gains compared to static prompting baselines. By integrating guided prompts, intermediate validation, and self-corrective steps, our approach enables smaller models to achieve competitive performance with larger counterparts, such as GPT-4, while maintaining computational efficiency. The framework achieves this without requiring fine-tuning or task-specific training data, highlighting the untapped potential of iterative reasoning methods.

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

↑