Conference paper · 2025 · Open access
Distilling LLM Agent into Small Models with Retrieval and Code Tools
neural information processing systems, 117920–117957 · Published 1 January 2025 · DOI 10.52202/085713-3553
In brief
“Distilling LLM Agent into Small Models with Retrieval and Code Tools” is a 2025 conference paper by Minki Kang and 4 co-authors, published in neural information processing systems. OpenAlex counts 78 citations as of 25 November 2026, which puts it in the top 5% of works published in 2025 by citations. It is open access: the full text is free to read at neural information processing systems.
- Citations
- 78
- Most cited in
- 2026 (75)
- Field-weighted impact
- 10.50
- References
- 67
- Authors
- 5
Abstract
Large language models (LLMs) excel at complex reasoning tasks but remain computationally expensive, limiting their practical deployment. To address this, recent works have focused on distilling reasoning capabilities into smaller language models (sLMs) using chain-of-thought (CoT) traces from teacher LLMs. However, this approach struggles in scenarios requiring rare factual knowledge or precise computation, where sLMs often hallucinate due to limited capability. In this work, we propose Agent Distillation, a framework for transferring not only reasoning capability but full task-solving behavior from LLM-based agents into sLMs with retrieval and code tools. We improve agent distillation along two complementary axes: (1) we introduce a prompting method called first-thought prefix to enhance the quality of teacher-generated trajectories; and (2) we propose a self-consistent action generation for improving test-time robustness of small agents. We evaluate our method on eight reasoning tasks across factual and mathematical domains, covering both in-domain and out-of-domain generalization. Our results show that sLMs as small as 0.5B, 1.5B, 3B parameters can achieve performance competitive with next-tier larger 1.5B, 3B, 7B models fine-tuned using CoT distillation, demonstrating the potential of agent distillation for building practical, tool-using small agents. Our code is available at https://github.com/Nardien/agent-distillation.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Kang, M., Jeong, J., Lee, S., Cho, J., & Hwang, S. J. (2025). Distilling LLM Agent into Small Models with Retrieval and Code Tools. neural information processing systems, 117920–117957. https://doi.org/10.52202/085713-3553
MLA 9
Kang, Minki, et al. “Distilling LLM Agent into Small Models with Retrieval and Code Tools.” neural information processing systems, 2025, pp. 117920–117957. https://doi.org/10.52202/085713-3553.
Chicago
Kang, Minki, Jongwon Jeong, Seanie Lee, Jaewoong Cho, and Sung Ju Hwang. 2025. “Distilling LLM Agent into Small Models with Retrieval and Code Tools.” neural information processing systems: 117920–117957. https://doi.org/10.52202/085713-3553.
Harvard
Kang, M. et al. (2025) ‘Distilling LLM Agent into Small Models with Retrieval and Code Tools’, neural information processing systems, pp. 117920–117957. doi:10.52202/085713-3553.
IEEE
M. Kang, J. Jeong, S. Lee, J. Cho, and S. J. Hwang, “Distilling LLM Agent into Small Models with Retrieval and Code Tools,” neural information processing systems, pp. 117920–117957, 2025, doi: 10.52202/085713-3553.
BibTeX
@inproceedings{kang2025distilling,
title = {{Distilling LLM Agent into Small Models with Retrieval and Code Tools}},
author = {Kang, Minki and Jeong, Jongwon and Lee, Seanie and Cho, Jaewoong and Hwang, Sung Ju},
booktitle = {neural information processing systems},
year = {2025},
pages = {117920--117957},
doi = {10.52202/085713-3553},
url = {https://doi.org/10.52202/085713-3553}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- large language models
- small language models
- LLM agents
- chain-of-thought
- search tools
- factual knowledge
- mathematical reasoning
- out-of-domain generalization
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Kang, M., Jeong, J., Lee, S., Cho, J., & Hwang, S. J. (2025). Distilling LLM Agent into Small Models with Retrieval and Code Tools. neural information processing systems, 117920–117957. https://doi.org/10.52202/085713-3553
How many times has this paper been cited?
78 times, according to OpenAlex on 25 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at neural information processing systems: sign in and open the full text from this page.
Who wrote this paper?
Minki Kang, Jongwon Jeong, Seanie Lee, Jaewoong Cho, Sung Ju Hwang.
What is the DOI of this paper?
10.52202/085713-3553, permanently at https://doi.org/10.52202/085713-3553. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 25 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.