Program Learning with Verifiable Rewards: Distilling Expert Traces into Programs
Abstract
Small language models struggle with tool-use tasks that require following multi-step procedures. Whether these failures reflect limited capability or missing procedural knowledge remains unclear. We introduce Program Learning with Verifiable Rewards (PLVR), which distils expert traces into reusable programs without updating model weights. Frontier models turn recurring operations in the traces into typed primitives and rules, and search assembles them using reference actions and training-task checks. A small frozen model executes the primitives, with deterministic verifiers checking their outputs. The resulting program guides a student's reasoning or checks its proposed actions. We evaluate the same program across students on -Bench Retail and Telecom and LiveMCPBench, using synthetic training tasks and unseen benchmark test tasks. On Telecom, PLVR raises an 8B model's success rate from 43.0% to 91.2%, while larger students reach up to 94.4%, compared with 57.9% for the best baseline. On Retail and LiveMCPBench, PLVR is competitive with the best baselines, although tool search remains more dependent on the student model. These results support program learning as a way to transfer expert procedures across frozen models, trading additional inference computation for more reliable tool use.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SC
Related papers
Explorer-Zero: Improving Self-Play for Long-Horizon Tasks with Decomposable Verifiable Rewards
Shared title terminologycs.AITianyu Liu, Davide Belli, Bence Major et al.
Training LLMs for Multi-Agent Collaboration with Verifiable Information Rewards
Shared title terminologycs.AIKeru Chen, Sen Lin, Yingbin Liang et al.
FormaFin: Verifiable Financial Analysis with Solver-Guided Reinforcement Learning
Shared title terminologycs.AIBethel Hall, William Eiers
Distilling Visual Agents from Limited Interaction Experience
Shared title terminologycs.AISiyu Zhou, Jing Jiang, Chengqi Zhang et al.
VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets
Shared title terminologycs.AISaeid Rajabi, Chengmo Yang, Satwik Patnaik
Can Vision-Language Models Synthesize Executable Game-Playing Programs?
Shared title terminologycs.AIYao Tong, Jiaxin Qi, Dingyu Zhang et al.