Dim Wihl Gat Tun: The Case for Linguistic Expertise in NLP for Underdocumented Languages

Clarissa Forbes, Farhan Samir, Bruce Harold Oliver, Changbing Yang, Edith Coates, Garrett Nicolai, Miikka SilfverbergarXiv 2022

TL;DR

Modern NLP relies on massive datasets that don't exist for 90% of the world's languages. This paper argues that Interlinear Glossed Text (IGT)—a common byproduct of linguistic fieldwork—is a goldmine for building inclusive language technology, provided researchers collaborate deeply with documentary linguists and speech communities. Using the Gitksan language as a case study, the authors demonstrate that even tiny, specialized datasets can train high-performing models when guided by linguistic expertise.

What Problem Does This Paper Address?

The "success" of modern NLP is largely a story of the world's political and economic superpowers. Pretrained models like BERT or GPT require billions of tokens, leaving "low-resource" languages in the dust. However, many of these languages actually have a wealth of data in the form of IGT.

IGT is a four-level annotation format (transcription, morpheme segmentation, gloss, and translation) used by linguists to document endangered languages. You can see an example in Figure 1:

Figure 1: An example of Gitksan interlinear glossed text (IGT). The text contains four levels of annotation: (1) An orthographic transcription, (2) A segmentation into normalized component morphemes (CVC refers to the reduplicated segment al’), (3) an interlinear gloss and (4) an English translation.

The problem is that IGT is "semi-structured." It’s often idiosyncratic, language-specific, and contains "noise" (like historical etymological notes) that can confuse standard machine learning models. This paper provides a roadmap for bridging the gap between raw linguistic documentation and functional NLP tools.

Methods

The authors propose a four-step roadmap for utilizing IGT data (visualized in Figure 2):

  1. Task Definition: Identifying what the community actually needs (e.g., grammar exercises for learners).
  2. Data Gathering: Collecting IGT from fieldwork.
  3. Data Conversion: Transforming semi-structured IGT into structured formats (like inflection tables).
  4. Evaluation: Measuring success not just by accuracy, but by community utility.
Figure 2: A roadmap for incorporating Interlinear Glossed Text (IGT) data for building more inclusive language technology. (1) We first need to define what NLP tasks can be accomplished with a given set of IGT data and whether they are valuable to the speech community (see Section 2.3). (2) Next, we need to gather the relevant IGT data that was created during linguistic fieldwork with the speech community (see Section 2.3). (3) Next, the IGT data needs to be converted to a structured format amenable for NLP formats. (4) The model needs to be evaluated not only in terms of standard NLP model selection metrics but also for efficacy for end-users such as efficiency in time-savings and usability (see Section 4). Crucially, all three stakeholders – speech community members, NLP researchers, and linguists – should be involved throughout the process.

For their case study on Gitksan (a Tsimshianic language with <1,000 speakers), they focused on morphological reinflection—the ability of a model to take a word root and generate the correct form for a specific grammatical context (e.g., changing "walk" to "walked"). They used a standard Transformer architecture (via the Fairseq library) but applied heavy linguistic filtering to the input data to ensure the model learned productive grammar rather than unpredictable historical quirks.

Datasets

The study uses a specialized dataset of Gitksan IGT collected by linguists at the University of British Columbia.

  • Training set: 858 word forms.
  • Validation set: 302 word forms.
  • Test set: 124 word forms.

By modern standards, this dataset is microscopic. However, because each entry is "gold-standard" linguistic data, it carries significantly more signal than raw web-scraped text.

Key Insights and Ideas

  • The Granularity Trap: Linguists often annotate morphemes down to their historical roots. For a machine learning model, this is often "noise." The authors found that manually filtering out derivational morphology (fixed word-building) to focus on inflectional morphology (grammatical changes) was essential for model performance.
  • Standardization Isn't Always Better: The authors initially looked at UniMorph, a popular standard for morphological annotation. They found it couldn't handle Gitksan’s unique features, such as "clitics" (small words that attach to others) and extreme part-of-speech flexibility where nouns can act as verbs. They argue for project-specific formats over rigid standards.
  • Dialectal Fairness: Even in a small speech community, dialects vary. The authors emphasize that treating dialectal variation as "spelling errors" is a mistake that can alienate the community. Instead, variation should be preserved and represented in the training data.

Key Results

Despite the tiny training set of only 858 examples, the Transformer model achieved an accuracy of 87.09% on the test set for morphological reinflection.

This result is a powerful proof-of-concept: it shows that high-quality, linguistically-informed data can compensate for a lack of sheer volume. The resulting system is capable of automatically generating grammar exercises to support Gitksan language revitalization efforts.

Limitations and Future Work

  • Labor Intensity: The "Data Conversion" step currently requires significant manual effort from linguistic experts to filter and structure the IGT data.
  • Evaluation Gap: While the model is accurate, the authors acknowledge that they haven't yet performed user-centric testing to see if these generated exercises actually improve language learning outcomes for students.
  • Future Directions: The authors advocate for "co-designing" technology with speech communities from day one, ensuring that NLP research serves the people whose languages are being studied, rather than just providing a new benchmark for researchers.

Summary updated

BibTeX
@misc{forbes2022dim,
  author = {Clarissa Forbes and Farhan Samir and Bruce Harold Oliver and Changbing Yang and Edith Coates and Garrett Nicolai and Miikka Silfverberg},
  title = {{Dim Wihl Gat Tun: The Case for Linguistic Expertise in NLP for Underdocumented Languages}},
  year = {2022},
  eprint = {2203.09632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.09632},
}
Figure