2023

A Comprehensive Evaluation of Tool-Assisted Generation Strategies

Jacovi, Alon, Caciularu, Avi, Herzig, Jonathan et al.

Understand

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.

Reading the bibliography…