不更新参数就能提升大模型工具使用能力,靠经验知识引导输出。
Training-Free Group Relative Policy Optimization
- 用经验知识做词元先验,替代传统参数微调
- 仅需几十个样本即超越小模型微调效果
- 适合资源有限但需快速部署的智能体应用
大语言模型代理在专用领域表现常因外部工具整合与提示策略不足而下降。现有方法如强化学习依赖昂贵的参数更新,我们提出无需参数更新的训练自由组相对策略优化(Training-Free GRPO)。该方法通过多轮学习,在少量真实数据上迭代提炼高质量经验知识,作为词元先验,嵌入API调用中引导模型行为。实验显示,该方法在数学推理和网页搜索任务中,对DeepSeek-V3.1-Terminus模型显著提升跨域性能。仅需数十个训练样本,其效果即优于参数微调的小型模型,且训练成本极低。
原文摘要 · Abstract (English)
Recent advances in Large Language Model (LLM) agents have demonstrated their promising general capabilities. However, their performance in specialized real-world domains often degrades due to challenges in effectively integrating external tools and specific prompting strategies. While methods like agentic reinforcement learning have been proposed to address this, they typically rely on costly parameter updates, for example, through a process that uses Supervised Fine-Tuning (SFT) followed by a Reinforcement Learning (RL) phase with Group Relative Policy Optimization (GRPO) to alter the output distribution. However, we argue that LLMs can achieve a similar effect on the output distribution by learning experiential knowledge as a token prior, which is a far more lightweight approach that not only addresses practical data scarcity but also avoids the common issue of overfitting. To this end, we propose Training-Free Group Relative Policy Optimization (Training-Free GRPO), a cost-effective solution that enhances LLM agent performance without any parameter updates. Our method leverages the group relative semantic advantage instead of numerical ones within each group of rollouts, iteratively distilling high-quality experiential knowledge during multi-epoch learning on a minimal ground-truth data. Such knowledge serves as the learned token prior, which is seamlessly integrated during LLM API calls to guide model behavior. Experiments on mathematical reasoning and web searching tasks demonstrate that Training-Free GRPO, when applied to DeepSeek-V3.1-Terminus, significantly improves out-of-domain performance. With just a few dozen training samples, Training-Free GRPO outperforms fine-tuned small LLMs with marginal training data and cost.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。