<?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" global="1114"/><title>A Joint Language Model With Fine-grain Syntactic Tags</title><author surname="Filimonov" givenname="Denis"><org  name="University of Maryland" country="USA" city="College Park"/></author><author surname="Harper" givenname="Mary"><org  name="University of Maryland" country="USA" city="College Park"/></author></firstpageheader><frontmatter><p><b>A Joint Language Model With Fine-grain Syntactic Tags</b></p><p><b>Denis Filimonov<footnote anchor="1"/></b></p><p>laboratory for Computational Linguistics</p><p>and Information Processing Institute for Advanced Computer Studies University of Maryland, College Park den@c s.umd.edu</p><p><b>Mary Harper<footnote anchor="1"/>'<footnote anchor="2"/></b></p><p><footnote anchor="2"/>Human Language Technology Center of Excellence Johns Hopkins University mharper@umiacs.umd.edu</p></frontmatter><abstract>We present a scalable joint language model designed to utilize fine-grain syn­tactic tags. We discuss challenges such a design faces and describe our solutions that scale well to large tagsets and cor­pora. We advocate the use of relatively simple tags that do not require deep lin­guistic knowledge of the language but pro­vide more structural information than POS tags and can be derived from automati­cally generated parse trees - a combina­tion of properties that allows easy adop­tion of this model for new languages. We propose two fine-grain tagsets and evalu­ate our model using these tags, as well as POS tags and SuperARV tags in a speech recognition task and discuss future direc­tions. </abstract></header><body><section number="1" title="Introduction"><p>In a number of language processing tasks, particu­larly automatic speech recognition (ASR) and ma­chine translation (MT), there is the problem of se­lecting the best sequence of words from multiple hypotheses. This problem stems from the <i>noisy channel </i>approach to these applications. The noisy channel model states that the observed data, e.g., the acoustic signal, is the result of some input translated by some unknown stochastic process. Then the problem of finding the best sequence of words given the acoustic input, not approachable directly, is transformed into two separate models:</p><doubt alpha="60.6" length="33" tooSmall="False" monospace="0.0">argmax p(w'i\A) = argmax p(A\w'i)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>where <i>A </i>is the acoustic signal and <i>w™ </i>is a se­quence of <i>n </i>words. <i>p(A\wi) </i>is called an acoustic model and<i>p(w'i) </i>is the language model<footnote anchor="1"/>.</p><p>Typically, these applications use language mod­els that compute the probability of a sequence in a generative way:</p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">ni=l</doubt><p>Approximation is required to keep the parameter space tractable. Most commonly the context is re­duced to just a few immediately preceding words. This type of model is called an <i>ngram </i>model:</p><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">p(Wi\w\~l)&amp; p(Wi\wlZn+i)</doubt><p>Even with limited context, the parameter space can be quite sparse and requires sophisticated tech­niques for reliable probability estimation (Chen and Goodman, 1996). While the ngram models perform fairly well, they are only capable of cap­turing very shallow knowledge of the language.</p><p>There is extensive literature on a variety of methods that have been used to imbue models with syntactic and semantic information in differ­ent ways. These methods can be broadly catego­rized into two types:</p><p>• The first method uses surface words within its context, sometimes organizing them into deterministic classes. Models of this type in­clude: (Brown et al., 1992; Zitouni, 2007), which use semantic word clustering, and (Bahl et al, 1990), which uses variable-length context.</p><p>• The other method adds stochastic variables to express the ambiguous nature of surface words<footnote anchor="2"/>. To obtain the probability of the next</p><p>'Real applications use <i>argmaxwn p(A\w")-p(w")a-nf}</i>instead of Eq. 1, where <i>a </i>and <i>ß </i>are set to optimize a heldout set.</p><footnote label="2">These variables have to be predicted by the model.</footnote><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1114</doubt><p><i>Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, </i>pages 1114—1123, Singapore, 6-7 August 2009. ©2009 ACL and AFNLP<page local="2" global="1115"/></p><p>word we need to sum over all assignments of the stochastic variables, as in Eq. 2.</p><doubt alpha="38.5" length="39" tooSmall="False" monospace="0.0">p{wt\w\~1) =]Tp(wltl\w\-H\-1)(2)t\...ti</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">Etl...ti_1PK-14_1)</doubt><p>Models of this type, which we call <i>joint </i>models since they essentially predict joint events of words and some random vari­able^), include (Chelba and Jelinek, 2000) which used POS tags in combination with "parser instructions" for constructing a full parse tree in a left-to-right manner; (Wang et al, 2003) used SuperARVs (complex tu­ples of dependency information) without re­solving the dependencies, thus called <i>almost parsing; </i>(Niesler and Woodland, 1996; Hee-man, 1999) utilize part of speech (POS) tags. Note that some models reduce the context by making the following approximation:</p><p>thus, transforming the problem into a stan­dard HMM application. However, these models perform poorly and have only been able to improve over the ngram model when interpolated with it (Niesler and Woodland, 1996).</p><p>Although joint models have the potential to better express variability in word usage through the introduction of additional latent variables, they do not necessarily perform better because the increased dimensionality of the context substantially increases the al­ready complex problem of parameter estima­tion. The complexity of the space also makes computation of the probability a challenge because of space and time constraints. This makes the choice of the random variables a matter of utmost importance.</p><p>The model presented in this paper has some el­ements borrowed from prior work, notably (Hee-man, 1999; Xu and Jelinek, 2004), while others are novel.</p><subsection number="1.1" title="Paper Outline"><p>The message we aim to deliver in this paper can be summarized in two theses:</p><p><i>• Use fine-grain syntactic tags in a joint LM. </i>We propose a joint language model that can be used with a variety of tagsets. In Section 2, we describe those that we used in our ex­periments. Rather than tailoring our model to these tagsets, we aim for flexibility and pro­pose an information theoretic framework for quick evaluation for tagsets, thus simplifying the creation of new tagsets. We show that our model with fine-grain tagsets outperform the coarser POS model, as well as the ngram baseline, in Section 5.</p><p><i>• Address the challenges </i>that arise in a joint language model with fine-grain tags. While the idea of using joint language modeling is not novel (Chelba and Jelinek, 2000; Hee-man, 1999), nor is the idea of using fine-grain tags (Bangalore, 1996; Wang et al, 2003), none of prior papers focus on the issues that arise from the combination of joint language modeling with fine-grain tags, both in terms of reliable parameter estimation and scalabil­ity in the face of the increased computational complexity. We dedicate Sections 3 and 4 to this problem.</p><p>In Section 6, we summarize conclusions and lay out directions for future work.</p></subsection></section><section number="2" title="Structural Information"><p>As we have mentioned, the selection of the ran­dom variable in Eq. 2 is extremely important for the performance of the model. On one hand, we would like for this variable to provide maximum information. On the other hand, as the number of parameters grow, we must address reliable param­eter estimation in the face of sparsity, as well as increased computational complexity. In the fol­lowing section we will compare the use of Super­ARVs, POS tags, and other structural tags derived from parse trees.</p><subsection number="2.1" title="POS Tags"><p>Part-of-speech tags can be easily obtained for unannotated data using off-the-shelf POS taggers or PCFG parsers. However, the amount of infor­mation these tags typically provide is very limited,<page local="3" global="1116"/></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1115</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">s</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">NP VP</doubt><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">DT     JJ    NN VBD</doubt><doubt alpha="20.0" length="20" tooSmall="False" monospace="0.0">I        I       I I</doubt><p><b>the   black cat sat</b></p><p>Figure 1 : A parse tree example e.g., while it is helpful to know whether <i>fly </i>is a verb or a noun, knowing <i>that you </i>is a personal pro­noun does not carry the information whether it is a subject or an object (given the Penn Tree Bank tagset), which would certainly help to predict the following word.</p></subsection><subsection number="2.2" title="SuperARV"><p>The SuperARV essentially organizes information concerning one consistent set of dependency links for a word that can be directly derived from its syntactic parse. SuperARVs encode lexical in­formation as well as syntactic and semantic con­straints in a uniform representation that is much more fine-grained than POS. It is a four-tuple (C; <i>F;</i><i> R+; </i><i>D),</i><i> </i>where <i>C</i><i> </i>is the lexical category of the word, F is a vector of lexical features for the word, <i>R+ </i>is a set of governor and need labels that indicate the function of the word in the sen­tence and the types of words it needs, and <i>D </i>rep­resents the relative position of the word and its de­pendents. We refer the reader to the literature for further details on SuperARVs (Wang and Harper, 2002; Wang et al, 2003).</p><p>SuperARVs can be produced from parse trees by applying deterministic rules. In this work we use SuperARVs as individual tags and do not clus­ter them based of their structure. While Super­ARVs are very attractive for language modeling, developing such a rich set of annotations for a new language would require a large amount of human effort.</p><p>We propose two other types of tags which have not been applied to this task, although similar in­formation has been used in parsing.</p></subsection><subsection number="2.3" title="Modifee Tag"><p>This tag is a combination of the word's POS tag and the POS tag of its governor role. We designed it to resemble dependency parse struc­ture. For example, the sentence in Figure 1 would be tagged: <i>the/DT-NN black/JJ-NN cat/NN-VBD sat/VBD-root. </i>Henceforth, we will refer to this kind of tag as <i>head.</i></p></subsection><subsection number="2.4" title="Parent Constituent"><p>This tag is a combination of the word's POS tag with its immediate parent in the parse tree, along with the POS tag's relative position among its sib­lings. We refer to this type of tags as <i>parent. </i>The example in Figure 1 will be tagged: <i>the/DT-NP-start black/JJ-NP-mid cat/NN-NP-end sat/VB-VP-single. </i>This tagset is designed to represent con­stituency information.</p><p>Note that the <i>head </i>and <i>parent </i>tagsets are more language-independent (all they require is a tree-bank) than the SuperARVs which, not only uti­lized the treebank, but were explicitly designed by a linguist for English only.</p></subsection><subsection number="2.5" title="Information Theoretic Comparison of Tags"><p>As we have mentioned in Section 1, the choice of the tagset is very important to the performance of the model. There are two conflicting intuitions for tags: on one hand they should be specific enough to be helpful in the language model's task; on the other hand, they should be easy for the LM to pre­dict.</p><p>Of course, in order to argue which tags are more suitable, we need some quantifiable metrics. We propose an information theoretic approach:</p><p>• To quantify how hard it is to predict a tag, we compute the conditional entropy:</p><doubt alpha="50.0" length="32" tooSmall="False" monospace="0.0">Hp{ti\wi)   =   Hp{tiWi)- Hp{wi)</doubt><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">=   ^Z'PitiWi)logp{U\wi)</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Witi</doubt><p>• To measure how helpful a tagset is in the LM task, we compute the reduction of the condi­tional cross entropy:</p><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">Hp)q{wi\wi-1ti-1) - Hp^-w^Wi--]) =</doubt><doubt alpha="46.7" length="30" tooSmall="False" monospace="0.0">- p(wl_1ti-1)\ogq(wi\wi-1ti-1)</doubt><doubt alpha="42.9" length="28" tooSmall="False" monospace="0.0">+       P{wj-i)\ogqjwi\wi-!)</doubt><doubt alpha="43.6" length="39" tooSmall="False" monospace="0.0">E~, i   .   \lq(wi\wi-iti-i) q{Wi\wi-1)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1116</doubt><page local="4" global="1117"/><p>Note that in this case we use conditional <i>cross </i>entropy because conditional entropy has the tendency to overfit the data as we se­lect more and more fine-grain tags. Indeed, <i>Hp(wi\wi-iti-i) </i>can be reduced to zero if the tags are specific enough, which would never happen in reality. This is not a prob­lem for the former metric because the con­text there, <i>Wi,</i><i> </i>is fixed. For this metric, we use a smoothed distribution <i>ft </i>computed on the training set<footnote anchor="3"/> and the test distribution <i>q.</i></p><doubt alpha="0.0" length="4" tooSmall="True" monospace="0.0">3 -,</doubt><doubt alpha="67.7" length="31" tooSmall="True" monospace="0.0">POS SuperARV        parent head</doubt><doubt alpha="100.0" length="4" tooSmall="True" monospace="0.0">Tags</doubt><figure caption="Figure 2: Changes in entropy for different tagsets"></figure><p>The results of these measurements are presented in Figure 2. POS tags, albeit easy to predict, pro­vide very little additional information about the following word, and therefore we would not ex­pect them to perform very well. The <i>parent </i>tagset seems to perform somewhat better than Super­ARVs - it provides 0.13 bits more information while being only 0.09 bits harder to predict based on the word. The <i>head </i>tagset is interesting: it pro­vides 0.2 bits more information about the follow­ing word (which would correspond to 15% per­plexity reduction if we had perfect tags), but on the other hand the model is less likely to predict these tags accurately.</p><p>This approach is only a crude estimate (it uses only unigram and bigram context) but it is very useful for designing tagsets, e.g., for a new lan­guage, because it allows us to assess relative per­formance of tagsets without having to train a full model.</p><footnote label="3">We used one-count smoothing (Chen and Goodman, 1996).</footnote></subsection></section><section number="3" title="Language Model Structure"><p>The size and sparsity of the parameter space of the joint model necessitate the use of dimensionality reduction measures in order to make the model computationally tractable and to allow for accu­rate estimation of the model's parameters. We also want the model to be able to easily accommodate additional sources of information such as morpho­logical features, prosody, etc. In the rest of this section, we discuss avenues we have taken to ad­dress these problems.</p><subsection number="3.1" title="Decision Tree Clustering"><p>Binary decision tree clustering has been shown to be effective for reducing the parameter space in language modeling (Bahl et al., 1990; Heeman, 1999) and other language processing applications, e.g., (Magerman, 1994). Like any clustering algo­rithm, it can be represented by a function <i>H </i>that maps the space of histories to a set of equivalence classes.</p><doubt alpha="61.4" length="44" tooSmall="False" monospace="0.0">p(witi\wizi+1tizi+1)«p(witi\H(wizi+1tizi+1))</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><p>While the tree construction algorithm is fairly standard - to recursively select binary questions about the history optimizing some function - there are important decisions to make in terms of which questions to ask and which function to optimize. In the remainder of this section, we discuss the de­cisions we made regarding these issues.</p></subsection><subsection number="3.2" title="Factors"><p>The Factored Language Model (FLM) (Bilmes and Kirchhoff, 2003) offers a convenient view of the input data: it represents every word in a sen­tence as a tuple of factors. This allows us to extend the language model with additional parameters. In an FLM, however, all factors have to be determin-istically computed in a joint model; whereas, we need to distinguish between the factors that are given or computed and the factors that the model must predict stochastically. We call these types of factors <i>overt </i>and <i>hidden, </i>respectively. Exam­ples of overt factors include surface words, mor­phological features such as suffixes, case informa­tion when available, etc., and the hidden factors are POS, SuperARVs, or other tags.</p><p>Henceforth, we will use <i>word </i>to represent the set of overt factors and <i>tag </i>to represent the set of hidden factors.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1117</doubt><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></tr><tr class="row"><td class="cell"></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>I       E3 HB(t<b>||Wi)</b></p><p>I      ^ Hp.atWilW;-! t-J - Hp^tWilWi<b>-i)</b></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>;</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></p></td><td class="cell"><p><i>WA</i></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"></td></tr><tr class="row"><td class="cell"></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><i>WZ-</i></p><p><i>: rz</i></p></td><td class="cell"><p></p></td><td class="cell"><p>i    i i</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"></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><page local="5" global="1118"/></subsection><subsection number="3.3" title="Hidden Factors Tree"><p>Similarly to (Heeman, 1999), we construct a bi­nary tree where each tag is a leaf; we will refer to this tree as the <i>Hidden Factors Tree </i>(HFT). We use Minimum Discriminative Information (MDI) algorithm (Zitouni, 2007) to build the tree. The HFT represents a hierarchical clustering of the tag space. One of the reasons for doing this is to allow questions about subsets of tags rather than individ­ual tags alone<footnote anchor="4"/>.</p><p>Unlike (Heeman, 1999), where the tree of tags was only used to create questions, this representa­tion of the tag space is, in addition, a key feature of our decoding optimizations, which we discuss in Section 4.</p></subsection><subsection number="3.4" title="Questions"><p>The context space is partitioned by means of bi­nary <i>questions. </i>We use different types of ques­tions for hidden and overt factors.</p><p>• Questions about surface words are con­structed using the Exchange algorithm (Mar­tin et al, 1998). This algorithm takes the set of words that appear at a certain position in the training data associated with the current node in the history tree and divides the set into two complementary subsets greedily op­timizing some target function (we use the av­erage entropy of the marginalized word dis­tribution, the same as for question selection). Note that since the algorithm only operates on the words that appear in the training data, we need to do something more to account for the unseen words. Thus, to represent this type of question, we create the history tree struc­ture depicted in Fig. 4.</p><p>For other overt factors with smaller vocabu­laries, such as suffixes, we use equality ques­tions.</p><p>• As we mentioned in Section 3.3, we use the Hidden Factors Tree to create questions about hidden factors. Note that every node in a bi­nary tree can be represented by a binary path from the root with all nodes under an inner node sharing the same prefix. Thus, a ques­tion about whether a tag belongs to a subset</p><footnote label="4">Trying all possible subsets of tags is not feasible since there are 2' T of them. The tree allows us to reduce the num­ber to 0(T) of the most meaningful (as per the clustering algorithm) subsets.</footnote><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Pn</doubt><figure caption="Figure 3: Recursive smoothing:pn= \npn+"></figure><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">(1 -Xn)Pn'</doubt><p>of tags dominated by a node can be expressed as whether the tag's path matches the binary prefix.</p></subsection><subsection number="3.5" title="Optimization Criterion and Stopping Rule"><p>To select questions we use the average entropy of the marginalized word distribution. We found that this criterion significantly outperforms the entropy of the distribution of joint events. This is proba­bly due to the increased sparsity of the joint distri­bution and the fact that our ultimate metrics, i.e., WER and word perplexity, involve only words.</p></subsection><subsection number="3.6" title="Distribution Representation"><p>In a cluster <i>Hx, </i>we factor the joint distribution as follows:</p><doubt alpha="56.7" length="30" tooSmall="False" monospace="0.0">p(WiU\Hx)=p(Wi\Hx) -p^ilw^Ha;)</doubt><p>where <i>p(ti\wi, Hx) </i>is represented in the form of an HFT, in which each leaf has the probability of a tag and each internal node contains the sum of the probabilities of the tags it dominates. This repre­sentation is designed to assist the decoding process described in Section 4.</p></subsection></section><section number="3" title=".7 Smoothing"><p>In order to estimate probability distributions at the leaves of the history tree, we use the following re­cursive formula:</p><doubt alpha="50.0" length="40" tooSmall="False" monospace="0.0">Pn(Witi) = KPn(WiU)+ (1 -Xn)Pn'(Witi)(5)</doubt><p>where <i>n' </i>is the n-th node's parent, <i>pn{witi) </i>is the distribution at node <i>n </i>(see Figure 3). The root of the tree is interpolated with the distribu­tion <i>PunifiwiU) = j^PMLiUlwi)<footnote anchor="5"/>.</i><page local="6" global="1119"/><i> </i>To estimate interpolation parameters <i>Xn, </i>we use the EM algo­rithm described in (Magerman, 1994); however, rather than setting aside a separate development set of optimizing <i>Xn, </i>we use 4-fold cross valida­tion and take the geometric mean of the resulting coefficients<footnote anchor="6"/>. We chose this approach because a small development set often does not overlap with the training set for low-count nodes, leading the EM algorithm to set <i>Xn = </i>0 for those nodes.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1118</doubt><p>Let us consider one leaf of the history tree in isolation. Its context can be represented by the path to the root, i.e., the sequence of questions and answers <i>qi,... q(n')'Qri </i>(with <i>q\ </i>being the answer to the topmost question):</p><doubt alpha="47.1" length="34" tooSmall="False" monospace="0.0">Pn{witi) = p(wiU\qi ... q{n&gt;)&gt;qn&gt;)</doubt><p>Represented this way, Eq. 5 is a variant of Jelinek-Mercer smoothing:</p><doubt alpha="41.9" length="43" tooSmall="False" monospace="0.0">p{witi\qi...qn&gt;)   =   \np(wiU\qi... qn&gt;) +</doubt><doubt alpha="32.1" length="28" tooSmall="False" monospace="0.0">(1 -Xn)p{witi\qi . ..&lt;?(„/)/</doubt><p>For backoff nodes (see Fig. 4), we use a lower order model<footnote anchor="7"/> interpolated with the distribution at the backoff node's grandparent (see node <i>A </i>in Fig. 4):</p><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">pB(witi\wlzl+1tlZ1n+1) =</doubt><doubt alpha="50.0" length="40" tooSmall="False" monospace="0.0">aAPbo{witi\w^\^2t\Z\+2) +(1 -aA)pA(witi)</doubt><p>How to compute <i>a </i><i>a </i>is an open question. For this study, we use a simple heuristic based on obser­vation that the further node <i>A </i>is from the root the more reliable the distribution <i>pA{wit%) </i>is, and hence <i>oia </i>is lower. The formula we use is as fol­lows:</p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">aa =</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><p><i>\J\ </i>+ <i>distanceToRoot(A)</i></p><p>We use this distribution rather than uniform joint distri­bution because we do not want to allow word-tag pairs that have never been observed. The idea is similar to (Thede and Harper, 1999).</p><footnote label="6">To avoid a large number of zeros due to the product, we set a minimum for A to be 1CP 7 .</footnote><footnote label="7">The lower order model is constructed by the same algo­rithm, although with smaller context. Note that the lower or­der model can back off on words or tags, or both. In this paper we backoff both on words and tags, i.e., pivoit^w^Z^iZ^) backs off to p(witi\wi-iti-i), which in turn backs off to the unigram piwiti).</footnote><p>Figure 4: A fragment of the decision tree with a backoff node. <i>S </i>U <i>S </i>is the set of words observed in the training data at the node <i>A. </i>To account for unseen words, we add the backoff node <i>B.</i></p></section><section number="4" title="Decoding"><p>As in HMM decoding, in order to compute prob­abilities for i-th step, we need to sum over |T|ra_1possible combinations of tags in the history, where <i>T </i>is the set of tags and <i>n </i>is the order of the model. With |T| predictions for the i-th step, we have <i>0{\T\n) </i>computational complexity per word. Straightforward computation of these probabili­ties is problematic even for a trigram model with POS tags, i.e., <i>n = </i>3, |T| w 40. A standard ap­proach to limit computational requirements is to use beam search where only <i>N </i>most likely paths are retained. However, with fine-grain tags where |T| w 1,500, a tractable beam size would only cover a small fraction of the whole space, leading to search errors such as pruning good paths.</p><p>Note that we have a history clustering function (Eq. 4) represented by the decision tree, and we should be able to exploit this clustering to elimi­nate unnecessary computations involving equiva­lent histories. Note that words in the history are known exactly, thus we can create a projection of the clustering function <i>H </i>in Eq. 4 to the plane <i>wl~n+i = const, </i>i.e., where words in the context are fixed to be whatever is observed in the history:</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">-l</doubt><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">i—ri+1i—ri+1</doubt><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">Hi-i</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">, =const</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">-n+l)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>The number of distinct clusters in the projection <i>H </i>depends on the decision tree configuration and can vary greatly for different words w*Z^+1 in the history, but generally it is relatively small:</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">\H</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1119</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">H(w</doubt><page local="7" global="1120"/><p><b>Decision tree node</b> <b>Runtime state in the decoding lattice</b></p><p>Figure 5: Questions about hidden factors split states (see Figure 6) in the decoding lattice rep­resented by HFTs.</p><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">IN,</doubt><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">p(tl-,\wi_uHs</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i-1</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">time</doubt><p>Figure 6: A state <i>S </i>in the decoding lattice. <i>pfn </i>is the probability of reaching the state <i>S </i>through the set of links <i>INs. </i>The probabilities of generating the tags <i>p(ti-i\wi-i,Hs), (U-i </i>e <i>Ts) </i>are repre­sented in the form of the HFT.</p><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">'i-n +l~</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">constI</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">ITI</doubt><p>Our decoding algorithm works similarly to HMM decoding with the exception that the set of hidden states is not predetermined. Let us illus­trate how it works in the case of a bigram model. Recall that the set of tags <i>T </i>is represented as a binary tree (HFT) and the only type of questions about tags is about matching a binary prefix in the HFT. Such a question dissects the HFT into two parts as depicted in Figure 5. The cost of this op­eration is 0(log <i>\T\).</i></p><p>We represent states in the decoding lattice as shown in the Figure 6, where <i>pfn </i>is the probability of reaching the state <i>S:</i></p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">s _</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">Pin</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">E</doubt><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">s'eiNs</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Pin P{Wi-</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">\Hf,</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">' E</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">P(t\l</doubt><p>where <i>INs </i>is the set of incoming links to the state <i>S </i>from the previous time index, and <i>Ts&gt; </i>is the set of tags generated from the state <i>S' </i>repre­sented as a fragment of the HFT. Note, that since we maintain the property that the probability as­signed to an inner node of the HFT is the sum of probabilities of the tags it dominates, the sum <i>J2teTs, P(t\wi-2Hs/) </i>is located at the root of <i>Ts&gt;, </i>and therefore this is an 0(1) operation.</p><p>Now given the state <i>S </i>at time <i>i </i><b>— </b>1, in order to generate tag predictions for <i>i-th </i>word, we apply questions from the history clustering tree, start­ing from the top. Questions about overt factors always follow either a <i>true </i>or <i>false </i>branch, implic­itly computing the projection in Eq. 6. Questions about hidden factors, can split the state <i>S </i>into two states <i>Stme </i>and <i>Sfaise, </i>each retaining a part of <i>Ts </i>as shown in the Figure 5.</p><p>The process continues until each fragment of each state at the time <i>i </i><b>— </b>1 reaches the bottom of the history tree, at which point new states for time <i>i </i>are generated from the clusters associated with leaves. The states at <i>i </i><b>— </b>1 that generate the cluster <i>H g </i>become the incoming links to the state <i>S.</i></p><p>Higher order models work similarly, except that at each time we consider a state <i>S </i>at time <i>i </i><b>— </b>1 along with one of its incoming links (to some depth according to the size of the context).</p></section><section number="5" title="Experimental Setup"><p>To evaluate the impact of fine-grain tags on lan­guage modeling, we trained our model with five settings: In the first model, questions were re­stricted to be about overt factors only, thus making it a tree-based word model. In the second model, we used POS tags. To evaluate the effect of fine-grain tags, we train two models: <i>head </i>and <i>parent </i>described in Section 2.3 and Section 2.4 respec­tively. Since our joint model can be used with any kind of tags, we also trained it with Super­ARV tags (Wang et al, 2003). The SuperARVs were created from the same parse trees that were used to produce POS and fine-grain tags. All our models, including SuperARV, use trigram context. We include standard trigram, four-gram, and fivethus, the number of probabilities that we need to compute is <i>\H i-i =</i> gram models for reference.<page local="8" global="1121"/> The ngram models were trained using SRILM toolkit with interpo­lated modified Kneser-Ney smoothing.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1120</doubt><p>We evaluate our model with an nbest rescoring task using 100-best lists from the DARPA WSJ'93 and WSJ'92 20k open vocabulary data sets. The details on the acoustic model used to produce the nbest lists can be found in (Wang and Harper, 2002). Since the data sets are small, we com­bined the 93et and 93dt sets for evaluation and used 92et for the optimization<footnote anchor="8"/>. We transformed the nbest lists to match PTB tokenization, namely separating possessives from nouns, <i>n't </i>from auxil­iary verbs in contractions, as well as contractions from personal pronouns.</p><p>All language models were trained on the NYT 1994-1995 section of the English Gigaword cor­pus (approximately 70M words). Since the New York Times covers a wider range of topics than the Wall Street Journal, we eliminated the most ir­relevant stories based on their trigram coverage by sections 00-22 of WSJ. We also eliminated sen­tences over 120 words, because the parser's per­formance drops significantly on long sentences. After parsing the corpus, we deleted sentences that were assigned a very low probability by the parser. Overall we removed only a few percent of the data; however, we believe that such a rigorous approach to data cleaning is important for building discrim­inating models.</p><p>Parse trees were produced by an extended ver­sion of the Berkeley parser (Huang and Harper, 2009). We trained the parser on a combination of the BN and WSJ treebanks, preprocessed to make them more consistent with each other. We also modified the trees for the speech recognition task by replacing numbers and abbreviations with their verbalized forms. We pre-processed the NYT cor­pus in the same way, and parsed it. After that, we removed punctuation and downcased words. For the ngram model, we used text processed in the same way.</p><p>In <i>head </i>and <i>parent </i>models, tag vocabularies contain approximately 1,500 tags each, while the SuperARV model has approximately 1,400 dis­tinct SuperARVs, most of which represent verbs (1,200).</p><p>In these experiments we did not use overt fac­tors other than the surface word because they split</p><p>Table 1 : WER results, optimized on 92et set, eval­uated on combined 93et and 93dt set. The Oracle WER is 9.5%.</p><p>&lt;unk&gt;, effectively changing the vocabulary thus making perplexity incomparable to models with­out these factors, without improving WER notice­ably. However, we do plan to use more overt factors in Machine Translation experiments where a language model faces a wider range of OOV phenomena, such as abbreviations, foreign words, numbers, dates, time, etc.</p><p>Table 1 summarizes performance of the LMs on the rescoring task. The <i>parent </i>tags model outper­forms the trigram baseline model by 0.8% WER. Note that four- and five-gram models fail to out­perform the trigram baseline. We believe this is due to the sparsity as well as relatively short sen­tences in the test set (16 words on average).</p><p>Interestingly, whereas the improvement of the POS model over the baseline is not statistically significant <i>(p</i><i> </i><i>&lt;</i><i> </i>0.10)<footnote anchor="9"/>, the fine-grain models out­perform the baseline much more reliably: <i>p &lt; </i>0.03 (SuperARV) and <i>p &lt; </i>0.007 <i>(parent).</i></p><p>We present perplexity evaluations in Table 2. The perplexity was computed on Section 23 of WSJ PTB, preprocessed as the rest of the data we used. The <i>head </i>model has the lowest perplexity outperforming the baseline by 9%. Note, it even outperforms the five-gram model, although by a small 2% margin.</p><p>Although the improvements by the fine-grain tagsets over POS are not significant (due to the small size of the test set), the reductions in per­plexity suggest that the improvements are not ran­dom.</p><footnote label="8">We optimized the LM weight and computed WER with scripts in the SRILM and NIST SCTK toolkits.</footnote><footnote label="9">For statistical significance, we used SCTK implementa­tion of the mapsswe test.</footnote><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1121</doubt><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Models</p></td><td class="cell"><p>WER</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>trigram (baseline)</p></td><td class="cell"><p>17.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>four-gram</p></td><td class="cell"><p>17.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>five-gram</p></td><td class="cell"><p>17.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Word Tree</p></td><td class="cell"><p>17.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>POS Tags</p></td><td class="cell"><p>17.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Head </i>Tags</p></td><td class="cell"><p>16.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Parent </i>Tags</p></td><td class="cell"><p><b>16</b>.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SuperARV</p></td><td class="cell"><p>16.9</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><page local="9" global="1122"/><table caption="Table 2: PTB"></table><p>Perplexity results on Section 23 WSJ</p></section><section number="6" title="Conclusion and Future Work"><p>apply the technique to other languages with tree-banks, such as Chinese and Arabic.</p><p>We intend to release the source code of our model within several months of this publication.</p></section><section number="7" title="Acknowledgments"><p>This material is based upon work supported in part by the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR0011-06-C-0023 andNSF IIS-0703859. Any opinions, findings and/or recommendations expressed in this paper are those of the authors and do not necessar­ily reflect the views of the funding agencies or the institutions where the work was completed.</p><p>In this paper, we presented a joint language mod­eling framework. Unlike any prior work known to us, it was not tailored for any specific tag set, rather it was designed to accommodate any set of tags, especially large sets (~ 1,000), which present challenges one does not encounter with smaller tag sets, such at POS tags. We discussed these challenges and our solutions to them. Some of the solutions proposed are novel, particularly the decoding algorithm.</p><p>We also proposed two simple fine-grain tagsets, which, when applied in language modeling, per­form comparably to highly sophisticated tag sets (SuperARV). We would like to stress that, while our fine-grain tags did not significantly outperform SuperARVs, the former use much less linguistic knowledge and can be automatically induced for any language with a treebank.</p><p>Because a joint language model inherently pre­dicts hidden events (tags), it can also be used to generate the best sequence of those events, i.e., tagging. We evaluated our model in the POS tag­ging task and observed similar results: the fine-grain models outperform the POS model, while both outperform the state-of-the-art HMM POS taggers. We refer to (Filimonov and Harper, 2009) for details on these experiments.</p><p>We plan to investigate how parser accuracy and data selection strategies, e.g., based on parser con­fidence scores, impact the performance of our model. We also plan on evaluating the model's performance on other genres of speech, as well as in other tasks such as Machine Translation. We are also working on scaling our model further to accommodate amounts of data typical for mod­ern large-scale ngram models. Finally, we plan to</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Models</p></td><td class="cell"><p>PPL</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>trigram (baseline)</p></td><td class="cell"><p>162</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>four-gram</p></td><td class="cell"><p>152</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>five-gram</p></td><td class="cell"><p>150</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Word Tree</p></td><td class="cell"><p>160</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>POS Tags</p></td><td class="cell"><p>154</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Head </i>Tags</p></td><td class="cell"><p><b>147</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Parent </i>Tags</p></td><td class="cell"><p>150</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SuperARV</p></td><td class="cell"><p>150</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></section><references><p>Lafit R. Bahl, Peter F. Brown, Peter V de Souza, and Robert L. Mercer. 1990. A tree-based statisticaf fanguage modef for natural fanguage speech recog­nition. <i>Readings in speech recognition, </i>pages 507-514.</p><p>Srinivas Bangalore. 1996. Almost parsing' technique for fanguage modeiing. In <i>Proceedings of the Inter­national Conference on Spoken Language Process­ing, </i>voiume 2, pages 1173-1176.</p><p>Jeff A. Biimes and Katrin Kirchhoff. 2003. Factored fanguage modefs and generafized paraffef backoff.</p><p>In <i>Proceedings of HLT/NACCL, 2003, </i>pages 4-6.</p><p>Peter F. Brown, Vincent J. Deifa Pietra, Peter V deS-ouza, Jennifer C. Lai, and Robert L. Mercer. 1992. Ciass-based n-gram modefs of naturaf fanguage.</p><p><i>Computational Linguistics, </i>f 8(4):467-479.</p><p>Ciprian Cheiba and Frederick Jeiinek. 2000. Struc­tured fanguage modefing for speech recognition.</p><p><i>CoRR.</i></p><p>Stanfey F. Chen and Joshua Goodman, f996. An em­pirical study of smoothing techniques for fanguage modefing, fn <i>Proceedings of the 34th annual meet­ing on Association for Computational Linguistics, </i>pages 310—318, Morristown, NJ, USA. Association for Computationai Linguistics.</p><p>Denis Fiiimonov and Mary Harper. 2009. Measuring tagging performance of a joint fanguage modef. fn <i>Proceedings of the Interspeech 2009.</i><i></i></p><p>Peter A. Heeman. 1999. POS tags and decision trees for fanguage modefing, fn <i>In Proceedings of the Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Cor­pora, </i>pages 129—137.</p><p>Zhongqiang Huang and Mary Harper. 2009. Seif-Training PCFG grammars with iatent annotations across languages, fn <i>Proceedings of the EMNLP 2009.</i></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1122</doubt><page local="10" global="1123"/><p>David M. Magerman. 1994. <i>Natural language pars­ing as statistical pattern recognition. </i>Ph.D. thesis, Stanford, CA, USA.</p><p>Sven Martin, Jorg Liermann, and Hermann Ney. 1998. Algorithms for bigram and trigram word clustering. In <i>Speech Communication, </i>pages 1253-1256.</p><p>Thomas R. Niesler and Phil C. Woodland. 1996. A variable-length category-based n-gram language model. <i>Proceedings of the IEEE International Con­ference on Acoustics, Speech, and Signal Process­ing, </i>1:164-167 vol. 1,May.</p><p>Scott M. Thede and Mary P. Harper. 1999. A second-order hidden markov model for part-of-speech tag­ging. In <i>Proceedings of the 3 7th Annual Meeting of the ACL, </i>pages 175-182.</p><p>Wen Wang and Mary P. Harper. 2002. The SuperARV language model: investigating the effectiveness of tightly integrating multiple knowledge sources. In <i>EMNLP '02:</i><i> Proceedings of the ACL-02 conference on Empirical methods in natural language process­ing, </i>pages 238-247, Morristown, NJ, USA. Associ­ation for Computational Linguistics.</p><p>Wen Wang, Mary P. Harper, and Andreas Stolcke. 2003. The robustness of an almost-parsing language model given errorful training data. In <i>Proceedings ofthe IEEE International Conference on Acoustics, Speech, and Signal Processing.</i></p><p>Peng Xu and Frederick Jelinek. 2004. Random forests in language modeling. In <i>in Proceedings of the 2004 Conference on Empirical Methods in Natural Lan­guage Processing.</i></p><p>Imed Zitouni. 2007. Backoff hierarchical class n-gram language models: effectiveness to model un­seen events in speech recognition. <i>Computer Speech &amp; Language, </i>21(1):88-104.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1123</doubt></references></body></article>