Abstract
Word-level auto-completion (WLAC) plays a crucial role in Computer-Assisted Translation. While previous studies have primarily focused on designing complex model architectures, this paper takes a different perspective by rethinking the fundamental question: what kind of words are good auto-completions? We introduce a measurable criterion to address this question and discover that existing WLAC models often fail to meet this criterion. Building upon this observation, we propose an effective approach to enhance WLAC performance by promoting adherence to the criterion. Notably, the proposed approach is general and can be applied to various encoder-based architectures. Through extensive experiments, we demonstrate that our approach outperforms the top-performing system submitted to the WLAC shared tasks in WMT2022, while utilizing significantly smaller model sizes.
The Challenge of Context-Aware Auto-Completion
In Computer-Aided Translation (CAT), Word-Level Auto-Completion (WLAC) is a vital feature that suggests the word a translator is currently typing based on the source sentence and the preceding target text. Effective WLAC can reduce human keystrokes by over 60%, significantly accelerating the translation process.
However, a persistent challenge in WLAC is that models often suggest words that are locally plausible but globally incorrect. Most existing models focus on complex architectures but ignore the fundamental question: What defines a correct word? Ideally, a suggested word should not just fit the immediate characters typed; it should be part of a high-quality, fluent translation of the entire source sentence. Without a broader "translation plan," models often fail to provide contextually appropriate suggestions.
A New Criterion: Agreement with Machine Translation
The researchers introduce a "relaxed criterion" for evaluating auto-completions: a good suggestion should agree with a hypothesis generated by a full Machine Translation (MT) model. The core insight is that agreement between a WLAC prediction and a full MT output is a strong indicator of correctness. Their analysis revealed a significant gap: existing models failed this "agreement test" more than 50% of the time, leading to suggestions that were grammatically possible but contextually irrelevant.
Methodology: The All-In-One Encoder (AIOE)
To bridge this gap, the authors proposed a multi-task learning approach using a shared All-In-One Encoder (AIOE). This architecture handles both the WLAC task and a full MT task simultaneously during training.
By training the encoder on full translation tasks, the model learns to represent the source sentence in a way that facilitates "implicit planning." It doesn't just guess the next word based on local cues; it understands the likely trajectory of the entire sentence. At inference time, the MT decoder is discarded, leaving a lightweight, "translation-aware" encoder that is both accurate and computationally efficient for real-time CAT tools.
Experimental Results and Error Analysis
The proposed AIOE-BPE-Joint model was evaluated on the WMT22 WLAC shared task datasets across four language pairs (English-Chinese, Chinese-English, English-German, and German-English). The results were definitive: the model achieved a new state-of-the-art, outperforming the WMT22 winners while being significantly smaller (74M parameters compared to the 526M parameters of the previous best system).
Detailed error analysis shows that joint training specifically helps resolve common pitfalls like tense errors (e.g., suggesting "step" instead of "stepped") and frequency misleading, where models tend to suggest common words rather than contextually precise ones. As shown in Figure 2, the "Only-Joint" category represents a large portion of cases where the joint training approach correctly predicted words that standard models missed.
Conclusion
By rethinking WLAC through the lens of global translation quality rather than just local character matching, this research demonstrates that smaller, more efficient models can outperform massive, brute-force architectures. The AIOE approach provides a practical path forward for developing more responsive and intelligent CAT tools that truly assist human translators by "planning ahead."
Summary updated