arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19148cs.AIcs.SC
收藏

将专家过程编译为可验证程序:小型模型何时足够

Program Learning with Verifiable Rewards: Distilling Expert Traces into Programs

CoreThink AI;Stanford University(斯坦福大学)

Vishvesh Bhat, Muhammad Ahmed Mohsin, Asad Aali

AI总结:

该研究提出PLVR方法,将教师推理轨迹编译为可验证程序,在小型模型上运行,大幅提升程序性工具使用任务的准确率,缩小不同基础模型间的性能差距,8B模型在程序性任务中已能达到较高性能。

摘要:

在程序性工具使用领域,基础模型之间的差距有多少源于过程而非能力?我们从教师的轨迹构建了一个显式程序,并在未改变的小型模型(包括8B模型)上运行该程序。构建过程PLVR将教师Kimi-K3的推理轨迹进行聚类,以定位重复出现的操作;前沿模型为每个操作编写一个类型化原语,每个原语由小型冻结模型运行;并在参考动作目标下,通过对挖掘的规则库进行A*搜索来组装程序。推理时,该程序有两种形式:对于故障排除和工具搜索,它生成学生原本会自行产生的思维链,学生据此行动;对于多轮工具匹配,学生提出每个动作,程序在动作输出前对其进行检查、修复或重试。在官方tau2-Bench零售和电信测试集以及LiveMCPBench上,使用三个Nemotron基础模型且每个模型使用相同程序时,结果因领域而异。在电信领域,以Granite-4.2-8B作为学生,在该程序下准确率从43.0%提升至91.2%;所有Nemotron学生的准确率达到93.3%-94.4%,而在相同轨迹微调、学生提示优化或两个标记匹配基线方法中,最高准确率仅为58.2%。以Granite-4.2-8B作为学生时,该程序在电信领域与Nemotron学生的准确率差距在2至3个百分点以内,在零售领域差距在3个百分点以内,在LiveMCPBench领域差距在3至13个百分点:在程序性领域,8B学生已足够;在工具搜索领域,学生仍有影响。在零售和LiveMCPBench领域,该程序与最佳基线方法具有竞争力。在所有测试集上,基础模型之间的差距从约7个百分点缩小至约2个百分点,且无需修改任何权重。

英文摘要:

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 $τ^2$-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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑