Reinforcement Learning for Efficient Tool Use
Research in progress, National University of Singapore
Overview
For tool-using LLM agents, a more complete or more precise tool request does not necessarily improve the complete task: it can change candidate ranking and later decisions, and can raise or lower both success and tool-call cost. This project studies request optimization from the perspective of complete-task return rather than local request completeness.
Counterfactual rollouts compare the original request, single edits, and combined edits (Null / A / B / A+B). Those comparisons are used to train a lightweight request optimizer, which is intended to provide better trajectories for later reinforcement learning (PPO). This line of work is still in progress and has not been submitted.
Framework
The method compares request variants by executing them and scoring complete-task return, rather than treating the most complete request as the default. Single-condition and combined edits (Null, A, B, and A+B) are evaluated side by side. A lightweight request optimizer is then trained from these counterfactual comparisons so that it can select a request combination before acting. The optimizer is designed to produce higher-quality trajectories for subsequent reinforcement learning with PPO.
Key Contributions
- We show that locally more precise tool requests are not always better for complete-task success and cost, so request quality should be judged by task-level outcomes.
- We use counterfactual execution of request edits and their combinations to learn a lightweight request optimizer that selects request combinations before acting.
- The optimizer is designed to provide higher-quality trajectories for subsequent reinforcement learning; this line of work is still in progress and has not been submitted.