Provable Benefits of In-Tool Learning for Large Language Models
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
Tool-augmented language models, equipped with retrieval, memory, or external APIs, are reshaping AI, yet their theoretical advantages remain underexplored. In this paper, we address this question by demonstrating the benefits of in-tool learning (external retrieval) over in-weight learning (memorization) for factual recall. We show that the number of facts a model can memorize solely in its weights is fundamentally limited by its parameter count. In contrast, we prove that tool-use enables unbounded factual recall via a simple and efficient circuit construction. These results are validated in controlled experiments, where tool-using models consistently outperform memorizing ones. We further show that for pretrained large language models, teaching tool-use and general rules is more effective than finetuning facts into memory. Our work provides both a theoretical and empirical foundation, establishing why tool-augmented workflows are not just practical, but provably more scalable.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 50 of its 59 references that are in the map. First posted on arXiv 28 Aug 2025.
Builds on
50 of 59 references.
Closest ancestors · 4
Same direction, newest first
- 2024MetaTool: Facilitating Large Language Models to Master Tools with Meta-task Augmentation15 Jul
- 2024Tool Learning with Large Language Models: A Survey28 May
- 2023ART: Automatic multi-step reasoning and tool-use for large language models16 Mar
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
Other references · 46
- 2017Attention Is All You Needcited by 60,361
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
34 more
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
- 2019How Can We Know What Language Models Know?cited by 959
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2016Language Modeling with Gated Convolutional Networkscited by 702
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
- 2024Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?cited by 232
- 2023Knowledge Editing for Large Language Models: A Surveycited by 194
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 144
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
- 2024Theoretical guarantees on the best-of-n alignment policycited by 124
- 2024Scaling Retrieval-Based Language Models with a Trillion-Token Datastorecited by 56
- 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 51
- 2023Scaling Laws for Associative Memoriescited by 35
- 2024Large Language Models as Markov Chainscited by 35
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
- 2024Can Knowledge Editing Really Correct Hallucinations?cited by 28
- 2024Learning Associative Memories with Gradient Descentcited by 16
- 2024Compositional Risk Minimizationcited by 13
- 2022Benchmarking Compositionality with Formal Languagescited by 12
- 2024Contextual Counting: A Mechanistic Study of Transformers on a Quantitative Taskcited by 7
- 2024Learning with Hidden Factorial Structurecited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Scaling Behaviors of LLM Reinforcement Learning Post-Training: An Empirical Study in Mathematical Reasoningcited by 29
- 2025MR-Align: Meta-Reasoning Informed Factuality Alignment for Large Reasoning Modelscited by 4
- 2026Scaling Small Agents Through Strategy Auctionscited by 3
- 2026Layer by layer, module by module: Choose both for optimal OOD probing of ViTcited by 2
- 2026Layer by layer, module by module: Choose both for optimal OOD probing of ViT5 Mar 2026
- 2026Scaling Small Agents Through Strategy Auctions2 Feb 2026
- 2025MR-Align: Meta-Reasoning Informed Factuality Alignment for Large Reasoning Models27 Oct 2025
- 2025Scaling Behaviors of LLM Reinforcement Learning Post-Training: An Empirical Study in Mathematical Reasoning29 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
- 2024Memory3: Language Modeling with Explicit Memory
- 2022Memorizing Transformers
- 2026Forgotten in Weights, Recovered by Tools: Agentic Tool Unlearning for LLM Agents
- 2024ToolEyes: Fine-Grained Evaluation for Tool Learning Capabilities of Large Language Models in Real-world Scenarios
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts
- 2024Towards Practical Tool Usage for Continually Learning LLMs
- 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error