Speech-to-Speech Translation › Problem Formulation: What S2ST Must Produce

Michael BrenndoerferNovember 25, 20264 min read
Language AI HandbookAll chapters
Part 27 of 67Machine Translation and Speech Translation
Chapter 196Speech-to-Speech Translation › Problem Formulation: What S2ST Must Produce
Reading section 2 of 14 · Problem Formulation: What S2ST Must Produce · 4 minSection 2 of 14 · 4 min

Section 2 of 14 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Inputs and outputs deserve precise definition before we look at models, because many engineering disagreements about S2ST are really disagreements about which layer of the signal the system is responsible for. A system that produces the right words in the wrong voice is correct under one definition and wrong under another, and the difference determines what you build, what you measure, and what you ship.

A speech-to-speech translation system takes a waveform in source language ℓs\ell_s:

x∈RNs,Ns=Ts⋅fssrc,fssrc=16,000 Hzx \in \mathbb{R}^{N_s}, \quad N_s = T_s \cdot f_s^{\text{src}}, \quad f_s^{\text{src}} = 16{,}000 \text{ Hz}

where:

  • xx: the source waveform as a vector of samples
  • TsT_s: the duration of the source utterance in seconds
  • fssrcf_s^{\text{src}}: the source sampling rate in Hz
  • Ns=Ts⋅fssrcN_s = T_s \cdot f_s^{\text{src}}: the total number of source samples

and produces a waveform in target language ℓt\ell_t:

y∈RNt,Nt=Tt⋅fstgt,fstgt=24,000 Hzy \in \mathbb{R}^{N_t}, \quad N_t = T_t \cdot f_s^{\text{tgt}}, \quad f_s^{\text{tgt}} = 24{,}000 \text{ Hz}

where:

  • yy: the synthesized target waveform
  • TtT_t: the duration of the target utterance in seconds
  • fstgtf_s^{\text{tgt}}: the target sampling rate in Hz
  • Nt=Tt⋅fstgtN_t = T_t \cdot f_s^{\text{tgt}}: the total number of target samples

The rates above are example interface choices. Whisper resamples input to 16 kHz before extracting features. A synthesis checkpoint has its own output sampling rate, so read that rate from its configuration before passing the waveform to playback or evaluation. At a fixed duration, halving the sample rate halves the number of raw samples. The change in model compute depends on the feature extractor and model. Whisper

The sample counts NsN_s and NtN_t can differ because the sampling rates or utterance durations differ. When dubbed segments play sequentially without resetting to source timestamps, differences in segment and pause durations accumulate. An editor can limit the drift by anchoring segments to the source timeline and adjusting their timing. In their isochrony-aware translation study, Tam et al. (2022) project pause markers and use character count as a proxy for phrase length. Check the timing of the synthesized speech separately.

Both xx and yy contain (at least) four superposed signal layers:

  • Linguistic content: the words, syntax, and meaning, which must be preserved. This is the layer that text MT operates on directly, and the layer that ASR is designed to expose.
  • Speaker identity: cues that help a listener recognize who is talking. Speaker encoders can represent aspects of a voice with embeddings such as x-vectors and d-vectors.
  • Prosody: pitch (F0), duration, rhythm, and energy contours that carry emphasis, emotion, and pragmatic cues. Prosody tells the listener whether a sentence is a question or a statement, which word is focused, and whether the speaker is amused, angry, or uncertain.
  • Channel and environment: background noise, reverberation, and microphone effects. Decide whether these are relevant to the listener. For a phone call from a moving car, the synthesized output can omit the road noise.

Preserve the message and the delivery cues appropriate to the task. Choose whether to retain the speaker’s voice separately, with authorization. Synthesis can use information about the source delivery or speaker if the application needs it and the model accepts it.

Matching word sequences alone can miss the intended reading. An idiom can have a meaning different from its literal translation. For example, when “break the ice” means to start a conversation, translate that intent. When a passage marks a speaker relationship, check whether the target uses the appropriate form of address.

Speech-to-Text Translation vs. Speech-to-Speech

Speech-to-text translation produces translated text in ℓt\ell_t. Speech-to-speech translation produces a waveform. This adds a synthesis objective. In a cascade, recognition and translation can also affect which delivery cues reach the synthesizer. A correct text translation can leave the intended voice or emphasis unspecified.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy