MENTOR: Reinforcement Learning via Flexible Teacher-Optimized Rewards for Tool-Use Distillation

arXiv:2510.18383 · cs.CL, cs.AI · Submitted 2025-10-21 · Read on arXiv

cs.CL, cs.AI

Submitted: 2025-10-21

Updated: 2026-08-27

Code: https://github.com/choics2623/MENTOR-RL

Project page: https://artofproblemsolving.com/wiki/index.php/2023_AMC_12A_Problems

License: http://creativecommons.org/licenses/by/4.0/

The gist: Distilling the tool-use capabilities of large language models (LLMs) into small language models (SLMs) is essential for their practical application.

Terminology

Abstract

Distilling the tool-use capabilities of large language models (LLMs) into small language models (SLMs) is essential for their practical application. The predominant approach, supervised fine-tuning (SFT), is an off-policy distillation method that suffers from poor out-of-domain (OOD) generalization because it rigidly aligns with static teacher trajectories. While reinforcement learning (RL) offers an alternative, the capacity limitations of SLMs pose a severe dilemma: sparse outcome rewards provide insufficient guidance, whereas strict trajectory matching imposes overly restrictive constraints. To bridge this capacity-driven gap, we propose MENTOR, an on-policy distillation framework that introduces a flexible yet process-aware reward structure. Instead of enforcing rigid replication, MENTOR uses the teacher's reference to guide tool-use behavior, balancing behavioral alignment with downstream performance. Extensive experiments on controlled executable-tool benchmarks demonstrate that MENTOR improves OOD tool-use performance compared to SFT and strict RL baselines. Our findings suggest that within verifiable tool-use environments, flexible tool-use alignment offers a more effective approach than strict trajectory replication for developing adaptable small models.

Sources

Related papers