<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1"/><title>Principles of Non-stationary Hidden Markov Model and Its Applications to Sequence Labeling Task</title><pubinfo>R. Dale et al. (Eds.): IJCNLP 2005, LNAI 3651, pp. 827 -837,2005. © Springer-Verlag Berlin Heidelberg 2005</pubinfo><author surname="JingHui" givenname="Xiao"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="BingQuan" givenname="Liu"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="XiaoLong" givenname="Wang"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author></firstpageheader><frontmatter><p><b>Principles of Non-stationary Hidden Markov Model and Its Applications to Sequence Labeling Task</b></p><p>Xiao JingHui, Liu BingQuan, and Wang XiaoLong</p><p>School of Computer Science and Techniques, Harbin Institute of Technology, Harbin, 150001, China (xiaojinghui,  liubq, wangxl}@insun.hit.edu.cn</p></frontmatter><abstract><b>Abstract. </b>Hidden Markov Model (Hmm) is one of the most popular language models. To improve its predictive power, one of Hmm hypotheses, named <i>limited history hypothesis, </i>is usually relaxed. Then Higher-order Hmm is built up. But there are several severe problems hampering the applications of high­order Hmm, such as the problem of parameter space explosion, data sparseness problem and system resource exhaustion problem. From another point of view, this paper relaxes the other Hmm hypothesis, named <i>stationary (time invariant) hypothesis, </i>makes use of time information and proposes a non-stationary Hmm (NSHmm). This paper describes NSHmm in detail, including its definition, the representation of time information, the algorithms and the parameter space and so on. Moreover, to further reduce the parameter space for mobile applications, this paper proposes a variant form of NSHmm (VNSHmm). Then NSHmm and VNSHmm are applied to two sequence labeling tasks: pos tagging and pinyin-to-character conversion. Experiment results show that compared with Hmm, NSHmm and VNSHmm can greatly reduce the error rate in both of the two tasks, which proves that they have much more predictive power than Hmm does. </abstract></header><body><section number="1" title="Introduction"><p>Statistical language model plays an important role in natural language processing and great efforts are devoted to the research of language modeling. Hidden Markov Model (Hmm) is one of the most popular language models. It was first proposed by IBM in speech recognition [1] and achieved great success. Then Hmm has a wide range of applications in many domains, such as OCR [2], handwriting recognition [3], machine translation [4], Chinese pinyin-to-character conversion [5] and so on.</p><p>To improve Hmm's predictive power, one of Hmm hypotheses [6] named <i>limited history hypothesis, </i>is usually relaxed and higher-order Hmm is proposed. But as the order of Hmm increases, its parameter space explodes at an exponential rate, which may result in several severe problems, such as data sparseness problem [7], system resource exhaustion problem and so on. From another point of view, this paper relaxes the other Hmm hypothesis, named <i>stationary hypothesis, </i>makes use of time information and proposes non-stationary Hmm (NSHmm). This paper first defines NSHmm in a formalized form, and then discusses how to represent time information in NSHmm. After that, the algorithms of NSHmm are provided and the parameter space complexity is calculated. Moreover, to further reduce the parameter space, a variant form of NSHmm (VNSHmm) is proposed later.<page local="2"/> At last, NSHmm and VNSHmm are applied to two sequence labeling tasks: pos tagging and pinyin-to-character conversion. As the experiment results show, compared with Hmm, NSHmm and VNSHmm can greatly reduce the error rate in the both two tasks.</p><doubt alpha="44.7" length="38" tooSmall="False" monospace="0.0">828       J. Xiao, B. Liu, and X. Wang</doubt><p>The rest of this paper is structured as follows: in section 2 we briefly review the definition of standard Hmm. In section 3, NSHmm is proposed and the relative questions are discussed in detail. Experiments and results are discussed in section 4. Finally, we give our conclusions in section 5 and plan the further work in section 6.</p></section><section number="2" title="Hidden Markov Model"><p>Hmm is a function of Markov process and can be mathematically defined as a five-tuple M = &lt;Q, E, p, a, 8&gt; which consists of:</p><p>1. A finite set of (hidden) states Q.</p><p>2. A finite set of (observed) symbols E.</p><p>3. A state transition function p: Qx Q-&gt; [0, 1].</p><p>4. A symbol emission function a: Qx E-&gt; [0, 1].</p><p>5. And an initial state probability function 8: Omega -&gt; [0, 1].</p><p>The functions of p, a and 8 are usually estimated by MLE principle on large scale corpus. Based on the above definition, Hmm makes two hypotheses at the same time:</p><p>1. <i>Limited history hypothesis: </i>the current state is completely decided by the last state before, but irrelative to the entire state history.</p><p>2. <i>Stationary hypothesis: </i>the state transition function p is completely determined by states, but irrelative to the time when state transition occurs. So it is with the symbol emission function.</p><p>There are three fundamental questions and a series of corresponding algorithms for Hmm:</p><p>1. Given Hmm, how to calculate the probability of a sequence observation? Forward algorithm and backward algorithm can handle that question.</p><p>2. Given Hmm and an observation sequence, how to find the best state sequence to explain the observation? Viterbi algorithm can fulfill that task.</p><p>3. Given an observation sequence, how to estimate the parameters of Hmm to best explain the observed data? Baum-Welch algorithm can solve that problem.</p><p>Hmm is a popular language model and has been applied to many tasks in natural language processing. For example, in pos tagging, the word sequence is taken as the observation of Hmm, and the pos sequence as the hidden state chain. Viterbi algorithm can find the best pos sequence corresponding to the word sequence.</p></section><section number="3" title="Non-stationary Hidden Markov Model"><subsection number="3.1" title="Motivation"><p>There are many approaches to improve the predictive power of Hmm in practice. For example, factorial Hmm [8] is proposed by decomposing the hidden state 1.<page local="3"/> A finite set of (hidden) states Q.</p><p>2. A finite set of (observed) symbols E.</p><p>representation into multiple independent Markov chains. In speech recognition, a factorial Hmm can represent the combination of multiple signals which are produced independently and the characteristics of each signal are described by a distinct Markov chain. And some Hmms use neural networks to estimate phonetic posterior probability in speech recognition [9]. The input layer of the network typically covers both the past states and the further states. However, from the essential definition of Hmm, there are two ways to improve the predictive power of Hmm. One approach is to relax the limited history hypothesis and involve more history information into language model. The other is to relax the stationary hypothesis and make use of time information. In recent years, much research focuses on the first approach [10] and higher-order Hmm is built up. But as the order increases, the parameter space explodes at such an exponential rate that training corpus becomes too sparse and system resource exhausts soon. This paper adopts the second approach and tries to make good use of time information. Then NSHmm is proposed. Since there is no theoretical conflict between NSHmm and high-order Hmm, the two models can be combined together in proper conditions.</p></subsection><subsection number="3.2" title="Definition for NSHmm"><p>Similarly with Hmm, NSHmm is also mathematically defined as a five-tuple M = &lt;Q, E, p , a, 8 &gt; which consists of:</p><p>3. A state transition function p': Qx Qx t -&gt; [0, 1].</p><p>4. A symbol emission function a : Qx Ex t -&gt; [0, 1].</p><p>5. And an initial state probability function 8': Qx t -&gt; [0, 1].</p><p>In the above definition, <i>t </i>is the time variable indicating when state transition or symbol emission occurs. Different from Hmm's definition, p, a and 8 are all the functions of <i>t. </i>And they can still be estimated by MLE principle on large scale corpus. This key question of NSHmm is how to represent time information. We'll discuss that question in the next section.</p></subsection><subsection number="3.3" title="Representation of Time Information"><p>Since time information is to describe when the events of Hmm (e.g. state transition or symbol emission) occur, a natural way is to use the event index in Markov chain to represent the time information. But there are two serious problems with that method. Firstly, index has different meanings in the Markov chains of different length. Secondly, since a Markov chain may have arbitrary length, the event index can be any natural number. However, computer system can only deal with finite value. A refined method is to use the ratio of the event index and the length of Markov chain which is a real number of the range [0, 1]. But there are infinite real numbers in the range [0, 1]. In this paper, we divide the range [0, 1] into several equivalence classes (bins) and each class share the same time information. When training NSHmm, the functions of p ', a' and 8' should be estimated in each bin respectively according to their time information. And when they are accessed, they should also get the value in the according bin.<page local="4" global="830"/> For example, the state transition function p' can be estimated by the formula below:</p><doubt alpha="60.7" length="28" tooSmall="False" monospace="0.0">J. Xiao, B. Liu, and X. Wang</doubt><p>where <i>C </i>(i, <i>j, t </i>) is the co-occurrence frequency of state i and state j at time t and it can be estimated by counting the co-occurrence times of state i and state j in the tth bin in each sentence of corpus. <i>C </i>(i, <i>t</i>) is the frequency of state i at time t and can be estimated by counting the occurrence times of state i in the tth bin in the sentence of corpus. And the result <i>Pijt </i>is the transition probability between state i and j at time t.</p><p>It's similar to estimate the functions of a' and 8'.</p></subsection><subsection number="3.4" title="Algorithms on Non-stationary Hidden Markov Model"><p>The three fundamental questions of Hmm also exist in NSHmm. The corresponding algorithms, such as forward algorithm, viterbi algorithm and Baum-Welch algorithm, can work well in NSHmm, except that they have to first calculate the time information and then compute the function values of p', a' and 8' according to the statistical information in the corresponding bins.</p></subsection><subsection number="3.5" title="Space Complexity Analysis"><p>In this section, we will analyze the space complexity of NSHmm. Compared with Hmm, some conclusions can be drawn at the end of this section. For simplicity and convenience, we define some notations below:</p><p>- The hidden state number <i>n</i> - The observed symbol number <i>m</i> - The bin number for NSHmm <i>k</i></p><p>In Hmm and NSHmm, all system parameters are devoted to simulate the three functions of p, a and 8. For Hmm, a vector of size <i>n </i>is usually used to store the initial probability of each state. An <i>n </i>x <i>n </i>matrix is adopted to store the transition probabilities between every two states, and <i>n </i>x <i>m </i>matrix to record the emission probabilities between states and observed symbols. The space complexity for Hmm is the sum of these three parts which is 0(n + <i>n </i>x <i>n </i>+ <i>n </i>x m). For NSHmm, since p , a and 8 are all the functions of time t, time information should be counted in. An <i>n </i>x <i>k </i>matrix is used to store the initial probability of each state at different time. An <i>n </i>x <i>n</i>x <i>k </i>matrix is used to store the transition probability between each state at different time and <i>n </i>x <i>m </i>x <i>k </i>matrix to keep the emission probability. Thus, the space complexity of NSHmm is 0((n + <i>n </i>x <i>n </i>+ <i>n </i>x m) x <i>k</i>) which is <i>k </i>times than that of Hmm. As the analysis shows, the space complexity of NSHmm increases at a linear speed with <i>k, </i>rather than at an exponential speed as high-order Hmm dose. Moreover, as <i>k </i>is usually far below than <i>n, </i>NSHmm is much easier to avoid the problem of parameter space explosion.</p><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">C(i, j,t )C(i,t )</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><page local="5" global="831"/></subsection><subsection number="3.6" title="Variant Form of NSHmm"><p>In this section, this paper proposes a variant form of NSHmm (VNSHmm). It's based on these facts: for some applications, such as on mobile platform, there is not enough system resource to build up a whole NSHmm. Then NSHmm has to be compressed. This paper constructs some statistical variables for time information and uses these statistical variables to substitute concrete time information in NSHmm. When computing the probability in VNSHmm, these statistical variables are combined together to calculate a coefficient for normal probability of Hmm.</p><p>Two statistical variables, expectation and variance of time information, are adopted in VNSHmm. And such assumptions are made that more weight should be awarded if the time of event occurring fits better with the training corpus, and less weight vice versa. The probability function in VNSHmm is defined as below:</p><doubt alpha="44.0" length="25" tooSmall="False" monospace="0.0">pt=- eaxV/((t-E)2+ß)xp(2)</doubt><p>where <i>Z </i>is a normalizing factor, and is defined as:</p><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">eaVl("-E)2+ß)xp(3)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">t=1</doubt><p>The notations in the formulation (2) and (3) are described in the following:</p><p>- Current time information <i>t</i> - Expectation of time information <i>E</i> - Variance of time information <i>V</i> - State transition probability ( or symbol emission probability ) <i>p</i> - Adjusted coefficients <i>a </i>and <i>ß</i></p><p><i>p</i><i>t </i>is descendent with the term <i>t-E </i>which defines the difference between current time and time expectation in training corpus. As the value of <i>t-E </i>decreases, <i>t </i>fits for training corpus better and more weight is added to <i>p</i><i>t. </i>For example, we take a Chinese sentence as a state chain of Markov process. The word "Hyfc'Xfirst of all) usually leads a sentence in training corpus. For test corpus, more weight should be given to <i>pt </i>if yfc(first of all) appears at the beginning of the sentence, whereas less weight if at the sentence end. <i>p</i><i>t </i>is ascendant with the variance <i>V. </i>The item <i>V </i>is mainly used to balance the value of term <i>t-E </i>for some active states. For example, in Chinese, some adjectives, such as "Ji if '(beautiful), can appear at any position of the sentence. Then it's unreasonable to decrease <i>p</i><i>t </i>just because the term <i>t-E </i>increases. In such a situation, the value of item <i>V </i>for " '(beautiful) is usually bigger than that of those inactive states (e.g. (first of all)). Then the item <i>V </i>can provide a balance for the value of <i>t-E.</i></p><p>Since VNSHmm just makes use of expectation and variance, rather than the whole time information, its space complexity is equal to that of the NSHmm with only two bins, which is 0<i>((n+n n+n m) </i>2) .</p><page local="6" global="832"/><doubt alpha="60.7" length="28" tooSmall="False" monospace="0.0">J. Xiao, B. Liu, and X. Wang</doubt></subsection></section><section number="4" title="Experiments"><p>In the experiments, NSHmm and VNSHmm have been applied to two sequence labeling tasks: pos tagging and pinyin-to-character conversion. This paper will describe them in detail in the following two sections.</p><subsection number="4.1" title="Pos Tagging"><p>For pos tagging, this paper chooses the People's Daily corpus in 1998 which has been labeled by Peking University [11]. The first 5 month corpus is taken as training corpus and the 6th month as test corpus. Since most of pos-taggers are based on 2-order Hmm (trigram), 2-order NSHmm and 2-order VNSHmm are constructed respectively in the experiments.</p><p>We first calculate KL distances between the emission probability distribution of Hmm and the distributions of NSHmm at different time. Only when the distances are great, could NSHmm be expected to outperform Hmm; otherwise NSHmm would have similar performance as Hmm has. Since there are totally k different distance values for NSHmm with k bins, we just calculate the average distance for each NSHmm. The results are presented in table 1 as below:</p><p><b>Table 1. </b>Average KL Distances between Emission Probability Distributions of NSHmm and Hmm</p><p>From table 1 we can see that as the bin number increases, the average KL distance become bigger and bigger, which indicates there is more and more difference between the emission probability distributions of Hmm and that of NSHmm. Similar results can be gotten by comparing state-transition-probability distributions of the two models. And as time information increases, we expect more predictive power for NSHmm.</p><p>To prove the effectiveness of NSHmm and VNSHmm, in the rest of this section, two sets of experiments, close test and open test, are performed. The results of close test are showed in table 2, figure 1 and the results of open test are presented in table 3, figure 2 as below.</p><p><b>Table 2. </b>Pos Tagging Close Test<page local="7" global="833"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin Number</b></p></td><td class="cell"><p><b>K=1</b></p></td><td class="cell"><p><b>K=2</b></p></td><td class="cell"><p><b>K=3</b></p></td><td class="cell"><p><b>K=4</b></p></td><td class="cell"><p><b>K=5</b></p></td><td class="cell"><p><b>K=6</b></p></td><td class="cell"><p><b>K=7</b></p></td><td class="cell"><p><b>K=8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Aver KL Dis</b></p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.08</p></td><td class="cell"><p>0.12</p></td><td class="cell"><p>0.15</p></td><td class="cell"><p>0.17</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p>0.21</p></td><td class="cell"><p>0.22</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin Number</b></p></td><td class="cell"><p><b>K=1</b></p></td><td class="cell"><p><b>K=2</b></p></td><td class="cell"><p><b>K=3</b></p></td><td class="cell"><p><b>K=4</b></p></td><td class="cell"><p><b>K=5</b></p></td><td class="cell"><p><b>K=6</b></p></td><td class="cell"><p><b>K=7</b></p></td><td class="cell"><p><b>K=8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Hmm (baseline)</b></p></td><td class="cell"><p>6.04%</p></td><td class="cell"><p>---</p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NSHmm </b><b>Error</b></p></td><td class="cell"><p>6.04%</p></td><td class="cell"><p>5.63%</p></td><td class="cell"><p>5.55%</p></td><td class="cell"><p>5.52%</p></td><td class="cell"><p>5.47%</p></td><td class="cell"><p>5.44%</p></td><td class="cell"><p><b>5.42%</b></p></td><td class="cell"><p>5.47%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>6.79%</p></td><td class="cell"><p>8.11%</p></td><td class="cell"><p>8.61%</p></td><td class="cell"><p>9.44%</p></td><td class="cell"><p>9.93%</p></td><td class="cell"><p><b>10.26%</b></p></td><td class="cell"><p>9.43%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VNSHmm </b><b>Error</b></p></td><td class="cell"><p>6.04%</p></td><td class="cell"><p><b>5.85%</b></p></td><td class="cell"><p>5.85%</p></td><td class="cell"><p>5.85%</p></td><td class="cell"><p>5.85%</p></td><td class="cell"><p>5.85%</p></td><td class="cell"><p>5.85%</p></td><td class="cell"><p>5.85%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p><b>3.15%</b></p></td><td class="cell"><p>3.15%</p></td><td class="cell"><p>3.15%</p></td><td class="cell"><p>3.15%</p></td><td class="cell"><p>3.15%</p></td><td class="cell"><p>3.15%</p></td><td class="cell"><p>3.15%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">g o</doubt><p><b>- Hmm NSHmm VNSHmm</b></p><p>Bins Number: K <b>Fig. 1. </b>Pos Tagging Close Test <b>Table 3. </b>Pos Tagging Open Test</p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">-22 esPC</doubt><doubt alpha="0.0" length="10" tooSmall="False" monospace="0.0">0123456789</doubt><p>Bins Number: K <b>Fig. 2. </b>Pos Tagging Open Test</p><p>As table 2 and table 3 have showed, no matter in close test or in open test, NSHmm and VNSHmm achieve much lower error rates than Hmm. NSHmm gets at most 10.26% error rate reduction and VNSHmm obtains 3.15% reduction in close test; and they achieve 8.<page local="8" global="834"/>58% and 5.72% reductions respectively in open test. These facts prove that NSHmm and VNSHmm have much more predictive power than Hmm has. From figure 1 we can see that in close test, as the bin number increases, the error rate of NSHmm is decreased constantly, which proves that the improvement of NSHmm is due to the increasing time information. But in the open test as figure 2 shows, the error rate stops decreasing after k=3. That is because of the overfitting problem. As a consequence, this paper suggests k=3 in NSHmm for pos tagging task. From figure 1 and figure 2, VNSHmm performs stably after k=2, which indicates a small number of parameters are enough to stat reliable statistical variables for VNSHmm and get improved performance.</p><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">6.2</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">6.0</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">5.8</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">5.6</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">5.4</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">5.2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">7.2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">7.0</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">6.8</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">6.6</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">6.4</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin Number</b></p></td><td class="cell"><p><b>K=1</b></p></td><td class="cell"><p><b>K=2</b></p></td><td class="cell"><p><b>K=3</b></p></td><td class="cell"><p><b>K=4</b></p></td><td class="cell"><p><b>K=5</b></p></td><td class="cell"><p><b>K=6</b></p></td><td class="cell"><p><b>K=7</b></p></td><td class="cell"><p><b>K=8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Hmm (baseline)</b></p></td><td class="cell"><p>6.99%</p></td><td class="cell"><p>---</p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NSHmm </b><b>Error</b></p></td><td class="cell"><p>6.99%</p></td><td class="cell"><p>6.44%</p></td><td class="cell"><p><b>6.39%</b></p></td><td class="cell"><p>6.42%</p></td><td class="cell"><p>6.40%</p></td><td class="cell"><p>6.43%</p></td><td class="cell"><p>6.47%</p></td><td class="cell"><p>6.58%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>7.87%</p></td><td class="cell"><p><b>8.58%</b></p></td><td class="cell"><p>8.15%</p></td><td class="cell"><p>8.44%</p></td><td class="cell"><p>8.01%</p></td><td class="cell"><p>7.44%</p></td><td class="cell"><p>5.87%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VNSHmm </b><b>Error</b></p></td><td class="cell"><p>6.99%</p></td><td class="cell"><p><b>6.59%</b></p></td><td class="cell"><p>6.59%</p></td><td class="cell"><p>6.59%</p></td><td class="cell"><p>6.59%</p></td><td class="cell"><p>6.59%</p></td><td class="cell"><p>6.59%</p></td><td class="cell"><p>6.59%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p><b>5.72%</b></p></td><td class="cell"><p>5.72%</p></td><td class="cell"><p>5.72%</p></td><td class="cell"><p>5.72%</p></td><td class="cell"><p>5.72%</p></td><td class="cell"><p>5.72%</p></td><td class="cell"><p>5.72%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="47.2" length="36" tooSmall="False" monospace="0.0">834     J. Xiao, B. Liu, and X. Wang</doubt></subsection><subsection number="4.2" title="Pinyin-to-Character Conversion"><p>For the experiments of pinyin-to-character conversion, this paper adopts the same training corpus and test corpus as in pos tagging experiments. And 6763 Chinese frequent characters are chosen as the lexicon. This paper firstly converts all raw Chinese corpuses to the pinyin corpuses. Then based on the both kinds of corpuses, Hmm, NSHmm and VNSHmm are built up.</p><p>In the experiments, we first calculate KL distances between the state-transition-probability distributions of Hmm and the distributions of NSHmm at different time. As we have done in the pos tagging experiments, we just calculate the average KL distance for each NSHmm. The results are presented in table 4.</p><p><b>Table 4. </b>Average KL Distances between State-Transition-Probability Distributions of NSHmm and Hmm</p><p>From table 4 we can see that as the bin number increases, the average KL distance become bigger and bigger and more predictive power is expected for NSHmm. And similar results can be gotten by comparing emission probability distributions of the two models. Then in the rest of this section, we perform the pinyin-to-character conversion experiments. Close test and open test are performed respectively. The results of close test are showed in table 5, figure 3 and the results of open test are presented in table 6, figure 4 respectively.</p><p><b>Table 5. </b>Pinyin-to-Character Conversion Close Test<page local="9" global="835"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin Number</b></p></td><td class="cell"><p><b>K=1</b></p></td><td class="cell"><p><b>K=2</b></p></td><td class="cell"><p><b>K=3</b></p></td><td class="cell"><p><b>K=4</b></p></td><td class="cell"><p><b>K=5</b></p></td><td class="cell"><p><b>K=6</b></p></td><td class="cell"><p><b>K=7</b></p></td><td class="cell"><p><b>K=8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Aver KL Dis</b></p></td><td class="cell"><p>0</p></td><td class="cell"><p>0.08</p></td><td class="cell"><p>0.12</p></td><td class="cell"><p>0.15</p></td><td class="cell"><p>0.17</p></td><td class="cell"><p>0.18</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p>0.21</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin Number</b></p></td><td class="cell"><p><b>K=1</b></p></td><td class="cell"><p><b>K=2</b></p></td><td class="cell"><p><b>K=3</b></p></td><td class="cell"><p><b>K=4</b></p></td><td class="cell"><p><b>K=5</b></p></td><td class="cell"><p><b>K=6</b></p></td><td class="cell"><p><b>K=7</b></p></td><td class="cell"><p><b>K=8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Hmm (baseline)</b></p></td><td class="cell"><p>8.30%</p></td><td class="cell"><p>---</p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"><p>---</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NSHmm </b><b>Error</b></p></td><td class="cell"><p>8.30%</p></td><td class="cell"><p>7.17%</p></td><td class="cell"><p>6.55%</p></td><td class="cell"><p>6.08%</p></td><td class="cell"><p>5.74%</p></td><td class="cell"><p>5.43%</p></td><td class="cell"><p>5.19%</p></td><td class="cell"><p><b>4.98%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p>---</p></td><td class="cell"><p>13.61%</p></td><td class="cell"><p>21.08%</p></td><td class="cell"><p>26.75%</p></td><td class="cell"><p>30.84%</p></td><td class="cell"><p>34.58%</p></td><td class="cell"><p>37.47%</p></td><td class="cell"><p><b>40.00%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VNSHmm </b><b>Error</b></p></td><td class="cell"><p>8.30%</p></td><td class="cell"><p><b>8.28%</b></p></td><td class="cell"><p>8.27%</p></td><td class="cell"><p>8.28%</p></td><td class="cell"><p>8.28%</p></td><td class="cell"><p>8.28%</p></td><td class="cell"><p>8.28%</p></td><td class="cell"><p>8.28%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rate</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Reduction</b></p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p><b>0.24%</b></p></td><td class="cell"><p>0.24%</p></td><td class="cell"><p>0.24%</p></td><td class="cell"><p>0.24%</p></td><td class="cell"><p>0.24%</p></td><td class="cell"><p>0.24%</p></td><td class="cell"><p>0.24%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">K=7</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">K=8</doubt><p><b>- Hmm NSHmm VNSHmm</b></p><doubt alpha="0.0" length="10" tooSmall="False" monospace="0.0">0123456789</doubt><p>Bins Number: K <b>Fig. 3. </b>Pinyin-to-Character Conversion Close Test <b>Table 6.</b><b> </b>Pinyin-to-Character Conversion Open Test <b>Error Rate Reduction</b></p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">VNSHmm</doubt><doubt alpha="14.3" length="42" tooSmall="False" monospace="0.0">K=1     K=2      K=3      K=4      K=5 K=6</doubt><doubt alpha="0.0" length="46" tooSmall="False" monospace="0.0">14.97%    —         —         —        — — — —</doubt><doubt alpha="0.0" length="56" tooSmall="False" monospace="0.0">14.97%12.62%13.16% 13.61% 13.93% 14.23%    14.52% 14.81%</doubt><doubt alpha="0.0" length="52" tooSmall="False" monospace="0.0">---   15.70%12.09% 9.08% 6.95% 4.94%     3.01% 1.07%</doubt><doubt alpha="0.0" length="56" tooSmall="False" monospace="0.0">14.97% 11.98%11.96%11.96% 11.96% 11.97%    11.97% 11.97%</doubt><doubt alpha="0.0" length="49" tooSmall="False" monospace="0.0">---19.97%20.11%20.11% 20.11% 20.04% 20.04% 20.04%</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">O</doubt><p>Bins Number: K <b>Fig. 4. </b>Pinyin-to-Character Conversion Open Test</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">16</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">15</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">14</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">13</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">12</doubt><p><b>Bin Number Hmm (baseline) </b><page local="10" global="836"/></p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">NSHmm</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>9.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>8.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>8.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>7.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>7.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Rate</p></td><td class="cell"><p><b>6.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Error</p></td><td class="cell"><p><b>6.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>5.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>5.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>4.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="44.7" length="38" tooSmall="False" monospace="0.0">836       J. Xiao, B. Liu, and X. Wang</doubt><p>In the experiments of pinyin-to-character conversion, the results are very similar to those in the pos tagging experiments. NSHmm and VNSHmm show much more predictive power than Hmm does. NSHmm gets at most 40% error rate reduction and VNSHmm obtains 0.24% reduction in close test; and they achieve 15.7% and 20.11% reductions respectively in open test. As time information increases, the error rate of NSHmm decreases drastically in close test as it dose in pos tagging task. And the overfitting problem arises after k=2 in open test.</p><p>However, different from the results of pos tagging experiments, VNSHmm outperforms NSHmm in open test. Since 6763 characters are adopted as states set in pinyin-to-character conversion system, which is much larger than the states set in pos tagging system, data sparseness problem is more likely to occur. VNSHmm can be view as a natural smoothing technique for NSHmm. Thus it works better. We also notice that the improvements in pinyin-to-character conversion experiments are more significant than those in pos-tagging experiments. In pinyin-to-character conversion task, the state chain is the Chinese sentence. Intuitively, some Chinese characters and words are much more likely to occur at some certain positions in the sentence, for instance, the beginning or the end of a sentence. As we discuss in section 3.3, in practice the time information of events in NSHmm is defined as the position information where the events occur. Then NSHmm and VNSHmm can capture those characteristics straightforwardly. But in pos-tagging, the state chain is the pos tag stream. Pos is a more abstract concept than word, and their positional characteristics are not as apparent as words'. Henceforth, the improvements in pos-tagging experiments are less significant than those in pinyin-to-character conversion experiments. But NSHmm and VNSHmm can still model and make good use of those positional characteristics, and notable improvements have been achieved.</p><p>In a word, NSHmm and VNSHmm achieve much lower error rates in both of the two sequence labeling tasks and show much more predictive power than Hmm.</p></subsection></section><section number="5" title="Conclusions"><p>To improve Hmm's predictive power and meanwhile avoid the problems of high­order Hmm, this paper relaxes the stationary hypothesis of Hmm, makes use of time information and proposes NSHmm. Moreover, to further reduce NSHmm's parameter space for mobile applications, VNSHmm is proposed by constructing statistical variables on the time information of NSHmm. Then NSHmm and VNSHmm are applied to two sequence labeling tasks: pos tagging and pinyin-to-character conversion. From the experiment results, we can draw three conclusions in this paper:</p><p>• Firstly, NSHmm and VNSHmm achieve much lower error rates than Hmm in both of the two tasks and thus have more predictive power.</p><p>• Secondly, the improvement of NSHmm is due to the increasing time information.</p><p>• Lastly, a small number of parameters are enough to stat the statistical variables</p><p>for VNSHmm.</p><page local="11" global="837"/></section><section number="6" title="Further Research"><p>Since NSHmm is an enhanced Hmm, some problems of Hmm also exist in NSHmm. For example, data sparseness problem is arising as time information increases in NSHmm. Some smoothing algorithms should be designed to solve it in our further work. Also it's difficult to describe long distance constraint for NSHmm and further research should be devoted to this problem. To construct more compact NSHmm, proper prone techniques should be further studied and be compared with VNSHmm.</p></section><section title="Acknowledgements"><p>This investigation was supported emphatically by the National Natural Science Foundation of China (No.60435020) and the High Technology Research and Development Programme of China (2002AA117010-09).</p><p>We especially thank the three anonymous reviewers for their valuable suggestions and comments.</p></section><references><p>1. F. Jelinek. Self-Organized Language Modeling for Speech Recognition. IEEE ICASSP, 1989.</p><p>2. George Nagy. At the Frontier of OCR. Processing of IEEE. 1992, 80(7).</p><p>3. ZhiMing Xu, XiaoLong Wang, Kai Zhang, Yi Guan. A Post Processing Method for Online Handwritten  Chinese  Character recognition.  Journal of Computer Research and</p><p>Development. Vol.36, No. 5, May 1999.</p><p>4. Peter F. Brown, Stephen A. Della Pietra, Vincent J. Della Pietra, and Robert L. Mercer. The Mathematics of Statistical Machine Translation: Parameter Estimation. Computational</p><p>Linguistics. 1992, 19(2).</p><p>5. Liu Bingquan, Wang Xiaolong and Wang Yuying, Incorporating Linguistic Rules in Statistical Chinese Language Model for Pinyin-to-Character Conversion. High Technology Letters. Vol.7 No.2, June 2001, P:8-13 6. Christopher D. Manning and Hinrich Schutze. Foundation of Statistic Natural Language</p><p>Processing. The MIT Press. 1999.</p><p>7. Brown, Peter F., Vincent J. Della Pietra, Peter V. deSouza, Jenifer C. Lai, and Robert L. Mercer. Class-based n-gram models of natural language. Computational Linguistics, 18(4):467-479. 1992.</p><p>8. Z. Ghahramani and M. Jordan. Factorial hidden Markov models. Machine Learning, 29, 1997.</p><p>9. J. Fritsch. ACID/HNN: A framework for hierarchical connectionist acoustic modeling. In Proc. IEEE ASRU, Santa Barbara, December 1997.</p><p>10. Goodman, J. A bit of progress in language modeling. Computer Speech and Language, 403-434. 2001.</p><doubt alpha="64.3" length="28" tooSmall="False" monospace="0.0">11.http://www.icl.pku.edu.cn</doubt></references></body></article>