arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.09791cs.AIcs.CLcs.LGcs.MA
收藏

先驱代理:生产环境中小语言模型的持续改进

Pioneer Agent: Continual Improvement of Small Language Models in Production

Fastino Labs

Dhruv Atreja, Julia White, Nikhil Nayak, Kelton Zhang, Henrijs Princis, George Hurn-Maloney, Ash Lewis, Urchade Zaratiana

AI总结:

本文提出Pioneer Agent,通过闭环系统自动化小语言模型的持续改进,通过冷启动和生产模式提升模型性能,发现有效训练策略。

摘要:

小语言模型因其低成本、快速推理和易于专业化而受到生产部署的青睐。然而,将其适应到特定任务仍是一个具有挑战性的工程循环,由周围决策驱动:数据整理、故障诊断、回归避免和迭代控制。我们提出了Pioneer Agent,一个闭环系统,自动化此生命周期。在冷启动模式下,仅给定一个自然语言任务描述,代理会获取数据、构建评估集,并通过联合优化数据、超参数和学习策略迭代训练模型。在生产模式下,给定一个已部署的带有标签故障的模型,它会诊断错误模式,构建针对性的训练数据,并在显式回归约束下重新训练。为评估此设置,我们引入了AdaptFT-Bench,一个合成推理日志的基准,具有逐渐增加的噪声,旨在测试完整的适应循环:诊断、课程合成、重新训练和验证。在八个冷启动基准中,Pioneer Agent在推理、数学、代码生成、摘要和分类方面比基线模型提高了1.6-83.8个百分点。在AdaptFT-Bench上,它在所有七个场景中均提高或保持性能,而朴素重新训练会下降多达43个百分点。在两个基于公共基准任务的生产部署中,它将意图分类从84.9%提升到99.3%,实体F1从0.345提升到0.810。除了性能提升外,代理还经常发现有效的训练策略,包括思维链监督、任务特定优化和质量导向的数据整理,仅从下游反馈中获得。

英文摘要:

Small language models are attractive for production deployment due to their low cost, fast inference, and ease of specialization. However, adapting them to a specific task remains a challenging engineering loop, driven not by training itself but by surrounding decisions: data curation, failure diagnosis, regression avoidance, and iteration control. We present Pioneer Agent, a closed-loop system that automates this lifecycle. In cold-start mode, given only a natural-language task description, the agent acquires data, constructs evaluation sets, and iteratively trains models by jointly optimizing data, hyperparameters, and learning strategy. In production mode, given a deployed model with labeled failures, it diagnoses error patterns, constructs targeted training data, and retrains under explicit regression constraints. To evaluate this setting, we introduce AdaptFT-Bench, a benchmark of synthetic inference logs with progressively increasing noise, designed to test the full adaptation loop: diagnosis, curriculum synthesis, retraining, and verification. Across eight cold-start benchmarks spanning reasoning, math, code generation, summarization, and classification, Pioneer Agent improves over base models by 1.6-83.8 points. On AdaptFT-Bench, it improves or preserves performance in all seven scenarios, while naive retraining degrades by up to 43 points. On two production-style deployments built from public benchmark tasks, it raises intent classification from 84.9% to 99.3% and Entity F1 from 0.345 to 0.810. Beyond performance gains, the agent often discovers effective training strategies, including chain-of-thought supervision, task-specific optimization, and quality-focused data curation, purely from downstream feedback.

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

↑