[Paper Review] TranSmart: A Practical Interactive Machine Translation System
TranSmart is a practical interactive machine translation system that enhances translation quality and efficiency through flexible, user-driven interaction, including word-level and sentence-level autocompletion, and a novel translation memory-augmented NMT model. It outperforms strong baselines by up to 3 BLEU points across multiple language pairs, demonstrating significant gains in accuracy and efficiency while supporting non-left-to-right translation workflows.
Automatic machine translation is super efficient to produce translations yet their quality is not guaranteed. This technique report introduces TranSmart, a practical human-machine interactive translation system that is able to trade off translation quality and efficiency. Compared to existing publicly available interactive translation systems, TranSmart supports three key features, word-level autocompletion, sentence-level autocompletion and translation memory. By word-level and sentence-level autocompletion, TranSmart allows users to interactively translate words in their own manners rather than the strict manner from left to right. In addition, TranSmart has the potential to avoid similar translation mistakes by using translated sentences in history as its memory. This report presents major functions of TranSmart, algorithms for achieving these functions, how to use the TranSmart APIs, and evaluation results of some key functions. TranSmart is publicly available at its homepage (https://transmart.qq.com).
Motivation & Objective
- To address the limitations of rigid, left-to-right translation workflows in existing interactive machine translation (IMT) systems.
- To improve translation quality and efficiency by enabling flexible user interaction patterns beyond sequential input.
- To reduce repetitive translation errors in document-level translation by integrating a translation memory into a neural machine translation model.
- To develop a practical, publicly available IMT system that supports real-world translation workflows.
- To evaluate the effectiveness of constrained decoding and translation memory integration in neural translation models.
Proposed method
- TranSmart employs word-level autocompletion, allowing users to type partial characters and receive real-time suggestions without requiring left-to-right input.
- Sentence-level autocompletion enables users to input non-contiguous words or phrases, with the system completing the full sentence based on context and user input.
- The system integrates a graph-based translation memory (G-TFM) model that encodes historical translations as a graph, improving decoding efficiency and accuracy.
- Constrained decoding is used to guide the NMT model to generate translations that align with user-provided partial inputs or corrections.
- The translation memory component reuses previously translated sentences to avoid recurring errors, especially in documents with repeated or similar content.
- The system is built on a Transformer-based NMT architecture and exposes its functionality via public APIs for integration and evaluation.
Experimental results
Research questions
- RQ1Can a neural machine translation system support flexible, non-left-to-right user interaction patterns while maintaining high translation quality?
- RQ2How effective is a graph-based translation memory representation in improving NMT performance and reducing translation errors?
- RQ3To what extent does integrating translation memory into a Transformer model improve BLEU scores across multiple language pairs?
- RQ4How does the system's autocompletion mechanism compare to conventional IMT systems in terms of user efficiency and error reduction?
- RQ5What is the trade-off between translation quality, inference speed, and memory usage when incorporating translation memory into NMT?
Key findings
- TranSmart achieves a 1.9 BLEU point improvement over the strongest baseline (P-TFM) on the es-en task, with a 66.21 BLEU score on the test set.
- The proposed G-TFM model outperforms TFM by up to 3 BLEU points across all five evaluated language pairs, including a 69.59 BLEU on en-fr and 70.87 on fr-en.
- G-TFM reduces inference time to 0.36 seconds per sentence and encodes only 129.18 words on average, significantly less than SEQ-TFM (214.97) and SEG-TFM (374.52).
- The system reduces the number of words encoded by the model by up to 3 times compared to SEG-TFM, indicating superior memory efficiency.
- The graph-based translation memory model (G-TFM) achieves better performance than context-based key-value memory models, especially in Transformer architectures.
- Empirical results confirm that the integration of translation memory significantly reduces the recurrence of similar translation errors in document-level translation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.