DUET: Dual-MDL Unsupervised Entropy-Trie Segmentation for Low-Resource Languages

Xiaotian Wang, Youyuan Lin, Zhan Shen, Hitomi YanakaarXiv 2026

Imagine you’re a linguist dropped into a remote village. You have a notebook, a pen, and exactly eight sentences of a language you’ve never heard before. Your job? Figure out the "Lego bricks" of the language—the morphemes (like the walk and -ed in walked) that build up every word.

Standard AI tools would throw up their hands. They crave thousands of examples to spot patterns. But a new paper titled DUET (Dual-MDL Unsupervised Entropy-Trie Segmentation) suggests we can do a lot more with a lot less.

TL;DR

DUET is a "detective" algorithm that breaks words into their meaningful components without needing any prior training or labeled data. By combining the math of uncertainty (entropy) with a "less is more" approach to data compression (MDL), it excels in "extreme data scarcity"—situations where you have only a handful of sentences to work with.

What Problem Does This Paper Address?

Most morphological segmenters are like social butterflies: they need to see a pattern many times across a massive corpus to believe it exists. If a specific prefix only appears twice in your entire dataset, a standard model will likely ignore it, leaving the word "under-segmented."

This is a massive hurdle for documenting endangered languages or solving the brain-teasing puzzles found in Linguistics Olympiads. In these "low-resource" settings, we need a system that can hypothesize structures from very thin evidence without hallucinating boundaries where there are none.

Methods

The authors propose a two-stage pipeline they call DUET. Think of it as a "Generate then Filter" approach:

  1. Candidate Generation (The "Brainstormer"):
    • Entropy-Tries: The system builds a tree of all character sequences. It looks for "branching entropy"—points where the next character becomes highly unpredictable. If you have "walki...", the next letter is almost certainly "n" (for walking). The uncertainty is low. But after "walking", the next character could be a space, a period, or a hyphen. That spike in uncertainty is a classic signal for a boundary.
  2. Recursive Paradigm Discovery: It looks for "paradigms"—groups of words that share the same stems and affixes (e.g., play-ing, walk-ing, play-ed, walk-ed). It uses a graph theory trick (maximal bicliques) to find these clusters even with very little data.
  3. Dual-MDL Ranking (The "Editor"): Once it has a list of possible ways to split a word, it needs to pick the best one. It uses Minimum Description Length (MDL), a principle that basically says: "The best explanation is the one that compresses the data the most."
    • MDL 1 (Corpus-level): Rewards the model for reusing morphemes it has seen elsewhere.
  4. MDL 2 (Construction-tree): Acts as a "sanity check" to prevent over-segmentation. It asks: "Does splitting this word actually make our 'dictionary' more efficient, or are we just making things unnecessarily complicated?"
Figure 1: The entropy-trie dual-MDL framework illustrated with a running example: N=14 Swahili words (prefixes ni-/u-/a- × tense -na-/-li- × stems soma/pika, plus sana “very” and nini “what”); every number is the algorithm’s actual output on this input. A detailed description of the example is provided in Appendix A.

Datasets

The researchers put DUET to the test against several classic unsupervised segmenters (like Morfessor and Linguistica) using:

  • SIGMORPHON 2023: A benchmark for interlinear glossing covering five diverse languages (Gitksan, Lezgi, Natugu, Nyangbo, and Uspanteko).
  • PuzzLing Machines: A dataset of linguistic reasoning puzzles designed to test how well AI can infer grammatical rules from tiny samples.
  • Simulated Scarcity: They artificially throttled the data down to as few as 8 sentences to see where the models would break.

Key Insights and Ideas

  • Decoupling is Key: By separating the generation of candidates from the ranking of those candidates, DUET can find the "correct" answer even if that answer doesn't have strong statistical support across the whole corpus.
  • The "Dual" in Dual-MDL: One MDL objective is "aggressive" (it wants to split things to find reusable parts), while the second is "conservative" (it wants to keep things whole to save on dictionary space). The tension between these two leads to much more accurate boundaries.
  • Helping the Giants: Large Language Models (LLMs) like Qwen or Gemma are surprisingly bad at "seeing" the internal structure of words in unknown languages. The authors found that if you first run DUET and then feed those segmentations into an LLM's prompt, the LLM becomes significantly better at solving linguistic puzzles.

Key Results

  • Superior Accuracy: On the SIGMORPHON task, DUET outperformed all unsupervised baselines in Morpheme F1 (a measure of how many "Lego bricks" it got right).
  • Robustness: In the extreme low-resource setting (N=8 sentences), DUET maintained a much higher "Oracle@16" score—meaning the correct segmentation was almost always in its top 16 guesses, even when other models failed completely.
  • LLM Boost: Using DUET to "pre-segment" words for an LLM led to the best overall results on the PuzzLing Machines benchmark, proving that explicit morphological knowledge is still a "superpower" for general AI.
Figure 2: Oracle@K by final candidate budget. Single-output systems are horizontal at Oracle@1.

Limitations and Future Work

  • Surface Only: DUET currently only handles "concatenative" morphology—where you just glue pieces together. It struggles with "non-transparent" changes, like how fly becomes fli-es (the 'y' changes to 'i').
  • Orthography Dependent: It assumes the language is written consistently. If the spelling is highly variable or doesn't use spaces between words, the entropy signals get messy.
  • Future Directions: The authors suggest extending the model to handle these non-concatenative changes and exploring how DUET could help in real-world field linguistics apps for endangered language documentation.

Summary updated

Abstract

Morphological segmentation, the task of decomposing words into constituent morphemes, becomes particularly challenging under extreme data scarcity, a regime that can arise in language documentation and linguistic reasoning. This difficulty stems from existing approaches' reliance on annotated data, external resources, or recurring patterns that emerge only in larger corpora. To address this limitation, we propose Dual-MDL Unsupervised Entropy-Trie Segmentation (DUET), a deterministic unsupervised algorithm that decouples structural candidate generation from statistical candidate ranking. DUET combines branching entropy with recursive paradigm discovery to generate linguistically plausible candidate segmentations, then ranks them using a dual minimum description length (MDL) criterion: a corpus-level objective rewards morpheme reuse, while a construction-tree objective guards against over-segmentation. On the SIGMORPHON 2023 interlinear glossing shared task, DUET outperforms unsupervised baselines in Morpheme F1 under both the standard and simulated extremely low-resource settings, while providing broader candidate coverage. Augmenting prompts with DUET segmentations improves performance on a linguistic reasoning benchmark, yielding the best overall results among the evaluated segmentation methods.
BibTeX
@misc{wang2026duet,
  author = {Xiaotian Wang and Youyuan Lin and Zhan Shen and Hitomi Yanaka},
  title = {{DUET: Dual-MDL Unsupervised Entropy-Trie Segmentation for Low-Resource Languages}},
  year = {2026},
  eprint = {2611.30273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30273},
}
Figure