A Comprehensive Evaluation of Tool-Assisted Generation Strategies
By Alon Jacovi, Avi Caciularu, Jonathan Herzig, Roee Aharoni, Bernd Bohnet, Mor Geva. 2023
11 citations recorded by the source corpus.
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*.
Subfields: Artificial Intelligence, Information Systems, Evaluation & Benchmarks, Code Generation & Program Synthesis
Citations in the corpus
- GPQA: A Graduate-Level Google-Proof Q&A Benchmark (2023, neutral): “One potential reason why the retrieval model’s accuracy is only slightly higher than few-shot CoT GPT-4 is that modern LLMs can struggle to use tools (like search engines) effectively, as Jacovi et al. (2023) finds.”
- Tool learning with large language models: a survey (2024, unknown): “And some studies suggest that refining the response generated by LLMs using the tool feedback is more effective than generating the response after invoking the tool [51, 191, 192].”