Typology Guided Multilingual Position Representations: Case on Dependency Parsing

Tao Ji, Yuanbin Wu, Xiaoling Wang

Abstract

Standard multilingual Transformer models often assume a universal word order geometry, leading to negative transfer between languages with divergent syntactic structures. This paper introduces a novel approach using typology-guided position representations. By employing a generative network conditioned on typological features (e.g., WALS), we create language-specific position embeddings. Our method significantly improves dependency parsing performance for both seen and zero-resource languages while remaining parameter-efficient.

Introduction: The Geometry of Word Order

In multilingual Natural Language Processing (NLP), aligning semantic representations across languages has seen great success. However, the structural aspect—specifically word position—has largely been treated as a universal constant. Standard Transformer models utilize a single set of position embeddings for all languages, ignoring fundamental typological differences. For example, English typically follows an Adjective-Noun (AN) order, whereas French often uses Noun-Adjective (NA). Forcing these distinct structural rules into a shared positional "coordinate system" results in negative transfer, particularly detrimental to tasks like dependency parsing that rely on structural relationships.

Methodology: Position Generation Networks

To address this, we propose replacing static, universal embeddings with a Position Generation Network. Instead of learning a fixed vector for each position, the model learns to generate a vector for "Position $i$ in Language $L$" based on that language's specific traits.

We explore two primary architectures:

  1. MLP Position Generator: A two-layer Multi-Layer Perceptron that maps typological feature vectors to position embeddings.
  2. Self-attention (ATTN) Generator: This approach uses typological features as a "query" to attend over a set of basis vectors (standard sinusoidal embeddings), allowing for language-specific shifts while maintaining positional regularity.

The guiding signals are derived from Typological Features sourced from the World Atlas of Language Structures (WALS) and the URIEL database, encoding rules such as Subject-Verb-Object (SVO) order and Adposition-Noun order.

Key Insights: Probing Positional Typology

Our experiments demonstrate that these generated position vectors effectively encode linguistic typology. Through probing, we found that replacing a language's position vectors with those from a typologically similar language (e.g., swapping English with Italian, both SVO) maintains high performance. Conversely, swapping with a typologically distant language (e.g., Japanese, an SOV language) leads to a sharp decline in accuracy.

Probing experiments showing accuracy drops when swapping position embeddings between languages with different word order typologies (SVO/SOV and AN/NA).

Further analysis revealed:

  • Inward Attention Bias: Positions at sentence boundaries tend to attend "inward" toward the rest of the sentence across all languages.
  • Branching Correlation: Learned attention patterns correlate with a language's branching type (left vs. right-branching).
  • Efficiency: The method is highly parameter-efficient, requiring only ~7% of the trainable parameters compared to state-of-the-art adapter-based methods.

Experimental Results

We evaluated our approach on the Universal Dependencies (UD) benchmark across 13 high-resource training languages and 30 zero-resource evaluation languages.

Correlation between linguistic distance and performance (a, b) alongside LAS improvements of Multilingual Position Representations (MPR) over Universal ones (UPR) (c).
  • Performance Gains: The ATTN-based model achieved a +4.1 LAS (Labeled Attachment Score) improvement over universal positions for seen languages.
  • Zero-Resource Transfer: For languages unseen during training, using typological priors resulted in a +1.2 LAS boost.
  • Superiority over Baselines: Our method outperformed established multilingual parsers like "udify" and "udapter," demonstrating that structural guidance in the positional space is more effective than generic language-specific layers.

Conclusion and Future Work

Respecting linguistic diversity in word order is crucial for robust multilingual models. While our typology-guided approach shows significant promise, it currently depends on manually curated databases like WALS. Future research could explore "latent" typology—automatically learning structural features from raw text—and extending this framework to tasks beyond dependency parsing.

Summary updated

BibTeX
@inproceedings{ji2023typology,
  author = {Tao Ji and Yuanbin Wu and Xiaoling Wang},
  title = {{Typology Guided Multilingual Position Representations: Case on Dependency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.854},
}
Figure