Introduction
Traditional state-of-the-art translation systems are typically monolithic "sequence-to-sequence" models trained end-to-end. While effective, these systems require massive amounts of labeled parallel data (bitexts) for text-to-text (T2T) and even scarcer transcribed audio for speech-to-text (S2T). Direct speech-to-speech (S2S) data is almost non-existent. Furthermore, these models are rigid; adding a new language or modality often necessitates retraining the entire system.
T-Modules addresses these challenges by introducing a modular framework that decouples encoders and decoders using a shared, fixed-size multilingual and multimodal embedding space. This "plug-and-play" architecture allows modules for different languages and modalities to be trained independently and combined for zero-shot translation across Text-to-Speech, Speech-to-Text, and Speech-to-Speech.
Modular Architecture
The core of T-Modules is a fixed-size internal representation. Instead of variable-length sequences of hidden states, every input—regardless of length or modality—is compressed into a single 1024-dimensional vector. This shared semantic space acts as a universal anchor for all modules.
As shown in the architecture overview, the system consists of:
- Student Encoders: Trained to map text or speech into the shared space.
- Modular Decoders: 12-layer Transformers (for text) or HuBERT-based units (for speech) that reconstruct content from the fixed-size embeddings.
The Teacher-Student Framework
To align different languages and modalities, the researchers employ a teacher-student training strategy. A pre-existing LASER (Language-Agnostic SEntence Representations) encoder serves as the fixed "teacher." New "student" encoders are trained to produce embeddings that match the teacher’s output for the same semantic content.
By minimizing the Mean Squared Error (MSE) between the student and teacher outputs, the student learns to project its specific modality (e.g., German text or Japanese speech) into the same semantic neighborhood as the teacher. This allows a speech encoder to "piggyback" on a text encoder's semantic space, enabling cross-modal transfer without parallel cross-modal data.
Key Results and Insights
T-Modules demonstrates remarkable performance in zero-shot settings:
- State-of-the-Art Zero-Shot S2T: On the Must-C benchmark, T-Modules significantly outperformed previous models, achieving a BLEU score of 32.71 for English-to-French compared to the previous benchmark of 10.85.
- First-of-its-kind S2S: The system successfully performed direct speech-to-speech translation without ever seeing a parallel S2S example during training.
- Competitive T2T: Despite the potential "bottleneck" of a fixed-size representation, the model achieves results comparable to massive supervised models like M2M-100 on the FLORES benchmark.
Limitations and Future Work
While the fixed-size representation is powerful for modularity, it introduces a "bottleneck effect" where performance drops more sharply as sentence length increases compared to attention-based models. Additionally, while modular, the system still requires linear scaling in the number of modules relative to the number of languages. Future research will focus on mitigating the sequence-length bottleneck and extending the framework to even lower-resource languages.
Summary updated