On Difficulties of Cross-Lingual Transfer with Order Differences: A Case Study on Dependency Parsing

Wasi Uddin Ahmad, Zhisong Zhang, Xuezhe Ma, Eduard H. Hovy, Kai-Wei Chang, Nanyun PengNAACL 2019 · DOI

TL;DR

This paper investigates how language word order differences impact cross-lingual transfer in dependency parsing. They propose that "order-free" neural architectures, like self-attention, are more robust for transferring to distant languages compared to "order-sensitive" RNN-based models, which tend to overfit to the source language's word order. Their experiments on 30 languages confirm this, showing order-free models significantly outperform order-sensitive ones for distant language pairs.

What Problem Does This Paper Address?

Cross-lingual transfer, the ability to leverage knowledge from a high-resource language (like English) to improve performance on a low-resource language, is a crucial area in NLP. However, a major challenge is handling linguistic differences between languages, especially syntax. Word order, a fundamental aspect of syntax, varies dramatically across languages (e.g., English is Subject-Verb-Object, while Japanese is Subject-Object-Verb). Existing cross-lingual transfer methods often struggle with these differences, particularly when transferring to languages that are typologically distant from the source. This paper specifically addresses how the design of neural network architectures, particularly their sensitivity to word order, affects the success of cross-lingual transfer in dependency parsing.

Methods

The authors compare four main architectures for cross-lingual dependency parsing, combining two types of encoders and two types of decoders:

  • Encoders:
    • Order-Sensitive (RNN): Bidirectional LSTMs (BILSTM-RNN) are used. These models process sequences word-by-word, inherently capturing sequential information and thus being sensitive to word order.
  • Order-Free (Self-Attention): A modified Transformer architecture is employed. They adapt the relative positional embeddings to discard directional information, making the model aware of surrounding words but not their specific order. This is referred to as the "SelfAtt-Relative" encoder.
  • Decoders:
    • Order-Sensitive (Stack-Pointer): A top-down transition-based decoder that uses an RNN to record the decoding trajectory, making it sensitive to word order.
  • Order-Free (Graph-based): A graph-based decoder that uses a biaffine attention scorer. This approach is considered order-free as it doesn't rely on sequential information.

The core hypothesis is that order-free models will exhibit better transferability, especially to distant languages, because they are less prone to overfitting to the source language's specific word order.

Datasets

The study uses the Universal Dependencies (UD) Treebanks (v2.2) for evaluation. They selected 31 languages where the total token count in their respective treebanks exceeded 100K. English was used as the sole source language for training and hyperparameter tuning. The models were then evaluated on the test sets of the other 30 target languages. For Chinese and Japanese, which showed poor embedding alignment with English, they also conducted experiments with delexicalized models (using only POS tags as input).

Key Insights and Ideas

  • Word Order is a Key Differentiator: The paper quantifies language distance based on word order typology and shows that this measure correlates well with transfer performance. Hierarchical clustering based on word-ordering vectors largely recovers known language families, highlighting word order's significance.
  • Order-Free Models Excel for Distant Languages: The central finding is that models designed to be less sensitive to word order (order-free, e.g., self-attention encoders and graph-based decoders) perform significantly better in cross-lingual transfer, particularly when the target language's word order differs substantially from English.
  • Order-Sensitive Models Prefer Closer Languages: Conversely, order-sensitive models (RNN encoders, Stack-Pointer decoders) perform better on languages that are typologically closer to English. This suggests they can leverage shared word order information more effectively in such cases.
  • Encoder Architecture Matters Most: The analysis indicates that the encoder's architecture has a more pronounced impact on cross-lingual transferability than the decoder's. The "SelfAtt-Relative" encoder consistently shows superior performance.
  • Delexicalization for Poor Embeddings: For languages like Chinese and Japanese, where pre-trained multilingual embeddings don't align well with English, delexicalized models (using POS tags) improve performance, suggesting that robust input representations are critical.

Key Results

The "SelfAtt-Graph" model (order-free encoder, order-free decoder) consistently achieved the best performance across the 30 target languages, outperforming the "RNN-Graph" model (order-sensitive encoder, order-free decoder) by an average of 1.3 UAS and 1.2 LAS. This advantage increased to over 1.5 points when compared to the "Stack" decoders. The paper also shows that the performance gap between order-free and order-sensitive models widens as the word-ordering distance to English increases. For instance, on languages distant from English, the order-free models showed a substantial improvement.

Limitations and Future Work

  • Limitations:
    • The study acknowledges that for languages very close to English, order-sensitive models can sometimes perform better.
  • The performance gap between supervised models and their cross-lingual transfer models remains significant, indicating room for improvement.
  • The authors note that while the "Object-Verb" dependency type was analyzed, its low frequency and complex interactions might limit its generalizability as a sole indicator. They also suggest that even their "order-free" self-attention encoder might implicitly capture some positional information due to relative distance patterns, leading to a potential bias.
  • The delexicalized models only showed significant gains for Chinese and Japanese, and their performance was still worse than the original models for other languages.
  • Future Work:
    • Explore multi-source transfer learning.
  • Incorporate prior linguistic knowledge into models.
  • Investigate ways to further weaken or remove potential biases in order-free models.
  • Further research into input representations, especially for languages with poor embedding alignment.
  • Investigate training on multiple source languages with different dependency distance distributions.

Summary updated

BibTeX
@inproceedings{ahmad2019difficulties,
  author = {Wasi Uddin Ahmad and Zhisong Zhang and Xuezhe Ma and Eduard H. Hovy and Kai-Wei Chang and Nanyun Peng},
  title = {{On Difficulties of Cross-Lingual Transfer with Order Differences: A Case Study on Dependency Parsing}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1253},
}
Figure