Introduction
Neural Chat Translation (NCT) represents a specialized frontier in machine translation, focusing on the real-time translation of bilingual conversations. Unlike standard document or sentence-level translation, NCT requires models to maintain a deep understanding of dialogue context, including speaker intent, conversational flow, and coherence across multiple turns.
Despite its importance, NCT faces two primary obstacles. First, high-quality bilingual chat data is notoriously scarce, often limited to small datasets of approximately 10,000 dialogues. Second, while multi-task learning (MTL) is frequently employed to mitigate data scarcity by using auxiliary tasks (e.g., predicting the next response), these tasks do not always provide a consistent benefit. In many cases, auxiliary tasks can interfere with the primary translation objective, a phenomenon known as negative transfer.
To address these challenges, this research introduces a Scheduled Multi-task Learning (SML) framework. This approach combines a novel three-stage training pipeline with a gradient-based scheduling strategy to ensure that auxiliary tasks effectively support the main translation goal.
Methodology: A Three-Stage Pipeline
The researchers move beyond the traditional "pre-train then fine-tune" paradigm by introducing an intermediate stage designed to bridge the gap between general-domain text and specific chat contexts.
- General Pre-training: The model is first trained on massive, sentence-level datasets (such as WMT) to establish a foundational understanding of language and translation.
- In-domain Pre-training: The model is then exposed to a newly constructed, large-scale bilingual dialogue dataset. This stage allows the model to learn the nuances of conversational structure and dialogue-specific vocabulary.
- In-domain Fine-tuning: Finally, the model is fine-tuned on the specific, smaller target chat translation datasets (e.g., BMELD or BConTrasT).
Scheduled Multi-task Learning (SML)
The core innovation of this work is the SML framework, which dynamically manages the influence of auxiliary tasks—specifically Monolingual Response Generation (MRG) and Cross-lingual Next Utterance Discrimination (XNUD).
Rather than simply summing the losses of all tasks, the SML algorithm calculates the gradient for each auxiliary task and projects it onto the gradient of the primary translation task. This creates a selective influence:
- Alignment: If an auxiliary task's gradient aligns with the main task, it accelerates the model's convergence toward an optimal solution.
- Regularization: If the gradients diverge, the "inverse gradient" acts as a regularizer. This prevents the model from overfitting to the limited data available during the fine-tuning stage.
This scheduling is crucial because the utility of auxiliary tasks changes over time. For example, the authors found that Cross-lingual Response Generation (XRG) is highly beneficial during pre-training but can degrade performance if heavily weighted during the final fine-tuning phase.
Data Contributions
A significant contribution of this study is the creation of a massive in-domain dialogue corpus. By crawling and aligning movie subtitles using tools like Vecalign, the researchers produced:
- 28 Million pairs for English-Chinese.
- 18 Million pairs for English-German.
This dataset provides the necessary scale to train context-aware models effectively before they are applied to specialized benchmarks like BMELD and BConTrasT.
Experimental Results
The SML framework demonstrates state-of-the-art (SOTA) performance across multiple metrics and language pairs.
Quantitative Performance
On the BMELD (English-to-Chinese) dataset, the SML model achieved a BLEU score of 32.25, representing a substantial improvement over the previous SOTA of 27.77. These gains were consistent across all four tested directions (En↔Zh and En↔De), suggesting the framework's robustness across different linguistic structures.
Human Evaluation
Beyond automated metrics, human evaluators assessed the models on a 0/1 scale for coherence and fluency. The SML model outperformed all baseline context-aware models:
- Coherence: 0.690
- Fluency: 0.735
These results indicate that the model is not just matching words more accurately but is also producing translations that feel more natural within the context of a conversation.
Discussion and Limitations
While the SML framework sets a new benchmark for NCT, it introduces certain trade-offs. The three-stage training process and the requirement to calculate multiple gradients per step increase the computational overhead compared to standard models. Additionally, the quality of the in-domain pre-training is dependent on the accuracy of alignment tools used on noisy subtitle data.
Future work may involve applying this gradient-based scheduling to other multi-task NLP domains, such as emotional response generation or multi-modal chat translation, where task interference is a common challenge.
Conclusion
By intelligently scheduling auxiliary tasks and leveraging large-scale in-domain data, the Scheduled Multi-task Learning framework successfully overcomes the data scarcity and task interference issues inherent in Neural Chat Translation. The result is a more coherent, fluent, and contextually aware translation system.
Summary updated