MENTOR: A Reinforcement Learning Framework for Enabling Tool Use in Small Models via Teacher-Optimized Rewards
ChangSu Choi, Hoyun Song, Dongyeon Kim, WooHyeon Jung, Minkyung Cho, Sunjin Park, NohHyeob Bae, Seona Yu, KyungTae Lim
TL;DR
Mentor introduces a reinforcement learning framework that distills a large teacher's tool-use policy into smaller language models by combining GRPO-based policy optimization with a dense, teacher-guided reward design. It overcomes supervised fine-tuning’s poor generalization and sparse-reward RL's exploration inefficiency by training the student to internalize a generalizable tool-use methodology rather than mimic fixed demonstrations. The approach leverages reference trajectories from the teacher to construct a three-component reward (Correctness, Teacher-Alignment, Tool Validation) within a math-focused curriculum to promote robust exploration and policy alignment. Across in-domain and out-of-domain benchmarks, Mentor yields substantial gains in tool-use efficiency and cross-domain generalization, demonstrating practical promise for on-device, tool-augmented reasoning in small models.
Abstract
Distilling the tool-using capabilities of large language models (LLMs) into smaller, more efficient small language models (SLMs) is a key challenge for their practical application. The predominant approach, supervised fine-tuning (SFT), suffers from poor generalization as it trains models to imitate a static set of teacher trajectories rather than learn a robust methodology. While reinforcement learning (RL) offers an alternative, the standard RL using sparse rewards fails to effectively guide SLMs, causing them to struggle with inefficient exploration and adopt suboptimal strategies. To address these distinct challenges, we propose MENTOR, a framework that synergistically combines RL with teacher-guided distillation. Instead of simple imitation, MENTOR employs an RL-based process to learn a more generalizable policy through exploration. In addition, to solve the problem of reward sparsity, it uses a teacher's reference trajectory to construct a dense, composite teacher-guided reward that provides fine-grained guidance. Extensive experiments demonstrate that MENTOR significantly improves the cross-domain generalization and strategic competence of SLMs compared to both SFT and standard sparse-reward RL baselines.
