TGIF: Tree-Graph Integrated-Format Parser for Enhanced UD with Two-Stage Generic- to Individual-Language Finetuning

Tianze Shi, Lillian Lee

TL;DR

This paper introduces TGIF, a novel tree-graph integrated parser for enhanced Universal Dependencies (UD) that achieves state-of-the-art results. By combining tree-based and graph-based parsing techniques and employing a two-stage finetuning strategy, TGIF significantly improves parsing accuracy, especially for low-resource languages.

What Problem Does This Paper Address?

The Universal Dependencies (UD) initiative aims to create a consistent framework for syntactic analysis across languages. While traditional UD focuses on tree structures, "enhanced UD" extends this to connected graphs, allowing for richer representation of complex linguistic phenomena like coordination, gapping, and argument sharing. However, parsing into these enhanced UD graphs presents a challenge: ensuring graph connectivity during inference. Existing methods often rely on post-processing to fix connectivity issues, which can be error-prone. Furthermore, the UD parsing problem is complicated by the varying availability of annotated data across languages, with some languages having significantly less data than others. This paper tackles both the challenge of parsing into connected graphs and the issue of low-resource languages.

Methods

The core of TGIF is a tree-graph integrated parser. The key idea is that any connected graph must contain a spanning tree. TGIF first predicts a spanning tree from the enhanced UD graph, leveraging existing tree-parsing techniques. Then, it predicts additional graph edges that are not part of the spanning tree on a per-edge basis. This approach ensures connectivity without the need for post-processing.

To address the low-resource language problem, TGIF employs a two-stage finetuning strategy:

  1. Language-generic pre-training: A single model is trained on the concatenation of all available training treebanks from all languages. This encourages knowledge sharing across languages.
  2. Individual-language finetuning: The generic model is then further fine-tuned on each language separately.

Additionally, the authors developed their own pre-processing modules (tokenization, sentence splitting, and multi-word token expansion) based on pre-trained XLM-R models and character-level language models, which are crucial for parsing raw text.

Datasets

The paper uses the Universal Dependencies (UD) treebanks for training and evaluation. Specifically, they leverage data from the IWPT 2021 shared task, which includes treebanks for 17 languages across 4 language families. The paper does not introduce new datasets but rather utilizes existing UD resources.

Key Insights and Ideas

  • Spanning trees are key to connected graphs: The observation that a connected graph must contain a spanning tree is central to their parser design. By predicting a spanning tree first, they can guarantee connectivity.
  • Two-stage finetuning bridges the resource gap: Training a generic model first and then finetuning on individual languages effectively transfers knowledge from high-resource to low-resource languages, leading to significant improvements.
  • Pre-trained models are powerful for pre-processing: Leveraging XLM-R for tokenization, sentence splitting, and multi-word token expansion significantly boosts performance on these crucial pre-processing steps.
  • Generic models can be competitive: The language-generic model, even before individual finetuning, shows competitive performance, suggesting potential for single-model solutions for parsing multiple languages.

Key Results

TGIF achieved a macro-average ELAS (Enhanced Labeled Attachment Score) of 89.24 on the test set, ranking first among all teams. It achieved the best score on 16 out of 17 languages, with a margin of over 2 absolute ELAS points compared to the next best submission. The two-stage finetuning strategy showed improvements, particularly for low-resource languages like Tamil and Lithuanian, with gains of 2.13 and 1.01 absolute ELAS, respectively. The pre-processing pipeline also demonstrated strong performance, competitive with state-of-the-art toolkits like Stanza and Trankit.

Limitations and Future Work

The authors acknowledge that their parser does not directly support "empty nodes," which can be present in enhanced UD graphs. They handle this by collapsing relation paths with empty nodes into composite relations. For future work, they suggest exploring language-specific methods and model combination or ensemble techniques to further enhance model accuracies. They also note that while their pre-processing pipeline shows strong results, a sequence-to-sequence MWT expansion approach might offer further gains, similar to those used by Stanza and Trankit.

Summary updated

BibTeX
@inproceedings{shi2021tgif,
  author = {Tianze Shi and Lillian Lee},
  title = {{TGIF: Tree-Graph Integrated-Format Parser for Enhanced UD with Two-Stage Generic- to Individual-Language Finetuning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
}
Figure