Discontinuous Constituency and BERT: A Case Study of Dutch

Konstantinos Kogkalidis, Gijs Wijnholds · DOI

Abstract

Most research into the syntactic capabilities of Large Language Models (LLMs) focuses on English, a language characterized by relatively straightforward, context-free dependencies. This study investigates the performance of Dutch BERT models—specifically BERTje and RobBERT—on the more complex, mildly context-sensitive structures inherent to Dutch syntax. By utilizing Multiple Context-Free Grammars (MCFGs) to generate synthetic stress tests, we evaluate whether these models internalize deep structural rules or rely on surface-level heuristics. Our results reveal a significant performance gap between standard benchmarks and complex syntactic tasks, suggesting that while models possess latent structural information, they fail to generalize to non-context-free dependencies without explicit supervision.

Introduction

In the field of computational linguistics, the "probing" of language models aims to determine the extent to which neural architectures learn formal linguistic rules during unsupervised pre-training. To date, this literature has been heavily biased toward English. From a syntactic perspective, English is often considered "easy mode" because its dependencies rarely cross one another, fitting largely within context-free grammar constraints.

Dutch, however, offers a more rigorous testing ground. It is famous for exhibiting cross-serial dependencies—patterns where the relationships between words "cross" when mapped out. These structures require a higher level of formal complexity, known as mildly context-sensitive grammar. This paper examines whether Dutch BERT models can navigate these "crossing" syntax patterns or if they hit a "complexity wall" when faced with structural demands absent in English.

The Challenge of Dutch Syntax

The primary difficulty in Dutch syntax lies in its verb clusters and interleaved subjects. For example, in a phrase such as "...dat Jan Marie de kinderen leert zien fietsen" (that John sees Mary teach the kids to cycle), the Dutch word order links the first subject to the first verb, the second to the second, and so on. This creates a crossing pattern of dependencies that is structurally distinct from the nested, non-crossing patterns found in English.

The researchers, Konstantinos Kogkalidis and Gijs Wijnholds, sought to determine if Dutch LMs actually internalize these rules or if they simply memorize common surface patterns found in their training data.

Methodology

To move beyond the limitations of standard corpora, the authors developed a rigorous stress test using Multiple Context-Free Grammars (MCFGs). This approach allowed for the generation of synthetic but naturalistic Dutch sentences with varying levels of recursive depth.

Data Generation

The synthetic suite focused on two specific phenomena:

  1. Control Verb Nesting: Where specific verbs (e.g., "promise" or "ask") determine subjects through lexical rules.
  2. Verb Raising: Purely structural crossing dependencies typical of Dutch verb clusters.

Probing Framework

The authors attached an attention-based "span selection probe" to the frozen representations of BERTje and RobBERT. This probe was tasked with identifying a verb’s correct subject from a list of candidate noun phrases. The probe was trained on Lassy-Small, a gold-standard corpus of written Dutch, but tested on the synthetic MCFG suite to evaluate generalization to deeper, more complex nesting than is typically found in standard news text.

Key Results

The experiments revealed a massive discrepancy between performance on standard validation sets and the structural stress tests.

  • Baseline Performance: On the Lassy-Small validation set, both BERTje and RobBERT achieved high accuracy, exceeding 92% in subject identification.
  • The Complexity Cliff: Performance plummeted on the synthetic tests. For Control Verb Nesting, accuracy dropped to 48% for BERTje and 40.6% for RobBERT. In the more difficult Verb Raising task, accuracy fell to 43.1% (BERTje) and 29.2% (RobBERT).
  • Heuristic Reliance: Error analysis showed that when models failed, they often defaulted to a "nearest neighbor" strategy. They frequently selected the noun phrase immediately preceding a verb as its subject, regardless of the actual grammatical structure.

Discussion: Latent Knowledge and One-Shot Learning

One of the most significant findings was the result of a "one-shot" experiment. When the models were fine-tuned on just a single example per abstract syntax tree, BERTje’s performance on the Control grammar jumped from 48% to 92.4%.

This suggests that the necessary structural information is actually present within the model's embeddings, but the model is not "wired" to prioritize these complex rules during standard unsupervised pre-training. The models possess the latent knowledge required to solve the task, but they require a small amount of targeted supervision to move past simple positional heuristics.

Conclusion

The study demonstrates that current Dutch BERT models struggle with the non-context-free nature of Dutch syntax when dependencies become deep or recursive. While these models are highly effective for standard NLP tasks, they exhibit a "syntactic blindness" to complex crossing dependencies. Future research should explore whether larger generative models or alternative transformer architectures with different positional encodings can better handle the formal complexity of languages like Dutch and Swiss German.

Summary updated

BibTeX
@inproceedings{kogkalidis2022discontinuous,
  author = {Konstantinos Kogkalidis and Gijs Wijnholds},
  title = {{Discontinuous Constituency and BERT: A Case Study of Dutch}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=ILBGbNRB_f},
}
Figure