Library Learning Doesn't: The Curious Case of the Single-Use "Library"
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Advances in Large Language Models (LLMs) have spurred a wave of LLM library learning systems for mathematical reasoning. These systems aim to learn a reusable library of tools, such as formal Isabelle lemmas or Python programs that are tailored to a family of tasks. Many of these systems are inspired by the human structuring of knowledge into reusable and extendable concepts, but do current methods actually learn reusable libraries of tools? We study two library learning systems for mathematics which both reported increased accuracy: LEGO-Prover and TroVE. We find that function reuse is extremely infrequent on miniF2F and MATH. Our followup ablation experiments suggest that, rather than reuse, self-correction and self-consistency are the primary drivers of the observed performance gains. Our code and data are available at https://github.com/ikb-a/curious-case
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 30 of its 36 references that are in the map. First posted on arXiv 26 Oct 2024.
Builds on
30 of 36 references.
Closest ancestors · 1
Same direction, newest first
Other references · 29
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2023Large Language Models as Tool Makerscited by 293
- 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 272
- 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
- 2024Tool Learning with Large Language Models: A Surveycited by 221
17 more
- 2024OS-Copilot: Towards Generalist Computer Agents with Self-Improvementcited by 203
- 2024StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large Language Modelscited by 129
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 128
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 122
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 108
- 2023CREATOR: Tool Creation for Disentangling Abstract and Concrete Reasoning of Large Language Modelscited by 90
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 70
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2024Offline Training of Language Model Agents with Functions as Learnable Weightscited by 47
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
- 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
- 2024Speech-Copilot: Leveraging Large Language Models for Speech Processing via Task Decomposition, Modularization, and Program Generationcited by 27
- 2024Empowering Large Language Model Agents through Action Learningcited by 20
- 2023GENOME: GenerativE Neuro-symbOlic visual reasoning by growing and reusing ModulEscited by 18
- 2024REFACTOR: Learning to Extract Theorems from Proofscited by 9
- 2023Can LLM find the green circle? Investigation and Human-guided tool manipulation for compositional generalizationcited by 7
- 2024ATG: Benchmarking Automated Theorem Generation for Generative Language Modelscited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2026AllocBench: Measuring Online Tool Allocation Capability in LLM Agents25 Jul 2026
- 2025A Compute-Matched Re-Evaluation of TroVE on MATH16 Jul 2025
- 2025LLM Library Learning Fails: A LEGO-Prover Case Study3 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theorems
- 2025Evaluating Intermediate Reasoning of Code-Assisted Large Language Models for Mathematics
- 2026MathlibLemma: Folklore Lemma Generation and Benchmark for Formal Mathematics
- 2026Less Is More: Cognitive Load and the Single-Prompt Ceiling in LLM Mathematical Reasoning
- 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilities
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
- 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics