Abstract
Word alignment—the task of identifying corresponding words in translated sentence pairs—is essential for various downstream applications in machine translation. Traditional approaches often rely on span prediction or embedding similarity, which struggle with non-contiguous translations and null alignments. We present BinaryAlign, a framework that reformulates word alignment as a binary sequence labeling task. By treating alignment as independent "yes/no" decisions for each token, BinaryAlign achieves new state-of-the-art results across diverse language pairs and resource levels, demonstrating superior performance in handling complex linguistic phenomena.
Introduction
In Machine Translation (MT), explicit word alignment remains a critical component for tasks such as lexical constraint enforcement, model bias evaluation, and cross-lingual pre-training. Despite its importance, current methodologies are fragmented. High-resource settings typically employ supervised span prediction, which often fails to capture non-contiguous alignments (e.g., the French negation "ne...pas"). Conversely, low-resource settings rely on embedding similarity, which frequently falters when direct translations are absent or when one word maps to multiple targets.
BinaryAlign addresses these limitations by unifying word alignment into a single, high-performing framework. By shifting the paradigm from "where is the span?" to "does this token align?", the model overcomes architectural biases inherent in previous methods.
Methodology: Alignment as Binary Labeling
The core innovation of BinaryAlign is its treatment of alignment as a series of independent binary classification tasks. Instead of predicting a continuous span, the model evaluates every token in a target sentence against a specific source word.
The Workflow
- Input Preparation: A source word $w_X$ is isolated within its sentence using unique separator tokens.
- Cross-Encoding: The modified source sentence and the target sentence are fed into a Multilingual Pre-trained Language Model (mPLM), such as mDeBERTa or mBERT.
- Binary Labeling: A linear layer predicts the probability of each target token aligning with $w_X$ using a logistic function.
- Symmetrization: To ensure consistency, the process is executed in both directions (Source $\to$ Target and Target $\to$ Source), with the final alignment determined by averaging the resulting probabilities.
This approach eliminates "probability dilution" caused by softmax layers and allows the model to naturally identify non-contiguous or one-to-many alignments.
Experimental Setup
BinaryAlign was evaluated across a wide spectrum of language pairs:
- Training: The model was trained on ALIGN6 (covering Dutch, Czech, Hindi, Turkish, Spanish, and Portuguese) and Swedish-English (sv-en).
- Zero-Shot Evaluation: Testing was conducted on five unseen pairs: German-English (de-en), Romanian-English (ro-en), French-English (fr-en), Chinese-English (zh-en), and Japanese-English (ja-en).
- Cross-Lingual Robustness: To verify its language-agnostic capabilities, the researchers also tested on non-English pairs like Finnish-Greek (fi-el) and Finnish-Hebrew (fi-he).
Key Results
BinaryAlign established a new state-of-the-art (SOTA) across all evaluated categories, measured by the Alignment Error Rate (AER).
- Zero-Shot Performance: BinaryAlign improved AER by an average of 3.0 points over the previous best multilingual method, AccAlign.
- Sample Efficiency: In few-shot scenarios (using only 32 labeled examples), the model outperformed existing systems that utilized millions of weakly supervised samples, showing a 3.1 point AER improvement.
- Complex Alignment Handling: The model's most significant gain was in identifying one-to-multiple non-contiguous words, where it more than doubled the accuracy of previous SOTA methods (from 5.9% to 13.5%).
Discussion and Future Work
While BinaryAlign offers superior accuracy, it introduces a computational bottleneck. Because the model requires a forward pass for every word in the source sentence, inference is slower than embedding-based methods.
Future research will focus on:
- Exploring larger decoder-only or encoder-decoder architectures (e.g., mT5) to see if scaling further improves accuracy.
- Investigating knowledge distillation techniques to compress the model's logic into a faster architecture, potentially solving the inference speed bottleneck.
Summary updated