Abstract
TranSmart is a practical interactive machine translation (IMT) system developed by Tencent AI Lab that overcomes the traditional "left-to-right" constraints of human-machine collaboration. By integrating flexible word and sentence autocompletion with a novel graph-based translation memory, TranSmart allows translators to interact non-linearly with the AI. This approach significantly enhances both translation quality and human productivity by adapting to the natural workflow of professional translators.
Introduction: The Rigid Prefix Constraint
While Neural Machine Translation (NMT) has achieved remarkable performance, human oversight remains essential in specialized fields such as legal, medical, and technical documentation. Traditional Interactive Machine Translation (IMT) systems typically employ a "prefix-based" workflow, where the human corrects the beginning of a sentence and the machine predicts the remainder. This rigid structure fails to accommodate the way professional translators actually work—often jumping between technical terms or refining specific phrases out of order. Furthermore, standard NMT systems often lack a persistent memory of previous corrections, leading to repetitive errors. TranSmart addresses these bottlenecks by introducing a more flexible, memory-aware architecture.
Interactive Features
To enable a more natural collaborative environment, TranSmart introduces two primary interaction modes:
- General Word-level Autocompletion (GWLAN): Unlike systems that only complete words at the current cursor position, TranSmart utilizes a Word Prediction Model (WPM) with Bidirectional Masked Attention. This allows the system to predict target words based on partial characters and the surrounding context (both left and right), regardless of the word's position in the sentence.
- Sentence-level Autocompletion with Soft Constraints: For broader completions, the system uses NMT with Soft Constraints (SC). Rather than forcing the inclusion of specific user-provided words—which can lead to grammatical errors if the user makes a typo—the decoder treats these words as external memory, learning to integrate them naturally into a fluent sentence.
Architectural Innovations
Beyond the user interface, TranSmart incorporates several technical advancements to improve efficiency and accuracy:
Graph-based Translation Memory (G-TFM)
To handle documents with many similar sentences, TranSmart converts translation memories into a compact graph structure known as a confusion network. This approach avoids redundant computation by encoding shared phrases once, making the system faster and more accurate than models that process memory sequences linearly.
Data Rejuvenation
To enhance the underlying NMT model, the authors implemented a "data rejuvenation" pipeline. An identification model filters the training set for "inactive" or noisy examples, which are then re-labeled by a teacher model. This process creates a cleaner, more effective training corpus, leading to improved base translation quality.
Evaluation and Results
The system was evaluated across multiple benchmarks, including WMT14, NIST, and JRC-Acquis, as well as large-scale internal datasets from Tencent. Key findings include:
- Interaction Accuracy: The Word Prediction Model achieved a precision of 52-57%, significantly outperforming traditional alignment-based methods (30-40%).
- Translation Quality: Data rejuvenation provided a consistent boost, improving BLEU scores by up to 0.8 points without architectural changes.
- Efficiency: The G-TFM outperformed state-of-the-art sequential memory models by approximately 1 BLEU point while requiring less memory. Additionally, the soft-constraint approach for sentence completion proved to be roughly 6x faster than standard Grid Beam Search (GBS).
Conclusion
TranSmart represents a shift in interactive translation by breaking the "left-to-right" cage. By treating the AI as a flexible partner that understands bidirectional context and respects soft constraints, the system aligns more closely with human cognitive processes. Future work will focus on further refining the retrieval-augmented generation components and improving the system's ability to handle complex document layouts in image translation.
Summary updated