Multilingual Nonce Dependency Treebanks: Understanding how Language Models represent and process syntactic structure

David Arps, Laura Kallmeyer, Younes Samih, Hassan Sajjad
11/13/2023
cs.CL

No official code found. Best implementation: davidarps/spud (4 stars, last commit 2024-06-12).

Abstract

We introduce SPUD (Semantically Perturbed Universal Dependencies), a framework for creating nonce treebanks for the multilingual Universal Dependencies (UD) corpora. SPUD data satisfies syntactic argument structure, provides syntactic annotations, and ensures grammaticality via language-specific rules. We create nonce data in Arabic, English, French, German, and Russian, and demonstrate two use cases of SPUD treebanks. First, we investigate the effect of nonce data on word co-occurrence statistics, as measured by perplexity scores of autoregressive (ALM) and masked language models (MLM). We find that ALM scores are significantly more affected by nonce data than MLM scores. Second, we show how nonce data affects the performance of syntactic dependency probes. We replicate the findings of Müller-Eberstein et al. (2022) on nonce test data and show that the performance declines on both MLMs and ALMs wrt. original test data. However, a majority of the performance is kept, suggesting that the probe indeed learns syntax independently from semantics.

View on arXivView PDF

Code Implementations(1)

davidarps/spudCommunity100%
42Python, Jupyter NotebookNov 9, 20232 years ago

Similar Papers

Cite this paper

@article{arps2023multilingual,
  title  = {Multilingual Nonce Dependency Treebanks: Understanding how Language Models represent and process syntactic structure},
  author = {David Arps and Laura Kallmeyer and Younes Samih and Hassan Sajjad},
  year   = {2023},
  eprint = {2311.07497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07497v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.07497.svg)](https://codeofpaper.com/paper/2311.07497)

Discussion