Cross-Lingual Dependency Parsing with Late Decoding for Truly Low-Resource Languages

Michael Sejr Schlichtkrull, Anders Søgaard

TL;DR

This paper introduces a novel end-to-end neural dependency parser, Tensor-LSTM, that can learn from "noisy" projected data without requiring intermediate decoding. This approach significantly improves cross-lingual dependency parsing for low-resource languages, achieving state-of-the-art results by directly learning from projected edge scores.

What Problem Does This Paper Address?

Dependency parsing, a fundamental task in Natural Language Processing (NLP), involves analyzing the grammatical structure of sentences by identifying relationships between words. While significant progress has been made for high-resource languages with abundant annotated data (treebanks), many languages lack such resources. Annotation projection offers a solution by leveraging parallel texts (translations) from high-resource languages to create training data for low-resource languages.

However, existing annotation projection methods often involve an intermediate decoding step. This means that projected edge scores are first used to reconstruct full parse trees in the target language, and then these reconstructed trees are used for training. This process can introduce noise and lose valuable information, especially when the projected data is of low quality or the source and target languages are linguistically distant. The paper aims to overcome this limitation by developing a parser that can directly learn from projected edge scores without this intermediate decoding step, thereby preserving more information and improving performance for truly low-resource languages.

Methods

The core innovation of this paper is the Tensor-LSTM model, an extension of the standard Long Short-Term Memory (LSTM) network designed to operate on tensors rather than just sequences.

Here's a breakdown of the key methodological aspects:

  • Graph-Based Parsing: The parser is a graph-based dependency parser, meaning it represents sentences as graphs where nodes are words and edges represent dependencies.
  • Tensor Representation of Edges: The model takes an input tensor representing all possible word-pair edges in a sentence. This tensor is constructed by combining the feature vectors of potential head and dependent words.
  • Tensor-LSTM: This is the novel component. It's a multi-directional LSTM that processes the input tensor. Unlike standard LSTMs that operate on sequences, Tensor-LSTM can propagate information along multiple dimensions of the tensor, effectively considering the context of an edge in relation to other edges. The paper specifically details a "four-directional" Tensor-LSTM, which allows information flow in various directions within the tensor.
  • Late Decoding: The crucial aspect for cross-lingual parsing is the "late decoding" strategy. Instead of decoding projected edge scores into trees before training, the Tensor-LSTM is trained to directly reproduce the matrices of edge scores. The final decoding step (to produce a parse tree) is only performed at prediction time.
  • Cross-Lingual Projection: The paper outlines a method for projecting edge scores from multiple source languages to a target language. This involves using word alignments and source language parser scores to "vote" for target language edges. These votes are then aggregated to form a target language edge score matrix.

Datasets

The paper utilizes the following datasets:

  • Universal Dependencies (UD) dataset: Used for monolingual evaluation of the parser.
  • Bible Corpus: This is the primary source of parallel data for the cross-lingual experiments. The authors highlight that the Bible is a more accessible resource for truly low-resource languages compared to corpora like EuroParl.
  • Edinburgh Bible Corpus: Used for training word embeddings.

The paper does not introduce a new benchmark dataset but rather applies its method to existing parallel data for low-resource languages.

Key Insights and Ideas

  • Late Decoding is Crucial for Low-Resource Cross-Lingual Parsing: The most significant insight is that avoiding intermediate decoding of projected scores dramatically improves performance for low-resource languages. This is because early decoding can amplify errors and lose subtle information present in the raw edge scores, especially when dealing with noisy or incomplete projections.
  • Tensor-LSTM Captures Richer Context: The Tensor-LSTM architecture allows the model to consider the relationships between different edges simultaneously. This richer contextual understanding is key to its ability to learn from less-than-perfect projected data.
  • Bible as a Viable Resource: The paper demonstrates the effectiveness of using the Bible as a source of parallel data for cross-lingual transfer, which is a practical advantage for languages with limited digital resources.
  • Mean Squared Error Robustness: The paper finds that using a mean squared error loss function, combined with late decoding, makes the model more robust to missing edge scores compared to cross-entropy loss. This is attributed to the inherent robustness gained by avoiding the intermediate decoding step.

Key Results

  • Monolingual Performance: In monolingual settings, the Tensor-LSTM parser achieved an average unlabeled attachment score (UAS) of 83.70%, outperforming TurboParser (81.50%) on several languages.
  • Cross-Lingual Performance: For cross-lingual dependency parsing using projected data, the Tensor-LSTM with late decoding (mean squared loss) achieved an average UAS of 48.54%. This represents an absolute improvement of 2.25% over the previous state-of-the-art (Agić et al., 2016) and is the best reported result for this task at the time of publication.
  • Robustness to Missing Labels: Figure 4 shows that the performance difference between mean squared loss and cross-entropy loss widens as the percentage of missing edge scores increases. This visually confirms the robustness of the mean squared loss approach with late decoding.
  • Significant Gains for Low-Resource Languages: The paper highlights dramatic performance increases for languages like Finnish, Persian, Hindi, and Hebrew, which are linguistically distant from the Indo-European source languages.

Limitations and Future Work

  • Feature Function Simplicity: The authors acknowledge that they used an "extremely simple feature function." They suggest that more complex feature functions could lead to further improvements.
  • POS-Tagging Integration: They propose incorporating POS-tagging directly into the Tensor-LSTM as a multi-task learning objective.
  • Semantic Tasks: Extending the model to incorporate semantic tasks is suggested as a future direction.
  • Deeper/Wider Models: Exploring deeper or wider Tensor-LSTM architectures, or more connected models like GridLSTM, is also mentioned as a path for performance gains.
  • Language Similarity: While the model performs well across the board, the paper notes that Indo-European languages might be less affected by missing labels due to linguistic similarity. Further investigation into this aspect could be beneficial.

Summary updated

BibTeX
@inproceedings{schlichtkrull2017cross,
  author = {Michael Sejr Schlichtkrull and Anders Søgaard},
  title = {{Cross-Lingual Dependency Parsing with Late Decoding for Truly Low-Resource Languages}},
  booktitle = {EACL},
  year = {2017},
  url = {https://openreview.net/forum?id=XsI2kbMq9p2},
}
Figure