SYNTHESIS NOTE
Topics›Tool Computer Use›this note

Can small models match large models on function calling?

Explores whether small language models fine-tuned with the right training method can achieve comparable performance to large models on structured reasoning tasks requiring precise function calls, and what training approach makes this possible.

Synthesis note · 2026-05-03 · sourced from Tool Computer Use

The insight in this paper is methodological: function-calling for reasoning tasks is a domain where DPO outperforms SFT for small models, because the failure modes are more about preferring the right format and call sequence than about generating any plausible text. The proposed framework uses an agent that, given a problem and a callable function set, queries a large LLM by injecting function descriptions and examples and managing calls in a step-by-step reasoning chain. The byproduct is a dataset of correct AND incorrect chat completions — preference pairs ready for DPO.

Why DPO rather than SFT or PPO. SFT teaches the model to imitate good examples but provides no signal about what to avoid — and rigid output formats (precise variable names, JSON, argument values) punish near-misses harshly, so explicit negative examples matter. PPO would work but requires extensive human feedback to train a reward model, making it resource-intensive. DPO removes the reward-model step by incorporating preferences directly into the training objective, with demonstrated stability advantages over PPO.

The structural move is that a large LLM does double duty: it generates the candidate reasoning chains AND its successes/failures provide the preference labels for the small model's training. This is a teacher-distillation pattern but with both polarities — the small model learns what the large model gets right and what it gets wrong, not just to imitate the large model's right answers. The pattern fits the broader case for Can small language models handle most agent tasks?: function-calling is exactly the kind of repetitive, scoped, format-rigid work where a fine-tuned small model can replace a large general-purpose one.

The practical implication: when output format is rigid and small-model deployment is the goal, the question is not "can SFT close the gap" but "what's the cheapest source of preference signal." Self-generated preference pairs from a strong teacher are essentially free relative to human feedback.

Inquiring lines that read this note 145

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Should AI alignment prioritize individual preferences, collective norms, or roles? Can iterative DPO substitute for online RL in studying misalignment? How does task-specific training affect model generalization and capability transfer? How should inference-time compute be optimally allocated for reasoning? What are the fundamental limits of prompt-based debiasing? What are the distinctive characteristics of language models at different scales? Why do LLM recommenders underperform simpler collaborative filtering approaches? How well do model explanations reveal their actual knowledge and reasoning? What limits AI's ability to verify its own generation? How does reward-seeking behavior lead to emergent model misalignment? How susceptible are language models to adopting and maintaining false beliefs? What mechanistic structures underlie the reasoning traces that language models produce? How do training data, curriculum, and scale affect capability development? Does alignment training genuinely modify model behavior or only outputs? What tradeoffs emerge from fine-tuning models for extended reasoning? What are the fundamental limits of prompting in creating new model capabilities? Do language models learn true linguistic principles or just surface patterns? What conversational capabilities does preference optimization sacrifice for alignment? How reliably do benchmark metrics reflect actual model capability? Why does iterative refinement amplify reasoning errors instead of correcting them? What limits the reliability of retrieval-augmented generation? What gap exists between benchmark scores and genuine language model capabilities? How does training data format influence the reasoning strategies models learn? What determines whether models prioritize training knowledge over retrieved context? What tradeoffs emerge between instruction following and other model capabilities? How do parameter-efficient methods maintain performance while reducing training cost? Can RL enable genuinely new reasoning or just optimize existing capabilities? Can model routing deliver better performance than training larger models? Can vector embeddings distinguish task relevance from semantic similarity? How do LLMs perform reasoning effectively despite gaps between process and output? How do supervised fine-tuning and reinforcement learning compare in preserving reasoning quality? Do benchmark evaluations accurately represent what AI systems can do? Why does model self-revision amplify confidence in incorrect answers? Can AI systems formally evaluate design quality and taste? How do architectural constraints limit monolithic LLM performance on complex tasks? Can AI systems sustain recursive self-improvement without human intervention? Why do language models systematically fail at ambiguity recognition? What perception approach enables GUI agents to work most effectively? Can looped computation enable reasoning beyond fixed transformer depth? How do agents embed misalignment in routine communication? What persistent memory architectures best support learning across sessions? When does multi-agent coordination outperform scaling a single agent? Do different language models independently converge on similar outputs? How can knowledge graphs improve retrieval and reasoning tasks? Why are open models competitive with closed models in practice? How do humans and AI dynamically distribute work and agency? Can visual rendering-based rewards effectively improve code and layout quality?

Related concepts in this collection 5

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
15 direct connections · 116 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

DPO-trained small models can match large models on function-calling reasoning chains — preference data from a teacher beats SFT for the rigid output format