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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Arps, David, Kallmeyer, Laura, Samih, Younes, Sajjad, Hassan
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913387188846592
author Arps, David
Kallmeyer, Laura
Samih, Younes
Sajjad, Hassan
author_facet Arps, David
Kallmeyer, Laura
Samih, Younes
Sajjad, Hassan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2311_07497
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Multilingual Nonce Dependency Treebanks: Understanding how Language Models represent and process syntactic structure
Arps, David
Kallmeyer, Laura
Samih, Younes
Sajjad, Hassan
Computation and Language
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.
title Multilingual Nonce Dependency Treebanks: Understanding how Language Models represent and process syntactic structure
topic Computation and Language
url https://arxiv.org/abs/2311.07497