English

ProTIP: Progressive Tool Retrieval Improves Planning

Information Retrieval 2023-12-19 v1 Artificial Intelligence Machine Learning

Abstract

Large language models (LLMs) are increasingly employed for complex multi-step planning tasks, where the tool retrieval (TR) step is crucial for achieving successful outcomes. Two prevalent approaches for TR are single-step retrieval, which utilizes the complete query, and sequential retrieval using task decomposition (TD), where a full query is segmented into discrete atomic subtasks. While single-step retrieval lacks the flexibility to handle "inter-tool dependency," the TD approach necessitates maintaining "subtask-tool atomicity alignment," as the toolbox can evolve dynamically. To address these limitations, we introduce the Progressive Tool retrieval to Improve Planning (ProTIP) framework. ProTIP is a lightweight, contrastive learning-based framework that implicitly performs TD without the explicit requirement of subtask labels, while simultaneously maintaining subtask-tool atomicity. On the ToolBench dataset, ProTIP outperforms the ChatGPT task decomposition-based approach by a remarkable margin, achieving a 24% improvement in Recall@K=10 for TR and a 41% enhancement in tool accuracy for plan generation.

Keywords

Cite

@article{arxiv.2312.10332,
  title  = {ProTIP: Progressive Tool Retrieval Improves Planning},
  author = {Raviteja Anantha and Bortik Bandyopadhyay and Anirudh Kashi and Sayantan Mahinder and Andrew W Hill and Srinivas Chappidi},
  journal= {arXiv preprint arXiv:2312.10332},
  year   = {2023}
}

Comments

preprint version

R2 v1 2026-06-28T13:53:20.521Z