RouteLMT: 为混合LLM翻译部署设计的学得样本路由
RouteLMT: Learned Sample Routing for Hybrid LLM Translation Deployment
AI总结:
本文提出RouteLMT,通过在模型内部预测大模型相对于小模型的边际增益,实现高效的样本路由,优于传统启发式和质量估计方法,达到更优的质量-预算帕累托前沿。
摘要:
大型语言模型(LLMs)在机器翻译(MT)中表现出色,但大规模部署成本过高。混合系统范式通过使用小模型处理大部分请求并选择性地将部分请求路由到大模型来平衡成本与质量。然而,现有路由策略常依赖启发式、外部预测器或绝对质量估计,无法准确捕捉大模型是否能提供有价值的改进。本文将路由视为预算分配问题,将边际增益(大模型相对于小模型的改进)作为最优决策信号。基于此,我们提出RouteLMT(用于LLM基于MT的路由),一种高效的在模型内路由器,通过探测小翻译器的提示令牌表示预测预期增益,无需外部模型或假设解码。大量实验表明,我们的RouteLMT优于启发式和质量/难度估计基线,达到更优的质量-预算帕累托前沿。此外,我们分析了回归风险,并展示简单的受保护变体可缓解严重的质量损失。
英文摘要:
Large Language Models (LLMs) have achieved remarkable performance in Machine Translation (MT), but deploying them at scale remains prohibitively expensive. A widely adopted remedy is the hybrid system paradigm, which balances cost and quality by serving most requests with a small model and selectively routing a fraction to a large model. However, existing routing strategies often rely on heuristics, external predictors, or absolute quality estimation, which fail to capture whether the large model actually provides a worthwhile improvement over the small one. In this paper, we formulate routing as a budget allocation problem and identify marginal gain, i.e., the large model's improvement over the small model, as the optimal signal for budgeted decisions. Building on this, we propose \textbf{RouteLMT} (routing for LLM-based MT), an efficient in-model router that predicts this expected gain by probing the small translators prompt-token representation, without requiring external models or hypothesis decoding. Extensive experiments demonstrate that our RouteLMT outperforms heuristics, quality/difficulty estimation baselines, achieving a superior quality-budget Pareto frontier. Furthermore, we analyze regression risks and show that a simple guarded variant can mitigate severe quality losses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。