从生产流量到后训练:构建覆盖企业请求组合的自托管LLM
研究论文 · 2026/09/02
数据驻留限制迫使企业自行托管LLM,但持续采用新模型而不淘汰旧模型会扩大服务集群,使有限的GPU资源碎片化。我们通过生产错误分析,在指令遵循、函数调用和内部任务分布三个维度上缩小质量差距,将来自200多个内部应用的流量整合到单一模型上。质量通过按生产流量分层并采用确定性验证器或校准LLM评判的离线基准来跟踪。为避免跨域奖励干扰,我们为每个维度训练独立的GRPO专家,并通过两阶段SLERP合并。每个专家的奖励暴露了不同的失败模式,需要特定领域的修复。在非推理模式下,该配方在内部Arena上以69.6对65.8超越总参数大7倍的基线,指令遵循0.85对0.83,函数调用0.79对0.77,同时提升通用对话基准。该模型以较低的推理成本吸收了平台50%的流量,每月1.16亿次请求。
本文提出了一种在数据驻留约束下整合LLM服务的方法,通过分轴训练和模型合并,在保持质量的同时降低成本,对实际部署具有参考价值。
Data-residency constraints force enterprises to self-host LLMs, but continuous adoption of newer models without decommissioning their predecessors expands the serving fleet, fragmenting a finite GPU pool. We consolidate traffic from over 200 internal applications onto a single model by closing quality gaps identified through production error analysis along three axes: instruction following, function-calling, and internal task distribution. Quality is tracked by offline benchmarks stratified to production traffic and scored by deterministic verifiers or calibrated LLM judges. Rather than optimising all objectives jointly, which introduces cross-domain reward interference, we train a separate GRPO expert per axis and merge them via two-stage SLERP. Each expert's reward exposes a distinct failure mode, namely semantic collapse, over-calling, and verbosity hacking, each requiring a domain-specific fix. In non-reasoning mode the recipe surpasses a {sim}7times larger by total parameters baseline on the in-house Arena with 69.6 to 65.8, instruction following with 0.85 to 0.83, and function-calling with 0.79 to 0.77, while lifting general dialogue benchmarks. The model absorbs 50% of platform traffic, 116M requests per month, at a fraction of the serving cost.