SpeechAlign: A Framework for Speech Translation Alignment Evaluation

Belen Alastruey, Aleix Sant, Gerard I. Gállego, David Dale, Marta R. Costa-jussà

TL;DR

This paper introduces SpeechAlign, a novel framework designed to evaluate how well speech translation models align source speech segments with target translations. It addresses the critical need for better evaluation tools in this rapidly advancing field by releasing a new dataset and introducing two innovative metrics, SAER and TW-SAER, to quantify alignment quality.

What Problem Does This Paper Address?

Speech-to-text (S2TT) and speech-to-speech (S2ST) translation are booming areas, with end-to-end models showing impressive progress. However, understanding how these models work internally, specifically their alignment capabilities, remains a significant challenge. Unlike text translation, where alignment has been extensively studied, speech translation lacks suitable datasets and metrics. This makes it difficult to assess whether models are truly learning meaningful correspondences between spoken words and their translations, or if they're relying on superficial patterns. Without this understanding, it's hard to diagnose errors, improve models, and ensure they align with human intuition.

Methods

The SpeechAlign framework has two core components:

  • Speech Gold Alignment Dataset: This new dataset is an extension of an existing English-German text translation alignment dataset. The key innovation here is the use of a Text-to-Speech (TTS) model to generate synthetic audio for the sentences. This process automatically provides word-level timestamps, which are crucial for aligning speech. The authors detail a meticulous pipeline for this, involving:
  • Speech Generation: Using the VITS model to create synthetic speech from text.
  • Word-Audio Matching: A two-step process to map phonemes (generated by a phonemizer) to words and then to audio time intervals.
  • Handling Special Cases: Addressing challenges like phonemic fusion (where multiple words are transcribed as one phoneme sequence) and phonemic fragmentation (where a single word is split into multiple phoneme sequences).
  • Novel Evaluation Metrics: To quantify alignment quality, the authors adapt the established Alignment Error Rate (AER) from text translation. They introduce:
  • Speech Alignment Error Rate (SAER): This metric treats each word equally, similar to AER.
  • Time-weighted Speech Alignment Error Rate (TW-SAER): This metric is a significant advancement, accounting for the varying durations of words in speech. It assigns weights to alignments based on word duration, providing a more nuanced evaluation that better reflects the temporal nature of speech.

Datasets

  • Speech Gold Alignment Dataset (New): Introduced in this paper, built upon the English-German text alignment dataset from Vilar et al. (2006). It includes synthetic audio with word-level timestamps.
  • EuroParl ST dataset: Used for quality assessment of the synthesized audio.
  • Whisper Small model: Used for evaluating the quality of the synthesized audio via Word Error Rate (WER).

Key Insights and Ideas

  • The necessity of speech-specific alignment metrics: Standard text-based alignment metrics fall short when applied to speech due to the inherent temporal nature and variable word durations. TW-SAER is a crucial step towards more accurate evaluation.
  • Synthetic data as a viable solution for alignment annotation: Generating synthetic speech with TTS models offers an efficient way to obtain precise word-level timestamps, overcoming the labor-intensive nature of manual annotation for speech.
  • Understanding model behavior is key to improvement: By providing tools to analyze alignment, SpeechAlign enables researchers to probe deeper into how speech translation models make decisions, paving the way for more robust and interpretable systems.
  • Correlation between alignment quality and model size: The benchmarking results suggest that larger models, while achieving better translation quality (BLEU), also exhibit better alignment performance as measured by SAER and TW-SAER.

Key Results

The paper demonstrates the effectiveness of their framework by benchmarking different sizes of the Whisper model on the De-En S2TT task. While specific SAER and TW-SAER scores are provided in Table 3 (e.g., Tiny model SAER: 75.3%, TW-SAER: 70.1%; Large model SAER: 68.9%, TW-SAER: 63.5%), the key takeaway is the observed correlation between model size, translation quality (BLEU), and alignment metrics. The synthesized audio used for evaluation showed a lower WER than the standard EuroParl ST dataset, indicating good quality.

Limitations and Future Work

  • Limited scope of benchmarking: The authors primarily benchmarked S2TT models due to the current lack of readily available open-source S2ST models for comprehensive evaluation.
  • Complexity of S2ST model analysis: Evaluating S2ST models like SeamlessM4T presents challenges in obtaining contribution maps, requiring further research into interpretability methods.
  • Future work: The authors aim to facilitate the use of their dataset and framework by other researchers, encouraging further exploration of alignment in speech translation. They also suggest that the framework can be adapted for more sophisticated contribution maps beyond simple attention weights.

Summary updated

BibTeX
@inproceedings{alastruey2024speechalign,
  author = {Belen Alastruey and Aleix Sant and Gerard I. Gállego and David Dale and Marta R. Costa-jussà},
  title = {{SpeechAlign: A Framework for Speech Translation Alignment Evaluation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure