Weakly Supervised Word Segmentation for Computational Language Documentation

Shu Okabe, Laurent Besacier, François YvonACL 2022

Introduction

Field linguists documenting endangered languages often face a significant "cold start" problem. Beginning with raw audio or phonetic transcriptions, they must manually identify word boundaries (segmentation)—a grueling process that precedes deeper analysis. While unsupervised machine learning models offer a potential solution, they typically struggle with the extreme data scarcity inherent in field documentation. This paper explores the efficacy of "weak supervision," leveraging small, pre-existing resources like brief word lists or a handful of manually segmented utterances to "nudge" Bayesian non-parametric models toward higher accuracy.

Methodology

The research builds upon two established Bayesian non-parametric frameworks: dpseg (Dirichlet Process) and pypseg (Pitman-Yor Process). These models treat word discovery as a stochastic process where frequently observed strings are increasingly likely to be identified as words. The authors introduce three primary methods of weak supervision:

  1. Boundary Supervision: Comparing "sparse" supervision (knowledge of random boundaries) against "dense" supervision (fully segmented sentences).
  2. Lexical Supervision: Using word lists to initialize the model. This includes d.mix, which integrates the word list into the model's base distribution, and d.ngram, which replaces a uniform character model with a character bigram model to capture language-specific phonotactics.
  3. Incremental Learning: Simulating a "human-in-the-loop" workflow where a linguist progressively corrects model output, allowing the model to update in real-time.

Experimental Results

The models were evaluated on two real-world datasets: Mboshi (a Bantu language) and Japhug (a Sino-Tibetan language). These datasets represent the complex, messy phonetic transcriptions typical of field documentation, including phonological rules like vowel elision.

Quantitative Performance

Weak supervision provided a substantial performance boost over purely unsupervised baselines. On the Mboshi dataset, the integration of lexical and bigram priors (mix+2) significantly improved the Type F-score (LF) from 23.8 to 40.0. Boundary F-scores (BF) also saw consistent gains, particularly with dense supervision, which outperformed sparse supervision by providing necessary linguistic context.

Table 1: Performance metrics on the Mboshi dataset, comparing unsupervised baselines to weakly supervised variants.

Incremental Learning and Error Reduction

A key finding was the rapid efficiency of incremental learning. In simulations, the error rate dropped sharply after the correction of only a few hundred sentences. This suggests that interactive annotation tools could become highly accurate very early in the documentation process, drastically reducing the manual labor required from linguists.

Figure 1: Error rate reduction during simulated incremental learning as more sentences are manually corrected.

Discussion and Insights

The study revealed a notable tension between "word" and "morpheme" identification. In morphologically complex languages like Japhug, unsupervised models tend to over-segment, identifying morphemes rather than words. However, providing a word-level dictionary effectively shifts the model's bias toward full-word identification. Furthermore, the transition from a uniform character distribution to a bigram prior (d.ngram) proved to be a critical "aha moment," significantly enhancing the discovery of new word types by learning valid character sequences.

Conclusion and Future Work

This work demonstrates that even minimal linguistic signals can significantly improve automated word segmentation. While the current models are limited by a "unigram assumption"—struggling to distinguish between frequent collocations and single words—they provide a practical foundation for interactive documentation tools. Future research will focus on computationally efficient higher-order models (such as bigram word models) and the integration of these methods into software platforms for use by field linguists.

Summary updated

BibTeX
@inproceedings{okabe2022weakly,
  author = {Shu Okabe and Laurent Besacier and François Yvon},
  title = {{Weakly Supervised Word Segmentation for Computational Language Documentation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.510},
}
Figure