Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Don't Adapt Small Language Models for Tools; Adapt Tool Schemas to the Models

About

Small language models (SLMs) enable scalable tool-augmented multi-agent systems where multiple SLMs handle subtasks orchestrated by a powerful coordinator. However, they struggle with tool-use tasks, particularly in selecting appropriate tools and identifying correct parameters. A common failure mode is \textit{schema misalignment}: models hallucinate plausible tool names that are absent from the provided tool schema, due to different naming conventions internalized during pretraining. Rather than training models to adapt to unfamiliar schemas, we propose adapting schemas to align with models' pretrained knowledge. We introduce \textbf{PA-Tool} (Pretraining-Aligned Tool Schema Generation), a training-free method that leverages peakedness, a signal used in contamination detection that indicates pretraining familiarity, to rename tool components. By generating multiple candidates and selecting the candidate with the highest peakedness, PA-Tool identifies pretraining-aligned naming patterns. Experiments on MetaTool and RoTBench show improvements of up to 17\%, with schema misalignment errors reduced by 80\%. PA-Tool enables small models to substantially improve tool-use accuracy without retraining, showing that schema-level interventions can unlock the tool-use potential of resource-efficient models. Our code is available at https://github.com/holi-lab/PA-Tool.

Jonggeun Lee, Woojung Song, Jongwook Han, Haesung Pyun, Yohan Jo• 2025

Related benchmarks

TaskDatasetResultRank
Tool selectionMetaTool
Similarity80.8
39
Tool UseRoTBench Single-turn
Tool Selection84.8
35
Tool UseRoTBench Multi-turn
Tool Selection Accuracy72.9
35
End-to-end task completionτ-Bench Retail, N=5
Task Completion Rate0.111
8
Tool CallingAPI-Bank Call
Task Completion Rate34.7
8
Tool Retrieval and CallingAPI-Bank Call+Retrieve
Task Completion Rate26.9
8
Showing 6 of 6 rows

Other info

Follow for update