---
title: "A Joint Model for Unsupervised Chinese Word Segmentation"
description: "A study of unsupervised Chinese word segmentation that combines word context and character tags, with tests on PKU and MSRA and an…"
canonical: "https://research.elamur.ai/free/en/papers/chen-2014-joint-model-unsupervised-chinese-word/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/chen-2014-joint-model-unsupervised-chinese-word/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2014](https://md.research.elamur.ai/free/en/papers/2014/) / A Joint Model for Unsupervised Chinese Word Segmentation

# A Joint Model for Unsupervised Chinese Word Segmentation

Paper · 2014 · Miaohong Chen, Baobao Chang and Wenzhe Pei

**Authors:** Miaohong Chen, [Baobao Chang](https://md.research.elamur.ai/free/en/authors/baobao-chang/) and Wenzhe Pei · **Year:** 2014 · **Venue:** Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/D14-1092/)
- [PDF](https://aclanthology.org/D14-1092.pdf)
- [DOI 10.3115/v1/d14-1092](https://doi.org/10.3115/v1/d14-1092)

## Summary

Written Chinese generally leaves readers to infer where one word ends and the next begins. A computer has to make those decisions before it can use words as units for tasks such as search or translation. The authors study how to infer the boundaries from running text without training on examples whose word divisions have already been marked. Their starting point is that the same characters can sometimes form a single word and sometimes belong to separate words. The surrounding sentence can help decide which reading is appropriate, while the characters themselves give a different kind of evidence about how likely they are to form a word.

The paper combines those signals by giving every proposed segmentation a score from two sources. A hierarchical Dirichlet process, or HDP, estimates how likely each proposed word is to follow its predecessor. A Bayesian hidden Markov method, or HMM, estimates how well the individual characters fit their proposed positions within words. The authors multiply the scores and use Gibbs sampling to revise decisions about boundaries. A separate method called normalized variation of branching entropy, or nVBE, supplies the initial segmentation. It finds plausible boundaries from patterns of character context across the corpus, giving the sampler a more informed starting point than random boundaries.

On the PKU and MSRA test sets from the Second SIGHAN Bakeoff, the full system reaches word F-scores of 81.1% and 81.7%, respectively. It leads the systems in the paper’s comparisons on both test sets. The character component performs poorly on its own, yet improves the word-based system under both random and nVBE initialization. The starting segmentation also matters under the reported run conditions. The authors observe convergence at around 1,000 iterations for random starts, while nVBE starts can take as few as 10 iterations.

The authors also ask whether the system improves specifically on strings with competing word divisions. They count mistakes where adjacent pieces can be joined or split, and where a shared character sequence can attach on either side. The full system makes the fewest mistakes among the systems in those comparisons on both corpora. An example from PKU shows what the aggregate result means in practice. The initial method gives every occurrence of a recurring string the same division, while the joint system produces both readings and gets more of the occurrences right. The results apply to a setup that uses punctuation to split the input and allows the unsupervised procedure to use the raw test text alongside the remaining training text.

## Deep dive: A Joint Model for Unsupervised Chinese Word Segmentation

A study of unsupervised Chinese word segmentation that combines word context and character tags, with tests on PKU and MSRA and an analysis of ambiguity. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Finding a unit that the writing leaves implicit

Chinese word segmentation takes an uninterrupted sequence of written characters and proposes a sequence of words covering it. All the characters are already present and in order. The unknowns are the positions at which to put boundaries. The same sentence can therefore give rise to many candidate analyses without any change to its written form. This is a problem of [tokenization and segmentation](https://md.research.elamur.ai/free/en/topics/tokenization/).

A boundary decision changes which units downstream software can see. Search can index different terms depending on whether it receives a compound or its pieces. A syntactic analysis that starts with words receives a different sequence of units under each division. The paper also identifies word segmentation as a preliminary step for [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/).

The difficulty goes beyond finding unfamiliar words. Suppose a recurring string is a plausible word and its parts are also plausible words. Recognizing all those pieces still leaves the system with a choice in the sentence at hand. Another possibility is that competing words overlap. Joining a shared stretch of characters to the material on its left rules out joining the same stretch to the material on its right. An analysis has to pick a consistent set of boundaries across the region. A vocabulary helps define the alternatives, but which alternative fits can change from one occurrence to the next.

Earlier supervised methods could learn to make those choices from sentences whose words people had already marked. The paper credits that approach with strong performance while pointing to the cost of obtaining labels and to difficulties adapting to new domains. Its interest in unsupervised segmentation comes from the possibility of learning useful word divisions without a manually segmented training corpus. The distinction matters because the desired boundaries are the very information a supervised learner gets to observe through [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/).

#### What character tagging contributed

A boundary-based description asks whether a gap between characters ends a word. A character-tagging description asks what role each character plays in the word containing it. A character can stand alone, start a longer word, occur inside it, or end it. A complete valid sequence of roles specifies the segmentation. The paper traces this formulation in supervised Chinese word segmentation to Xue’s work on [Chinese word segmentation as character tagging](https://md.research.elamur.ai/free/en/papers/xue-2003-chinese-word-segmentation-as-character/).

Character tags make it possible to learn patterns about word formation at a finer level than a word inventory. Occurrences of the same character in different words can provide evidence about the positions that character tends to occupy. A word-based approach can instead learn that one complete word commonly follows another. The paper presents supervised word-based and character-based approaches as complementary because their basic observations are different. It cites conditional random field systems as examples of supervised character tagging, including [Chinese Segmentation and New Word Detection using Conditional Random Fields](https://md.research.elamur.ai/free/en/papers/peng-2004-chinese-segmentation-new-word-detection/) and [A Conditional Random Field Word Segmenter for Sighan Bakeoff 2005](https://md.research.elamur.ai/free/en/papers/tseng-2005-conditional-random-field-word-segmenter/).

The unsupervised version of character tagging has a further difficulty. The text reveals which characters occur, but the positional tags have to be inferred. Resolving a candidate boundary changes some of those tags. The resulting tags in turn determine which character-position patterns the system can learn from the corpus. The paper takes the supervised idea of describing a word through its component characters and gives those descriptions a probabilistic interpretation that can be used while word boundaries are still provisional.

#### What unsupervised methods already used

The authors organize earlier unsupervised work around two kinds of evidence. One family assigns character strings or potential boundaries a goodness score. These scores use distributional properties of the unsegmented corpus to recognize candidates that behave like words. The other family estimates the probability of a whole proposed segmentation, using the words in that segmentation to supply context for one another.

The paper names description length gain, boundary entropy and accessor variety among the goodness measures that had been compared within a common framework. Accessor variety belongs to the line of work that uses the contexts available to a string to help judge its status as a word candidate. The link between varied contexts and word extraction is the subject of [Accessor Variety Criteria for Chinese Word Extraction](https://md.research.elamur.ai/free/en/papers/feng-2004-accessor-variety-criteria-chinese-word/).

The authors discuss two examples of how to turn goodness measures into a segmentation procedure. ESA, short for Evaluation, Selection, Adjustment, uses a local maximum strategy to avoid setting a threshold. According to the paper, it makes repeated passes over the corpus and uses manually segmented training material to choose a parameter called the proper exponent. nVBE, the other example, adds normalization and Viterbi decoding to an approach based on the variation of branching entropy. Viterbi decoding chooses a sequence of decisions according to their combined score. The paper credits those changes with improving on the earlier branching-entropy approach and removing most of its parameters and thresholds.

The authors distinguish the quality of a candidate list from the ability to select a reading in context. Their criticism is that once a fixed goodness measure is assigned, a decoder of this kind can give the same division to a recurring ambiguous string regardless of the words around it. A division can be the usual one and still be wrong in a particular sentence. The properties that make the string a strong candidate across the corpus do not resolve every use of it. This distinction explains both why the authors choose nVBE and why they give it the job of supplying initial boundaries.

The second family uses Bayesian word sequences. In the approaches the paper attributes to Goldwater and colleagues, one version estimates words independently, while a bigram version estimates a word given the word just before it. A bigram is an instance of an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/).

That dependence on the preceding word gives a system a way to prefer different divisions for different occurrences of the same characters. If a region is split, its first piece must fit the preceding word, the second piece must fit the first, and the next word must fit the second piece. Joining the region changes that chain. The paper describes these approaches as non-parametric because the prior can accommodate possible words beyond a fixed, pre-defined list. It also identifies a computational cost in the earlier approach by Goldwater and colleagues, reporting that its Gibbs sampler needed nearly 20,000 iterations to converge.

Mochihashi and colleagues extended that line of work with a nested character component and a blocked Gibbs sampler. A blocked update can revise a group of latent decisions together. The current paper treats that approach as an important comparison and works with a different division of labor. It represents character positions explicitly, as in supervised tagging, and combines their score with a word-bigram score for the same segmentation. The earlier approach is described in [Bayesian Unsupervised Word Segmentation with Nested Pitman-Yor Language Modeling](https://md.research.elamur.ai/free/en/papers/mochihashi-2009-bayesian-unsupervised-word-segmentation-nested/).

### The method, step by step

#### Turn a proposed division into evidence at both levels

The method keeps a tentative segmentation of the corpus. Each sentence is a sequence of observed characters, and the current boundaries specify the words the system provisionally sees in it. Those words supply the counts used by the word component. The same boundaries determine a sequence of positional tags, which supplies the counts used by the character component. Whenever a boundary is reconsidered, both descriptions of the affected region can change.

At the word level, the question is whether the resulting words fit together. Each proposed word is scored in relation to its predecessor. A split inserts a pair of words where a join would leave a single word, and the choice also changes which word precedes the fixed material on the right. Evidence comes from recurring word transitions in the current segmentation of the rest of the text, as well as from a prior that can give a plausible unseen word some probability.

At the character level, the question is how well the resulting word shapes fit what the corpus suggests about positions. A character at the end of a proposed word might move to the middle if the words are joined. The character component scores this change using the estimated tendencies of tags to follow one another and of particular characters to occur under each tag. Because both scores describe the same proposal, the authors can use them in a single boundary update.

Before the updates begin, nVBE provides a segmentation. It thereby determines the starting word sequences and the starting character tags. The authors then reconsider boundaries one at a time using the word and character scores, with the changed assignments feeding back into the current segmentation. Their final output comes from the last iteration of a run.

From initial word divisions to the final segmentation The steps in order.

#### Combine the scores for one segmentation

The authors use the product-of-experts idea to combine the two components. Think of a candidate segmentation as having to satisfy two probabilistic descriptions of the same observed sentence. Multiplication lets a small factor pull down the joint score. A proposal that looks good from the word sequence can therefore lose support if it requires unlikely assignments at the character level. The joint rule adds no weight for either component and no interpolation parameter to tune.

```
Pⱼ(W ∣ C) = Pᴅ(W ∣ C) Pₘ(W ∣ C) / Z(C)
```

Here C is the observed character string and W is a candidate sequence of words that covers it. Pⱼ is the joint conditional probability. Pᴅ is the score from the HDP word component and Pₘ is the score from the Bayesian HMM character component. The bar ∣ reads as “given.” Z(C) is the normalizing constant for the observed string. It sums the products over valid segmentations of C, so that the resulting probabilities over those segmentations sum to unity.

The normalizing constant is important to the definition. During a local update, however, the character string stays fixed across the rival hypotheses. The same normalization applies to each. The sampler can compare the products for the local candidates and normalize those products against each other. It does not need to enumerate every complete segmentation of the sentence to decide how to sample the boundary under consideration.

The lack of a mixing weight has a specific meaning. Each component contributes a multiplicative factor using its own probability estimates. Their estimates still depend on the separate priors and counts described below. The combination rule adds no further setting that determines how much trust to put in one of them.

#### Score the positions of the characters

The tags denote single-character words, beginnings, middles and ends. The paper uses S, B, M and E for these roles. A valid segmentation determines the tags uniquely. A character that makes up a word alone receives S. In a longer word, the first and last characters receive B and E, and any intervening characters receive M. This makes the tag sequence a different representation of an already proposed segmentation.

The hidden Markov formulation has a transition probability for a tag after its preceding tag and an emission probability for a character under its tag. A transition is a relation between successive hidden states. An emission relates a hidden state to an observed symbol. Here the tags are the hidden states, and the characters in the sentence are the observations. The paper gives the character score in the following form.

```
Pₘ(W ∣ C) = ∏ᵢ₌₁^|C| Pₜ(tᵢ ∣ tᵢ₋₁) Pₑ(cᵢ ∣ tᵢ)
```

Pₘ is the character score, W is the proposed segmentation, and C is the observed character string. The product symbol ∏ multiplies the factors over the character positions, indexed by i, from 1 through the character count |C|. The tags at the current and preceding positions are tᵢ and tᵢ₋₁. The observed character at the current position is cᵢ. Pₜ denotes the probability of the current tag given its predecessor, and Pₑ denotes the probability of emitting the character under the current tag. The expression is the score associated with the tags specified by W and the characters in C.

The authors discuss estimating those distributions from labeled data by maximum likelihood or from raw text using expectation maximization. They choose a Bayesian formulation to make the character component amenable to the same kind of inference as the HDP word component. Each preceding tag has its own distribution over possible next tags, and each current tag has its own distribution over characters. Symmetric Dirichlet priors supply the initial preferences for those distributions. Symmetric here means that alternatives within a distribution receive the same prior parameter before their observed counts are taken into account.

```
tᵢ ∣ tᵢ₋₁ = t, pₜ ∼ Mult(pₜ)
```

In this generative statement, i is the character position, tᵢ is its tag, and tᵢ₋₁ is the previous tag. The symbol t stands for the particular value of that previous tag, and pₜ is its distribution over the next tag. The symbol ∼ means “is drawn from,” and Mult denotes the multinomial family used for choosing a categorical outcome.

```
cᵢ ∣ tᵢ = t, eₜ ∼ Mult(eₜ)
```

Here cᵢ is the character at position i, and tᵢ is its tag. The value t selects the corresponding emission distribution eₜ. The bar indicates conditioning on that tag and distribution. The draw described by ∼ Mult(eₜ) chooses the observed character using the probabilities in eₜ.

```
pₜ ∣ θ ∼ Dirichlet(θ)
```

The transition distribution pₜ is the vector of next-tag probabilities for preceding tag t. The parameter θ is the symmetric Dirichlet parameter for transitions. The draw symbol ∼ indicates that pₜ has this prior, and the conditioning bar identifies θ as the parameter on which the prior depends.

```
eₜ ∣ σ ∼ Dirichlet(σ)
```

The emission distribution eₜ is the vector of character probabilities for tag t. The parameter σ is the symmetric Dirichlet parameter for emissions. The right-hand side names the prior from which the probability vector is drawn, conditional on σ.

Suppose the current assignments supply a tagged observation h. The next-tag and character probabilities used for a new hypothesis come from counts in that observation, with the priors adding support even where an outcome has no count. The paper first writes the character score for a word following another word.

```
Pₘ(wᵢ ∣ wᵢ₋₁ = l, h) = ∏ⱼ₌₁^|wᵢ| Pₜ(tⱼ ∣ tⱼ₋₁, h) Pₑ(cⱼ ∣ tⱼ, h)
```

Pₘ on the left is the character component’s predictive score for word wᵢ given the preceding word wᵢ₋₁, identified by l, and the tagged observation h. The word index is i and the index j runs through the characters of wᵢ, whose length is |wᵢ|. The product starts at 1. The symbol cⱼ is the character at position j, tⱼ is its tag, and tⱼ₋₁ is the tag immediately before it. Pₜ and Pₑ are the transition and emission probabilities estimated using h. At the first character of the proposed word, the preceding tag supplies the connection to the word on its left.

```
Pₜ(tⱼ ∣ tⱼ₋₁, h) = (n⟨tⱼ₋₁, tⱼ⟩ + θ) / (n⟨tⱼ₋₁, ∗⟩ + Tθ)
```

Pₜ is the predictive probability of tag tⱼ after tag tⱼ₋₁ in the current tagged observation h. The count n⟨tⱼ₋₁, tⱼ⟩ records occurrences of that ordered pair. The wildcard ∗ means to sum the counts over all possible next tags, so n⟨tⱼ₋₁, ∗⟩ is the total for the preceding tag. The prior contributes θ to the count for an individual option and Tθ to the total, where T is the tag set size. With S, B, M and E, T is 4.

```
Pₑ(cⱼ ∣ tⱼ, h) = (n⟨tⱼ, cⱼ⟩ + σ) / (n⟨tⱼ, ∗⟩ + Vσ)
```

Pₑ is the predictive probability for character cⱼ under tag tⱼ, given h. The count n⟨tⱼ, cⱼ⟩ is the number of occurrences of that character with that tag in the observation. With the wildcard ∗, n⟨tⱼ, ∗⟩ sums over characters observed with the tag. The vocabulary has V distinct characters. The prior adds σ to the count for each possible character and Vσ to the denominator.

These formulas share evidence across words at the character level. A character can have an estimated affinity for a position even when the complete candidate word in which it occurs is uncommon. The transition estimates similarly describe recurring sequences of roles that can appear in many word types. The information comes from assignments made during segmentation, so the quality and evolution of those assignments matter to the estimates.

#### Score a word given its predecessor

The HDP component describes the sentence as a sequence of words. It assigns a factor to each word based on the word just before it. That is the central difference from the character-tagging score. The events whose frequencies matter here are sequences of whole words. In the notation of the paper, the sentence score is as follows.

```
Pᴅ(W ∣ C) = ∏ᵢ₌₀^|W| Pᴅ(wᵢ ∣ wᵢ₋₁)
```

Pᴅ on the left is the HDP score of the candidate W for the observed characters C. On the right, |W| is the number of words in W, i indexes words, and wᵢ and wᵢ₋₁ denote the current word and its predecessor. The product ∏ combines the conditional word probabilities. The displayed bounds retain the paper’s indexing from 0 through |W|. The operational point for the boundary updates is that each affected word transition contributes a factor.

If every predecessor had a entirely separate distribution over following words, rare predecessors would have little evidence with which to estimate their successors. The hierarchy gives the distributions a common source of information. A predecessor-specific distribution is drawn from a Dirichlet process whose base is a shared distribution over words. The shared distribution is itself drawn using a Dirichlet process. In the notation below, DP denotes a Dirichlet process, which provides a prior over distributions.

```
wᵢ ∣ wᵢ₋₁ = l ∼ Gₗ
```

The current word wᵢ has index i. The condition wᵢ₋₁ = l identifies its predecessor by l. Gₗ is the distribution over possible next words for that predecessor. The symbol ∼ means the current word is drawn according to Gₗ.

```
Gₗ ∼ DP(α₁, G₀)
```

Gₗ is the word distribution for predecessor l. The notation ∼ DP indicates that it is drawn from a Dirichlet process. The parameter α₁ is the concentration at this level, and G₀ is the common base distribution that links the distributions for different predecessors. The subscript ₀ labels the shared distribution, and ₁ distinguishes the local concentration from the concentration in the next expression.

```
G₀ ∼ DP(α, H)
```

G₀ is the shared distribution over words. The symbol ∼ again indicates a draw, and DP is the Dirichlet process. Here α is the concentration for the shared distribution, and H is the base measure, the prior that supplies probabilities for word forms.

The hierarchy lets evidence at the predecessor-specific level coexist with what the corpus suggests about words more generally. The calculation for a new candidate can integrate over the unknown distribution Gₗ and combine the observed bigram counts with the shared word probability.

```
Pᴅ(wᵢ ∣ wᵢ₋₁ = l, h) = (n⟨wᵢ₋₁, wᵢ⟩ + α₁ Pᴅ(wᵢ ∣ h)) / (n⟨wᵢ₋₁, ∗⟩ + α₁)
```

The left side is the predictive probability for the candidate word wᵢ at word position i, given its predecessor wᵢ₋₁ with identifier l and the current provisional segmentation h. In the numerator, n⟨wᵢ₋₁, wᵢ⟩ is the count of that specific consecutive pair in h. The shared word probability Pᴅ(wᵢ ∣ h) is multiplied by the concentration α₁. The denominator uses n⟨wᵢ₋₁, ∗⟩, the count summed over every observed successor of the given predecessor, plus α₁. The wildcard ∗ denotes that sum.

An observed pair can therefore get support directly from its recurrence. A pair lacking such an observation can get support through the shared estimate for its second member. At the next level, that shared estimate uses the paper’s restaurant-franchise representation. In that representation, tables are groups of observations, each associated with a word. The counts at the shared level are counts of tables associated with words. This gives the predictive probability after integrating over G₀.

```
Pᴅ(wᵢ ∣ h) = (t(wᵢ) + α H(wᵢ)) / (t + α)
```

Pᴅ(wᵢ ∣ h) is the shared predictive probability of word wᵢ given the provisional segmentation h. The notation t(wᵢ) denotes the number of tables associated with that word and t is the total number of tables. The parameter α is the concentration for G₀. The term H(wᵢ) is the base probability of the word form. Its weighted contribution is added to the table count in the numerator.

The base measure uses character frequencies and a probability of ending a word. That gives the word component a way to score a character sequence as a candidate even before the provisional segmentation has supplied much evidence about it as a word. This use of characters is distinct from estimating positional tags. The base measure uses the overall probability of each character and a term for word length. The HMM estimates how character probabilities change with position.

```
H(wᵢ) = (1 − pₛ)^(|wᵢ| − 1) pₛ ∏ⱼ P(cᵢⱼ)
```

H(wᵢ) is the base probability of the word at word position i. The symbol pₛ is the probability of producing a word boundary, and 1 − pₛ is the probability of continuing the word. The exponent |wᵢ| − 1 counts the continuations before the final stopping event, with |wᵢ| denoting word length. The product ∏ⱼ runs over the character positions j in that word. The symbol cᵢⱼ is its character at position j, and P(cᵢⱼ) is the character’s unigram probability, estimated from training data by maximum likelihood. The character probabilities enter this base measure independently of one another.

#### Give the sampler a plausible starting segmentation

The authors initialize the boundaries with nVBE. This transfers the decisions of a relatively strong goodness-based system into the starting state of the joint procedure. On that first state, a sequence identified by nVBE as a word contributes as a word to the HDP counts. Its characters also enter the HMM statistics at the positions determined by that word division. The subsequent process can change those divisions.

The distinction between a starting state and a scoring factor is important when interpreting the algorithm. The normalized variation of branching entropy helps decide where the process begins. The probability assigned to competing boundary hypotheses during Gibbs sampling still comes from the word score and the character score. Thus the effects of nVBE can persist through the counts and segmentations reached during a practical run without appearing explicitly in the product formula.

The authors distinguish the theoretical role of initialization from what they observed in limited runs. In their account, starting from a random segmentation or an informed one should lead to the same posterior distribution if Gibbs sampling is run long enough. They use nVBE because a plausible initial segmentation can reach a useful state faster, and because the quality of the divisions reached under the experimental procedure may then be better. The finite-run results are the basis for evaluating those expectations.

#### Revise a boundary by comparing a split and a join

Gibbs sampling updates a hidden variable using its conditional distribution given the other current assignments. Here the variable says whether a particular gap is a word boundary. For a local update, the existing decisions on either side delimit the region that could be split or joined. The rest of the current segmentation supplies the observation for scoring the alternatives. The paper writes that remaining observation as h⁻.

In the paper’s example, the characters in the region extend from cᵢ₋₂ to cᵢ₊₂, and the gap being considered lies after cᵢ. With a boundary, the first word ends at cᵢ and the second begins at cᵢ₊₁. Without it, the region is a single word. The tag sequence for the split comprises B, M, E followed by B, E. For the join, it is B followed by the middle tags and then E. Though the comparison is centered on a gap, its effect on the HMM extends across the positions whose proposed roles change.

```
P(h₁ ∣ h⁻) ∝ Pᴅ(h₁ ∣ h⁻) Pₘ(h₁ ∣ h⁻)
```

P is the conditional probability used by the sampler. The hypothesis h₁ places a boundary at the candidate gap. The observation h⁻ is the current segmentation with the affected region held out. The symbol ∝ means “is proportional to.” The factors Pᴅ and Pₘ are respectively the word and character scores for the split given that observation.

```
P(h₂ ∣ h⁻) ∝ Pᴅ(h₂ ∣ h⁻) Pₘ(h₂ ∣ h⁻)
```

Here h₂ is the hypothesis that joins the region. P expresses its conditional probability given the same h⁻, and ∝ again indicates a score before local normalization. Pᴅ and Pₘ are the component scores for the join. Normalizing the split and join products together gives the probabilities for drawing the new value of the boundary.

For the HDP scores, the relevant word context extends to the immediate words outside the affected region. The split has a transition into its first word, a transition between its two words, and a transition from its second word to the word on the right.

```
Pᴅ(h₁ ∣ h⁻) = Pᴅ(w₁ ∣ wₗ, h⁻) × Pᴅ(w₂ ∣ w₁, h⁻) Pᴅ(wᵣ ∣ w₂, h⁻)
```

The left side is the word score Pᴅ for split hypothesis h₁ under the held-out observation h⁻. The words w₁ and w₂ are the first and second pieces, and wₗ and wᵣ are the fixed neighbors on the left and right. Each factor scores a word given the preceding word and h⁻. The multiplication sign × and the adjacent factors together indicate the product of all affected transitions.

```
Pᴅ(h₂ ∣ h⁻) = Pᴅ(w ∣ wₗ, h⁻) × Pᴅ(wᵣ ∣ w, h⁻)
```

This is the word score Pᴅ for join hypothesis h₂. The single word covering the region is w, the immediate neighbors are wₗ and wᵣ, and h⁻ is the same held-out observation. The multiplication sign × joins the factor for entering w from the left and the factor for continuing from w to the right neighbor.

For the HMM, the same observed characters appear in both products. The alternatives supply different tags, and the tag transitions and character emissions are evaluated under the resulting assignments.

```
Pₘ(h₁ ∣ h⁻) ∝ ∏ⱼ₌ᵢ₋₂^i⁺² Pₜ(tⱼ ∣ tⱼ₋₁, h⁻) Pₑ(cⱼ ∣ tⱼ, h⁻)
```

Pₘ is the character score for the split h₁ given h⁻. The symbol ∝ denotes proportionality. The product ∏ covers positions j in the example’s local span, beginning at i − 2 and ending at i + 2, where i is the position immediately before the gap in question. At each position, cⱼ is the observed character, tⱼ is its tag under the split, and tⱼ₋₁ is the preceding tag. Pₜ and Pₑ are the transition and emission probabilities estimated from h⁻.

```
Pₘ(h₂ ∣ h⁻) ∝ ∏ⱼ₌ᵢ₋₂^i⁺² Pₜ(tⱼ ∣ tⱼ₋₁, h⁻) Pₑ(cⱼ ∣ tⱼ, h⁻)
```

Here Pₘ scores the joined hypothesis h₂ given h⁻, with ∝ again denoting proportionality. The product over j uses the same span from i − 2 to i + 2 and the same characters cⱼ. The meanings of Pₜ and Pₑ are unchanged. The tags tⱼ and their predecessors tⱼ₋₁ now come from the joined word. Consequently, the factors can differ even though the displayed products have the same form.

Sampling allows the process to explore alternatives over repeated updates. Each completed assignment of all the boundary variables specifies a full segmentation. The paper evaluates the one present at the last iteration of each run. This output rule gives a single concrete hypothesis for word-level scoring and for checking how individual ambiguous strings were divided.

### Experiments and results

#### Corpora, preprocessing and parameter selection

The experiments use PKU and MSRA, two corpora of simplified Chinese. The paper gives PKU a training size of 1.1M words and a test size of 104K words. For MSRA the corresponding sizes are 2.37M training words and 107K test words. These counts describe the benchmark partitions. The experiments use the data from [The Second International Chinese Word Segmentation Bakeoff](https://md.research.elamur.ai/free/en/papers/emerson-2005-second-international-chinese-word-segmentation/).

The authors randomly draw a development set from the original training portion of each corpus, describing it as about 10% of the training material. The selected development sets contain 2000 sentences for PKU and 8000 sentences for MSRA. They tune the word and character components separately on those sets. The two components carry their chosen settings into the joint system.

For the HDP component, the predecessor-specific concentration α₁ is 1000.0, the shared concentration α is 10.0, and the word-ending probability pₛ is 0.5. For the HMM component, the transition parameter θ is 1.0 and the emission parameter σ is 0.01. These are separate controls over the estimates described in the method. The multiplication rule adds no parameter to that set.

After removing the development material, the authors combine the remaining training text and the test text for segmentation. Only predictions for the test portion count in the reported evaluation. Thus the benchmark answers and the test sentences play different roles. The procedure can draw evidence from the raw characters of test sentences while it is finding boundaries, and the gold segmentation of those sentences serves as the reference for scoring.

The authors also specify what they do with punctuation. Earlier comparisons compiled by Wang and colleagues distinguished settings that used different kinds of advance information. The paper uses setting 3, which treats a simplified Chinese punctuation set as evidence for splitting the input into sentences. It uses that preprocessing for all its experiments and draws same-setting comparisons from previous work where available. The paper emphasizes that prior publications sometimes give limited information about such choices.

Punctuation matters because it supplies a known division before the method has inferred any word boundaries. The authors discuss richer preprocessing, such as using encoding information or recognizing dates and numbers, as additional kinds of prior knowledge. Their reported setup keeps the preprocessing to punctuation. That specifies the sense in which the raw input is prepared for the unsupervised procedure.

#### How the predictions are scored

The headline metric is word F-score. A predicted word is correct when its span agrees with a reference word in the test sentence. This makes the evaluation sensitive to complete units. A prediction can place a boundary correctly on one side of a word and still miss the word if the other boundary is misplaced. Precision asks how much of the system’s output matches the reference, while recall asks how much of the reference the system recovers.

```
P = N꜀ / Nₚ
```

P is word precision. N꜀ is the number of predicted words whose spans match the reference. Nₚ is the total number of predicted words, and the slash denotes division.

```
R = N꜀ / Nᵍ
```

R is word recall. N꜀ is the same count of correct predicted words, and Nᵍ is the total number of gold words in the evaluated test material. The slash denotes division by the reference count.

```
F = 2 × P × R / (P + R)
```

F is the word F-score. P and R denote precision and recall, respectively. The factor 2, the product indicated by ×, and the sum P + R in the denominator give the harmonic mean specified in the paper’s prose. The paper’s displayed expression repeats the F symbol where precision belongs. The formula above follows its stated metric and the precision and recall it defines.

For the configurations that use Gibbs sampling, the authors report averages over 5 runs. Each run produces its evaluated output from the last sample. The reported variances describe how much the F-scores varied across runs. The separate significance analysis addresses a different question by resampling test sentences.

#### Which systems enter the comparison

The basic word-only system is HDP with random initialization. HDP+HMM adds the character component and retains the random start. HDP+nVBE keeps the word-only score but starts with the boundaries from nVBE. Joint uses both probability components and the nVBE start. These variants provide comparisons within the same experimental program.

The nVBE-only baseline is a reimplementation run under setting 3. The authors report that its scores are slightly below those in the original nVBE publication. They attribute the higher published results to a bug, citing the confirmation reported by Pei and colleagues, and say that their own implementation reproduces the scores reported by Pei and colleagues. The baseline used in the comparisons is therefore the authors’ reimplementation.

The external comparisons include ESA under setting 3 and variants of the nested Pitman–Yor approach. The labels NPY(2) and NPY(3) denote its 2-gram and 3-gram versions. The paper reports their comparison scores on MSRA. The corresponding PKU entries are unavailable in its results table, so the PKU comparison covers a different set of systems.

Segmentation systems and component settings on PKU test word F-score The full joint system leads the component settings and the external system with a reported PKU result.

**The numbers**

| System or setting | word F-score % |
| --- | --- |
| HDP | 68.7 |
| HDP+HMM | 75.3 |
| nVBE | 77.9 |
| ESA | 77.4 |
| HDP+nVBE | 79.3 |
| Joint (this paper) | 81.1 |

Segmentation systems and component settings on MSRA test word F-score The full joint system has the highest score among the reported MSRA systems.

**The numbers**

| System or setting | word F-score % |
| --- | --- |
| HDP | 69.9 |
| HDP+HMM | 76.3 |
| nVBE | 78.2 |
| ESA | 78.4 |
| HDP+nVBE | 79.5 |
| NPY(2) | 80.2 |
| NPY(3) | 80.7 |
| Joint (this paper) | 81.7 |

On PKU, the full system has word precision of 79.2 and recall of 83.1 on the paper’s percentage scale. On MSRA its precision is 79.3 and recall is 84.2. These measures help show what the F-scores summarize. The full system recovers more gold words than its internal comparison settings, and a larger share of its predicted words match the reference. The table does not give precision or recall for the external comparisons, so its comparison with them is at the level of F-score.

The variance reported for the full system’s test F-score is 0.002 on PKU and 0.005 on MSRA. The authors describe the sampler results as stable in light of the small variances across their runs. Those figures describe repeatability in the reported setup. Whether a score would move on a different collection of sentences is the concern of the bootstrap analysis.

The paper also places 84.8% in its comparison as an empirical topline. This is the lowest consistency rate reported in an earlier study of segmentation standards in Bakeoff-3. Zhao and Kit had used that figure as an upper bound for unsupervised systems, and the authors adopt it as a point of reference. The paper’s PKU and MSRA scores can be compared numerically with that figure, but the topline comes from agreement among standards. It is not the evaluated performance of a segmentation system on either test set.

#### How significance was assessed

The authors use bootstrap resampling over test sentences or lines. In this procedure a new test sample contains the same number of examples as the original, drawn with replacement. An individual sentence can appear repeatedly in one such sample and be absent from another. Recomputing word F-score over the samples lets the test account for variation in which sentences contribute to the measurement. The paper sets its bootstrap parameter M to 2000. The cited source for this technique is [Interpreting BLEU/NIST Scores: How Much Improvement do We Need to Have a Better System?](https://md.research.elamur.ai/free/en/papers/zhang-2004-interpreting-bleu-nist-scores-how/).

For systems the authors implemented, the same resampled sentences can support a paired comparison, with uncertainty measured for the difference between their scores. The paper uses 95% confidence intervals. It reports that both additions to basic HDP, character scoring and nVBE initialization, produce significant improvements in the comparisons with that baseline. It also reports that the full system significantly exceeds its implemented components and reduced configurations.

For ESA and the nested Pitman–Yor systems, the authors have published aggregate scores and cannot generate corresponding paired samples. They compare those scores with a 95% confidence interval for the joint system, treating an external score outside the interval as significantly different by their procedure. Under that rule, they report significant gains over those external systems where the comparisons are available. The difference in procedure matters because the interval based on the authors’ own output cannot capture the uncertainty of the external system’s score or the correlation between its errors and the joint system’s errors.

### What the ablations show

#### Weak character scoring can still help a word-based system

The comparison between HDP and HDP+HMM holds random initialization in common. On the PKU test set, adding the HMM raises word F-score from 68.7% to 75.3%. On the MSRA test set, the scores are 69.9% and 76.3%, respectively. The comparison tests whether the character score improves the decisions made from word sequences when both procedures start randomly.

The character component performs much worse in isolation. Its standalone test F-score is 34.3% on PKU and 34.9% on MSRA. The authors describe those outcomes as only slightly better than random segmentation. The same score that struggles to find a good segmentation by itself still changes the decisions of the word-based system in a favorable direction. The results establish that contribution through the comparison of complete outputs. They leave open which positional tags or character patterns produce the gains.

The analogous comparison under an informed start is between HDP+nVBE and Joint. On PKU the word F-scores are 79.3 and 81.1, and on MSRA they are 79.5 and 81.7. For each pair, nVBE supplies the same type of starting segmentation. The difference in inference is the addition of the HMM. Thus the character contribution is visible even after the sampler has been given a stronger place to begin.

The standalone result and the controlled comparisons answer different questions. A character score must make all the decisions when it runs alone. In the joint procedure, the two scores act on each proposed boundary together, and the character score can influence choices where the word evidence leaves competing possibilities. The experiments support that complementary role at the level of final scores. They do not measure how frequently a particular kind of word or character evidence decides an update.

#### A starting segmentation changes speed and final scores

Comparing randomly initialized HDP with HDP+nVBE keeps the word score fixed and varies the starting segmentation. Word F-score on the PKU test set rises from 68.7 to 79.3. On the MSRA test set, it rises from 69.9 to 79.5. The improvement under this comparison shows that including nVBE can help even when the character tag score is absent.

The remaining pair, HDP+HMM and Joint, compares starts with both probability components present. The full joint system improves on its randomly initialized counterpart on both test sets. Conversely, the full system also exceeds nVBE itself. Taken together, these comparisons show that a stronger starting analysis and subsequent joint updates contribute under the authors’ run conditions. Simply returning the initial boundaries would give the nVBE baseline scores, while using the joint update from a random start produces the separate HDP+HMM results.

According to the authors, convergence can occur in as few as 10 iterations with nVBE initialization, compared with about 1,000 iterations when starting from a random initialization. Those are reported observations about iteration counts. They illustrate the practical effect of the starting state without assigning an exact speedup in elapsed time. The comparison also helps explain why a change confined to the starting state can have a measurable effect on the final segmentation selected in the experiment.

#### Joining or splitting the same string

The ambiguity analysis considers word divisions at particular spans. For combinational ambiguity, the paper uses a string AB built from A and B. Each piece and the combined form occur in the vocabulary, and the text contains the combined form or a division between A and B. The competing interpretations preserve the same characters and differ in the presence of the internal boundary. This captures cases where knowing which strings can be words still leaves a decision to make at an individual occurrence.

For this analysis, the vocabulary comes from the gold segmentation of the test set. Its role is to identify candidate ambiguities for counting errors. The predictions are then examined at those occurrences. This lets the authors focus on a defined subset of segmentation decisions with plausible rivals under the benchmark’s vocabulary.

An example in PKU makes the distinction concrete. The authors give the gloss “only” for the joined word and “just have” for the split reading. The test set contains 18 joined and 14 split occurrences, for 32 occurrences in all. nVBE joins all 32 and gets 18 correct. The joint system outputs 22 joined and 10 split readings and gets 24 correct. The latter figures describe output frequencies and correctness separately. A system can make use of both readings and still choose the wrong one on some occasions.

The broader counts cover 35,371 combinational ambiguities on PKU. At those occurrences, nVBE makes 8087 mistakes, HDP+nVBE makes 7970, and Joint makes 7916. On MSRA, the authors count 38,506 such ambiguities. The corresponding mistake counts are 7236 for nVBE, 7500 for HDP+nVBE and 6305 for Joint.

The MSRA comparison is particularly informative about what contextual estimation can and cannot guarantee. HDP+nVBE improves whole-test word F-score over nVBE on MSRA while making more mistakes on this particular subset. Adding a mechanism that can vary the decision with context creates a capacity that the initializer lacks, but the benefit depends on whether its context preferences agree with the gold divisions. In this comparison, the full system with character scoring has the fewest mistakes on the subset as well as the highest overall F-score.

#### Finding where an overlap belongs

Overlapping ambiguity concerns a region AJB in which the middle material J can go with the left part or with the right part. The words relevant to the test are A, B, AJ and JB, all of which occur in the vocabulary. One reading puts the boundary after A and treats JB as a word. The other treats AJ as a word and puts the boundary before B. Choosing where the shared material belongs changes the position of the cut. It differs from the combinational case, where an internal cut is either present or absent.

The paper counts 603 overlapping ambiguities on PKU. nVBE makes 244 mistakes, HDP+nVBE makes 239, and Joint makes 216. The corresponding set on MSRA contains 467 ambiguities. nVBE makes 192 mistakes, HDP+nVBE makes 164, and Joint makes 157.

Here the word component initialized by nVBE improves on the initializer on both corpora, and the addition of the character component improves on that setting again. This pattern contrasts with the MSRA combinational counts, where the word-only update produces more mistakes than the starting segmentation. It supports the authors’ decision to examine separate ambiguity types. A single error total for all ambiguous cases would hide the difference in how the reduced system behaves.

The analyses provide different kinds of evidence about context. The recurring PKU example shows directly that the joint procedure can give different outputs to identical strings. The counts show whether the outputs agree with the reference more often across the selected occurrences. The overlapping results extend the comparison to competition between different boundary positions. Together they support a claim about improved disambiguation in the tested corpora, including cases where the choice involves what belongs with which neighbor.

### Limitations

#### Boundaries the authors identify

The authors discuss the difficulty of comparing unsupervised systems when they have access to different kinds of prior information. Punctuation can provide known breaks. Encoding distinctions can also guide choices, and hand-written rules can recognize certain classes of strings. The paper chooses punctuation-based sentence splitting and compares with earlier results under the same setting when the information is available. For publications that say little about preprocessing, some differences in the input conditions remain uncertain.

The paper also identifies recognizable error classes in its own output. The authors observe a substantial number of mistakes involving dates, numbers written with Chinese or English characters, and English words. They propose that encoding information in preprocessing could address some of these errors. Their experiments measure the punctuation setting, so the proposed improvement has no measured size in the paper.

The weak standalone HMM is a further limit the authors acknowledge. Their results favor using its character evidence in combination with the word score. The supervised precedent for positional tagging motivates the representation, but the unsupervised character component as implemented here does poorly on both test sets. The paper’s strongest evidence for it comes from the controlled comparisons in which the word component is also present.

Finally, the authors state that they could not conduct paired tests against the published ESA and nested Pitman–Yor results. The interval comparison they use establishes significance according to their chosen rule. Assessing the variability of the difference against those systems directly would require their predictions on the same sampled sentences.

#### What the setup leaves open

The scope of the empirical claim is two simplified Chinese corpora from one benchmark. Those corpora let the authors repeat their main comparisons under two test conditions, with distinct training and test portions. They cannot establish how the procedure adapts to a new domain outside those corpora. Domain adaptability motivates the interest in unsupervised segmentation, but it is not directly tested as a transfer task.

Similarly, the experiments show what the method can do when it sees the raw test text as part of the collection it segments. Previously unseen text arriving after all estimates have been fixed would be a different use of the method. The scores in the paper establish agreement with the test references under corpus-wide segmentation, where the provisional assignments elsewhere in the collection can inform an update. A reader comparing these results with another evaluation needs to account for which texts were available during inference.

The convergence figures report iteration counts, and the authors use the final sample for evaluation. The paper gives no elapsed-time comparison that would capture the extra work of obtaining the nVBE segmentation and evaluating both scoring components. Its iteration figures also leave open how results depend on the convergence criterion and the choice of final sampling point. The finite-run gain from a stronger initialization does not establish a change to the posterior defined by the two probability factors.

A final sampled segmentation also answers a different question from exact maximization of the joint probability. It is one result of the sampling procedure under the chosen conditions. Averaging its F-score across runs assesses the quality of that output rule against the benchmark. It does not demonstrate that the returned segmentation is always the most probable one under the joint distribution.

The ambiguity counts are defined through the gold vocabulary of the test set. They show how the systems handle occurrences that meet those definitions under the benchmark segmentation standard. They leave out competing divisions that are absent from that vocabulary, and their scope differs from the whole-test word scores. The analyses also compare complete predictions, so they do not trace improvements to particular transitions, emissions or predecessor words. The paper prints a relative error reduction for PKU combinational ambiguities that is inconsistent with its mistake counts. The direct counts establish the ordering of the systems on those occurrences.

The 84.8% topline has a separate limitation. It represents the lowest reported consistency between segmentation standards in the earlier comparison. Its use as a bound for unsupervised segmentation is an adopted empirical interpretation. The present experiments do not derive a ceiling from PKU or MSRA, or test whether a system could exceed that figure under the paper’s evaluation setup.

### What came after

No later citing work is identified for discussion here. The paper establishes the combination of contextual word scoring, positional character scoring and an informed starting segmentation on PKU and MSRA. Whether subsequent work reused that combination, changed the sampling procedure or tested the same ambiguity definitions on other material remains open in this account.

## Cite

Cite as Miaohong Chen, Baobao Chang and Wenzhe Pei. 2014. A Joint Model for Unsupervised Chinese Word Segmentation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3115/v1/d14-1092](https://doi.org/10.3115/v1/d14-1092)

```bibtex
@inproceedings{chen2014joint,
  title = {{A Joint Model for Unsupervised Chinese Word Segmentation}},
  author = {Miaohong Chen, Baobao Chang and Wenzhe Pei},
  booktitle = {Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  year = {2014},
  doi = {10.3115/v1/d14-1092},
  url = {https://doi.org/10.3115/v1/d14-1092}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
