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

TRAC:基于长度感知解码的高效扩散语言模型机器翻译

TRAC: Efficient Diffusion Language Models for Machine Translation via Length-Aware Decoding

School of Computer Science and Engineering, Northeastern University(东北大学计算机科学与工程学院);NiuTrans Research(NiuTrans研究中心)

Tianyuan Li, Xihan Yang, Chenglong Wang, Yuzhang Wu, Jingbo Zhu, Tong Xiao

AI总结:

该研究针对扩散机器翻译的冗余计算问题,提出无训练自适应解码方法TRAC,通过调整生成长度和识别稳定token减少计算,在多数据集上实现翻译速度提升且仅小幅损失质量。

摘要:

使用大语言模型进行机器翻译需要同时具备高翻译质量和低生成延迟,因此在保留质量的前提下加速翻译对实际部署至关重要。扩散大语言模型(dLLM)可通过迭代去噪在任意目标位置生成 token,为超越序列自回归解码的并行翻译提供了新范式。然而现有方法仍存在冗余计算:固定目标生成长度会在未使用的位置浪费计算资源,仅基于置信度的提交会延迟那些预测已基本稳定的中等置信度 token。为解决这些问题,我们提出TRAC,一种用于扩散机器翻译的无训练自适应解码方法。TRAC利用源长度和翻译方向调整目标生成长度,对于空输出或异常短输出则保守回退至最大长度。它保留高置信度提交,同时利用跨步Top-1持久性和Top-K分布上的近似Jensen-Shannon散度识别时间上稳定的中等置信度 token,以实现早期提交。在FLORES-200、WMT23和NTREX-128上的中英双向翻译实验中,TRAC将模型前向调用次数减少了24.9%至36.8%,句子级生成速度较Fast-dLLM提升1.91至2.19倍,而宏平均COMET仅下降0.02个点。这些结果表明,自适应生成长度和感知稳定性的token提交可提升扩散机器翻译的效率。

英文摘要:

Machine translation with large language models requires both high translation quality and low generation latency. Accelerating translation while preserving quality is therefore essential for practical deployment. Diffusion large language models (dLLMs) can generate tokens at arbitrary target positions through iterative denoising, offering a new paradigm for parallel translation beyond sequential autoregressive decoding. However, existing methods still incur redundant computation: fixed target generation lengths waste computation on unused positions, while confidence-only commitment delays medium-confidence tokens whose predictions have largely stabilized. To address these issues, we propose TRAC, a training-free adaptive decoding method for diffusion machine translation. TRAC adapts the target generation length using source length and translation direction, with a conservative fallback to the maximum length for empty or unusually short outputs. It preserves high-confidence commitment while identifying temporally stable medium-confidence tokens for early commitment using cross-step top-1 persistence and approximate Jensen-Shannon divergence over Top-$K$ distributions. On bidirectional Chinese-English translation across FLORES-200, WMT23, and NTREX-128, TRAC reduces model forward calls by 24.9% to 36.8% and achieves sentence-level generation speedups of 1.91 to 2.19 times over Fast-dLLM, with only a 0.02-point decrease in macro-average COMET. These results demonstrate that adaptive generation lengths and stability-aware token commitment improve the efficiency of diffusion machine translation.

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

↑