arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.06835cs.CL
收藏

Translate-R1:通过强化学习实现成本感知的翻译工具使用

Translate-R1: Cost-Aware Translation Tool Use via Reinforcement Learning

Amazon Stores Foundation AI(亚马逊商店基金会人工智能)

Pratik Jayarao, Chaitanya Dwivedi, Himanshu Gupta, Neeraj Varshney, Adithya M Devraj, Meet Vadera, Priyanka Nigam, Bing Yin

AI总结:

提出一种基于强化学习的门控策略,让LLM自主评估理解能力,仅在必要时调用翻译工具,在22种语言上提升奖励并降低翻译成本。

摘要:

LLM在不同语言上的性能差距已有充分记录,而原生缩小差距需要对大多数语言不存在的语料库进行预训练或微调。翻译提供了一种替代方案:将输入转换为模型的主导语言,从而立即释放其全部能力。然而,对每个输入都应用翻译对于模型已能处理的语言来说是浪费的,而将选择权留给模型则相反地失败,因为LLM过于自信,即使无法理解输入也会跳过工具。先前的工作通过语言特定规则、领域启发式、语言标识符或外部路由器来解决这一问题,每种方法都需要手动工程。我们转而学习一个单一策略,仅从奖励中决定何时翻译,开发出语言和领域自适应的内省能力,评估自身理解能力,并仅在无法原生解决任务时调用翻译。使用我们保留答案的翻译流水线构建的数据,我们在后训练的Qwen3-4B上继续RL,涵盖3个资源层级(高、低、极低)的22种语言和5个领域,并引入置信度门控GSPO用于成本敏感的工具使用。门控策略在基线基础上将奖励提升:高资源+4.6,低资源+23.5,极低资源+17.5。与几乎总是翻译的无约束策略相比,它以63%的成本保留了全部奖励,并在87%的成本敏感范围内是帕累托最优的。此外,为了模拟在完全未见语言上的行为,我们创建了2种合成语言,在这些语言上,我们的门控策略比过度自信的基线(即使在这些不可理解的输入上也未充分利用工具)提升了+18.7。该策略零样本迁移到9种保留语言,我们分析了工具使用在训练过程中如何按语言和领域出现。

英文摘要:

The performance gap across languages in LLMs is well documented, and closing it natively requires pretraining or fine-tuning on corpora that, for most languages, are quite limited. Translation offers an alternative: converting an input into the model's dominant language unlocks its full capabilities at once. But translating every input is wasteful for languages the model already handles, while leaving the choice to the model fails too, as LLMs are overconfident and skip the tool even when they cannot understand the input. Prior work resolves this with language-specific rules, heuristics, or external routers, each requiring manual engineering. We instead learn a single policy that decides when to translate from reward alone, developing language- and domain-adaptive introspection that invokes translation only when it cannot solve a task natively. Using data from our answer-preserving translation pipeline, we continue RL on the post-trained Qwen3-4B across 22 languages in 3 resource tiers (High, Low, XLow) and 5 domains, and introduce confidence-gated GSPO for cost-sensitive tool use. The gated policy lifts reward over the untrained baseline by +4.6 on High, +23.5 on Low, and +17.5 on XLow, and extends zero-shot to 9 held-out languages. Against an unconstrained policy that almost always translates (the reward upper bound), it preserves full reward at 66% of the cost, outperforming other cost penalties by up to +24.3 on the low-resource tiers while matching the free policy's reward on high-resource tiers at a fraction of the tool use. On 2 synthetic languages with zero prior exposure it correctly learns to always translate, improving +18.7 over the overconfident baseline.

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

↑