将课程判断内部化以优化大语言模型强化微调
Internalizing Curriculum Judgment for LLM Reinforcement Fine-Tuning
AI总结:
本文提出METIS框架,通过内部化课程判断提升LLM强化微调效率与性能,利用训练结果动态分配训练资源,实现闭环优化。
摘要:
在大语言模型强化微调(RFT)中,课程学习驱动效率与性能。然而,当前方法通过手工规则或辅助模型外部化课程判断,可能与策略训练动态不一致。本文提出METIS(元认知内部化自判断)框架,将课程判断作为原生能力。通过关键观察,即提示内奖励方差有效衡量提示信息量,METIS基于近期训练结果预测此指标作为轻量上下文学习示例。此内在自判断动态决定训练分配。此外,METIS通过联合优化标准RFT奖励和自判断奖励闭合判断与优化之间的闭环。这使策略能学习下一步学习内容,作为元认知的一种形式。在广泛的离散和连续RFT基准测试中,包括数学推理、代码生成到代理功能调用,METIS一致表现出色,加速收敛达67%。通过绕过手工规则和辅助模型,本文建立了简单、闭环且高效的LLM强化微调课程内部化范式。
英文摘要:
In LLM Reinforcement Fine-Tuning (RFT), curriculum learning drives both efficiency and performance. Yet, current methods externalize curriculum judgment via handcrafted heuristics or auxiliary models, risking misalignment with the policy's training dynamics. In this paper, we introduce METIS (METacognitive Internalized Self-judgment), a novel framework that internalizes curriculum judgment as a native capability. Leveraging a critical observation that within-prompt reward variance effectively gauges prompt informativeness, METIS predicts this metric based on recent training outcomes as lightweight in-context learning examples. This intrinsic self-judgment then dynamically dictates the training allocation. Moreover, METIS closes the loop between judgment and optimization by jointly optimizing the standard RFT rewards and a self-judgment reward. This allows the policy to learn what to learn next, as a form of metacognition. Across mathematical reasoning, code generation, and agentic function-calling benchmarks, METIS delivers superior performance while achieving up to a 2.1x training speedup, with controlled ablations and in-depth analysis further validating the benefits of internalized curriculum judgment. By bypassing handcrafted heuristics and auxiliary models, our work establishes a simple, closed-loop, and highly efficient curriculum internalization paradigm for LLM reinforcement fine-tuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。