Reproduce “Internalizing Tool Knowledge in Small Language Models via QLoRA Fine-Tuning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuval Shemla, Ayal Yakobe, Tanmay Agarwal, Dhaval Patel, Kaoutar El Maghraoui

Researchers from Columbia Engineering and IBM Research demonstrate that fine-tuning small language models with QLoRA allows them to internalize fixed tool catalog knowledge, enabling description-free tool planning. This approach achieves a 94.7% reduction in prompt length while outperforming schema-informed prompting for tool-use tasks on an industrial benchmark.

Key insights

  • QLoRA fine-tuning effectively enables small language models to internalize fixed tool catalog knowledge, removing the need for explicit tool descriptions at inference time.
  • Description-free fine-tuned models can outperform schema-informed baselines on tool planning tasks, despite a significant reduction in prompt length.
  • Specialization through fine-tuning incurs a trade-off with general reasoning capability retention, with higher LoRA ranks potentially leading to greater degradation on unrelated tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.