Manuscript Offprint

arXiv:2609.37883

Zero-shot Dependency Parsing with Unsupervised Cross-Lingual Bootstrapping

Lalita Lowphansirikul, Attapol Rutherford, Jian Gang Ngui, Sarana Nutanong, Peerat Limkonchotiwat

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Pre-trained language models (PLMs) with encoder-based architectures have shown impressive capabilities in zero-shot cross-lingual transfer for various language understanding tasks. However, applying this technique to dependency parsing remains a significant challenge due to its syntactic nature. To boost model generalizability across linguistic typologies, we propose a cross-lingual unsupervised bootstrapping method to improve syntactic knowledge within the PLM. We show that our method achieves a significant improvement in zero-shot parsing performance in low-resource languages. Analysis of these bootstrapped models uncovers increased robustness in recognizing syntactic structures, evidenced by higher scores in parameter-free tree probing tests.

1 Introduction

Encoder-based multilingual pre-trained language models (PLMs) demonstrate promising cross-lingual transferability (Wu and Dredze, 2019; Pires et al., 2019), enabling them to generalize knowledge across languages. This capability benefits language understanding tasks such as natural language inference and reasoning. Despite success in sequence-level tasks, cross-lingual transferability in syntactic tasks relies on syntactic similarity. Tran and Bisazza (2019) shows that dependency parsing transferability relies on shared subject-verb-object word order. These findings highlight the importance of syntactic similarity in cross-lingual tasks.

Previous works have aimed to mitigate the structural similarity constraint in dependency parsing with various approaches. Kondratyuk and Straka (2019) propose joint training on multiple treebanks. Further improvements include difficulty-based batch selection (de Lhoneux et al., 2022), meta-learning (Langedijk et al., 2022), and adapter modules contextualized by linguistic features (Üstün et al., 2020; Ji et al., 2023). Liu et al. (2020) rearrange words based on part-of-speech tags to match target language structure. Arviv et al. (2023) improve performance with word permutation while preserving syntax. Although these approaches have narrowed the cross-lingual transfer gap, they remain limited to supervised fine-tuning. Our research question is as follows: “To what extent can unsupervised representation learning uplift multilingual PLM’s zero-shot dependency parsing performance?”

We propose a PLM bootstrapping method using an unsupervised contrastive representation learning, without using multilingual datasets, to enhance representation similarity, as measured by a robust word-swap metric called centered kernel alignment (CKA) (Kornblith et al., 2019), between sentences and their syntax-modified counterparts. Our preliminary observations show pre-trained mBERT's sensitivity to word order changes (Figure 1). For example, the similarity between unmodified and verb-object reordered sentences decreases, similar to randomly swapped words with a 5% distance change. Therefore, the model training process must be invariant to various valid syntactic structures while preserving knowledge already learned.

We distinguish our work from previous studies by aiming to improve cross-lingual transferability through three components. First, we implement syntax-aware sentence augmentation by rotating subtrees, given our findings that a multilingual PLM invariant to syntactic structures can improve cross-lingual transfer for tasks requiring syntactic knowledge. Second, we choose masked language

Figure

Figure 1: Layer-wise CKA similarity between original and modified English sentences obtained from pretrained mBERT representations. A higher score means more robustness for word swapping. We use the English EWT test treebank (UD v2.8) in this experiment.

modeling (MLM) as an auxiliary loss to preserve the lexicon and contextual understanding already learned in the PLM. Finally, we apply layer combination during model bootstrapping to aggregate syntactic knowledge from other encoder layers.

We bootstrap multilingual PLMs using the components individually and in combination, then perform supervised fine-tuning with weights initialized from our bootstrapped models. Our experimental results show improved average unlabeled and labeled attachment scores (UAS and LAS) for multilingual PLMs, especially on languages in the pre-training data. In addition, the experiment on probing test languages reveals higher UAS and undirected UAS (UUAS) for bootstrapped models compared to vanilla pre-trained models.

Our contributions are as follows: (I) We present a contrastive learning-based method to improve cross-lingual transferability, incorporating syntax-aware sentence augmentation, contextual knowledge preservation, and multi-layer representation aggregation. (II) We demonstrate zero-shot downstream performance on the adapter-based parser initialized with bootstrapped models. (III) We demonstrate robust syntax changes in bootstrapped models, improving unsupervised parsing with parameter-free tree probing.

References (2)