Speech-to-Speech Translation › Problem Formulation: What S2ST Must Produce
Language AI HandbookAll chapters 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 :
where:
- : the source waveform as a vector of samples
- : the duration of the source utterance in seconds
- : the source sampling rate in Hz
- : the total number of source samples
and produces a waveform in target language :
where:
- : the synthesized target waveform
- : the duration of the target utterance in seconds
- : the target sampling rate in Hz
- : 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 and 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 and 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 produces translated text in . 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!