The Past, Present, and Future of Typological Databases in NLP

Emi Baylor, Esther Ploeger, Johannes Bjerva

TL;DR

Typological databases like WALS and Grambank are essential for building NLP models for low-resource languages, but they are riddled with inconsistencies. This paper quantifies these mismatches, identifies "discretization" as a primary culprit, and argues that the future of the field lies in adopting a continuous, gradient view of linguistic features rather than rigid categories.

What Problem Does This Paper Address?

Linguistic typology—the study of how languages differ and what they share—is a potential goldmine for NLP, especially when dealing with the world's thousands of low-resource languages. If we know a language's word order or how it handles plurals, we can theoretically transfer knowledge from high-resource languages more effectively.

However, the authors identify a major hurdle: the "ground truth" databases we rely on (like the World Atlas of Language Structures, or WALS) are often inconsistent. These inconsistencies arise from three main sources:

  1. Factual/Encoding Errors: Simple mistakes in reading a grammar or entering data.
  2. Linguistic Variation: Languages aren't monoliths; they change over time and vary across domains (e.g., spoken vs. medical texts).
  3. The Discretization Trap: Forcing a fluid linguistic phenomenon into a single "bucket" (like "SVO word order") erases the nuance of languages that use multiple orders depending on context.

Methods

The authors employ a three-pronged approach to quantify and understand these database mismatches:

  • Cross-Database Comparison: They mapped a subset of features between WALS and Grambank to see how often they agree. They used "exact matches" and "soft matches" (where WALS's dominant order is a subset of Grambank's possible orders).
  • Domain Analysis: They analyzed Universal Dependencies (UD) treebanks for Dutch, English, French, and Japanese to see how typological features (specifically Noun-Adjective ordering) fluctuate across different genres like news, social media, and spoken language.
  • LLM Probing: They attempted to fine-tune Large Language Models (LLMs) like BERT and RoBERTa to predict a language's WALS features based on Wikipedia snippets describing that language. The goal was to see if the categorical labels in databases align with how humans describe languages in text.

Datasets

  • WALS (World Atlas of Language Structures): A large knowledge base of lexical, phonological, and syntactic properties.
  • Grambank: A database focusing on what is possible in a language rather than just what is dominant.
  • Universal Dependencies (UD) Treebanks: Used to measure real-world linguistic variation across domains.
  • Wikipedia: English-language articles used as a source of descriptive linguistic information for the LLM experiments.

Key Insights and Ideas

  • The "No Dominant Order" Fallacy: WALS often uses a "No dominant order" label for languages with flexible syntax. The authors point out that this erases the fundamental differences between a language with three specific alternating orders and one with completely free word order.
  • Domain Matters: Typology isn't static. For example, French shows a slight preference for Adjective-Noun (A-N) ordering in spoken language, but a heavy preference for Noun-Adjective (N-A) ordering in medical texts.
  • LLMs are Unimpressed: The fact that fine-tuned LLMs barely beat a simple majority-class baseline when predicting WALS features (see results below) suggests that the categorical labels in these databases don't capture the nuanced descriptions found in linguistic literature (like Wikipedia).
  • The Gradient Future: The authors echo recent linguistic theories suggesting that typology should be viewed as a continuum. Instead of saying a language is SVO, we should describe the probability or frequency of SVO usage.

Key Results

The study reveals significant friction between our primary typological resources:

  • Low Agreement: The mean agreement between WALS and Grambank across several features was only 69.04%. For some categories, like Noun-Adjective ordering in North American languages, agreement dropped as low as 57.14%.
Table showing agreement between WALS and Grambank across different macroareas.
  • LLM Performance: When trying to classify languages into WALS word-order categories using Wikipedia text, the best model (BERT) achieved only 59.05% accuracy, compared to a 52.16% baseline.
Table showing LLM accuracy for WALS feature prediction.
  • Real-world Variation: In English, while generally considered A-N, the "Atis" treebank (flight information) showed 31% N-A ordering, largely due to how dates and specific adjectives like "available" are used in that domain.
Table showing variation in Noun-Adjective order across different language domains.

Limitations and Future Work

The authors acknowledge that they only investigated a subset of features and macroareas. They also note that their domain analysis assumes the annotations in Universal Dependencies treebanks are perfectly correct, which may not always be the case.

The primary recommendation for future work is a paradigm shift: move away from discrete typological buckets. The authors argue that developing models that treat typological features as continuous scales will lead to more reliable data and, ultimately, better-performing NLP systems for the world's diverse languages.

Summary updated

Abstract

Typological information has the potential to be beneficial in the development of NLP models, particularly for low-resource languages. Unfortunately, current large-scale typological databases, notably WALS and Grambank, are inconsistent both with each other and with other sources of typological information, such as linguistic grammars. Some of these inconsistencies stem from coding errors or linguistic variation, but many of the disagreements are due to the discrete categorical nature of these databases. We shed light on this issue by systematically exploring disagreements across typological databases and resources, and their uses in NLP, covering the past and present. We next investigate the future of such work, offering an argument that a continuous view of typological features is clearly beneficial, echoing recommendations from linguistics. We propose that such a view of typology has significant potential in the future, including in language modeling in low-resource scenarios.
BibTeX
@inproceedings{baylor2023past,
  author = {Emi Baylor and Esther Ploeger and Johannes Bjerva},
  title = {{The Past, Present, and Future of Typological Databases in NLP}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.82},
}
Figure