DigestAI news desk

Cut through the AI noise.

Research

arXiv study finds PtR outperforms RtP for multi-tool queries

A new paper on arXiv compares two approaches for tool-augmented AI agents: Retrieve-then-Plan (RtP) and Plan-then-Retrieve (PtR). The study uses ToolBench, a dataset with 46,984 unique API endpoints across 50 categories, to test both methods on single-tool and multi-tool tasks.

1 source primary source

Key points

  • PtR outperforms RtP on multi-tool queries but underperforms on single-tool tasks across all tested conditions
  • Study tested both methods on ToolBench with 46,984 APIs and 50 categories, using models like Gemini 2.5 Flash
  • PtR’s extra retrieval step doubles inference cost but may be worth it for complex multi-tool scenarios

Researchers found that RtP works better for simple, single-tool queries, while PtR excels on complex, multi-tool scenarios. PtR’s advantage persists across different retrieval budgets (from 1 to 20 results) and registry sizes (ranging from 1,000 to 47,000 APIs). The paper also notes that PtR’s extra discovery step roughly doubles inference costs, but this trade-off benefits multi-tool tasks. The authors highlight a failure mode where PtR’s generated tool stubs may hallucinate non-existent API names, which can hurt performance on simpler queries but help break down complex intents.

Read the original at arXiv cs.AI · by Mingfei Zhang, Amit Surana, Ziauddin Majid, Chenxi Wang, Michael Xu primary sourceOpen source ↗
Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories