arXiv:2604.09791cs.AIcs.CL2026-04被引 1

小模型生产部署自动优化,闭环改进效果显著

Pioneer Agent: Continual Improvement of Small Language Models in Production

  • 构建闭环系统,自动完成数据收集、训练与迭代
  • 冷启动下提升83.8点,生产环境准确率从84.9%升至99.3%
  • 适合需要持续优化小模型的工业落地场景

小语言模型因成本低、推理快、易定制,适合生产部署。但其任务适配依赖数据筛选、故障诊断、回归避免等工程决策,而非训练本身。我们提出Pioneer Agent,一个闭环系统,自动化这一生命周期。冷启动模式下,仅需自然语言任务描述,即可自主获取数据、构建评估集,并联合优化数据、超参数与学习策略进行迭代训练;生产模式下,针对已部署模型的标注错误,诊断错误模式,构造针对性训练数据,在显式回归约束下重训练。为评估该流程,我们引入AdaptFT-Bench,一个含渐进噪声的合成推理日志基准,用于测试诊断、课程生成、重训练与验证全流程。在涵盖推理、数学、代码生成、摘要和分类的八个冷启动基准上,相比基线模型提升1.6–83.8分。在AdaptFT-Bench中,所有七种场景性能均提升或保持,而简单重训最高下降43分。在两个基于公开任务构建的生产级部署中,意图识别准确率从84.9%提升至99.3%,实体F1从0.345提升至0.810。此外,系统还能从下游反馈中发现有效策略,如思维链监督、任务特定优化和质量导向数据筛选。

原文摘要 · Abstract (English)

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.

小模型自动优化生产部署闭环系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。