@inproceedings{wang-etal-2026-dynamic,
title = "Dynamic Intent-Driven {API} Pruning for Tool Learning in Small Language Models",
author = "Wang, Tzu-Hao and
Yang, Ting-Chun and
Wu, Sin-Syuan and
Yang, Ming-Der and
Fan, Yao-Chung",
editor = "Chen, Guanyi and
Perez-Beltrachini, Laura and
van Miltenburg, Emiel",
booktitle = "Proceedings of the 19th International Natural Language Generation Conference: Long Papers",
month = oct,
year = "2026",
address = "Utrecht, The Netherlands",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2026.inlg-long.32/",
pages = "572--585",
ISBN = "979-8-89176-498-9",
abstract = "Small Language Models (SLMs) struggle with tool calling, in part because a single API document often serves several usage intents and bundles the parameters of all of them into one schema, even though only a few are relevant to any given query. Providing the complete document forces the model to infer the intended usage scenario and its parameters at the same time, which lengthens the prompt and creates parameter ambiguity within a single API. We propose Dynamic Intent-Driven API Pruning. In an offline stage, an LLM decomposes each API document into Intent Units, each pairing an Intent Scenario with a Key Parameter Subset. At inference time, two-stage intent retrieval identifies the intents that match the query, and Dynamic Flat Union merges their parameter subsets into a query-specific pruned schema, keeping several intents rather than committing to a possibly incorrect top-1 choice. On 35 real-world APIs from ToolBench, our method improves argument correctness over Simulated Trial-and-Error while producing shorter prompts, with the gains concentrated on APIs that support multiple usage intents. Ablation studies confirm that both intent-driven pruning and Dynamic Flat Union reduce intra-API parameter ambiguity."
}<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3">
<mods ID="wang-etal-2026-dynamic">
<titleInfo>
<title>Dynamic Intent-Driven API Pruning for Tool Learning in Small Language Models</title>
</titleInfo>
<name type="personal">
<namePart type="given">Tzu-Hao</namePart>
<namePart type="family">Wang</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Ting-Chun</namePart>
<namePart type="family">Yang</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Sin-Syuan</namePart>
<namePart type="family">Wu</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Ming-Der</namePart>
<namePart type="family">Yang</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Yao-Chung</namePart>
<namePart type="family">Fan</namePart>
<role>
<roleTerm authority="marcrelator" type="text">author</roleTerm>
</role>
</name>
<originInfo>
<dateIssued>2026-10</dateIssued>
</originInfo>
<typeOfResource>text</typeOfResource>
<relatedItem type="host">
<titleInfo>
<title>Proceedings of the 19th International Natural Language Generation Conference: Long Papers</title>
</titleInfo>
<name type="personal">
<namePart type="given">Guanyi</namePart>
<namePart type="family">Chen</namePart>
<role>
<roleTerm authority="marcrelator" type="text">editor</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Laura</namePart>
<namePart type="family">Perez-Beltrachini</namePart>
<role>
<roleTerm authority="marcrelator" type="text">editor</roleTerm>
</role>
</name>
<name type="personal">
<namePart type="given">Emiel</namePart>
<namePart type="family">van Miltenburg</namePart>
<role>
<roleTerm authority="marcrelator" type="text">editor</roleTerm>
</role>
</name>
<originInfo>
<publisher>Association for Computational Linguistics</publisher>
<place>
<placeTerm type="text">Utrecht, The Netherlands</placeTerm>
</place>
</originInfo>
<genre authority="marcgt">conference publication</genre>
<identifier type="isbn">979-8-89176-498-9</identifier>
</relatedItem>
<abstract>Small Language Models (SLMs) struggle with tool calling, in part because a single API document often serves several usage intents and bundles the parameters of all of them into one schema, even though only a few are relevant to any given query. Providing the complete document forces the model to infer the intended usage scenario and its parameters at the same time, which lengthens the prompt and creates parameter ambiguity within a single API. We propose Dynamic Intent-Driven API Pruning. In an offline stage, an LLM decomposes each API document into Intent Units, each pairing an Intent Scenario with a Key Parameter Subset. At inference time, two-stage intent retrieval identifies the intents that match the query, and Dynamic Flat Union merges their parameter subsets into a query-specific pruned schema, keeping several intents rather than committing to a possibly incorrect top-1 choice. On 35 real-world APIs from ToolBench, our method improves argument correctness over Simulated Trial-and-Error while producing shorter prompts, with the gains concentrated on APIs that support multiple usage intents. Ablation studies confirm that both intent-driven pruning and Dynamic Flat Union reduce intra-API parameter ambiguity.</abstract>
<identifier type="citekey">wang-etal-2026-dynamic</identifier>
<location>
<url>https://aclanthology.org/2026.inlg-long.32/</url>
</location>
<part>
<date>2026-10</date>
<extent unit="page">
<start>572</start>
<end>585</end>
</extent>
</part>
</mods>
</modsCollection>
%0 Conference Proceedings
%T Dynamic Intent-Driven API Pruning for Tool Learning in Small Language Models
%A Wang, Tzu-Hao
%A Yang, Ting-Chun
%A Wu, Sin-Syuan
%A Yang, Ming-Der
%A Fan, Yao-Chung
%Y Chen, Guanyi
%Y Perez-Beltrachini, Laura
%Y van Miltenburg, Emiel
%S Proceedings of the 19th International Natural Language Generation Conference: Long Papers
%D 2026
%8 October
%I Association for Computational Linguistics
%C Utrecht, The Netherlands
%@ 979-8-89176-498-9
%F wang-etal-2026-dynamic
%X Small Language Models (SLMs) struggle with tool calling, in part because a single API document often serves several usage intents and bundles the parameters of all of them into one schema, even though only a few are relevant to any given query. Providing the complete document forces the model to infer the intended usage scenario and its parameters at the same time, which lengthens the prompt and creates parameter ambiguity within a single API. We propose Dynamic Intent-Driven API Pruning. In an offline stage, an LLM decomposes each API document into Intent Units, each pairing an Intent Scenario with a Key Parameter Subset. At inference time, two-stage intent retrieval identifies the intents that match the query, and Dynamic Flat Union merges their parameter subsets into a query-specific pruned schema, keeping several intents rather than committing to a possibly incorrect top-1 choice. On 35 real-world APIs from ToolBench, our method improves argument correctness over Simulated Trial-and-Error while producing shorter prompts, with the gains concentrated on APIs that support multiple usage intents. Ablation studies confirm that both intent-driven pruning and Dynamic Flat Union reduce intra-API parameter ambiguity.
%U https://aclanthology.org/2026.inlg-long.32/
%P 572-585
Markdown (Informal)
[Dynamic Intent-Driven API Pruning for Tool Learning in Small Language Models](https://aclanthology.org/2026.inlg-long.32/) (Wang et al., INLG 2026)
ACL