DUET: Dual-MDL Unsupervised Entropy-Trie Segmentation for Low-Resource Languages
Organizations: The University of Tokyo · Riken · Kyoto University · Tohoku University
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.
Figures & tables
| Language | Sentences | Word types | Surface | Cover. |
|---|---|---|---|---|
| Gitksan | 31 | 140 | 106 | 76% |
| Lezgi | 634 | 1572 | 983 | 63% |
| Natugu | 789 | 2456 | 1662 | 68% |
| Nyangbo | 1670 | 1403 | 1316 | 94% |
| Uspanteko | 9116 | 6668 | 5111 | 77% |
| Morph. F1 | Bnd. F1 | Oracle@1 | ||||
| System | macro | wtd. | macro | wtd. | macro | wtd. |
| whole-word | .309 | .272 | .000 | .000 | .437 | .405 |
| every-atom | .074 | .092 | .312 | .334 | .004 | .004 |
| BPE | .296 | .316 | .430 | .458 | .157 | .160 |
| Linguistica | .323 | .319 | .239 | .330 | .408 | .364 |
| MorphAGram | .433 | .468 | .548 | .588 | .337 | .372 |
| System | Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@16 |
|---|---|---|---|---|
| whole-word | .448 | .000 | .582 | – |
| every-atom | .075 | .275 | .015 | – |
| BPE | .187 | .328 | .063 | – |
| Linguistica | .447 | .113 | .574 | – |
| MorphAGram | .239 | .347 | .157 | – |
| Morfessor | .463 | .299 | .526 | .938 |
| Methods | Original | Pseudo | ||||||
|---|---|---|---|---|---|---|---|---|
| BLEU-2 | chrF-3 | cTER | EM | BLEU-2 | chrF-3 | cTER | EM | |
| Qwen3.6 : ICL | ||||||||
| + LLMSeg | ||||||||
| + Morfessor | ||||||||
| + DUET | ||||||||
| Gemma4 : ICL | ||||||||
| Morph. F1 | Bnd. F1 | Oracle@1 | @16 | @ | ||||
| System | macro | wtd. | macro | wtd. | macro | wtd. | macro | macro |
| (a) Standard low-resource evaluation | ||||||||
| Dual-MDL | .541 | .500 | .601 | .591 | .502 | .436 | .946 | .734 |
| 1st MDL only | .477 | .395 | .561 | .509 | .410 | .296 | .747 | .747 |
| 2nd MDL only | .522 | .485 | .597 | .587 | .464 | .404 | .921 | .724 |
| (b) Extremely low-resource evaluation | ||||||||
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| prefix | |||
|---|---|---|---|
| 0 | 2.018 | 0.811 | |
| 1 | n | 0.414 | 0.811 |
| 2 | ni | 1.296 | 1.896 |
| 3 | nin | 1.352 | 0.544 |
| 4 | nina | 1.449 | 1.287 |
| 5 | ninas | 0.811 | 0.371 |
| Candidate | Score | Source |
| ni | na | som | a | 21.87 | paradigm + recursion |
| nina | som | a | 8.04 | paradigm-licensed |
| ni | na | soma | 7.02 | paradigm-licensed |
| ni | nasom | a | 5.16 | paradigm |
| ninasoma | 0.00 | baseline |
| ni | ni | 12.73 | paradigm-licensed |
| Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@16 | |||||
| Arbitration rule | macro | wtd. | macro | wtd. | macro | wtd. | macro | wtd. |
| Count-based gates | ||||||||
| Eq. 11 (current) | .541 | .500 | .601 | .591 | .502 | .436 | .946 | .923 |
| Fixed | .479 | .404 | .567 | .521 | .406 | .299 | .946 | .923 |
| Fixed | .489 | .436 | .580 | .554 | .415 | .330 | .946 | .923 |
| Fixed | .534 | .489 | .598 | .581 | .489 | .414 | .946 | .923 |
| Morpheme F1 | Boundary F1 | Oracle@1 | |||||||||||||||||||
| System | Git | Lez | Nat | Nya | Usp | Macro | Wtd | Git | Lez | Nat | Nya | Usp | Macro | Wtd | Git | Lez | Nat | Nya | Usp | Macro | Wtd |
| whole-word | .337 | .573 | .389 | .213 | .409 | .384 | .369 | .000 | .000 | .000 | .000 | .000 | .000 | .000 | .453 | .697 | .567 | .312 | .556 | .517 | .503 |
| every-atom | .093 | .039 | .029 | .129 | .122 | .082 | .082 | .276 | .175 | .314 | .399 | .304 | .294 | .309 | .009 | .010 | .007 | .010 | .011 | .010 | .010 |
| BPE | .183 | .094 | .346 | .346 | .137 | .221 | .201 | .338 | .172 | .487 | .509 | .304 | .362 | .353 | .009 | .020 | .164 | .179 | .023 | .079 | .070 |
| Linguistica | .336 | .514 | .375 | .303 | .448 | .395 | .388 | .095 | .068 | .228 | .233 | .233 | .171 | .190 | .462 | .646 | .542 | .351 | .560 | .512 | .500 |
| MorphAGram | .553 | .235 | .406 | .547 | .279 | .404 | .406 | .637 | .270 | .541 | .645 | .402 | .499 | .505 | .479 | .232 | .306 | .466 | .188 | .334 | .334 |
| Morpheme F1 | Boundary F1 | Oracle@1 | |||||||||||||||||||
| System | Git | Lez | Nat | Nya | Usp | Macro | Wtd | Git | Lez | Nat | Nya | Usp | Macro | Wtd | Git | Lez | Nat | Nya | Usp | Macro | Wtd |
| whole-word | .312 | .524 | .385 | .226 | .311 | .352 | .339 | .000 | .000 | .000 | .000 | .000 | .000 | .000 | .455 | .650 | .561 | .330 | .440 | .487 | .472 |
| every-atom | .027 | .059 | .027 | .139 | .148 | .080 | .094 | .269 | .207 | .320 | .402 | .330 | .306 | .322 | .000 | .011 | .008 | .011 | .009 | .008 | .009 |
| BPE | .160 | .126 | .390 | .385 | .213 | .255 | .260 | .332 | .218 | .524 | .534 | .383 | .398 | .412 | .014 | .058 | .198 | .231 | .055 | .111 | .106 |
| Linguistica | .374 | .476 | .373 | .321 | .399 | .389 | .383 | .350 | .024 | .197 | .241 | .273 | .217 | .214 | .448 | .617 | .540 | .376 | .484 | .493 | .486 |
| MorphAGram | .370 | .293 | .444 | .376 | .404 | .377 | .385 | .519 | .359 | .563 | .554 | .529 | .505 | .515 | .252 | .259 | .357 | .215 | .311 | .279 | .282 |
| Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@16 | |||||
| Second opinion | macro | wtd. | macro | wtd. | macro | wtd. | macro | wtd. |
| (a) Standard low-resource evaluation | ||||||||
| None (1st MDL only) | .477 | .395 | .561 | .509 | .410 | .296 | .747 | .696 |
| 2nd MDL (current) | .541 | .500 | .601 | .591 | .502 | .436 | .946 | .923 |
| Morfessor (16-best) | .540 | .504 | .601 | .595 | .500 | .439 | .933 | .912 |
| MorphAGram (1-best) | .498 | .497 | .583 | .599 | .449 | .425 | .803 | .767 |
| System | Configuration used in all reported non-LLM experiments |
|---|---|
| BPE | Same atom-level input and type count per word. Greedily merge the most frequent adjacent pair (lexicographic tie-break); choose the retained merge count by the two-part MDL minimum, using add- smoothing in the corpus code. Training stops when no pair recurs, after merges without a new MDL minimum, or at merges. BPE returns one analysis. |
| Linguistica | The lxa5 linguistica package 5.3.0 , called as from_wordlist with the library’s default parameters. We read broken_words_right_to_left() , which is lxa5’s shared-affix trie parse rather than its signature module, so the only parameter in effect is min_stem_length : a word is cut wherever the reversed, sorted type list shares a suffix of at least that length. Words the parse does not cover are left unsegmented. Linguistica returns one analysis. |
| MorphAGram | The standard Prefix–Stem–Suffix Adaptor Grammar, using Mark Johnson’s py-cfg source release 2013-09-23 . The sampler uses -P -D -E -R -1 -d 0 , , , , , and ; it runs iterations with seed . ASLR is disabled before launching py-cfg to make this seeded sampler reproducible. Full-split evaluation reads segmentations produced by this configuration; the extremely low-resource sweep runs it live once per sampled word list. We extract the top-level Prefix, Stem, and Suffix nodes, yielding one analysis. |
| Morfessor | Morfessor 2.0.6 ; BaselineModel with its default settings, type count per observed word, and train_batch() . Before every fit we set the library’s global shuffle seed to . We decode with 1-best Viterbi and retain up to distinct analyses from viterbi_nbest . |
| DUET | NFC normalization and casefolding (on); atom-level input; Jeffreys smoothing ; positive local entropy maxima as cut candidates, including edge-adjacent positions only when supported by the same peak criterion; retain paradigms only when bit. We request candidates (the implementation also enforces ). The MDL-guided search uses a fixed lexical order. When its conservative construction-tree second opinion is invoked, its shuffle seed is and it stops below nat per corpus boundary or after epochs. |
| Language | Type | Sentences | Word types | Surface | Cover. |
|---|---|---|---|---|---|
| (a) Full datasets | |||||
| Arapaho | train | 36,123 | 41,199 | 34,407 | 84% |
| dev | 4,892 | 7,630 | 6,551 | 86% | |
| test | 4,892 | 7,585 | 6,551 | 86% | |
| Tsez | train | 3,547 | 8,540 | 4,329 | 51% |
| dev | 445 | 2,328 | 1,270 | 55% | |
| Lang. | Type | Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@16 |
|---|---|---|---|---|---|
| Arp | train | .291 / .290 | .239 / .269 | .255 / .258 | .558 / .411 |
| dev | .274 / .255 | .226 / .253 | .255 / .260 | .562 / .435 | |
| test | .286 / .271 | .241 / .264 | .266 / .266 | .566 / .427 | |
| Tsz | train | .531 / .535 | .498 / .496 | .487 / .476 | .906 / .898 |
| dev | .585 / .600 | .539 / .546 | .519 / .514 | .896 / .882 | |
| test | .588 / .563 | .540 / .508 | .513 / .474 | .896 / .854 |
| Lang. | Surface | Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@16 |
|---|---|---|---|---|---|
| Ces | 4,000 | .217 / .228 | .407 / .420 | .069 / .071 | .446 / .418 |
| Eng | 3,517 | .223 / .213 | .232 / .152 | .252 / .249 | .844 / .805 |
| Fra | 1,022 | .166 / .166 | .192 / .198 | .153 / .145 | .512 / .283 |
| Hun | 3,244 | .349 / .349 | .529 / .527 | .183 / .188 | .651 / .541 |
| Ita | 388 | .208 / .187 | .175 / .174 | .249 / .207 | .735 / .291 |
| Lat | 4,910 | .083 / .083 | .232 / .231 | .035 / .033 | .377 / .159 |
| Model | Metric | Overall | en xx | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DUET vs. ICL | DUET vs. Morfessor | DUET vs. ICL | DUET vs. Morfessor | ||||||||||||
| Win | Win | ICL | Win | Morf. | Win | ||||||||||
| Qwen3.6 | BLEU-2 | +1.87 | 95.04% | 0.050 | +1.25 | 87.88% | 0.121 | 50.63 | +3.04 | 97.98% | 0.020 | 51.37 | +2.30 | 95.58% | 0.044 |
| chrF-3 | +0.70 | 86.30% | 0.137 | +0.63 | 83.68% | 0.163 | 75.55 | +1.27 | 97.10% | 0.029 | 75.60 | +1.22 | 95.48% | 0.045 | |
| cTER | +0.18 | 60.00% | 0.400 | +0.42 | 70.22% | 0.298 | 75.41 | +0.74 | 84.70% | 0.153 | 75.22 | +0.92 | 85.69% | 0.143 | |
| EM | +2.19 | 95.49% | 0.045 | +1.79 | 91.83% | 0.082 | 34.55 | +3.24 | 97.34% | 0.027 | 34.84 | +2.96 | 97.37% | 0.026 | |
| Setting | Gemma4 | GPT-oss | Qwen3.6 |
|---|---|---|---|
| Temperature | 1.0 | 1.0 | 0.6 |
| Top- | 0.95 | 1.0 | 0.95 |
| Top- | 64 | Disabled | 20 |
| Presence penalty | 0.0 | 0.0 | 1.5 |
| Quantization | FP8 | Native MXFP4 | Native FP8 |
| KV-cache dtype | FP8 | Default | Default |
| System | DUET | Morfessor | Linguistica | MorphAGram | BPE | whole-word | every-atom | DeepSeek | Qwen |
|---|---|---|---|---|---|---|---|---|---|
| Morph. F1 | .482 | .471 | .467 | .213 | .146 | .447 | .076 | .222 | .253 |
| Bnd. F1 | .164 | .167 | .105 | .316 | .301 | .000 | .272 | .259 | .112 |
| Oracle@1 | .583 | .572 | .587 | .129 | .035 | .580 | .017 | .179 | .284 |
| Oracle@8 | .903 | .879 | .587 | .129 | .035 | .580 | .017 | .318 | .476 |
| Model | success/requested | fail | Morph. F1 | Bnd. F1 | Oracle@1 | Oracle@8 |
|---|---|---|---|---|---|---|
| DeepSeek-V4-Flash | 1653/2240 | 26.2% | .306 | .351 | .247 | .428 |
| Qwen3.6-27B | 1693/2240 | 24.4% | .307 | .180 | .320 | .612 |
| System | Time Complexity | Space Complexity |
|---|---|---|
| BPE | ||
| Linguistica | ||
| MorphAGram | ||
| Morfessor 2.0 | ||
| DUET |
| (a) Full training vocabulary | ||||||||
| System | Gitksan | Lezgi | Nyangbo | Natugu | Uspanteko | Total (s) | Types/s | Peak RSS |
| DUET | 0.57 | 6.91 | 3.50 | 50.88 | 88.18 | 150.0 | 82 | 171 MB |
| Morfessor | 0.20 | 2.36 | 1.71 | 5.50 | 10.13 | 19.9 | 615 | 38 MB |
| Linguistica | 0.00 | 0.02 | 0.02 | 0.04 | 0.10 | 0.18 | 67,994 | 96 MB |
| MorphAGram | 57.42 | 621.28 | 380.76 | 1,159.46 | 3,319.23 | 5,538.2 | 2 | n/a |
| BPE | 0.02 | 0.50 | 0.33 | 1.54 | 3.25 | 5.6 | 2,170 | 27 MB |