Length-Adaptive Decoding for Masked Diffusion Machine Translation

Yan Zhan, Mengkai Hou, Wanting Zhang, Zhijun Gao
8/23/2026
cs.CLcs.AIcs.LG
diffusion-flow

No official code found. Best implementation: Entropy-Valley/Entropy-Valley (3 stars).

Abstract

Machine translation tests masked diffusion language models (dLLMs) because every source token must be rendered faithfully, while fixed canvas decoding must choose target length before denoising. Existing masked diffusion decoding work mainly studies token unmasking order, leaving this length decision under-explored despite its direct effect on coverage and redundancy.

Show full abstract

We introduce Entropy-Valley (EV), a training-free length selector that scores candidate target canvases by mean predictive entropy from all-mask forward passes and selects the canvas the backbone is most prepared to fill. Relative to a baseline using training corpus length statistics, EV recovers 64.9%, 65.3%, and 33.0% of the COMET-22 gain from reference target lengths on En$\to$Zh, Zh$\to$En, and En$\to$De. Our diagnostics show that denoising-friendly lengths need not match reference lengths. Evaluation by three translation experts supports the En$\leftrightarrow$Zh adequacy gains, with stronger evidence on Zh$\to$En. Compared with a LLaMA-3-8B autoregressive (AR) model trained on the same fine-tuning data, the EV system ties on En$\to$Zh and leads on Zh$\to$En; an oracle-length diagnostic further shows that, in this masked diffusion MT setting, deciding which tokens to reveal first matters less than how the target length is supplied.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2026] Length-Adaptive Decoding for Masked Diffusion Machine Translation — a training-free target-length selector for masked diffusion LMs.

30

Similar Papers

Cite this paper

@article{zhan2026lengthadaptive,
  title  = {Length-Adaptive Decoding for Masked Diffusion Machine Translation},
  author = {Yan Zhan and Mengkai Hou and Wanting Zhang and Zhijun Gao},
  year   = {2026},
  eprint = {2608.22274},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.22274v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.22274.svg)](https://codeofpaper.com/paper/2608.22274)

Discussion