工具辅助生成策略的综合评估
A Comprehensive Evaluation of Tool-Assisted Generation Strategies
AI总结:
该研究系统比较了少样本工具辅助生成策略与无工具强基线,发现无工具基线竞争力强、修正策略优于预检索,且工具策略成本高而收益有限,凸显了全面评估的必要性。
摘要:
一个日益增长的研究领域探索通过工具(如搜索引擎、计算器)增强语言模型,以克服其不足(如知识缺失或错误、逻辑推理不正确)。已有多种少样本工具使用策略被提出。然而,目前缺乏对不同策略之间,以及这些策略与不利用工具的强基线之间的系统性和公平比较。我们进行了广泛的实证分析,发现:(1)在各种数据集、示例难度级别和模型上,不使用工具的强基线与工具辅助策略表现相当,这表明在上下文演示中有效使用工具是一个尚未解决的难题;(2)对于知识检索任务,使用工具*修正*错误输出的策略优于在*生成前*或*生成过程中*检索相关信息的策略;(3)工具辅助策略在所需令牌数量上代价高昂——额外成本高出数个数量级——但这并未转化为性能上的显著提升。总体而言,我们的发现表明,少样本工具集成仍是一个开放挑战,强调了对未来策略进行全面评估以准确衡量其*收益*和*成本*的必要性。
英文摘要:
A growing area of research investigates augmenting language models with tools (e.g., search engines, calculators) to overcome their shortcomings (e.g., missing or incorrect knowledge, incorrect logical inferences). Various few-shot tool-usage strategies have been proposed. However, there is no systematic and fair comparison across different strategies, or between these strategies and strong baselines that do not leverage tools. We conduct an extensive empirical analysis, finding that (1) across various datasets, example difficulty levels, and models, strong no-tool baselines are competitive to tool-assisted strategies, implying that effectively using tools with in-context demonstrations is a difficult unsolved problem; (2) for knowledge-retrieval tasks, strategies that *refine* incorrect outputs with tools outperform strategies that retrieve relevant information *ahead of* or *during generation*; (3) tool-assisted strategies are expensive in the number of tokens they require to work -- incurring additional costs by orders of magnitude -- which does not translate into significant improvement in performance. Overall, our findings suggest that few-shot tool integration is still an open challenge, emphasizing the need for comprehensive evaluations of future strategies to accurately assess their *benefits* and *costs*.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。