Thinking Slow about Latency Evaluation for Simultaneous Machine Translation
Paper · 2019 · Colin Cherry and George Foster
Summary
A live translation can begin while the speaker is still talking. Starting early reduces the audience’s wait, but it also means committing to words before the complete source sentence is available. How can an evaluator measure that wait using a written test sentence with no record of when anyone spoke? This paper examines a common answer in simultaneous machine translation: count how much of the source the system has read each time it produces a target token, then compare its progress with that of an ideal translator.
The authors focus on Average Lagging, a measure that compares the actual and ideal schedules up to the point where the system has read the entire source sentence. That stopping point helps the measure recover the expected delay for a straightforward read-and-write schedule. It also makes the score sensitive to when the final read occurs. In a constructed example, a system waits for the same amount of input before it starts translating, but postpones its final read until it has produced more of the output. Its Average Lagging falls from 4 to 2.2. Moving the read changes which target positions are included in the average and lets more output benefit from the convention that writing takes no time.
The paper introduces Differentiable Average Lagging, or DAL. For every target token, it estimates when writing can begin by checking both how much source input the system needs and when the preceding target token would finish. An ideal translator writes at the same rate and can start immediately. The score averages the gap across the entire target sequence. Under these rules, both schedules in the constructed example score 4. The calculation also removes the discrete stopping-point search, making it possible to use the latency measure in gradient-based training.
On the WMT15 German-to-English test set, the authors compare the two measures for a fixed read-and-write strategy and an adaptive system across different latency settings. The scores generally track each other, with DAL assigning somewhat higher delays. The relationship also depends on the strategy. Average Lagging assigns comparatively lower delays to the adaptive system, even though that system was trained with DAL. The comparison shows why a latency score needs an explicit account of how target output unfolds, especially when systems differ in how they interleave reading and writing.
Deep dive: Thinking Slow about Latency Evaluation for Simultaneous Machine Translation
Differentiable Average Lagging measures how far simultaneous translations fall behind by assigning time to every target token they produce. · about 33 minutes to read
The problem and its context
Delay without a clock
A simultaneous translator has to decide when it has enough information to commit to the next piece of output. Reading more gives it more of the sentence to work with. Writing sooner gives the audience something to read or hear sooner. The timing of those choices matters in settings such as live streams and conversation, where a translation is consumed while the original speaker continues. Evaluation therefore has to account for both the quality of the translation and the delay incurred in delivering it. A score for the completed sentence leaves the delivery schedule unspecified.
The paper studies what it calls intrinsic latency. The input is a written source sequence of the sort found in a translation training, development or test set. The evaluator can observe which source tokens a system requested before each output, but has no timestamps for the source speaker. For this purpose, a token is a unit in the source or target sequence. Progress through the source stands in for progress through time. A system that requests more source tokens before writing has waited for more of the assumed incoming stream.
This setup makes a comparison possible even when the text arrives in the test data as a complete sentence. The evaluator treats the sentence as if its tokens became available from left to right. To begin, the translator has an empty input. A read reveals the next source token. A write emits the next target token. The transport and production assumptions enter when the evaluator turns these actions into a measure of waiting. A record of the actions tells us how much input was available to the translator at each commitment. It leaves open how long the audience would take to consume the commitments and how quickly one piece of output follows another.
The distinction is especially important at the end of a sentence. A system can have finished reading while much of its translation still remains to be delivered. In a read-only clock, every remaining write takes place at the same source count. An evaluator can accept that convention, or it can assign time to the remaining output. The authors ask what follows if target delivery has a duration throughout the sentence, including while source tokens are still arriving.
What earlier measures counted
As the paper describes the field, some earlier simultaneous translation studies reported elapsed time in milliseconds for a complete system. Others used measurements tied to a particular design. A system that worked by segmenting the input could, for example, report how many target tokens it produced per source segment. Such a count describes an aspect of the segmentation policy. Its connection to the audience’s wait depends on how the segments are read and how their translations are delivered.
Latency BLEU approached delay through the quality of the partial translations. It inspected the output available after each source token was read, scored that partial output using BLEU score with its brevity penalty, and averaged the scores. A snapshot could include an empty translation. By treating partial output as something that can be scored throughout reading, the measure joins timing and quality in a single result. The later latency measures discussed in the paper take the read-and-write schedule as their input and leave translation quality to a separate assessment.
Average Proportion was introduced alongside early strategies for neural simultaneous translation. At each target position, it asks what fraction of the source had already been read. Averaging those fractions gives a bounded score. This is an accessible description of how far through the input the system usually is when it writes. It can also change with sentence length while the basic strategy stays fixed. Ma and colleagues illustrated that behavior using a policy that starts after reading the first source token and thereafter alternates writes and reads while input remains.
Consecutive Wait looks at a smaller interval. It counts how many reads occur between target writes, with an initial count for the reads before output begins. This makes a long pause visible as a pause at a particular position. Its original presentation in Learning to Translate in Real-time used it as a position-wise measure. The paper also discusses Prediction Improves Simultaneous Neural Machine Translation, which reported average Consecutive Wait after Average Proportion proved too insensitive to detect the improvements that study was examining.
Average Lagging introduced a different reference point. It compares the system with an ideal translator at each target position. The ideal begins writing immediately and follows a pace set by the source and target lengths. A target sentence can contain more tokens than the source, or fewer, so progress by the same number of tokens in both sequences would be a poor definition of keeping pace. The length adjustment gives the ideal translator a schedule suited to the pair of sequences being scored.
The averaging rule in Average Lagging ends at the first output position for which the system has read the complete source. That convention gives the metric an appealing interpretation for fixed schedules. An equal-length translation made with an initial wait of a given size receives that size as its lag under the standard alternating policy. The same convention ties the membership of the average to a decision made by the system being evaluated. The authors investigate the consequence of using one point in the read schedule to mark the end of the comparison.
The method, step by step
Record the translation schedule
The evaluator first records how many source tokens the system has consumed when it is about to write each target token. This gives a sequence of cumulative read counts indexed by output position. If the translator writes several tokens before requesting any more input, those positions have the same count. If it reads several tokens before writing again, the count jumps at the next output. For an ordinary full-sentence translation, the count is already the full source length at every output position.
In the paper’s notation, x is the source sequence and y is the target sequence. The bars in |x| and |y| mean sequence length. The index t identifies a target token, starting at 1 and continuing through |y|. The function g(t) gives the number of source tokens read before the system writes that target token. It describes the information available at the time of writing. The elapsed time assigned to the action is a further step in the calculation.
The paper uses wait-k as a familiar policy. It reads an initial prefix of k tokens, writes a target token, and alternates a read with a write until the source runs out. Its cumulative read count is capped at the source length.
g(t) = min(t + k − 1, |x|)
Here g(t) is the read count for target position t, k is the initial wait in source tokens, and |x| is the number of source tokens. The 1 makes the uncapped count equal to k at the first write. The function min selects the smaller of the alternating schedule’s count and the source length. Writes after the source is complete therefore keep the same count.
The read counts are also sufficient to reproduce the paper’s earlier metrics. Average Proportion pools the read counts over target positions and divides by the product of the sequence lengths.
AP = (1 / (|x| · |y|)) Σ from t = 1 to |y| of g(t)
AP is Average Proportion, |x| is the source length, and |y| is the target length. The centered dot multiplies the two lengths. The summation symbol Σ adds the read counts g(t) for target positions t starting at 1 and ending at |y|. Dividing by |x| expresses each count as a fraction of the source. Dividing by |y| averages those fractions over the target. The resulting scale runs from 0 to 1.
CW(t) = { g(t) − g(t − 1) if t > 1
{ g(t) if t = 1
CW(t) is Consecutive Wait at target position t. The braces indicate which expression applies at each position. At positions after 1, subtracting the preceding read count g(t − 1) from the current count g(t) gives the reads since the preceding write. The first output uses its own cumulative count because all reads recorded there took place before any output. AP and CW thus give distinct descriptions of the same trace. AP looks at how much of the source is already consumed, while CW points to where additional reads occur.
Establish the ideal pace
Average Lagging starts with the ratio of target length to source length.
γ = |y| / |x|
The letter γ, gamma, denotes the number of target tokens per source token implied by the sequence lengths. The bars mark the lengths of target sequence y and source sequence x. Its reciprocal expresses the corresponding amount of source time per target token. Using this reciprocal allows the comparison to treat a longer target as something the ideal translator would emit at a faster token rate.
At the first output position, the ideal translator has had no need to wait for source input. At each later position, its start time includes the intervals assigned to its preceding target tokens. The expression for the lag of an individual output under Average Lagging is the actual read count minus this ideal start time.
ℓ(t) = g(t) − (t − 1) / γ
Here ℓ(t) is the lag at target position t. The read count is g(t), and t − 1 counts the target positions before the current one. Dividing that count by γ converts it to time in source-token units at the ideal pace. At t = 1 the ideal term is 0, so the first lag records the initial read count directly. As the target position advances, the ideal term continues growing even if the actual read count stays flat.
The original measure averages these differences until the first target position reached with the entire source consumed.
τ = min { t such that g(t) = |x| }
The letter τ, tau, is the cutoff position. The braces specify the set of target positions t at which g(t) equals the full source length |x|. The minimum selects the earliest such position. This is the discrete search described by the paper’s argmin notation. A change to which write first follows the end of the input can change τ.
AL = (1 / τ) Σ from t = 1 to τ of [g(t) − (t − 1) / γ]
AL is Average Lagging. The summation adds the lag at positions t from 1 through τ, including the position that sets the cutoff. The brackets enclose the difference between the recorded read count g(t) and the ideal time (t − 1) / γ. Dividing by τ gives equal weight to every included position. Target positions beyond τ have no direct term in this average.
The authors examine the purpose of the cutoff by extending the average to the entire output and leaving the rest of the formula intact.
ALᵧ = (1 / |y|) Σ from t = 1 to |y| of [g(t) − (t − 1) / γ]
ALᵧ is the paper’s full-target version of Average Lagging with the original read counts. The subscript y refers to averaging across the target sequence. Its length |y| supplies both the last index and the denominator. The read count g(t), target position t and length ratio γ retain their meanings. For each write after source completion, g(t) stays at the full source length while the ideal start time advances. This version therefore gives a lower lag to each successive write in that part of the schedule.
The authors interpret the original cutoff as a response to that decline. Truncation keeps late writes with declining lag from entering the average. Before the cutoff, however, a burst of writes can still share an unchanged read count while the ideal advances. If delivery takes time, the reason for charging that time applies to every write. That observation leads the authors to alter the recorded timing before calculating the average.
Give every target token a duration
DAL assigns each target token a duration d, measured in source-token units. The timing calculation tracks the moment immediately before each write can begin. For the first write, there is no previous target token to finish, so the start time is the corresponding read count. Later writes have to satisfy two conditions. The requested source prefix must be available, and the previous target token must have finished its assigned duration.
How Differentiable Average Lagging scores a schedule
The steps in order.
g′₍d₎(t) = { g(t) if t = 1
{ max[g(t), g′₍d₎(t − 1) + d] if t > 1
The function g′₍d₎(t) is the adjusted start time of target token t when a write lasts d. The prime distinguishes the adjusted time from the original count g(t). The braces separate the first position from the recurring calculation. For later t, g′₍d₎(t − 1) is the previous start time, and adding d gives the previous finish time. The function max takes the later of that finish time and the time needed for the current read count. The 1 identifies the first target position and the preceding position in the corresponding parts of the rule.
The maximum is important for understanding how the clocks interact. The calculation allows source tokens to arrive while the system is delivering output. Suppose the preceding target token takes long enough that the next requested source prefix has become available by the time it finishes. The next output then starts at that finish time. If the requested input arrives later, the output must wait until the source reaches that point. Adding the read count to the previous finish time would charge for source time that has already passed.
This rule accounts for output serialization. Giving several target tokens the same read count still allows them to use the same source prefix. Their adjusted start times advance because each target token occupies its own interval. Equally, a system can choose to request an already available token later in its action sequence without changing the time when its output can start. The recurrence sets dates for writes from the source requirements and the preceding output. It leaves the precise instant of an individual read unspecified.
For the comparison schedule, the authors imagine a translator that already knows every target token. It has no reason to read the source. Under the same recurring calculation, its first output can begin at time 0, with later outputs spaced by d.
g′₍d₎(t) = (t − 1)d when g(t) = 0 for every t
On this ideal schedule, g′₍d₎(t) denotes the start time of target token t and g(t) is the number of source tokens needed at that position. The value 0 means the ideal makes no reads. The t − 1 target tokens preceding position t each take duration d, giving the product (t − 1)d. This ideal is a timing reference. It supplies the earliest possible sequence of starts under the assumed duration.
DAL₍d₎ = (1 / |y|) Σ from t = 1 to |y| of [g′₍d₎(t) − (t − 1)d]
DAL₍d₎ is Differentiable Average Lagging for target duration d. The summation adds the actual-minus-ideal start-time gap over every target position t, from 1 through the target length |y|. The adjusted actual time is g′₍d₎(t), and the ideal time is (t − 1)d. The denominator |y| turns those gaps into an average. The result is expressed in source-token time units.
Choose how long a write takes
The duration can be specified for an application. The paper recommends setting it separately for each sequence pair by taking the reciprocal of gamma.
d = 1 / γ = |x| / |y|
Here d is the duration assigned to a target token, γ is the target-to-source length ratio, and |x| and |y| are the lengths of the source and target sequences. The first equality expresses d as the reciprocal of the length ratio. The second writes the same value directly as source length divided by target length.
This choice preserves the ideal timing term from Average Lagging. It also makes the ideal translator finish delivering the target sentence at the end of the source stream. The finish time includes the duration of the final target token, whereas the last term in the score uses that token’s start time. With a longer target sequence, the assigned duration is less than 1 source unit. Several target writes can then fit within the time allowed by the corresponding source arrivals. The policy can keep pace with a longer target without allowing any of its writes to have zero duration.
DAL = (1 / |y|) Σ from t = 1 to |y| of [g′(t) − (t − 1) / γ]
DAL is the measure using the recommended duration. The notation g′(t) abbreviates g′₍d₎(t) evaluated at d equal to 1 / γ. The target length |y| determines the positions covered by the sum and the denominator of the average. At each index t, the adjusted start is compared with the ideal start (t − 1) / γ. The timing reference is shared with AL. DAL uses the adjusted start times and includes all target positions in the average.
This change also removes the dependence of the averaging range on an earliest-position search. In the original score, the first index with a complete source determines how many terms are present. In DAL, the target length fixes that range and changes to the timing values work through addition, the maximum and averaging. The paper describes the recurring calculation as suitable for computation graphs using techniques similar to those for recurrent computations. At a strict maximum, the active input supplies the local derivative. Equal arguments can give a corner in the maximum, as discussed in the limits of the training claim below.
See which earlier waits still matter
The recurring rule carries delay forward from one write to the next. The paper gives an equivalent expression that makes this history visible by comparing the current read requirement with all earlier ones.
g′₍d₎(t) = (t − 1)d + max over 1 ≤ i ≤ t of [g(i) − (i − 1)d]
Here g′₍d₎(t) is the adjusted start time at target position t, and d is the assigned write duration. The index i ranges from the first target position, 1, through the current position t. At each i, g(i) is the read count and (i − 1)d is the ideal start time. The bracketed expression measures how far the read requirement at position i exceeds that ideal start. The maximum selects the largest such difference through t, and the first term adds that difference to the ideal start at the current position.
The equivalence follows by induction. At the first position the maximum has only the first read count to consider and there is no ideal time to add. At a later position, carrying the previous adjusted time forward by d advances its ideal component by one write duration. The greatest earlier excess is still present in that carried-forward time. The other candidate in the recurrence is the current read count, which can be viewed as the current ideal time plus the excess at the current position. Choosing the later of the two times therefore adds the current position to the same search for the largest excess.
When this expression is used in DAL, the ideal term added to the adjusted start cancels the ideal term subtracted in the lag. That leaves the running maximum of the excess read requirements as the lag at each target position. The lag stays level until a read requirement pushes it higher. Since the first read count is at least 0, the adjusted starts are at least as late as the ideal starts and the average lag is at least 0.
The history in this expression explains why write bursts have different consequences under the two metrics. In AL, several writes with an unchanged read count can produce successively smaller differences from the ideal schedule. In DAL, those writes inherit the delay already incurred, and their start times advance at the pace of the ideal. A well-timed read may avoid adding to that delay if its input arrives while a preceding target token is being delivered. Earlier delay stays part of the estimate.
Use the measure in evaluation and training
For the constructed examples in the paper, the inputs to the calculation are sequence lengths and stipulated read-and-write policies. Those inputs specify the cumulative read counts. The evaluator can then compute AL from the trace and compute DAL by adjusting the start times at every target position. This procedure allows the authors to change the schedule while holding the lengths fixed, or to change their relative lengths while retaining the broad form of the reading policy.
The empirical comparison applies both measures to schedules generated on a translation test set. The fixed strategy varies its initial wait. The adaptive strategy is Monotonic Infinite Lookback Attention, or MILk, developed in a separate effort. Its training combines likelihood, which supplies the translation objective, with DAL, which supplies the latency objective. A tradeoff parameter allows the system to operate at different latency settings. The paper compares the resulting schedules with both metrics. Its description of the joint objective establishes how DAL was used, while the detailed training procedure for MILk belongs to the separate effort.
Experiments and results
Fixed schedules that explain the scores
The paper first uses example schedules whose timing behavior can be followed directly. Its review of Average Proportion gives a baseline for what can go wrong even when a metric is simple and bounded. For equal-length source and target sequences and a fixed wait-1 policy, AP is 0.75 when the sequence length is 2. As the sequence length goes to infinity, AP tends to 0.5 for that same policy. These are values for the constructed length comparison. The policy continues to follow its initial read with alternating output and input, while the proportion of the source consumed at each output changes with the length of the sentence.
An equal-length example then isolates the cutoff in Average Lagging. The source and target each contain 4 tokens. With the original read count and an average over the whole target, wait-1 scores 1 and wait-3 scores 2.25. For wait-3, once the source has been consumed, the last writes all inherit the same raw read count. Their ideal start times keep moving forward. This lowers the all-target average even though the policy incurred a wait of 3 before it began.
The original cutoff in AL gives the expected scores of 1 and 3 for these equal-length wait-1 and wait-3 schedules. DAL also gives 1 and 3, using the full target sequence in both cases. It obtains those values by spacing writes in the adjusted schedule. The wait-3 example consequently separates two ways of preserving the interpretation of an initial wait. AL stops once the input has been exhausted. DAL carries the initial delay into the remaining estimates of when output can be delivered.
The stronger example asks how much a policy can change its score by moving the final read. Both sequences contain 5 tokens. Standard wait-4 reads 4, writes 1, reads 1 and writes 4. The comparison schedule reads 4, writes 4, reads 1 and writes 1. The first write depends on the same amount of source in both schedules, and the last write follows consumption of the entire source. The paper identifies the middle target positions as the ones where the raw read counts differ.
Average Lagging on the constructed equal-length final-read example
Moving the last read later in the action sequence lowers the reported lag.
The numbers
| System or setting | Average Lagging in source-token units |
|---|---|
| Standard wait-4 | 4 |
| Delayed final read (this paper) | 2.2 |
The star identifies the lower AL score in this constructed comparison. Under DAL, both schedules score 4 and receive identical adjusted start times. The two systems begin their output after the same initial wait. With writing time included, the last source token is already available by the adjusted start of the next output. Reading it then, as the ordinary schedule does, fits into the time allowed by output delivery. The delayed-read schedule also needs that time to deliver its output, even though it has postponed the action that consumes the final input. The trace changes meaningfully as a record of which prefix each output used. Its estimated delivery timing stays the same under DAL.
When input and output have different lengths
Another example uses a source length of 3 and a target length of 6. Here γ is 2, and the recommended duration for a target token is 0.5 source units. The comparison begins with a wait-1 strategy that follows its usual pattern and a wait-1 strategy that catches up by writing 2 tokens per read. In the schedule without catch-up, the paper describes DAL as yielding a slightly higher average because it includes later target positions. The early schedule asks for more source time than the ideal translator’s faster target pace allows, and DAL carries the extra lag into the remaining output.
The catch-up schedule shows how a policy can use a higher target rate without getting credit for writes that take no time. Under AL, the even-indexed tokens in the example receive a lag of 0.5, producing an average of 0.8. The initial wait was 1 source token. DAL assigns a lag of 1 at all target positions, because the time allotted to each of the paired writes is 0.5 and the ideal translator follows the same pace. The strategy avoids building up more lag after the initial wait. Its extra outputs per read maintain that lag through the sentence.
The paper then reverses the length relationship. The source contains 6 tokens, the target contains 3, and γ is 1/2. It examines wait-1 without catch-up. Under the length-dependent duration, the ideal translator proceeds through its shorter output at a pace spread across the source. The actual schedule can call for a write before the ideal start implied by that pace. DAL spaces the outputs according to their assigned duration and preserves the delay from the initial read. AL can credit the schedule for getting ahead and gives a lag of 0 in this example.
Taken together, the unequal-length comparisons establish how the same duration rule behaves on either side of the length ratio. When the target is longer, sufficiently frequent writes prevent additional delay from accumulating. When the target is shorter, requesting writes faster than the assigned rate leaves the adjusted schedule constrained by the duration of its preceding output. The authors regard the resulting asymmetry as a choice with consequences for interpreting the metric.
Test-set comparison with an adaptive system
The empirical evaluation uses the WMT15 German-to-English test set. The authors compare the deterministic wait-k strategy with the adaptive MILk system. Each strategy is evaluated at a range of latency settings. The initial wait is the control for wait-k. MILk has a latency and quality tradeoff parameter and was trained with a joint objective combining likelihood and DAL. The comparison plots AL against DAL for both systems.
The reported relationship is predominantly linear. In broad terms, a setting with higher lag under one measure also has higher lag under the other, and DAL generally assigns somewhat higher values. This agreement matters because the proposed metric retains much of the same practical interpretation across a range of settings even after it changes how outputs are timed and averaged.
The relationship has a different slope for the adaptive and deterministic systems. AL gives comparatively lower lag to MILk, even though MILk was trained using DAL. This is a comparison between the measures on schedules from the two systems. The figure presents the measurements across settings, and the written findings characterize the pattern and the difference in slopes. The numeric scores in the constructed examples describe their stated schedules separately from the test-set observations.
The authors read the difference as a reason to be cautious about comparing adaptive and fixed policies with AL. An adaptive policy can vary the placement of reads and writes more freely than a fixed alternating strategy. The examples show a mechanism through which that flexibility can affect which positions AL averages and how much credit it gives to writes made in succession. The test-set comparison shows that the relation between the scores also varies with the policy in practice. It leaves the contribution of individual action patterns to that empirical difference unresolved.
What the ablations show
The paper offers no training-component ablation. Its controlled analyses change the averaging rule, the placement of a read, the relative lengths of the sequences or the emission pattern, and then compare what the metrics report. These examples can identify consequences of particular terms in a formula because the read-and-write traces are specified. The test-set comparison extends the question to traces produced by translation systems.
What happens when the cutoff is removed
The comparison with full-target AL changes the end of the sum and its denominator. It keeps the same read counts and ideal pace. The equal-length wait-1 and wait-3 examples make the difference in coverage visible. The longer initial wait in wait-3 brings source completion earlier relative to the number of target tokens still to write. Extending the average introduces a tail in which the read count is constant and the lag decreases. For wait-1, the expected score survives the full average in the example. The averaging change matters where the schedule leaves target output after source exhaustion.
That comparison explains why simply replacing the discrete stopping index with the target length is insufficient for the authors’ design goal. A calculation that averages every position with the old timing rules has a different interpretation of the remaining output. DAL retains all those positions after first changing their timing. Each additional term represents the start of a target token whose predecessor took time to deliver. The recovery of the expected initial wait under DAL depends on that adjustment.
What happens when the final read moves
The delayed-read case changes a single feature of the action order. The initial delay is held fixed, and the final read is moved past more writes. With AL, this affects both the position-wise read counts and the extent of the average. More writes happen while the source is incomplete, so they remain eligible for the average even as their raw read count stays fixed. The ideal schedule continues through those positions. The lower AL score comes from a schedule whose output begins after the same wait.
DAL supplies a precise condition for whether a changed read order will affect its timing estimate. The read count can influence a target start when the requested source prefix arrives later than the preceding target finish. In the example, target delivery already accounts for enough time to reach the final source token. Moving the read within this schedule leaves the adjusted start times unchanged. The equivalence is a consequence of the timing assumptions for this case. In schedules where the next write actually has to await input, the read-side term of the maximum can set a later start.
There is a distinction between this controlled example and the measurement on MILk. The example demonstrates exactly how the final-read convention can be exploited. The test-set comparison establishes a different relationship between the measures for the tested systems. The adaptive system’s lower relative AL readings are consistent with the concern raised by the example. The paper does not trace those aggregate readings back to deliberate postponement of final reads.
What happens when the output rate changes
The longer-target example holds the initial wait fixed while changing the subsequent output rate. With the ordinary alternating policy, the ideal’s target position advances faster in source time than the actual policy can sustain. The catch-up version writes more often to match what the length ratio calls for. DAL rewards that change by allowing the schedule to avoid additional lag after its initial wait. AL also responds to catch-up, and its convention lets some positions reduce the measured lag below the initial wait.
This comparison makes two effects distinguishable. The relative frequency of writes determines whether the system falls further behind a faster ideal. The duration of individual writes determines whether those same bursts can also erase some of the delay accumulated earlier. DAL allows the first effect through the shorter per-token duration in this example. It rules out the second effect by imposing the same duration on actual and ideal output.
With the shorter target, a fixed schedule may plan writes at a pace faster than the ideal implied by the actual sentence lengths. The examples show that DAL responds differently to an underestimate and an overestimate of the required target rate. A slow rate can cause new delay because the system reaches a write after its ideal start. A fast rate can run into the constraint set by the preceding write’s duration, leaving the existing delay in place. This is the same rule that preserves the lag in the delayed-read example, seen here when the relative sequence lengths are the reason the target schedules diverge.
What the test-set comparison controls
Scoring each system under both AL and DAL gives a direct comparison of the measures on its output schedules. Varying the latency setting makes the relationship visible over more than a single operating point. The different slopes show that a similar overall trend between scores can coexist with a difference that depends on the system. As a consequence, the choice of metric affects how delay is expressed across the tested strategies.
The two strategies differ in their policy and in how their latency is controlled. The comparison is an evaluation of these systems as configured. It does not hold architecture and training fixed while changing only adaptivity. The stronger causal evidence in the paper concerns the explicit traces and the algebra that scores them. The empirical result shows where that distinction between metrics matters when the input is a test set and the actions come from different translation systems.
Limitations
Limits the authors state
The paper defines a metric for intrinsic evaluation, where a written source is available without speaker timestamps. In this setting, source-token progress supplies the clock. The paper’s starting assumption is that opting to wait for more source is the main appreciable source of latency in these tests. DAL adds a consistent treatment of target duration within that framework. The resulting values are delays in source-token units for an assumed timeline.
The authors explicitly treat the duration of target output as an assumption. A screen can display a block of text at once from the audience’s perspective, which gives a rationale for the full-target AL calculation with instant writes. Spoken output takes time to deliver, and a person reading displayed text also takes time to go through it. The authors choose to represent target consumption or production through a per-token duration. The case for the metric therefore depends on which aspect of delivery an evaluator wants the score to represent.
The recommended duration introduces an asymmetry that the authors regard as potentially undesirable. Actual and ideal output advance at the same token pace once their write durations are imposed. A system that waits too long can build up more lag, while a system that schedules writes faster cannot pass the ideal and get credit for catching up after falling behind. The rule is internally symmetric in how it treats the two translators, but its consequences for early and late emissions differ.
A fixed policy may estimate a suitable emission rate from typical source and target lengths. Individual sequence pairs can then differ from that estimate in either direction. When the policy underestimates the rate needed on a pair, further delay is possible. When it overestimates the rate, the duration bound can stop the early writes from improving its DAL score. The authors discuss a fixed d as an alternative if this difference in treatment becomes important. Their recommended length ratio serves a particular design goal, synchronizing the ideal translator’s completion with the source for each pair.
Limits visible in the setup
The clock assumes that the source token count represents comparable units of elapsed time along a sentence. The target side similarly gives each token within a scored sequence the same duration. The procedure has no observations about which source units took longer to say or which target units took longer to speak or read. Two sessions with identical token sequences and identical read-and-write traces would receive the same intrinsic score even if their actual timing differed. An evaluation of experienced delay would need evidence about that timing.
The units used to represent the sequences also enter the estimate. Source counts determine the read trace, and the target length sets both the number of averaging positions and, under the recommendation, the ideal emission pace. A different representation of the same text can change those inputs to the metric. As a consequence of the formulas, comparisons depend on how tokens are defined for the systems and examples being scored. The paper’s reported comparison is tied to its evaluation setup.
The adjusted timeline collapses distinctions between schedules whenever both meet the same source availability and output duration constraints. That is intentional in the delayed-final-read example. It also means that a DAL tie permits the systems to commit to their words using different amounts of context. In the constructed example, the systems have different source prefixes available at some target positions. The latency calculation assigns delivery times from their traces and lengths. The quality of the words chosen with those prefixes is a separate question.
There is also a narrower mathematical qualification to the term differentiable. Replacing the search for τ with a maximum removes the discrete decision about the number of positions to average. A maximum of two inputs is differentiable where one input is strictly larger, and can have a corner when the inputs tie. The claim concerns a calculation usable for gradient-based optimization with appropriate training quantities and a convention at ties. The read counts of a realized discrete action trace still describe discrete choices. The paper gives an application in a joint training objective through MILk, while its latency formulas alone do not specify how every possible translation policy would expose those choices to optimization.
The empirical comparison covers the WMT15 German-to-English test split and the two evaluated strategies across their settings. The different slopes motivate the authors’ suggestion that AL may favor adaptive schedules more broadly. Here that suggestion is supported by the contrast between wait-k and MILk, plus the analytical example of a schedule that moves its final read. Further policy families, language pairs or elapsed-time evaluations would be needed to establish how broadly the observed relationship holds.
Finally, the empirical results discussed in the paper compare latency metrics. MILk’s training combines likelihood with a latency cost, but the comparison supplies no numeric quality result establishing the effect of choosing DAL as a training term. A lower score on a particular schedule means a lower delay under that metric’s assumptions. The quality and timing tradeoff that motivated simultaneous translation still has to be judged using evidence about both aspects of the output.
What came after
Using latency as a training objective
The most direct connection is the companion work on Monotonic Infinite Lookback Attention. The latency paper describes it as a separate effort that uses DAL alongside likelihood in training an adaptive translator. A tradeoff parameter changes how strongly the system favors latency in relation to its translation objective. The connection is concrete because the latency formulation supplies a quantity the adaptive system can optimize, and the adaptive system in turn supplies output schedules on which the authors compare DAL and AL.
This is also a useful distinction between using a metric for training and using it for evaluation. During training, DAL is a term in the objective for the adaptive policy. In the test-set study, both metrics are applied after the policies have produced their schedules. The experiment shows how the resulting view of relative delay depends on the metric. It does not require wait-k to use the same training procedure as MILk, because the comparison is made from the actions each system produces.
From individual comparisons to shared evaluation
SimulEval cites the work in the context of an evaluation toolkit for simultaneous translation. The subject of the toolkit is the practical counterpart of the paper’s distinction between an action trace and the rule used to score it. An evaluation setup for simultaneous translation has to represent progress through the input and the release of output. The paper supplies one account of how such a schedule can be converted into a latency value. The citation establishes a connection to the evaluation toolkit, without identifying specific scoring options or defaults.
SLTEV situates the citation in comprehensive evaluation of spoken language translation. That setting brings the paper’s question about delivery into focus. A written sequence can support a comparison based on token progress. Spoken translation also raises the question of which part of delivery the score is intended to represent. The latency paper makes the assumptions behind its answer explicit through the duration assigned to each target token. The connection to SLTEV concerns the wider evaluation problem. The citation alone leaves the precise treatment of DAL in that work unspecified.
The IWSLT 2020 evaluation campaign findings bring the citation into a shared evaluation setting. Where different systems are measured in a campaign, the delay definition determines the interpretation of their scores. The comparison in the latency paper illustrates a specific reason for caring about the definition. A fixed schedule and an adaptive schedule can have different relationships between their AL and DAL readings. A campaign citation connects that measurement question to common evaluation without establishing which rule was used for every reported result.
The IWSLT 2022 evaluation campaign findings provide a further connection to shared evaluation. The distinction the paper contributes to that context is between recording a system’s progress and specifying how its output unfolds in time. A common score makes comparisons possible only under the assumptions of that score. In DAL those assumptions include a shared output pace for the ideal and actual translator and an average over the entire target.
The IWSLT 2023 evaluation campaign findings also cite the paper. Together, the campaign citations show the work appearing in repeated accounts of shared evaluation. They establish that the paper was part of that discussion. They leave open which campaign tasks or comparisons, if any, use the specific adjusted timing rule developed here.
The speech-to-text setting
Fairseq S2T cites the paper from work on speech-to-text systems built with Fairseq. Speech as the source and text as the target put the timing assumptions on different sides of a translation. There can be a meaningful delivery schedule on the input side, while the output can appear on a screen and be read at a pace chosen by its audience. The paper’s argument identifies the choice an intrinsic evaluation makes when it assigns time to producing or consuming target text. The citation connects the paper to that broader speech-to-text setting. It does not establish that Fairseq S2T includes DAL in its training or scoring.
The documented use in MILk and the citations in toolkit, campaign and speech-to-text work trace different points of contact with the original problem. MILk shows the latency term used directly in training. The other works place the paper in settings where system schedules are produced or assessed. Across those settings, the question raised by the paper remains concrete. A record of how much input a system requests before each output is enough to describe its commitments. Turning that record into a delay score requires deciding when the output can be delivered and which positions count toward the comparison.
Cite
Cite as Colin Cherry and George Foster. 2019. Thinking Slow about Latency Evaluation for Simultaneous Machine Translation. arXiv:1906.00048.
@misc{cherry2019thinking,
title = {{Thinking Slow about Latency Evaluation for Simultaneous Machine Translation}},
author = {Colin Cherry and George Foster},
year = {2019},
doi = {10.48550/arxiv.1906.00048},
eprint = {1906.00048},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1906.00048}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cherry-2019-thinking-slow-about-latency-evaluation/
References
- Ashkan Alinejad, Maryam Siahbani, and Anoop Sarkar. 2018. Prediction improves simultaneous neural machine translation (http://aclweb.org/anthology/D18-1337). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3022–3027. Association for Computational Linguistics. our card
- Naveen Arivazhagan, Colin Cherry, Wolfgang Macherey, Chung-Cheng Chiu, Semih Yavuz, Ruoming Pang, Wei Li, and Colin Raffel. 2019. Monotonic infinite lookback attention for simultaneous machine translation. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL). (to appear). our card
- Srinivas Bangalore, Vivek Kumar Rangarajan Sridhar, Prakash Kolan, Ladan Golipour, and Aura Jimenez. 2012. Real-time incremental speech-to-speech translation of dialogs (http://aclweb.org/anthology/N12-1048). In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 437–445. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kyunghyun Cho and Masha Esipova. 2016. Can neural machine translation do simultaneous translation? (http://arxiv.org/abs/1606.02012) CoRR, abs/1606.02012. OpenAlex ↗ · Scholar ↗
- Alvin Grissom II, He He, Jordan Boyd-Graber, John Morgan, and Hal Daumé III. 2014. Don't until the final verb wait: Reinforcement learning for simultaneous machine translation (https://doi.org/10.3115/v1/D14-1140). In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1342–1352. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Jiatao Gu, Graham Neubig, Kyunghyun Cho, and Victor O.K. Li. 2017. Learning to translate in real-time with neural machine translation (http://aclweb.org/anthology/E17-1099). In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers, pages 1053–1062. Association for Computational Linguistics. our card
- Mingbo Ma, Liang Huang, Hao Xiong, Kaibo Liu, Chuanqiang Zhang, Zhongjun He, Hairong Liu, Xing Li, and Haifeng Wang. 2018. STACL: simultaneous translation with integrated anticipation and controllable latency (http://arxiv.org/abs/1810.08398). CoRR, abs/1810.08398. OpenAlex ↗ · Scholar ↗
- Yusuke Oda, Graham Neubig, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2014. Optimizing segmentation strategies for simultaneous speech translation (https://doi.org/10.3115/v1/P14-2090). In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 551–556. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Vivek Kumar Rangarajan Sridhar, John Chen, Srinivas Bangalore, Andrej Ljolje, and Rathinavelu Chengalvarayan. 2013. Segmentation strategies for streaming speech translation (http://aclweb.org/anthology/N13-1023). In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 230–238. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗