Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment

Siyu Lai, Zhen Yang, Fandong Meng, Yufeng Chen, Jinan Xu, Jie Zhou

Word alignment—the task of identifying corresponding words between source and target sentences—remains a fundamental component of natural language processing, essential for tasks ranging from machine translation to cross-lingual information retrieval. While Large Language Models (LLMs) have transformed the NLP landscape, word alignment has historically struggled to move beyond statistical methods or simple multilingual embeddings.

In the paper "Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment," researchers introduce a novel architecture designed to address the "interaction gap" in existing alignment models. By leveraging explicit cross-attention layers, Cross-Align enables models to perform deep cross-lingual reasoning, significantly improving accuracy across diverse language pairs.

The Problem: The Interaction Gap

Traditional word alignment relied on statistical tools like GIZA++. More recently, the field shifted toward using pre-trained multilingual Language Models (LMs) such as mBERT. While these LM-based aligners are efficient, they often treat source and target sentences as independent inputs or simple concatenations.

This lack of deep interaction creates a "blind spot" for the model, particularly when dealing with lexical ambiguity. For instance, the Chinese character “以” can function as a preposition ("to/for") or as part of the proper noun "Israel" (以色列). Without a mechanism to deeply cross-reference the English side of a translation to check for the presence of "Israel," a model might default to a generic, incorrect alignment. Cross-Align solves this by forcing the model to constantly query the opposing language during the encoding process.

The Cross-Align Architecture

Cross-Align departs from standard Transformer encoders by employing a specialized hybrid architecture and a two-stage training framework.

1. Hybrid Transformer Design

The model's architecture is split into two distinct functional zones:

  • Shallow Layers (Layers 1–10): These layers use shared self-attention modules to extract monolingual features for each language independently. This ensures the model maintains a strong grasp of the internal structure of each language.
  • Upper Layers (Layers 11–12): These layers introduce explicit cross-attention modules. Here, the source sentence acts as a "query" to the target sentence (and vice versa). This mimics the cognitive process of a human translator looking back and forth between two texts to confirm correspondences.

2. Two-Stage Training Framework

To optimize the model for alignment without relying on expensive manually labeled data, the authors use a self-supervised approach:

  • Stage 1: Translation Language Modeling (TLM): The model learns to predict masked words in one language by utilizing the context provided by the other language through the cross-attention layers.
  • Stage 2: Self-Supervised Alignment (SSA): To bridge the gap between word prediction and word alignment, the model uses its own high-confidence alignments from Stage 1 as "pseudo-labels." It then fine-tunes the alignment layer directly on these labels to refine its precision.

Key Insights and Performance

The authors evaluated Cross-Align on five standard benchmarks: German-English (De-En), English-French (En-Fr), Romanian-English (Ro-En), Chinese-English (Zh-En), and Japanese-English (Ja-En).

State-of-the-Art Results

Cross-Align achieved State-of-the-Art (SOTA) performance on four out of five language pairs. Notable highlights include:

  • Japanese-English: Achieved an Alignment Error Rate (AER) of 35.4, a 3.0-point improvement over previous LM-based aligners.
  • Chinese-English: Reached an AER of 10.1, significantly outperforming the popular Awesome-Align (12.9).
  • Statistical Comparison: The model consistently outperformed traditional tools like GIZA++, showing improvements of up to 12.6 AER points on certain datasets.

Analysis of Deep Interaction

The research yielded several critical insights into how models learn to align:

  • The Layer Sweet Spot: The 10/2 split (self-attention/cross-attention) proved optimal. Using cross-attention for all 12 layers actually degraded performance, as the model lost the ability to represent the individual languages' internal structures.
  • Middle-Layer Superiority: Alignments are most accurate in Layer 11 (the first cross-attention layer) rather than the final layer, suggesting that the most useful matching features are formed at the initial point of deep interaction.
  • The Value of Self-Supervision: The SSA stage (Stage 2) consistently reduced the AER by 0.9 to 2.4 points, confirming that self-refinement is a powerful tool for alignment tasks.

Limitations and Future Directions

Despite its success, Cross-Align faces challenges in low-resource settings. In the Romanian-English (Ro-En) test, it performed slightly worse than some NMT-based models. Because the cross-attention layers are initialized randomly, they require substantial parallel data to converge—data that is often unavailable for low-resource languages.

Additionally, because the model operates at the subword level, it can occasionally struggle with multi-word phrases, leading to "broken" alignments where only a portion of a phrase is correctly matched. Future work will focus on better initialization strategies for cross-attention parameters and incorporating phrase-level constraints to further enhance alignment quality.

Summary updated

BibTeX
@inproceedings{lai2022cross,
  author = {Siyu Lai and Zhen Yang and Fandong Meng and Yufeng Chen and Jinan Xu and Jie Zhou},
  title = {{Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.244},
}
Figure