Introduction
Standard machine translation typically relies on "simplex" models—unidirectional architectures where data flows from an encoder to a decoder. To translate between two languages, such as English and German, researchers usually train two separate models: one for English-to-German and another for German-to-English. While multi-task learning attempts to unify these directions into a single model, it often suffers from "parameter interference," where internal representations become muddled by the conflicting demands of processing and generating two distinct languages.
To address these limitations, researchers have introduced REDER (REversible Duplex TransformER). REDER is the first successful "duplex" sequence-to-sequence model capable of bidirectional translation using a single set of parameters. By replacing the traditional encoder-decoder split with a symmetric, reversible architecture, REDER achieves state-of-the-art performance in non-autoregressive translation (NAT) while mitigating the performance penalties associated with standard multi-task approaches.
The REDER Architecture
REDER moves away from the conventional encoder-decoder paradigm by utilizing a symmetric structure where each "end" of the network specializes in a specific language. This design allows the "middle" of the network to handle abstract cross-lingual mapping while the ends manage language-specific nuances, effectively reducing parameter interference.
The architecture is built on three core pillars:
- Reversible Duplex Transformer Layers: Inspired by "RevNet" architectures, these layers ensure that input can be mathematically recovered from output. This enables the model to function in both forward (Source $\to$ Target) and backward (Target $\to$ Source) directions.
- Symmetric "Palindrome" Design: Layers are arranged symmetrically so the computational path is functionally identical in both directions. If the first half of the model uses "inverse" operations, the second half uses "regular" ones, making the total path a functional palindrome.
- Non-Autoregressive Modeling with CTC: REDER generates sequences in a single pass. It employs Connectionist Temporal Classification (CTC) to manage differing sentence lengths between source and target languages by upsampling the source input.
Training is further enhanced by Layer-wise Forward-Backward Agreement, ensuring consistent internal representations regardless of direction, and Cycle Consistency, which enforces that a round-trip translation ($X \to Y \to X$) returns the original input.
Experimental Evaluation
The model was evaluated on several standard machine translation benchmarks:
- WMT14 English $\leftrightarrow$ German (EN-DE): A large-scale benchmark with 4.5M training pairs.
- WMT16 English $\leftrightarrow$ Romanian (EN-RO): A mid-sized dataset with 610K pairs.
- WMT20 English $\leftrightarrow$ Japanese (EN-JA): A linguistically diverse pair with ~16M pairs used to test structural generalization.
Key Results and Insights
REDER demonstrates significant improvements over traditional simplex NAT baselines:
- Translation Quality: REDER achieved BLEU scores of 27.50 (EN-DE) and 31.25 (DE-EN), outperforming simplex NAT baselines by up to 1.3 BLEU and nearly matching the performance of standard autoregressive Transformers.
- Inference Efficiency: As a non-autoregressive model, REDER offers a 5.5x speedup during inference compared to standard Transformers.
- Parameter Efficiency: A single 58M-parameter REDER model matches or exceeds the performance of two separate simplex models (totaling 116M parameters).
- Reversibility: The model shows high qualitative reversibility, reconstructing source sentences from translations with a score of 66.0 BLEU.
The authors conclude that reversibility acts as a powerful regularizer, leading to more robust internal representations. By making the communication channel "duplex," the model better exploits the inherent consistencies in bidirectional data.
Limitations and Future Outlook
Despite its success, REDER currently depends on Knowledge Distillation (KD) from a teacher model to simplify training data; performance drops notably without it. Additionally, while the hidden representations are mathematically reversible, the final discrete word selection (argmax) is not, meaning perfect word-for-word reconstruction is not always guaranteed.
Future work may explore using REDER's modular "ends" for zero-shot translation. By "stitching" together the language-specific ends of different models (e.g., the German end of an EN-DE model and the Japanese end of an EN-JA model), it may be possible to translate between new language pairs without direct parallel training data.
Summary updated