mlsanityData to 7 Oct 2026

Improving Small-Scale Large Language Models Function Calling for Reasoning Tasks

arXiv 2410.18890 ↗First posted 24 Oct 2024cs.AIcited by 7

On the map: LLM reasoning → Reasoning benchmarks and evaluation

also in 2 more
Abstract (arXiv)

Recent advancements in Large Language Models (LLMs) have demonstrated exceptional capabilities in natural language understanding and generation. While these models excel in general complex reasoning tasks, they still face challenges in mathematical problem-solving and logical reasoning. To address these limitations, researchers have explored function calling abilities, allowing LLMs to execute provided functions and utilize their outputs for task completion. However, concentrating on specific tasks can be very inefficient for large-scale LLMs to be used, because of the expensive cost of training and inference stages they need in terms of computational resources. This study introduces a novel framework for training smaller language models in function calling, focusing on specific logical and mathematical reasoning tasks. The approach aims to improve performances of small-scale models for these tasks using function calling, ensuring a high level of accuracy. Our framework employs an agent that, given a problem and a set of callable functions, queries the LLM by injecting a description and examples of the usable functions into the prompt and managing their calls in a step-by-step reasoning chain. This process is used to create a dataset of correct and incorrect reasoning chain chat completions from a large-scale LLM. This dataset is used to train a smaller LLM using Reinforcement Learning from Human Feedback (RLHF), specifically employing the Direct Preference Optimization (DPO) technique. Experimental results demonstrate how the proposed approach balances the trade-off between model size and performance, improving the ability of function calling for reasoning tasks, in smaller models.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 17 of its 58 references that are in the map. First posted on arXiv 24 Oct 2024.

Builds on

17 of 58 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023A Survey of Reasoning with Foundation Models17 Dec
  2. 2023Gorilla: Large Language Model Connected with Massive APIs24 May

Other references · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2023Let's Verify Step by Stepcited by 3,598
  7. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  8. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
  9. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  10. 2022Reasoning with Language Model Prompting: A Surveycited by 251
  11. 2022TALM: Tool Augmented Language Modelscited by 197
  12. 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
3 more
  1. 2023An LLM Compiler for Parallel Function Callingcited by 170
  2. 2023MathChat: Converse to Tackle Challenging Math Problems with LLM Agentscited by 67
  3. 2024Large Language Models as Zero-shot Dialogue State Tracker through Function Callingcited by 34

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Do Large Language Models Excel in Complex Logical Reasoning with Formal Language?
  2. 2022Towards Reasoning in Large Language Models: A Survey
  3. 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
  4. 2025Guiding Reasoning in Small Language Models with LLM Assistance
  5. 2025DeepDistill: Enhancing LLM Reasoning Capabilities via Large-Scale Difficulty-Graded Data Training
  6. 2024LLM Reasoning Engine: Specialized Training for Enhanced Mathematical Reasoning
  7. 2024Assessing the Emergent Symbolic Reasoning Abilities of Llama Large Language Models
  8. 2026Improving Mathematical Reasoning Capabilities in Large Language Models via Reasoning Process Error Classification