Meta-Reasoning Improves Tool Use in Large Language Models

Lisa Alazraki, Marek Rei
11/7/2024
cs.CLcs.AI

No official code found. Best implementation: lisaalaz/tecton (7 stars, last commit 2026-03-09).

Abstract

External tools help large language models succeed at tasks where they would otherwise typically fail. In existing frameworks, choosing tools at test time relies on naive greedy decoding, regardless of whether the model has been fine-tuned on tool-annotated data or prompted with in-context examples. In contrast, we find that gathering and choosing among a suitable set of candidate tools has greater potential to lead to an optimal selection. We present Tool selECTion via meta-reasONing (TECTON), a two-phase system that first reasons over a task and outputs candidate tools using a custom fine-tuned language modelling head. Then, with the custom head disabled, it meta-reasons (i.e., it reasons over the previous reasoning process) to make a final choice. We show that TECTON results in substantial gains--both in-distribution and out-of-distribution--on a range of math reasoning datasets.

View on arXivView PDF

Code Implementations(1)

lisaalaz/tectonCommunity100%

Official repository for the paper 'Meta-Reasoning Improves Tool Use in Large Language Models'.

70PythonNov 2, 20247 months agoNOASSERTION
agenticllmsreasoning-agenttool-agent

Similar Papers

Cite this paper

@article{alazraki2024metareasoning,
  title  = {Meta-Reasoning Improves Tool Use in Large Language Models},
  author = {Lisa Alazraki and Marek Rei},
  year   = {2024},
  eprint = {2411.04535},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.04535v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.04535.svg)](https://codeofpaper.com/paper/2411.04535)

Discussion