← Back to Paper Radar

Internalizing Tool Knowledge in Small Language Models via QLoRA Fine-Tuning

Yuval Shemla, Ayal Yakobe, Tanmay Agarwal, Dhaval Patel, K. E. Maghraoui
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors argue that, for a fixed MCP-style tool catalog, 8-bit QLoRA fine-tuning of roughly 4B-parameter models on about 1,700 examples can move tool knowledge into adapter weights, so plans can be generated without tool descriptions in the prompt.

Why read this

This is useful for practitioners running small planners over a stable enterprise tool set who want to remove about 2,200 tokens of repeated schema per query and need to weigh the cost to general capability.

What the authors found

  • On 30 held-out AssetOpsBench scenarios, the authors report that fine-tuned Gemma 4 E4B (Config C, r=32) without tool descriptions scores 0.635 AT-F1 and 3.60 on the LLM judge. An unfine-tuned Gemma given the full catalog scores 0.47 and 2.88. Fine-tuned Qwen3-4B scores 0.605 and 3.78. The headline 3.88 comes from a separate Gemma run in the rank sweep. The prompt shrinks from about 2,400 to about 128 tokens. There is no fine-tuned-with-schema comparator. V-A Main Result: Description-Free Fine-Tuning Improves Tool Planning
  • Specialization reduces general ability on 100 MMLU/ARC/HellaSwag questions. Gemma falls from 84.0% to 67.0% at r=32 and to 69.0% at r=8. Qwen3 falls from 75.0% to 46.0%, or 61.3% retention. The authors note that architecture differences are confounded with the difference in trainable-parameter fraction. V-C Capability Retention
  • In a data ablation on Gemma at r=32, plan-only training reached a 3.90 judge score, above the primary Tool+Plan configuration (3.60). Tool-only training reached 2.59. The authors treat this as exploratory. Appendix B Training Data Ablation

Main limitation

The authors call the study a proof of concept. Evaluation uses only 30 test scenarios, and most results come from single runs, so small gaps between variants are unreliable. The study evaluates plans, not closed-loop execution. VIII Limitations

Where to start

Appendix B Training Data Ablation · This ablation suggests that plan-only data may suffice and that the tool-knowledge examples add little, which matters before you build a training corpus.

Abstract

Large language models are increasingly used as planning components in agentic systems, but current tool-use pipelines often require full tool schemas to be included in every prompt, creating substantial token overhead and limiting the practicality of smaller models. This paper investigates whether tool-use knowledge can be internalized into small language models through parameter-efficient fine-tuning, enabling structured planning without explicit tool descriptions at inference time. Using AssetOpsBench as the primary benchmark, we fine-tune Gemma 4 E4B and Qwen3-4B with 8-bit QLoRA on approximately 1,700 tool-use examples spanning tool knowledge, question-to-plan mappings, and execution-style traces. We evaluate the resulting models under description-free inference, where the prompt omits the tool catalog entirely. The fine-tuned models outperform an informed unfine-tuned baseline that receives full tool descriptions, reducing input length by 82.6\% while improving structural and LLM-judge planning scores. In the best Gemma run, the model achieves an AT-F1 of 0.65 and an overall judge score of 3.88, compared with 0.47 and 2.88 for the informed baseline. Qwen3-4B achieves a strong overall judge score of 3.78 while using 62\% less memory and running 2.5$\times$ faster than Gemma, though it also exhibits greater catastrophic forgetting on general multiple-choice benchmarks. Additional ablations show that LoRA rank controls a quality--retention trade-off, with $r=32$ maximizing planning quality and smaller ranks preserving more general knowledge. These results suggest that, for fixed tool catalogs, QLoRA fine-tuning can shift tool knowledge from prompt context into model weights, substantially reducing inference overhead while maintaining or improving tool-planning quality.

Generated automatically from paper sections on 2026-11-28.