Introduction
Simultaneous Machine Translation (SiMT) is a challenging task that requires a model to generate translations while the source sentence is still being uttered. The core difficulty lies in the "policy"—the decision-making process that determines when the model has enough information to translate (WRITE) and when it must wait for more input (READ).
Traditionally, SiMT has relied on the wait-k policy, a simple heuristic where the model waits for $k$ source tokens and then alternates between reading and writing. However, this approach treats every word as having equal value. In reality, a content-heavy noun like "surgery" carries significantly more information than a function word like "the." Furthermore, language pairs often exhibit different information densities; for instance, German sentences are frequently longer than their English counterparts. This discrepancy often leads to the "early-stop" problem, where a model finishes its translation before the source speaker has finished, or waits unnecessarily for low-information tokens, increasing latency without improving quality.
This paper introduces Wait-info, a novel policy that shifts the decision-making process from the token level to the information level. By quantifying the actual information density of each token, the model achieves superior translation quality and handles language length differences more effectively.
Methodology: The Info-Aware Transformer
The authors propose an info-aware Transformer that learns to quantify information in an unsupervised manner through three primary components:
1. Info Quantization
The model incorporates "Info Quantizers"—three-layer feed-forward networks—positioned before the encoder and decoder. These modules assign a scalar value, referred to as info, to every token. To maintain stability, these values are restricted to a range between 0 and 2.
2. Unsupervised Learning via Modified Attention
To ensure these scalar values represent meaningful information density, the attention mechanism is modified:
- Info-aware Self-attention: Tokens with high info values are encouraged to act as "hubs" of meaning by attending to themselves more heavily, while low-info tokens are encouraged to look toward their neighbors for context.
- Info-consistent Cross-attention: This mechanism ensures that source and target tokens that are highly similar (aligned) are assigned similar info values, enforcing semantic consistency across the language barrier.
3. Info-sum Loss
The training objective includes a specific loss function that constrains the total information of the source sentence to be equal to the total information of the target sentence. This reflects the principle of semantic equivalence: regardless of word count, the total "meaning" should remain constant between the source and its translation.
The Wait-info Policy
During the decoding phase, the model abandons the fixed token count of wait-k. Instead, it follows a dynamic rule: the model continues to READ until the accumulated source info exceeds the accumulated target info plus a lagging constant $K$. This allows the model to be "patient" when encountering complex content words and "aggressive" when processing filler words or redundant grammatical structures.
Experimental Evaluation
The researchers evaluated the Wait-info policy on two standard benchmarks representing different linguistic challenges:
- IWSLT15 English $\rightarrow$ Vietnamese (En$\rightarrow$Vi): A dataset where the target language is typically longer than the source.
- WMT15 German $\rightarrow$ English (De$\rightarrow$En): A large-scale dataset where the source is typically longer than the target, a scenario where standard policies often suffer from early-stopping.
Key Results
- Superior Trade-offs: Wait-info consistently outperformed strong baselines, including Wait-k, Monotonic Multihead Attention (MMA), and Gaussian Multihead Attention (GMA). On the De$\rightarrow$En task, it improved BLEU scores by 1–5 points compared to standard wait-k at similar latency levels.
- Eliminating Early-Stop: In low-latency settings on De$\rightarrow$En, standard wait-k policies were found to "early-stop" in nearly 30% of cases. The Wait-info policy reduced this failure rate to 0%.
- General Translation Gains: Interestingly, the info-aware Transformer also improved performance in non-simultaneous (full-sentence) translation, suggesting that explicitly modeling token information density benefits general translation quality.
Conclusion and Future Work
The Wait-info policy demonstrates that balancing information, rather than just word counts, is a more robust approach to simultaneous translation. By learning to identify which tokens carry the most weight, the model naturally adjusts to the varying rhythms and densities of different languages.
While the current implementation uses a scalar value to represent information, the authors suggest that a low-dimensional vector might offer even more expressive power for complex linguistic nuances. Future research will focus on refining these information representations and further reducing the small computational overhead introduced by the Info Quantizers.
Summary updated