arXiv:2605.30274cs.CLcs.AI2026-05

Loong通过自适应选择上下文,提升长文档翻译质量。

Loong: A Human-Like Long Document Translation Agent with Observe-and-Act Adaptive Context Selection

论文配图:Loong: A Human-Like Long Document Translation Agent with Observe-and-Act Adaptive Context Selection
图 1 · 摘自论文原文
  • 构建3E记忆模块,动态存储摘要、句对和实体信息。
  • 强化学习优化上下文策略,翻译质量平均提升13.0点。
  • 适合长文档翻译,抗干扰强,跨领域泛化好。

长文档翻译仍是大语言模型的挑战任务,受限于有限的上下文窗口,难以保持全局连贯性,同时冗余信息会降低翻译质量。为此,我们提出名为Loong的人类式长文档翻译代理,采用3E记忆模块(本质-范例-实体)存储摘要、句对和实体记录作为历史上下文。不同于被动接收全部历史,Loong通过深度推理自适应识别最优翻译引导上下文。其上下文策略通过强化学习优化,利用自身采样观察-行动推理轨迹生成的偏好数据。实证评估显示,Loong在英↔中、德、法方向均实现显著翻译质量提升,三项指标平均提升达13.0分。此外,Loong在跨领域场景中表现出强泛化能力,对上下文噪声具有鲁棒性,且在超长文档翻译中保持高度稳定性。代码已公开于https://github.com/YutongWang1216/LoongDocMT。

原文摘要 · Abstract (English)

Document-level translation remains one of the most challenging tasks for large language models, which are constrained by limited context windows that impede global cohesion, while simultaneously suffering from redundant contextual information that degrades translation quality. To address this, we propose a human-like long document translation agent called Loong, which leverages a 3E memory module (Essence-Exemplar-Entity) to store summaries, sentence pairs, and entity records as historical context. Instead of passively attending to all history, Loong performs deep reasoning to adaptively identify the optimal context for translation guidance. Loong optimizes its context policy through reinforcement learning, utilizing preference data derived from its own sampled observe-and-act reasoning trajectories. Empirical evaluations demonstrate that Loong achieves substantial translation quality improvements in English $\Leftrightarrow$ Chinese, German, and French directions, with average gains of up to 13.0 points across the three evaluation metrics. Furthermore, Loong exhibits strong generalization across domains and robustness against contextual noise, while maintaining remarkable stability in ultra-long document translation. Our code is released at https://github.com/YutongWang1216/LoongDocMT.

长文档翻译上下文选择强化学习

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