An Efficient Algorithm for Unsupervised Word Segmentation with Branching Entropy and MDL

Valentin Zhikov, Hiroya Takamura, Manabu Okumura

Abstract

This paper proposes a fast and simple unsupervised word segmentation algorithm that utilizes the local predictability of adjacent character sequences, while searching for a least-effort representation of the data. The model uses branching entropy as a means of constraining the hypothesis space, in order to efficiently obtain a solution that minimizes the length of a two-part MDL code. An evaluation with corpora in Japanese, Thai, English, and the "CHILDES" corpus for research in language development reveals that the algorithm achieves an accuracy, comparable to that of the state-of-the-art methods in unsupervised word segmentation, in a significantly reduced computational time.

Introduction

In languages like English, spaces provide clear word boundaries. However, in "spaceless" languages such as Japanese, Chinese, or Thai, text is written as a continuous stream of characters. Traditionally, computational processing of these languages relies on supervised models trained on massive, hand-tagged datasets. This approach is expensive and lacks scalability across different domains, such as transitioning from news text to medical journals.

Unsupervised word segmentation—where a machine learns word boundaries from raw text—offers a solution, but existing methods often face a trade-off between computational efficiency and accuracy. This paper introduces a hybrid unsupervised algorithm that segments words by combining local statistical "surprises" with global data compression, achieving state-of-the-art accuracy with significantly improved performance.

Methodology: Entropy-Guided MDL

The proposed approach balances local cues with global consistency through a two-stage process:

  1. Branching Entropy (The "Surprise" Factor): The algorithm identifies points where the next character is highly unpredictable. For instance, in the string "segmentation," the character following "segmen" is highly predictable ("t"). However, after "segmentation," the subsequent character is uncertain. This "branching entropy" serves as a signal for potential word boundaries.
  2. Minimum Description Length (MDL) (The "Compression" Factor): To refine these boundaries, the model applies the MDL principle, seeking a lexicon that allows the entire text to be compressed into the shortest possible code. This is essentially a mathematical application of Occam’s Razor: the most efficient representation is likely the most linguistically accurate.

The algorithm first uses a bisection search to find an initial entropy threshold and then performs a greedy refinement, iteratively splitting or merging tokens to minimize the total description length.

Table 3: Performance metrics and description lengths for different model stages on CHILDES and Kyoto corpora.

Experimental Setup

The model was evaluated across four diverse datasets to ensure language-agnostic performance:

  • CHILDES: Phonetically transcribed English child-directed speech.
  • Kyoto University Corpus: Japanese newspaper articles.
  • WSJ: A subset of the Penn Treebank II (Wall Street Journal) in English.
  • BEST: A Thai language corpus covering encyclopedias, news, and novels.

Results and Discussion

The "Ent-MDL" model demonstrates exceptional speed and competitive accuracy. On the CHILDES dataset, the model completed processing in just 2.6 seconds, whereas state-of-the-art Bayesian models required approximately 17 minutes for similar results.

Table 4: Segmentation performance (F-scores) and processing time across various corpora and settings.

Key findings include:

  • Accuracy: On the Kyoto (Japanese) corpus, the model achieved a Token F-score of 0.7131, outperforming several complex Bayesian benchmarks.
  • Guided Search Efficiency: By using branching entropy to constrain the search space, the algorithm avoids the "computational explosion" of trying every possible segmentation, focusing only on the most likely boundary candidates.
  • Compression as Learning: The model effectively reduced description lengths to levels lower than ground-truth segmentations, reinforcing the idea that language learning is fundamentally about finding efficient information representations.

Conclusion and Future Work

While the current greedy optimization approach is highly efficient, it can occasionally fall into local minima. Future work will explore modeling dependencies between neighboring tokens (e.g., "New" and "York") to further enhance accuracy. Additionally, the authors plan to investigate how this fast unsupervised method can be used to "boost" supervised systems, facilitating domain adaptation without the need for new labeled data.

Summary updated

BibTeX
@inproceedings{zhikov2010efficient,
  author = {Valentin Zhikov and Hiroya Takamura and Manabu Okumura},
  title = {{An Efficient Algorithm for Unsupervised Word Segmentation with Branching Entropy and MDL}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
  url = {https://openreview.net/forum?id=BkWc7MfOZB},
}
Figure