---
title: "Don't Discard Fixed-Window Audio Segmentation in"
description: "Amrhein and Haddow test when overlapping fixed audio windows can match learned segmentation in speech translation, tracking quality…"
canonical: "https://research.elamur.ai/free/en/papers/amrhein-2022-don-t-discard-fixed-window/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/amrhein-2022-don-t-discard-fixed-window/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Don't Discard Fixed-Window Audio Segmentation in Speech-to-Text Translation

# Don't Discard Fixed-Window Audio Segmentation in Speech-to-Text Translation

Paper · 2022 · Chantal Amrhein and Barry Haddow

**Authors:** [Chantal Amrhein](https://md.research.elamur.ai/free/en/authors/chantal-amrhein/) and [Barry Haddow](https://md.research.elamur.ai/free/en/authors/barry-haddow/) · **Year:** 2022 · **Venue:** Proceedings of the Seventh Conference on Machine Translation (WMT) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the Seventh Conference on Machine Translation (WMT) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2022.wmt-1.13/)
- [PDF](https://aclanthology.org/2022.wmt-1.13.pdf)
- [DOI 10.18653/v1/2022.wmt-1.13](https://doi.org/10.18653/v1/2022.wmt-1.13)

## Summary

A speech translator working on a live talk has to decide how much audio to translate at a time. A cut at a convenient point on the clock can interrupt a sentence. A pause can also occur before the speaker has finished a thought. Research benchmarks frequently supply human-marked boundaries, but those boundaries are unavailable when the system has to process a talk as it arrives. Chantal Amrhein and Barry Haddow ask how well a translator can work with automatic cuts, and whether it can learn to handle simple clock-based windows well enough to compete with a dedicated boundary detector. The question matters especially when the audience sees a translation while the speaker is still talking. [Speech and spoken language](https://md.research.elamur.ai/free/en/topics/speech/)

The study crosses several ways of cutting the audio with several ways of preparing the translator for those cuts. The strongest window-based combination uses overlapping windows and a translator that has practised on longer stretches of speech, including stretches that end partway through an utterance. As each new window is translated, the system looks for a passage shared by its fresh translation and the text already on screen. It keeps the earlier text before that passage and takes the continuation from the fresh translation. The overlapping audio gives speech near a cut another chance to be translated with more context, while the shared text gives the system a place to join successive outputs. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/)

On the five TED-talk translation directions studied, the context-trained translator with overlapping windows exceeds SHAS, the learned segmenter, in three directions by BLEU, a measure of overlap with reference translations. In Spanish-to-English, it scores 42.0 BLEU on the iwslt2021 test set, compared with 40.7 for SHAS and 41.1 for human-marked segments with the same translator. In Italian-to-English it also exceeds the human-marked results. The results depend on how the windows are used. Independent fixed windows generally fare worse, and training on randomly cut windows gives less reliable results for merging than training on extensions and unfinished endings. [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/)

The authors also measure flicker, the revision of text already shown to a reader, and delay, how long the translation takes to become available in stable form. Overlapping windows usually fare better on these measures than independent windows without a decoding procedure that discourages revisions. SHAS and human-marked segmentation can use that procedure more readily because successive translations within a segment share a starting point. The paper also corrects a timing error that could make long segments look artificially fast when words recur. Its quality results concern the completed translation, while its stability and timing results describe the experience of receiving successive updates in a simulated stream.

## Deep dive: Don't Discard Fixed-Window Audio Segmentation in Speech-to-Text Translation

Amrhein and Haddow test when overlapping fixed audio windows can match learned segmentation in speech translation, tracking quality, flicker and delay. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A talk arrives before its boundaries are known

Consider reading translated captions while someone gives a talk. The system may receive clean audio from an identified recording, yet still have no indication of where one manageable translation unit ends and the next begins. A human preparing a transcript can use the rest of the sentence, or even the next sentence, to decide where an earlier piece belongs. An online translator works with the speech it has received so far. When it chooses to display text, the next words that would resolve an ambiguity may still be in the future.

The distinction between offline and online translation changes the job a boundary has to do. An offline system can inspect the recording before delivering the translation. It still needs manageable inputs, and the way it cuts the recording can influence the resulting text. An online system also has to decide what the audience can see before the current stretch of speech is finished. A boundary affects what the translator hears together, when it closes off part of the output, and how much visible text can still be rewritten. A segmentation suitable for producing a finished document may lead to a different reading experience when it is used to generate updates during a talk.

Automatic speech recognition and translation place different demands on a cut. A recognizer aims to recover the words spoken in the source language. A translator must also decide how those words fit together and express the resulting meaning in a different language. Audio containing the end of an utterance may be recognizable even when its intended interpretation depends on the beginning. Translating the pieces separately gives the system fewer clues for handling such dependencies. The authors describe the objective as finding spans that can be translated together coherently. [Machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/)

A system that first recognizes speech and then translates text has an intermediate representation where it can address this problem. A component can add punctuation and divide the recognized text before passing it on. An end-to-end speech translator takes the audio as the translation input, so there is no intervening transcript on which to perform that operation. A segmentation decision made before translation therefore determines the piece of audio the translator receives. If each piece is handled independently, words just across the cut fall outside the current input.

#### Why the usual benchmark made the problem easy to miss

The paper describes a research tradition in which the training and test data were frequently divided into human-annotated, roughly sentence-sized segments. The authors call these gold segments. Their boundaries are convenient because a training clip already has an associated target translation, and test performance can be assessed without first deciding how to split a full recording. They also establish a particular expectation about the input. A translator repeatedly given complete stretches of speech has little reason during training to practise handling the abrupt edges that a clock-based window can produce.

This difference between training and test inputs has several forms. An automatic segment can end before an utterance is complete, start after part of it has already been spoken, or contain several utterances. The first case calls for interpreting an unfinished thought. The second can remove information the speaker has already supplied. The third calls for producing a coherent translation over a span larger than the sentence-like units seen during training. The paper's methods address these cases in different ways, which is why it matters to specify which kind of artificial input each training recipe creates.

The IWSLT evaluation campaigns gave the authors a practical reason to examine the mismatch. The offline speech translation task had moved away from supplying gold-segmented test audio, encouraging participants to process full recordings. In the simultaneous task, the paper describes recent campaigns as concentrating more on tests with gold boundaries. That left room for a comparison in which online systems faced the task of finding or working around the cuts themselves. The paper treats segmentation as part of the conditions an end-to-end system must handle. [Findings of the IWSLT 2022 Evaluation Campaign](https://md.research.elamur.ai/free/en/papers/anastasopoulos-2022-findings-iwslt-2022-evaluation-campaign/)

#### Two ways to make artificial cuts less disruptive

One line of earlier work sought better boundaries. Voice activity detection can locate stretches with speech and help identify possible breaks. Those breaks are acoustic evidence. A pause can occur inside a thought, and a speaker can move between thoughts with little silence. The paper also describes approaches that combine voice activity with length constraints to avoid excessively short or long inputs. SHAS takes a more direct approach to the benchmark's definition of a useful cut. It learns to predict boundaries resembling the human annotations, then uses those predictions to choose segments. Its speech representation is initialized from an earlier system. [wav2vec 2.0](https://md.research.elamur.ai/free/en/papers/baevski-2020-wav2vec-2-0-framework-self/)

Another line sought to make the translator more tolerant of the input it received. The paper cites work on giving end-to-end translators additional context and on training with truncated examples. A longer example can teach the translator to work across an annotated boundary. An artificially shortened example can expose it to speech that stops partway through a sentence. Creating such examples also raises a supervision problem. If an audio clip is shortened, the target text has to be shortened somewhere too, and the corresponding point is rarely given by the original annotation. Earlier work discussed in the paper suggested that some mismatch between source audio and target text could be tolerated.

Researchers had also tried combining a stronger segmenter with continued training on artificial cuts. The paper describes prior findings that depended on which segmenter was used. Adapting the translator narrowed the gap to manual segmentation in a study with a hybrid segmenter. The same general idea produced no improvement when another study used SHAS. That history makes the pairing the object of the experiment. A cut that causes trouble for a translator accustomed to complete sentences may be manageable after training on longer and incomplete spans. Conversely, extra adaptation can offer little when a segmenter already supplies inputs resembling the original training material.

The authors focus on fixed windows because their boundaries can be determined from elapsed time alone. Earlier speech translation work had mostly favoured cuts based on acoustic or linguistic evidence. The simple alternative has a clear operational attraction for a stream, since choosing a window boundary requires no separate boundary detector. Its linguistic drawback is equally clear. The clock can divide an utterance anywhere. Amrhein and Haddow examine whether overlap can compensate for those arbitrary edges and whether the translator's training determines how much compensation is possible.

#### Revising an answer as speech continues

The study uses retranslation, an online procedure in which the system translates the current audio again as more becomes available. An early translation can be useful before the speaker finishes. Later audio can clarify a phrase and lead to a replacement. In a retranslation system, the reader may see that replacement directly. A visible revision of previous output is called flicker. Appending new words is a different event from replacing words a reader has already begun to process.

This setup makes the study's questions inseparable from the way output is delivered. A system that publishes a rough rendering early may give the reader a quick first impression while requiring substantial rereading. A system that holds back more text may give steadier captions after a longer wait. Evaluating the completed translation captures the destination of that process. To understand the path the reader takes to it, the paper also tracks changes to the visible text and the timing of the eventual words.

### The method, step by step

#### Preparing translators for different kinds of cut

The authors start from released speech-and-text translation checkpoints. A checkpoint contains the learned parameters from a previous training run. Continuing from it lets the study vary the additional training examples while retaining the starting system. An English-to-German checkpoint serves that direction. A multilingual checkpoint serves the directions from Spanish, French, Italian and Portuguese into English. Both starting systems were trained with full, largely sentence-sized audio segments. The paper calls them the original systems and compares them with variants prepared by continued training. The English-to-German checkpoint comes from earlier work on joint speech and text training. [Improving Speech Translation by Understanding and Learning from the Auxiliary Text Translation Task](https://md.research.elamur.ai/free/en/papers/tang-2021-improving-speech-translation-understanding-learning/)

The three training variants differ in where they place artificial boundaries. The prefix variant keeps the original beginning and practises with a cut before the original end. The context variant extends the span backwards using earlier segments and also practises with incomplete endings. The windows variant can cut at either edge of an utterance. These distinctions matter because there is a tradeoff between reproducing the shapes of test inputs and retaining trustworthy supervision. The original annotations say which translation belongs to a complete audio segment. They provide less information about the text corresponding to an arbitrary slice of that segment.

Prefix training uses a 50-50 mix of original segments and synthetic prefixes. To make a prefix, the authors randomly sample a shorter audio duration and retain speech from the original start to the new endpoint. They then take a corresponding fraction from the beginning of the target translation, using the retained share of the audio duration as a guide. The procedure approximates alignment from length. It can provide an example of what is plausibly supported by the available speech, even though a fraction of the elapsed audio need not correspond exactly to the same fraction of the translated words.

This variant targets a recurring condition in retranslation. Between updates, the current cut is simply the point the speaker has reached. The latest input might stop before a phrase gets its conclusion. Seeing incomplete spans during training gives the translator practice producing an output under those conditions. The unchanged examples preserve exposure to complete segments. Since the prefix always begins where the original clip began, the training procedure changes one edge at a time.

For context training, the authors build a collection of intact or extended examples. Half the time, they use the original segment on its own, while the other half is split evenly between adding the immediately preceding segment and adding both of the two preceding segments before it. Each resulting example also yields an incomplete version by truncating its last component. The resulting material includes examples where the translator has to carry several complete pieces of speech in the same input and examples where that larger span ends with an unfinished piece. The synthetic examples stay inside the original talk.

In this recipe, context refers to speech included in the same translation input. The earlier utterances are part of the span the translator is asked to process. The beginning of an extended example remains an annotated boundary, so the intact material before the final truncation has an available target translation. The training recipe can teach the translator to handle several utterances and an abrupt ending without asking it to learn from artificial beginnings that are assigned target words by a length estimate.

The windows variant makes the most direct attempt to reproduce arbitrary cuts. Original segments make up one half of the mix, and windows with randomly drawn durations make up the other half. Starting at the beginning of a talk, the authors sample a window, use its endpoint as the next start, and repeat until the talk ends. Each duration is drawn from a uniform distribution spanning 10 to 30 seconds. A window can include the end of one annotated segment, any complete segments in between, and the start of a later segment. The corresponding target text is recovered from the time-aligned annotations, using length ratios wherever a cut falls inside an original segment.

Those ratios do more work for the windows variant. At an internal left edge, they estimate which words to discard from the beginning of an existing target. At an internal right edge, they estimate which words to keep before the end. Speech rate and the ordering of material in translation can undermine such an approximation. The authors consider this training material the least well aligned of the variants. The experiment thus tests the full recipe, including both its exposure to arbitrary cuts and the quality of the targets it can obtain for them.

Continued training runs for an additional 20k steps from each original checkpoint, using the original configuration. When more than one checkpoint is saved, the authors average the last two. In English-to-German, the inputs for continued training include audio and phoneme sequences derived from the corresponding transcripts. Phonemes represent speech sounds. The authors use no additional parallel text during that stage. For the multilingual checkpoint, continued training uses audio for the selected directions and no phoneme sequences. The validation set includes gold segments, and training reaches its step limit before early stopping can occur. The authors report using a single NVIDIA Tesla V100 GPU for continued training and translation.

#### Cutting and translating the incoming audio

At test time, the study compares human annotations, SHAS, independent windows and overlapping windows. The gold condition uses the boundaries distributed with the corpora. It is an oracle in the sense that it gives the translator boundary information that would ordinarily be unavailable in a live stream. Its function is to show how the same checkpoints behave with human-defined input units. The score with those units is an empirical point of comparison, so other ways of grouping the audio can exceed it.

SHAS assigns probabilities to potential segmentation boundaries. The study uses its pSTREAM procedure to turn the probabilities into cuts for the online simulation, with a maximum segment length of 18 seconds. The authors choose that limit based on the settings reported by SHAS's developers. This baseline tests what can be achieved by adding a boundary predictor trained to resemble the human annotations. Its segmentation depends on the audio rather than simply on elapsed time.

The independent fixed condition uses windows of 26 seconds and treats them as separate translation units. The authors take that duration from earlier segmentation experiments. The cuts do not shift in response to speech. Successive updates within an open window can see more of that window, while the next window begins a new span. An utterance crossing the final cut can therefore be divided into pieces that will be translated separately.

The merged condition uses windows of 15 seconds and moves the window ahead with a stride of 2 seconds. The stride is the interval by which the starting point moves between successive windows. Most of the speech available in one complete window is still present in the next. A passage that was at an edge of the earlier window can appear with more surrounding speech in a later one. The translator supplies a new rendering of the active window, and the merging procedure uses that text to update the growing translation of the talk.

The retranslation schedule uses updates every 2 seconds, matching the stride of the merged condition. In a segmentation with a fixed start for the current unit, an update processes the audio from that start through the latest available point. The final update has the complete unit. In the sliding condition, the window advances and the fresh rendering has to be reconciled with the words that have already accumulated. The text join, instead of a detected sentence boundary, determines which part of the displayed translation survives the update.

Translating a talk with overlapping audio windows The steps in order.

#### Joining the translations where they agree

The merging algorithm comes from earlier work on a cascaded speech translation system. It operates on target-language text, so the authors can reuse it without first running speech recognition to obtain a transcript. Its inputs are the translation accumulated through the previous update and the freshly generated translation of the current window. The shared audio gives the inputs an opportunity to contain some of the same translation, even though their starting points and their available context differ.

The procedure searches for the longest common substring, abbreviated LCS. In the main description, the match is a contiguous run of text found in both translations. It supplies a place where the system can join material from the old and the new outputs. The update preserves the previous translation before the match, includes the match itself, and then follows the fresh translation after the match. The old continuation after that point can be replaced. The fresh material before the match is discarded because the accumulated output already covers the corresponding region. If several matches share the maximum length, the authors use the last-occurring one.

A short match can be a poor basis for stitching together two passages. The same sequence of common words may occur in unrelated places, and the best available match may still carry little evidence of correspondence. The authors therefore set a minimum length for accepting a match without another attempt. That minimum scales with the length of the fresh translation.

```
threshold = |Tᵗ| × τ
```

Here `threshold` is the required match length for accepting the current attempt. `Tᵗ` is the translation of the active window at update `t`, where the superscript `t` identifies the current update. The vertical bars give the length of that translation. `×` indicates multiplication, `τ` is the fraction of that length required for a match, and `=` equates the threshold with the resulting product. The authors set `τ` to 0.4, adopting the setting that had performed best in the earlier cascaded setup.

When the best match falls below the threshold, the procedure moves the left edge backwards by 0.1 seconds and translates again. It keeps the latest audio available at that update and adds a little earlier speech, giving the translator another chance to produce text that agrees with the accumulated output. It can make up to three backtracks. The system merges as soon as a match reaches the threshold, or proceeds with the join once that retry budget is exhausted. The threshold is therefore a condition for retrying, with a bound on how many times the system attempts to improve the match.

This joining rule also shapes which revisions the reader can see. Text before the selected match comes directly from the accumulated translation. The procedure can revise the text after the match by taking a new continuation, but the update leaves the earlier prefix intact. A join further to the right preserves more of the previous display. A join further to the left allows a broader replacement. A later experiment exploits this distinction by changing how the join is chosen.

#### Making quality, flicker and delay comparable

The input recordings arrive separated by talk, and the authors evaluate at that same level with SLTev. For translation quality, however, the tools still need a way to compare output from different systems with the reference segments. SLTev uses an automatic resegmentation procedure that splits the finished translation and aligns it to the reference to minimize word error rate. Word error rate measures the edits needed to bring the candidate words into agreement with the reference. In this step it is an alignment criterion. The main quality metric reported for the resulting text is BLEU. [Evaluating Machine Translation Output with Automatic Sentence Segmentation](https://md.research.elamur.ai/free/en/papers/matusov-2005-evaluating-machine-translation-output-automatic/)

This procedure gives the experiment a common comparison unit even when one system produces longer chunks than another. It can put an output word on the wrong side of an evaluation boundary. The study consequently depends on how much these placement errors affect the metric and whether they occur similarly across the conditions being compared. A later manual check examines that issue for BLEU and for COMET, an additional translation quality metric used in the appendix. [COMET](https://md.research.elamur.ai/free/en/papers/rei-2020-comet-neural-framework-mt-evaluation/)

For flicker, the authors use SLTev's document-level measure. The toolkit also offers a segment-level average, but an average over windows of one duration and an average over human-marked sentences would give different weight to different parts of the talk. The document measure follows revisions to the growing translation without using those segment divisions as the units of the average. This makes it possible to compare a system that retires individual segments with one that continually joins new window translations to a single growing output.

The original delay calculation in SLTev posed a more direct comparability problem. It could assign every occurrence of a token the timestamp of the first appearance of that token type. A token is a unit of the output, such as a word or punctuation mark in the paper's example. A type identifies its form, while an occurrence identifies its particular place in the output. If the same word occurs again later in a long segment, attaching the time of the earlier instance to the later one can make the later word appear available before the system generated it. The risk rises when the units being evaluated are long and repeated forms accumulate. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/)

The paper illustrates the problem with successive renderings in which the word *horror* and commas recur. Under the original assignment, repetitions inherit 14.18, the time of the first instance of those forms. In the revised assignment, the first *horror* and comma retain 14.18, while the later repetitions receive 16.18. The opening token has its own timestamp of 13.18. A word in the middle of the partial output also changes before the last update. The example shows why remembering separate occurrences is only part of the correction. The procedure must also determine when a token can be treated as part of the finished sequence.

The revised calculation tracks instances separately and assigns a token's time when its preceding context has stabilized. A word that appears early after an unstable prefix can consequently receive a later timestamp. The metric reflects when a reader can reach that word in the settled translation. It also links measured delay to flicker. A decoding intervention that stabilizes the prefix can improve the delay score even when the rhythm of audio updates stays the same. The correction removes the artificial advantage from reusing a token type's first timestamp while retaining the effects of genuine differences in when stable text becomes available.

#### Controlling which revisions reach the reader

The study tests beam search with bias under three conditions: gold, SHAS, and independent fixed. Beam search keeps promising partial translations during decoding. The biased version gives extra preference to the corresponding token from the previous output when choosing the current one. The paper uses the preceding translation as the preferred prefix, a beta parameter of 0.25, and excludes the final 5 tokens of that prefix from the bias. This leaves the recent end more open to revision while encouraging stability earlier in the displayed translation.

That positional preference fits retranslations that share an audio start. The next output for a sliding window begins from a different point in the talk, and its corresponding translated material can occur at very different positions in the text. The paper therefore evaluates merged windows without direct application of biased beam search. The comparisons with unbiased decoding across segmentations answer one question. Comparisons with the strongest stabilized versions of the other segmentations answer a different one about what each complete setup can deliver.

The authors also consider withholding a suffix from the display. An output mask removes a specified number of tokens from the right end of a partial translation. An output mask of 0 exposes the whole partial output. A larger mask gives recent words time to stabilize before the audience sees them. The camera-ready settings for the main flicker comparison use no output masking, while the appendix varies the mask to measure what happens when the display is held back. The output mask acts on visibility, whereas the mask used with biased beam search acts on which tokens receive a decoding preference.

### Experiments and results

#### Recordings, test splits and comparisons

The tests use TED talks as streams, with known talk boundaries. English-to-German comes from version 1.0 of MuST-C and is evaluated on tst-COMMON. The authors report 2,043 training talks and 229,703 training segments for that direction. MuST-C supplies audio with human transcriptions and translations. The condition simulating live input uses the recording without giving the automatic methods its human segment boundaries. The annotations remain available for training, for the gold condition and as references for evaluation. [MuST-C](https://md.research.elamur.ai/free/en/papers/gangi-2019-must-c-multilingual-speech-translation/)

The four directions into English use mTEDx, which likewise pairs TED talk recordings with human transcriptions and translations. The selected directions together contain 1,128 training talks and 121,865 training segments for the multilingual system. The test set is iwslt2021. The Spanish-to-English test portion has 15 talks and 996 segments. The French-to-English portion has 11 talks and 1,041 segments. Italian-to-English has 11 talks and 979 segments, and Portuguese-to-English has 11 talks and 1,022 segments. These segment counts describe the annotated test material. The automatic segmentation conditions still determine how much audio the translator receives per input.

The core comparison crosses the original checkpoint and each continued-training variant with each way of segmenting the audio. Gold segmentation is the reference condition with privileged boundary information. SHAS is the main learned automatic baseline. Independent windows establish what a simple clock-based cut achieves by itself. Overlapping windows add the text join and use a shorter window. Comparing segmentations with the checkpoint held fixed shows how handling the same talks differently changes the output. Comparing checkpoints under the same segmentation shows what the additional training gives that segmentation.

The three outcome measures refer to different parts of the run. BLEU is measured on the completed translations after resegmentation and alignment. Flicker tracks changes to the text visible in successive partial translations, and delay tracks the availability of stable output. For the quality comparison, the relevant output is the last translation of the complete audio unit or the completed product of the window joins. The authors explain that the same complete-window translations give the corresponding offline quality. This connection leaves the interim reading experience to the other metrics.

#### The comparison changes after context training

With the original checkpoints, human-marked segmentation has higher BLEU than the automatic alternatives across the reported directions. Among automatic methods, SHAS leads in the results for the directions into English. The English-to-German table has a close exception to the authors' broad description of the original-system ranking. Merged windows score 24.8 BLEU on tst-COMMON, while SHAS scores 24.5 and independent fixed windows score 22.4. The gold result for that checkpoint is 25.4. The broad result is that a learned cut is a strong choice for a translator trained on intact segments, and independent windows present the clearest challenge for those starting checkpoints.

The Spanish-to-English results show how much the choice of training matters for clock-based input. On iwslt2021, the original checkpoint scores 35.0 BLEU with independent windows and 38.9 with merged windows. With context training, independent windows score 39.6 and merged windows score 42.0. SHAS changes from 40.2 with the original checkpoint to 40.7 with context training. In the context-trained row of comparisons, the merged result also exceeds the gold-segment score of 41.1. The ordering within that set of runs shows what becomes possible when both training and inference accommodate longer spans.

Final BLEU by segmentation with context training on Spanish-to-English iwslt2021 Merged windows give the highest score with the context-trained translator.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Gold | 41.1 |
| SHAS | 40.7 |
| Independent fixed windows | 39.6 |
| Merged overlapping windows (this paper) | 42.0 |

English-to-German also favours the context-trained merged setup over the other automatic segmentations. On tst-COMMON, it scores 25.3 BLEU, compared with 24.9 for SHAS and 23.6 for independent windows under the same training. The matched gold result is 25.2. Gold segmentation reaches 25.5 with other checkpoints, so the scope of the comparison matters here. The automatic result edges ahead of human boundaries for the context-trained translator, while the best gold run in that direction remains slightly higher.

Italian-to-English is a case where strong automatic segmentation and training both help. On iwslt2021, SHAS scores 26.4 BLEU with the original checkpoint and 28.7 with the context-trained checkpoint. With random-window training, SHAS reaches 29.0. Merged windows attain 29.2 with context training, compared with 28.8 for the same checkpoint with gold boundaries. The highest reported score using gold segments is 29.0 with the window-trained translator. The Italian results therefore illustrate a gain associated with SHAS under continued training as well as the strongest final result from overlap and context.

Final BLEU by segmentation with context training on Italian-to-English iwslt2021 Overlapping windows lead a close comparison with human boundaries and SHAS.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Gold | 28.8 |
| SHAS | 28.7 |
| Independent fixed windows | 27.5 |
| Merged overlapping windows (this paper) | 29.2 |

The remaining directions qualify the result. In French-to-English on iwslt2021, context-trained SHAS and merged windows both score 35.8 BLEU. SHAS with the original checkpoint scores 36.2, and the original checkpoint with gold segments scores 37.2. In Portuguese-to-English, context-trained merged windows score 28.1, while context-trained SHAS scores 29.2. SHAS reaches 29.5 with the original system, for which gold segmentation reaches 30.6. Overlap is useful for the window-based configurations in both directions, while the best automatic BLEU scores there come from the learned segmenter with the original checkpoint.

Seen across the five directions, context training is especially valuable for the fixed-window methods. With that training held constant, merging improves on independent windows in every direction tested. It surpasses SHAS in English-to-German, Spanish-to-English and Italian-to-English, ties it in French-to-English and falls short in Portuguese-to-English. The method's case rests on what those combinations achieve together. The comparisons with gold also show that benchmark boundary annotations need not be optimal units for every translator. They establish reference conditions, and the interpretation depends on whether the checkpoint is held constant or the best run from each family is being compared.

#### Flicker while the translation is visible

The main flicker comparison is plotted for Spanish-to-English on iwslt2021, with the other directions in the appendix. The results without biased beam search show the greatest flicker for independent fixed windows. Those windows give a partial translation room to grow for a relatively long time before the system closes it. A revision near its beginning can replace a large part of what was already on screen. The paper finds a substantial reduction when biased beam search encourages the translator to preserve its earlier choices.

Merged windows have lower flicker than independent fixed windows under unbiased decoding. They use a shorter span. Their join also preserves the accumulated translation before the shared match, limiting how far a rewrite can reach. For the directions into English, the appendix reports lower flicker for merged windows than for SHAS when SHAS runs without biased beam search. In the main comparisons, gold segmentation has the least flicker overall, and turning on the bias usually brings SHAS closer to gold segmentation.

The paper reports an average difference of -0.006 BLEU with biased beam search and therefore leaves those quality scores out of the main table. The small average change matters for interpreting the stability results. The intervention can make a pronounced difference to what readers see during the run while changing final reference overlap very little on average. A final BLEU comparison alone would leave that change largely invisible. The authors' merged setup offers a degree of stability through joining, while the best beam-stabilized baselines still have an advantage in flicker.

Training on prefixes generally reduces flicker, with and without the decoding bias. The authors explain that a system accustomed to unfinished inputs may be less likely to invent an ending that it then needs to remove. Context training reduces flicker further. In their examination of outputs, the authors observed fewer cases of the context-trained system joining separate sentences into a longer sentence. Window training frequently increases flicker relative to the original checkpoint. The synthetic training targets derived by estimating both edges provide the authors with a possible explanation for that pattern.

#### Delay after accounting for revisions

On the paper's corrected delay measure, independent fixed windows without biased beam search show the highest delay. The same condition also shows the most flicker. Adding the beam bias brings the delay of independent windows closer to that of gold and SHAS segmentation. This result fits the metric's treatment of revised prefixes. Stable text can earn an earlier timestamp when the decoder preserves it, even though the segmentation method and the schedule of updates have stayed in place.

Merged windows have comparable delay to gold and SHAS in the comparisons without the decoding bias. They have higher delay when compared with the other segmentation methods using biased beam search. The last comparison is relevant to choosing a configuration because it includes an intervention available to the competing methods. It also prevents attributing the entire timing difference to the placement of audio boundaries. Some of the difference is associated with which method can make its displayed prefix stable using the available decoding procedure.

The effects of training are mixed. The authors report that context training reduces delay with gold segmentation, increases it slightly with SHAS, and gives larger increases with both approaches based on fixed windows. The appendix shows the other directions follow the main patterns about high delay for unstabilized fixed windows and comparable delay for merged windows and unbiased SHAS. The authors find that continued training has a clearer effect on quality, and to a lesser extent on flicker, than on delay. The delay results characterize the times assigned to stable output in the simulation. They give no direct timing of the computation required by the segmenter, the translator or the retries during a join.

#### A second measure of final translation quality

The paper's COMET comparison also favours context training with merged windows. On the reported test sets, this pairing has the highest COMET score among the automatic conditions in every language direction. It also exceeds the best gold-segment results for Spanish-to-English, French-to-English and Italian-to-English. For instance, on French-to-English iwslt2021, the pairing scores 0.2170 COMET, above both the matched SHAS result and the original checkpoint's gold result. This is a stronger ranking for merged windows than the BLEU comparison gives in that direction.

Final COMET by segmentation with context training on French-to-English iwslt2021 Merged windows lead the matched comparison on the automatically realigned output.

**The numbers**

| System or setting | COMET |
| --- | --- |
| Gold | 0.1123 |
| SHAS | 0.1742 |
| Independent fixed windows | 0.0777 |
| Merged overlapping windows (this paper) | 0.2170 |

The authors place the COMET results in the appendix because they find that a boundary error in automatic realignment can change the score substantially. A word placed with the neighbouring reference segment can make both pieces less well formed as inputs to the metric. That means a stronger ranking on COMET is informative alongside BLEU, with the caveat that the experiment has weaker control over how much the alignment step influences it.

### What the ablations show

#### Training on the shape of the incoming speech

The main comparison already performs a useful controlled test. Each segmentation is applied to the original, prefix-trained, context-trained and window-trained checkpoints, allowing the reader to see where a training recipe helps. The improvements with context training tend to be larger for the clock-based segmentations than for SHAS. Comparisons of the original and context-trained checkpoints under independent windows show an improvement even before the text joining rule enters the picture. That pattern locates some of the gain in the translator's ability to handle the window audio itself.

Prefix training gives a narrower intervention. It exposes the system to cut endings while preserving annotated starts. In the Spanish-to-English iwslt2021 test, prefix training with merged windows reaches 39.9 BLEU. Context training with the same segmentation reaches 42.0. In Italian-to-English, prefix training with merged windows reaches 27.4 BLEU, and context training reaches 29.2. The contexts of these comparisons are important. The context recipe changes both the length and composition of the input, so the gain indicates the value of that combined recipe. The experiment cannot isolate the effect of any specific preceding utterance.

The random-window variant is especially informative because superficially it matches sliding inference more closely. Its synthetic clips can start and end inside an utterance. In the English-to-German tst-COMMON evaluation, this training gives 22.8 BLEU with merged windows, whereas context training gives 25.3. In the French-to-English iwslt2021 test, the corresponding results are 31.9 and 35.8. Portuguese-to-English shows the same direction, at 24.3 for random-window training and 28.1 for context training. Across the reported merged runs, arbitrary cuts during training offer no improvement over the context recipe.

The authors interpret this result in terms of supervision quality. An imperfect boundary in the source audio can be a worthwhile training example if the translator receives a reasonable target for it. The window recipe uses length estimates for target starts as well as target ends, creating more opportunities for the target to include something outside the audio or leave out something inside it. The corresponding increase in flicker is consistent with less stable text being available to serve as a match between windows. Since the recipes change both the distribution of audio inputs and the way targets are assigned, this is an explanation of the pattern rather than a measured contribution of alignment noise alone. The proposed test is to align the random windows using recognition or translation output, then repeat the comparison.

#### How changing the join trades stability for quality

The appendix varies the rule for choosing shared text. The main method prefers the longest match, with a tie resolved by choosing the last occurrence. The alternative searches for the last common sequence longer than two tokens. It aims to place the join further to the right and preserve more of the accumulated translation. A later join can keep an earlier interpretation intact even after new audio gives the translator evidence for replacing it.

The authors test this rule on the English-to-German tst-COMMON set with the original checkpoint, varying the window size. With the longest-match rule, flicker rises sharply as windows become longer. Under the last-match rule, flicker is lower across the comparison and increases more gradually with window size. The translated display is steadier when more of it is carried forward unchanged at each update.

The BLEU comparison reverses the preference. The last-match procedure scores worse than the longest-match procedure across the window sizes explored. The authors also report that a window size of 15 seconds works best for BLEU in this merged-window comparison. A long shared passage provides evidence for where the two renderings agree. Selecting a later but shorter passage can stabilize the screen by preserving words that the new rendering would revise. The result shows that reducing flicker by restricting the join also changes the assembly of the final translation.

Window duration enters the comparison in another way. The principal independent fixed-window setting uses 26 seconds, whereas the merged setting uses 15 seconds. The authors report that shortening the independent windows to 15 seconds gives flicker only slightly above that of merging, but harms translation quality considerably. The contrast helps distinguish the benefit of translating shorter spans from the benefit of preserving information across their edges. The main comparison changes both duration and overlap, and the shorter independent run shows why simply reducing how much text is open for revision is an incomplete substitute for a join.

#### Hiding the least stable end of an update

The output-mask experiment holds the context-trained checkpoint fixed and uses the Spanish-to-English iwslt2021 test without biased beam search. It varies how much text the system withholds at the right edge of each partial output. A mask targets recently generated tokens, which are likely to lie near an unfinished part of the utterance. If revisions were mainly concentrated there, increasing the mask would substantially reduce them on the visible display.

Independent fixed windows still have higher flicker than the other segmentation methods at a mask size of 10. The authors infer that many of their revisions reach further back than the recent tail. Merged windows consistently stay below SHAS in flicker in that test, and at larger masks they also fall below the gold condition. At a mask size of 10, merged-window flicker is 0.25. The authors compare that with the flicker of the original checkpoint using fixed windows with biased beam search, providing a point of reference for the stability the mask can achieve.

Masking increases delay because the removed tokens are withheld even when the current translation already contains them. In the authors' comparison, delay rises more with masking for merged windows than for SHAS and gold segmentation. The mask gives merged windows a way to reduce visible revisions without changing final translation quality. Its cost appears in the time at which the audience receives the withheld text. The join experiment and the mask experiment achieve stability by altering different stages, and their different costs make the distinction observable.

#### Checking how much the evaluator can change the score

For the alignment check, the authors manually correct the resegmentation of the original English-to-German translation output on a sample of 200 gold segments. A recurring error they describe is placing the first token of one segment at the end of the previous one. The check changes that evaluation boundary while keeping the underlying translated passage. It tests how much the metrics respond to the way the passage is divided for scoring.

BLEU on the sample changes from 24.70 with automatic resegmentation to 24.73 after the correction. COMET changes from -0.1128 to 0.0467. The shift in COMET exceeds some differences separating systems in the appendix. The authors hypothesize that COMET is particularly sensitive to ill-formed segments because the inputs it saw during training were well-formed sentences. The sample establishes sensitivity to these boundary corrections, while the explanation for the sensitivity remains a hypothesis. It gives a concrete reason to put greater weight on BLEU for the primary comparison and to qualify the placement of systems by COMET.

### Limitations

#### Limits the authors identify

The authors did not run a human evaluation. Their results describe automatic counts of revision and timing, alongside quality metrics computed against reference text. These measures cannot tell how distracting any given revision is or identify the point at which waiting becomes unacceptable to a reader. The authors cite earlier research linking character erasure, a related measure of disappearing text, with usability scores. That work motivates attention to flicker. It leaves open how people would respond to the particular sequence and content of revisions in these runs.

The authors also distinguish simulated online evaluation from execution on a live audio stream. The version of SHAS used for the comparison expects the complete audio as input even when it simulates online segmentation decisions. Accordingly, measured delay does not settle which method could compute and deliver translations fastest in a live installation. Fixed windows avoid running a learned boundary detector. Merging can require another translation attempt when the match is short. The experiments do not measure how the corresponding costs compare in a system receiving the audio in real time.

The experiments use retranslation throughout. This choice allows each update to replace a previous translation and makes it possible to join overlapping windows through shared target text. The authors leave simultaneous systems with explicit policies for waiting or translating to future investigation. A policy that commits words without later rewriting them would have a different relationship between the boundary, the visible output and the delay measure. The rankings here apply to the retranslation procedure and the stabilization techniques evaluated with it.

The authors identify stability of the merged output as an open problem. They can reduce flicker with the last-match join, at a cost in BLEU, or by holding back a suffix, at a cost in delay. They could not apply the tested beam bias directly to a sliding window in the same way as to a growing prefix. The experiments therefore leave a gap between the quality of the best merged results and the lowest flicker available to segmentations whose successive hypotheses share a start.

The revised delay measure still responds to flicker by design. It distinguishes repeated tokens and credits them when their context is stable, addressing a specific bias of the original timing calculation. The paper notes that this coupling makes some comparisons difficult to interpret, especially when masking changes both the visibility of new tokens and the revisions that remain observable. In this study, the measured delay is best read as delay to stable text under the evaluation procedure.

#### Limits of what the comparisons establish

The evaluation covers TED talks with known talk-level boundaries. The five directions span two corpora and two starting checkpoints, with the four directions into English sharing the multilingual checkpoint. This gives repeated comparisons under several language conditions. It also means the individual directions differ in dataset, training material, translation direction or checkpoint. The contrast between, for instance, the Spanish-to-English gain and the Portuguese-to-English result cannot be assigned to a linguistic property of those languages from these experiments. Recordings outside the tested setting would call for further evidence.

A score above gold segmentation compares alternative input groupings under a particular metric. Gold denotes the human-marked boundaries supplied with the corpus. The overlapping runs provide the translator with speech across some of those boundaries and assemble the completed output by reusing common text from adjacent translations. A higher BLEU score indicates better reference overlap for the resulting output under this evaluation. The result does not include a human judgment that the automatic cuts form better sentence boundaries or that the automatically produced translation reads better at every point.

The BLEU scores in the main comparison are point estimates. Small gaps such as the English-to-German results of 25.3 and 25.2 for matched merged and gold runs support a narrow statement about their reported ordering. The larger differences between some independently cut and merged conditions make clear that the configuration can matter considerably, but the table gives no measurement of how stable every ranking would be across training repetitions or fresh samples of talks.

The central merged setting combines several choices. It takes shorter windows than the principal independent baseline, shifts them at the update rate, chooses a text match, and sometimes retries the translation with more context. The appendix separates some of these choices by varying duration and match selection. The reported quality gains still belong to the tested combination. Similarly, the context-training variant supplies multiple utterances and adds truncated versions, so it measures a package of training changes. The available comparisons show which recipes worked under the chosen settings, with limited evidence about how much each ingredient contributes in isolation.

Automatic realignment also introduces a constraint on the evaluation. The manually corrected sample demonstrates the effect on one set of English-to-German segments. It does not measure the frequency of alignment errors for every language pair and segmentation strategy, or how those errors distribute across systems. The stronger showing for merged windows under COMET is consequently more sensitive to the evaluation procedure. BLEU's small change in the correction check supports its role in the main comparison, while the check itself is limited in scope.

Finally, the paper evaluates translation quality on completed output. A window-based setup can end with a high-scoring translation after showing early hypotheses that led a reader through several revisions. Flicker and delay capture aspects of that process, but the test does not score the correctness of every partial translation or measure how easily a person recovers from particular changes. The evidence supports considering overlapping windows as an alternative means of producing high-quality final translations from unsegmented talk audio. The experience of following those translations live remains less directly established.

### What came after

Subsequent studies that explicitly build on this paper are undocumented here. The sliding-window work used by Amrhein and Haddow is part of the method's ancestry. It supplied a text-joining procedure for a cascaded system, which they applied to direct speech translation. Its role in the paper is as an antecedent to the overlap experiment.

The authors leave several specific questions for subsequent research. Re-estimating the targets for random audio windows with speech recognition or translation could test whether poor alignment explains the instability seen after window training. A genuinely live implementation would let researchers compare the elapsed computation time for learned segmentation, plain windows and window merging. A different evaluation procedure could also test document-level translation quality with less reliance on reconstructing sentence boundaries. These are open lines of inquiry identified by the study, with their outcomes left undetermined.

## Cite

Cite as Chantal Amrhein and Barry Haddow. 2022. Don't Discard Fixed-Window Audio Segmentation in Speech-to-Text Translation. Proceedings of the Seventh Conference on Machine Translation (WMT).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2022.wmt-1.13](https://doi.org/10.18653/v1/2022.wmt-1.13)

```bibtex
@inproceedings{amrhein2022don,
  title = {{Don't Discard Fixed-Window Audio Segmentation in Speech-to-Text Translation}},
  author = {Chantal Amrhein and Barry Haddow},
  booktitle = {Proceedings of the Seventh Conference on Machine Translation (WMT)},
  year = {2022},
  doi = {10.18653/v1/2022.wmt-1.13},
  url = {https://doi.org/10.18653/v1/2022.wmt-1.13}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
