arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23511cs.CLcs.AIcs.LG
收藏

面向大语言模型高效问答的动态策略规划

Dynamic Strategy Planning for Efficient Question Answering with Large Language Models

Univeristy of California, Los Angeles(加利福尼亚大学洛杉矶分校);Meta AI

Tanmay Parekh, Pradyot Prakash, Alexander Radovic, Akshay Shekher, Denis Savenkov

AI总结:

本文提出DyPlan动态策略规划方法,通过根据输入问题选择最优推理、规划或检索策略并引入验证纠正机制,在多跳问答任务中实现性能提升7-13%、成本降低11-32%。

摘要:

研究表明,推理(如思维链)、规划(如SelfAsk)和检索增强生成等策略能够有效提升大语言模型(LLMs)在问答等多种任务上的表现。然而,针对不同类型的问题使用单一固定策略,在性能上并非最优,并且在生成的输出token和执行检索方面效率较低。在本工作中,我们提出了一种新技术DyPlan,用于在LLMs中引入动态策略选择过程,以提升问答性能并降低成本。DyPlan包含一个初始决策步骤,根据输入问题选择最合适的策略,并据此引导LLM的响应生成。我们将DyPlan扩展为DyPlan-verify,加入内部验证与纠正过程,以进一步丰富生成的答案。在三个主流多跳问答(MHQA)数据集上的实验表明,与最佳基线模型相比,DyPlan可将模型性能提升7-13%,同时将成本降低11-32%。

英文摘要:

Research has shown the effectiveness of reasoning (e.g., Chain-of-Thought), planning (e.g., SelfAsk), and retrieval augmented generation strategies to improve the performance of Large Language Models (LLMs) on various tasks, such as question answering. However, using a single fixed strategy to answer different kinds of questions is suboptimal in performance and inefficient in terms of generated output tokens and performed retrievals. In our work, we propose a novel technique DyPlan, to induce a dynamic strategy selection process in LLMs, to improve performance and reduce costs in question-answering. DyPlan incorporates an initial decision step to select the most suitable strategy conditioned on the input question and guides the LLM's response generation accordingly. We extend DyPlan to DyPlan-verify, adding an internal verification and correction process to further enrich the generated answer. Experiments on three prominent multi-hop question answering (MHQA) datasets reveal how DyPlan can improve model performance by 7-13% while reducing the cost by 11-32% relative to the best baseline model.

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

↑