mlsanityData to 7 Oct 2026

Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks

arXiv 2407.00121 ↗First posted 27 Jun 2024cs.LG cs.AI cs.CLcited by 52

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Large language models (LLMs) have recently shown tremendous promise in serving as the backbone to agentic systems, as demonstrated by their performance in multi-faceted, challenging benchmarks like SWE-Bench and Agent-Bench. However, to realize the true potential of LLMs as autonomous agents, they must learn to identify, call, and interact with external tools and application program interfaces (APIs) to complete complex tasks. These tasks together are termed function calling. Endowing LLMs with function calling abilities leads to a myriad of advantages, such as access to current and domain-specific information in databases and knowledge sources, and the ability to outsource tasks that can be reliably performed by tools, e.g., a Python interpreter or calculator. While there has been significant progress in function calling with LLMs, there is still a dearth of open models that perform on par with proprietary LLMs like GPT, Claude, and Gemini. Therefore, in this work, we introduce the GRANITE-20B-FUNCTIONCALLING model under an Apache 2.0 license. The model is trained using a multi-task training approach on seven fundamental tasks encompassed in function calling, those being Nested Function Calling, Function Chaining, Parallel Functions, Function Name Detection, Parameter-Value Pair Detection, Next-Best Function, and Response Generation. We present a comprehensive evaluation on multiple out-of-domain datasets comparing GRANITE-20B-FUNCTIONCALLING to more than 15 other best proprietary and open models. GRANITE-20B-FUNCTIONCALLING provides the best performance among all open models on the Berkeley Function Calling Leaderboard and fourth overall. As a result of the diverse tasks and datasets used for training our model, we show that GRANITE-20B-FUNCTIONCALLING has better generalizability on multiple tasks in seven different evaluation datasets.

Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 39 of its 49 references that are in the map. First posted on arXiv 27 Jun 2024.

Builds on

39 of 49 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024Octopus: On-device language model for function calling of software APIs2 Apr
  2. 2024API-BLEND: A Comprehensive Corpora for Training and Benchmarking API LLMs23 Feb
  3. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  4. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
  5. 2023GPT4Tools: Teaching Large Language Model to Use Tools via Self-instruction30 May
  6. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  7. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs14 Apr
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
  9. 2022TALM: Tool Augmented Language Models24 May

Other references · 30

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  8. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  9. 2023Mistral 7Bcited by 3,065
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  11. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  12. 2023Code Llama: Open Foundation Models for Codecited by 2,105
18 more
  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  2. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  3. 2023Large Language Modelscited by 774
  4. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  5. 2022PAL: Program-aided Language Modelscited by 635
  6. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 511
  7. 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 350
  8. 2021Internet-Augmented Dialogue Generationcited by 217
  9. 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 174
  10. 2024CodeGemma: Open Code Models Based on Gemmacited by 145
  11. 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
  12. 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
  13. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 120
  14. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
  15. 2024Synthetic Data (Almost) from Scratch: Generalized Instruction Tuning for Language Modelscited by 99
  16. 2024LAB: Large-Scale Alignment for ChatBotscited by 39
  17. 2024Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Treescited by 38
  18. 2023Formally Specifying the High-Level Behavior of LLM-Based Agentscited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 25; 2026: 16.

52 papers.

Sort:

By area:

  1. 2024ToolACE: Winning the Points of LLM Function Callingcited by 204
  2. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
  3. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 53
  4. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
  5. 2024MegaAgent: A Large-Scale Autonomous LLM-based Multi-Agent System Without Predefined SOPscited by 45
  6. 2024NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Callscited by 45
  7. 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptionscited by 44
  8. 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 41
  9. 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translationcited by 37
  10. 2025When2Call: When (not) to Call Toolscited by 36
  11. 2024Multimodal Large Language Models for Inverse Molecular Design with Retrosynthetic Planningcited by 29
  12. 2024ToolFlow: Boosting LLM Tool-Calling Through Natural and Coherent Dialogue Synthesiscited by 27
38 more
  1. 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
  2. 2025Protecting Users From Themselves: Safeguarding Contextual Privacy in Interactions with Conversational Agentscited by 26
  3. 2025A Survey of Personalization: From RAG to Agentcited by 26
  4. 2024StepTool: Enhancing Multi-Step Tool Usage in LLMs via Step-Grained Reinforcement Learningcited by 22
  5. 2025Can a Single Model Master Both Multi-turn Conversations and Tool Use? CoALM: A Unified Conversational Agentic Language Modelcited by 20
  6. 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
  7. 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steeringcited by 18
  8. 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 17
  9. 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Modelscited by 16
  10. 2024PDL: A Declarative Prompt Programming Languagecited by 14
  11. 2024Enhancing Function-Calling Capabilities in LLMs: Strategies for Prompt Formats, Data Integration, and Multilingual Translationcited by 14
  12. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
  13. 2025ToolACE-R: Model-aware Iterative Training and Adaptive Refinement for Tool Learningcited by 9
  14. 2025A Desideratum for Conversational Agents: Capabilities, Challenges, and Future Directionscited by 9
  15. 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Callingcited by 7
  16. 2025ToolACE-DEV: Self-Improving Tool Learning via Decomposition and EVolutioncited by 7
  17. 2024Achieving Tool Calling Functionality in LLMs Using Only Prompt Engineering Without Fine-Tuningcited by 6
  18. 2025DICE-BENCH: Evaluating the Tool-Use Capabilities of Large Language Models in Multi-Round, Multi-Party Dialoguescited by 6
  19. 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labelingcited by 6
  20. 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
  21. 2025Tree Training: Accelerating Agentic LLMs Training via Shared Prefix Reusecited by 4
  22. 2026PORTS: Preference-Optimized Retrievers for Tool Selection with Large Language Modelscited by 4
  23. 2025Small Language Models (SLMs) Can Still Pack a Punch: A survey (updated 2026)cited by 2
  24. 2025VehicleWorld: A Highly Integrated Multi-Device Environment for Intelligent Vehicle Interactioncited by 2
  25. 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
  26. 2026Breaking MCP with Function Hijacking Attacks: Novel Threats for Function Calling and Agentic Modelscited by 2
  27. 2025Efficient On-Device Agents via Adaptive Context Managementcited by 1
  28. 2026UCAgent: An End-to-End Agent for Block-Level Functional Verificationcited by 1
  29. 2026GenesisFunc: Multi-Agent Data Generation for Accurate and Generalizable Function-Callingcited by 1
  30. 2025Beyond Semantic Similarity: Reducing Unnecessary API Calls via Behavior-Aligned Retrievercited by 0
  31. 2025Comprehending Spatio-temporal Data via Cinematic Storytelling using Large Language Modelscited by 0
  32. 2026HyFunc: Accelerating LLM-based Function Calls for Agentic AI through Hybrid-Model Cascade and Dynamic Templatingcited by 0
  33. 2026Agent Lifecycle Toolkit (ALTK): Reusable Middleware Components for Robust AI Agentscited by 0
  34. 2026A Human-Centred Architecture for Large Language Models-Cognitive Assistants in Manufacturing within Quality Management Systemscited by 0
  35. 2026AgentFloor: How Far Up the tool use Ladder Can Small Open-Weight Models Go?cited by 0
  36. 2026PlanE: Meta Planning of Data, Tuning, and Inference for Extractive-based LLMscited by 0
  37. 2026AISE-Bench: A Full-Cycle Curated Benchmark for Information Seeking on Academic Knowledge Graphscited by 0
  38. 2026CoBRA: Learning Tool-Use Boundaries via Counterfactual Marginscited by 0

50 most cited of 52 All 52 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024TinyAgent: Function Calling at the Edge
  2. 2026Small Reasoning Models are Instruction Followers in Function Calling
  3. 2024Improving Small-Scale Large Language Models Function Calling for Reasoning Tasks
  4. 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning
  5. 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
  6. 2025TinyLLM: Evaluation and Optimization of Small Language Models for Agentic Tasks on Edge Devices
  7. 2025On the Robustness of Agentic Function Calling
  8. 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agent