The DCU-EPFL Enhanced Dependency Parser at the IWPT 2021 Shared Task

James Barry, Alireza Mohammadshahi, Joachim Wagner, Jennifer Foster, James Henderson

TL;DR

This paper presents the DCU-EPFL team's submission to the IWPT 2021 Enhanced Universal Dependencies (EUD) parsing shared task. They developed a Transformer-based parser that achieved a competitive score, and through post-deadline experiments, demonstrated significant improvements by incorporating advanced pre-processing, a larger encoder, treebank concatenation, and a novel multitask learning approach for joint basic and enhanced dependency parsing.

What Problem Does This Paper Address?

Natural language processing models often struggle to fully capture the nuances of semantic structure in text. While standard dependency parsing provides a hierarchical representation of sentence structure, it can be restrictive. Enhanced Universal Dependencies (EUD) aim to overcome these limitations by extending basic dependency trees into more expressive graphs that can better represent complex semantic phenomena like control, raising, coordination, and elided elements. The IWPT 2021 Shared Task challenged participants to build parsers that can predict these EUD graphs directly from raw text, requiring not only sentence segmentation and tokenization but also the prediction of enhanced dependency structures.

Methods

The DCU-EPFL system is built around a multilingual Transformer encoder, specifically XLM-ROBERTa (XLM-R), to generate contextualized token representations. This is a standard approach in modern NLP for capturing rich linguistic information. The core innovation lies in how these representations are used for EUD parsing.

The system employs an arc-factored model that uses an MLP to score potential edges (head-dependent relationships) and another classifier to predict the label for each edge. This approach allows for the prediction of arbitrary graphs, including those with multiple heads or cycles, which are characteristic of EUD.

Key components of their pipeline include:

  • Pre-processing: Initially, they used the Stanza library for sentence segmentation, tokenization, and predicting basic UD features.
  • EUD Parsing: A Transformer encoder (XLM-R) followed by an arc-factored model for edge and label prediction.
  • Post-processing: A crucial step to ensure the predicted graphs are connected and rooted, as required by EUD guidelines.

Post-deadline experiments explored several enhancements:

  • Trankit: Replacing Stanza with Trankit for pre-processing, which also uses a Transformer encoder.
  • XLM-RLarge: Utilizing a larger version of the XLM-R model for potentially better performance.
  • Treebank Concatenation: Combining multiple treebanks for the same language to increase training data diversity and robustness.
  • Multitask Learning: Jointly training a basic UD parser and the EUD parser, hypothesizing that the basic structure provides valuable auxiliary information for predicting the enhanced graph.

Datasets

The evaluation was conducted on 29 treebanks across 17 languages provided for the IWPT 2021 Parsing Shared Task. These treebanks represent Enhanced UD graphs, which are an extension of basic Universal Dependencies. The paper does not mention the creation of new benchmarks.

Key Insights and Ideas

  • XLM-R is effective for EUD: The use of a powerful multilingual Transformer encoder like XLM-R proved to be a strong foundation for EUD parsing, capturing rich contextual information.
  • EUD is closer to semantic parsing: The authors note that their findings, aligning with previous work, suggest EUD parsing might be more akin to semantic dependency parsing than traditional syntactic dependency parsing, due to the richer semantic phenomena it aims to capture.
  • Pre-processing matters: Switching from Stanza to Trankit provided noticeable improvements, highlighting the impact of the initial text segmentation and tokenization steps.
  • Larger models yield gains: Using XLM-RLarge, a larger variant of the encoder, consistently improved performance, demonstrating the benefit of increased model capacity.
  • Data augmentation through concatenation is beneficial: Combining multiple treebanks for a language significantly boosted performance, especially for languages with limited data, suggesting positive transfer learning within a language.
  • Joint learning of basic and enhanced parsing is valuable: The multitask approach, predicting both basic UD trees and EUD graphs simultaneously, showed consistent improvements across languages, indicating a strong synergy between these two tasks.

Key Results

The official DCU-EPFL submission achieved a coarse Enhanced Labeled Attachment Score (ELAS) of 83.57, placing 6th out of 9 participants.

Through post-deadline experiments, their final system, incorporating Trankit pre-processing, XLM-RLarge, treebank concatenation, and multitask learning, achieved a coarse ELAS of 88.04, a significant improvement of 4.5 ELAS points over their official submission. This improved score ranked their system highly, placing it second for 13 out of 17 languages and first for Italian and Russian when compared to other official runs.

Limitations and Future Work

  • Time constraints: The authors mention that due to time constraints, they trained using full lexicalized enhanced dependency labels. They intend to devise a delexicalization and relexicalization procedure in future work.
  • Arabic MWT handling: For Arabic, they had to use a UDPipe tokenizer with Word2Vec embeddings instead of Stanza's Multi-word Token (MWT) expander because Stanza predicted MWTs with a span of length 1, which violates UD guidelines. This suggests potential issues with handling specific linguistic phenomena or data formats.
  • Multitask learning effectiveness: While multitask learning was generally beneficial, they observed slight performance drops for Czech and English when combined with concatenation, suggesting that the optimal combination of techniques can be language-dependent.
  • Future work: The authors suggest that the positive contribution of multitask learning for languages with limited data could be useful in settings where only one treebank with enhanced representation is available. They also plan to explore delexicalization and relexicalization procedures.

Summary updated

BibTeX
@inproceedings{barry2021dcu,
  author = {James Barry and Alireza Mohammadshahi and Joachim Wagner and Jennifer Foster and James Henderson},
  title = {{The DCU-EPFL Enhanced Dependency Parser at the IWPT 2021 Shared Task}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
}
Figure