Abstract
Simultaneous machine translation attempts to translate a source sentence before it is finished being spoken, with applications to translation of spoken language for live streaming and conversation. Since simultaneous systems trade quality to reduce latency, having an effective and interpretable latency metric is crucial. We introduce a variant of the recently proposed Average Lagging (AL) metric, which we call Differentiable Average Lagging (DAL). It distinguishes itself by being differentiable and internally consistent to its underlying mathematical model.
Introduction
Simultaneous Machine Translation (SiMT) requires a delicate balance between translation quality and speed. In these systems, translation begins before the speaker has finished their sentence, creating a fundamental trade-off: waiting for more context improves quality but increases latency. To optimize these systems, researchers rely on latency metrics, with Average Lagging (AL) being the current standard. AL measures how many tokens an MT system lags behind an "ideal" translator.
However, AL suffers from two significant flaws. First, it is not differentiable due to its use of an argmin operation, preventing its use as a loss function for end-to-end neural network training. Second, it allows for "free writes"—scenarios where writing target words is assumed to take zero time while the speaker is still talking. This allows systems to "game" the metric by delaying final read actions to artificially lower their latency scores.
Differentiable Average Lagging (DAL)
To address these issues, we propose Differentiable Average Lagging (DAL). The core innovation lies in redefining how time is tracked during translation by introducing a writing cost ($d$). We define a new timing function, $g'_d(t)$, recursively: $$g'_d(t) = \max[g(t), g'_d(t-1) + d]$$
This formulation ensures that time always moves forward. Even if a system attempts to output multiple words simultaneously, DAL accounts for the realistic time required to produce them. By setting $d$ to the source-to-target length ratio ($|x|/|y|$), the metric remains synchronized with the speaker's pace. Because DAL utilizes simple max and recursion instead of argmin, it is fully differentiable and easily implemented in standard deep learning frameworks.
DAL also provides internal consistency by treating the "ideal" translator and the MT system with the same logic. Unlike AL, which can produce negative values, DAL is lower-bounded at 0, recognizing that a system cannot truly outpace a speaker in real-time.
Experimental Results
We evaluated DAL using the WMT15 German-to-English dataset, comparing it against AL across various latency settings for both deterministic (wait-$k$) and adaptive (MILk) translation systems.
Our results show a strong linear relationship between DAL and AL. However, DAL is consistently more conservative, assigning slightly higher lag values. Crucially, DAL prevents metric gaming. In "antagonistic" tests, DAL correctly assigned higher latency scores where AL was fooled into reporting lower values. Furthermore, DAL was successfully used as a differentiable training objective for the MILk adaptive streaming model.
Discussion and Conclusion
While DAL offers significant improvements, some limitations remain. It does not reward systems for being faster than the ideal emission rate, creating an "external asymmetry" where falling behind is penalized but getting ahead is ignored. Additionally, the current model assumes a constant writing cost $d$, whereas real-world speech-to-speech pipelines involve varying word durations. Future work may involve integrating actual millisecond timing information and exploring workarounds for the hyper-parameter $d$ during real-time inference.
In conclusion, DAL provides a mathematically consistent and differentiable alternative to AL, enabling more robust evaluation and direct optimization of latency in simultaneous machine translation systems.
Summary updated