Direct Speech Translation for Automatic Subtitling

Sara Papi, Marco Gaido, Alina Karakanta, Mauro Cettolo, Matteo Negri, Marco Turchi

TL;DR

Researchers have developed the first direct speech translation (ST) model capable of generating both translated subtitles and their corresponding timestamps in a single pass. By moving away from complex multi-step pipelines, this approach achieves superior translation and segmentation quality while being three times more parameter-efficient than traditional cascade systems.

What Problem Does This Paper Address?

Subtitling is significantly more difficult than standard translation. It’s not just about converting words from one language to another; the output must adhere to strict spatio-temporal constraints:

  1. Space: Subtitles must fit on screen (typically max 42 characters per line, max two lines).
  2. Time: They must be synchronized with speech and displayed long enough for a viewer to read (reading speed measured in characters per second, or CPS).
  3. Segmentation: Breaks between subtitle blocks should occur at natural linguistic boundaries to minimize cognitive load.

Traditionally, this is handled by a "cascade" pipeline: Automatic Speech Recognition (ASR) $\rightarrow$ Audio Aligner $\rightarrow$ Text Segmenter $\rightarrow$ Machine Translation (MT). These pipelines are computationally expensive and suffer from error propagation—a mistake in the ASR or segmenter ruins the final subtitle. This paper introduces a direct model that handles the entire process end-to-end.

Methods

The authors propose a direct ST system based on the Conformer architecture. The core innovation lies in how the model handles the dual requirements of text generation and timing:

  • Joint Translation and Segmentation: The model is trained to output special tokens, <eol> (end of line) and <eob> (end of block), alongside the translated text. This allows the model to learn segmentation boundaries directly from speech cues like prosody and pauses.
  • Source Timestamp Generation: To avoid needing an external alignment model, the authors leverage the Connectionist Temporal Classification (CTC) loss already used in the encoder for training. At inference time, they use the CTC module to estimate when each word (and the <eob> token) is uttered in the source audio.
  • Levenshtein-based Projection (LEV): Since the source audio (captions) and target translation (subtitles) might have different structures, the authors developed a novel projection method. It uses Levenshtein distance to align the generated captions with the generated subtitles, allowing the system to accurately map source-side timestamps onto the target subtitle blocks.
Architecture of the direct ST system for automatic subtitling.

Datasets

The models were evaluated across 7 language pairs (English to German, Spanish, French, Italian, Dutch, Portuguese, and Romanian).

  • MuST-Cinema: The primary in-domain corpus, which contains TED talks with subtitle-specific annotations.
  • New Benchmarks: The authors released two new challenging out-of-domain test sets:
  • EC Short Clips: Videos from the European Commission featuring multiple speakers and background noise.
  • EuroParl Interviews: Parliament interviews containing highly compressed, non-verbatim translations.
  • Training Data: For unconstrained experiments, they utilized large-scale datasets like CommonVoice, CoVoST2, and VoxPopuli, using a multimodal segmenter to "silver-label" subtitle boundaries in data that lacked them.

Key Insights and Ideas

  • Prosody Matters: Direct models outperform cascades because they can "hear" the speech. Cues like pitch and pauses help the model decide where a subtitle block should end more effectively than a text-only segmenter can.
  • Efficiency Gains: The direct model achieves better results with only ~125M parameters, compared to the ~342M parameters required for the full cascade pipeline.
  • The "LEV" Advantage: Simple character-based projection (BWP) fails when the number of blocks differs between languages. The Levenshtein-based approach (LEV) proved most robust, especially in realistic scenarios with automatically segmented audio.
Example of Levenshtein-based projection for mapping timestamps.

Key Results

  • Superior Quality: On the MuST-Cinema benchmark, the direct model outperformed the cascade system by an average of 3.9 BLEU points and showed a ~7% improvement in SubER (a metric that combines translation, segmentation, and timing quality).
  • Better Compliance: The direct system complied with the 42-character-per-line (CPL) limit in 90% of cases, whereas the cascade system only managed 78%.
  • Competitive with Industry: In "unconstrained" settings (using more data), the direct model was competitive with, and often outperformed, established commercial production tools on both in-domain and out-of-domain benchmarks.

Limitations and Future Work

  • Reading Speed (CPS): While the model is great at text and segmentation, it slightly lags behind cascade systems in CPS conformity. The authors noted the model tends to display subtitles for slightly shorter durations than ideal.
  • Noise Robustness: Performance drops by about 5% when background noise is present, indicating that while the model is competitive, there is still a gap in robustness compared to some specialized production tools.
  • Future Directions: The authors suggest incorporating explicit losses during training to optimize for reading speed and exploring ways to make the models more resilient to noisy environments.

Summary updated

BibTeX
@article{papi2023direct,
  author = {Sara Papi and Marco Gaido and Alina Karakanta and Mauro Cettolo and Matteo Negri and Marco Turchi},
  title = {{Direct Speech Translation for Automatic Subtitling}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2023},
  doi = {10.1162/tacl\_a\_00607},
}
Figure