<?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="691"/><title>Syntactic Decision Tree LMs: Random Selection or Intelligent Design?</title><pubinfo>Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing,pages 691-699, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Filimonov" givenname="Denis"><org  name="University of Maryland" country="USA" city="College Park"/></author><author surname="Harper" givenname="Mary"><org  name="Johns Hopkins University" country="USA" city="Baltimore"/></author></firstpageheader><frontmatter><p><b>Syntactic Decision Tree LMs: Random Selection or Intelligent Design?</b></p><p><b>Denis Filimonov</b>jJ</p><p>JHuman Language Technology Center of Excellence Johns Hopkins University den@cs.umd.edu</p><p><b>Mary Harper</b>j</p><p>jDepartment of Computer Science University of Maryland, College Park mharper@umd.edu</p></frontmatter><abstract>Decision trees have been applied to a vari­ety of NLP tasks, including language mod­eling, for their ability to handle a variety of attributes and sparse context space. More­over, forests (collections of decision trees) have been shown to substantially outperform individual decision trees. In this work, we in­vestigate methods for combining trees in a for­est, as well as methods for diversifying trees for the task of syntactic language modeling. We show that our tree interpolation technique outperforms the standard method used in the literature, and that, on this particular task, re­stricting tree contexts in a principled way pro­duces smaller and better forests, with the best achieving an 8% relative reduction in Word Error Rate over an n-gram baseline. </abstract></header><body><section number="1" title="Introduction"><p>Language Models (LMs) are an essential part of NLP applications that require selection of the most fluent word sequence among multiple hypotheses. The most prominent applications include Automatic Speech Recognition (ASR) and Machine Transla­tion (MT).</p><p>Statistical LMs formulate the problem as the computation of the model's probability to gener­ate the word sequence w1; w2,..., wm (denoted as w^<footnote anchor="1"/>), assuming that higher probability corresponds to more fluent hypotheses. LMs are often repre­sented in the following generative form:</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=1</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">w,; w</doubt><p>Note the context space for this function, <i>w\~ </i>is ar­bitrarily long, necessitating some independence as­sumption, which usually consists of reducing the rel­evant context to <i>n—1</i><i> </i>immediately preceding tokens:</p><p>p(wi|w1 <footnote anchor="1"/>) <i>« p(wi\w.</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">-1)</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">i—n+1/</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>These distributions are typically estimated from ob­served counts of n-grams <i>w\—n+1 </i>in the training data. The context space is still far too large<footnote anchor="1"/> ; there­fore, the models are recursively smoothed using lower order distributions. For instance, in a widely used n-gram LM, the probabilities are estimated as follows:</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">fj(wi\wl-^+i)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">p(wi\wl-i+i) +</doubt><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">7(wcLi)•f(wi\wnn-</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>where p is a <i>discounted </i>probability<footnote anchor="2"/>.</p><p>Note that this type of model is a simple Markov chain lacking any notion of syntax. It is widely accepted that languages do have some structure. Moreover, it has been shown that incorporating syn­tax into a language model can improve its perfor­mance (Bangalore, 1996; Heeman, 1998; Chelba and Jelinek, 2000; Filimonov and Harper, 2009). A straightforward way of incorporating syntax into a language model is by assigning a <i>tag </i>to each word and modeling them <i>jointly; </i>then to obtain the proba-</p><p>nd V |n-1) in n-gram model with typical order <i>n = </i>3 ... 5, and a vocabulary size of |V| = 10<footnote anchor="4"/> ... 10<footnote anchor="6"/>.</p><footnote label="2">We refer the reader to (Chen and Goodman, 1996) for a survey of the discounting methods for n-gram models.</footnote><page local="2" global="692"/><p>bility of a word sequence, the tags must be marginal­ized out:</p><doubt alpha="61.9" length="21" tooSmall="False" monospace="0.0">'D=Ep(wrtr)=Enp^K-Vf1</doubt><p>An independence assumption similar to Eq. 1 can be made:</p><p>A primary goal of our research is to build strong syntactic language models and provide effective methods for constructing them to the research com­munity. Note that the tags in the context of the joint model in Eq. 3 exacerbate the already sparse prob­lem in Eq. 1, which makes the probability estima­tion particularly challenging. We utilize decision trees for joint syntactic language models to clus­ter context because of their strengths (reliance on information theoretic metrics to cluster context in the face of extreme sparsity and the ability to in­corporate attributes of different types<footnote anchor="3"/>), and at the same time, unlike log-linear models (Rosenfeld et al., 1994), computationally expensive probability normalization does not have to be postponed until runtime.</p><p>In Section 2, we describe the details of the syntac­tic decision tree LM. Construction of a single-tree model is difficult due to the inevitable greediness of the tree construction process and its tendency to overfit the data. This problem is often addressed by interpolating with lower order decision trees. In Sec­tion 3, we point out the inappropriateness of backoff methods borrowed from n-gram models for decision tree LMs and briefly describe a generalized interpo­lation for such models. The generalized interpola­tion method allows the addition of any number of trees to the model, and thus raises the question: what is the best way to create diverse decision trees so that their combination results in a stronger model, while at the same time keeping the total number of trees in the model relatively low for computational practical­ity. In Section 4, we explore and evaluate a variety of methods for creating different trees. To support our findings, we evaluate several of the models on an ASR rescoring task in Section 5. Finally, we dis­cuss our findings in Section 6.</p><footnote label="3">For example, morphological features can be very helpful for modeling highly inflectional languages (Bilmes and Kirch­hoff, 2003).</footnote></section><section number="2" title="Joint Syntactic Decision Tree LM"><p>A decision tree provides us with a clustering func­tion - l*<footnote anchor="1"/>,..., <i>$</i><b><i>N</i></b><i>},</i><i> </i>where N is the number of clusters, and clusters <i>$</i><b><i>k </i></b>are disjoint subsets of the context space. The probability estima­tion for a joint decision tree model is approximated as follows:</p><doubt alpha="43.8" length="32" tooSmall="False" monospace="0.0">p(w^K:n+1ci+1)»p(wAi$K:n+1cn+1))</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><p>In the remainder of this section, we briefly describe the techniques that we use to construct such a deci­sion tree $ and to estimate the probability distribu­tion for the joint model in Eq. 4.</p><subsection number="2.1" title="Decision Tree Construction"><p>We use recursive partitioning to grow decision trees. In this approach, a number of alternative binary splits of the training data associated with a node are evaluated using some <i>metric, </i>the best split is chosen, checked against a <i>stopping rule </i>(which aims at pre­venting overfitting to the training data and usually involves a heldout set), and then the two partitions become the child nodes if the stopping rule does not apply. Then the algorithm proceeds recursively into the newly constructed leaves.</p><p>Binary splits are often referred to as <i>questions </i>about the context because a binary partition can be represented by a binary function that decides whether an element of context space belongs to one partition or the other. We utilize univariate questions where each question partitions the context on one attribute, e.g.,        or The questions about words and tags are constructed differently:</p><p>• The questions q about the words are in the form q(x) <i>= Wi+x G </i>S, where x is an integer be­tween —n + 1 and —1, and S C V is a subset of the word vocabulary V. To construct the set S, we take the set of words So <i>observed </i>at the offset x in the training data associated with the</p><page local="3" global="693"/><p>current node and split it into two complemen­tary subsets S <i>U </i>S <i>= So </i>using the Exchange algorithm (Martin et al., 1998). Because the algorithm is greedy and depends on the initial­ization, we construct 4 questions per word po­sition using different random initializations of the Exchange algorithm.</p><p>Since we need to account for words that were not observed in the training data, we utilize the structure depicted in Figure 1. To estimate the probability at the backoff node (B in Fig­ure 1), we can either use the probability from its grandparent node A or estimate it using a lower order tree (see Section 3), or combine the two. We have observed no noticeable difference be­tween these methods, which suggests that only a small fraction of probability is estimated from these nodes; therefore, for simplicity, we use the probability estimated at the backoff node's grandparent.</p><p>• To create questions about tags we create a hi­erarchical clustering of all tags in the form of a binary tree. This is done beforehand, using the Minimum Discriminating Information al­gorithm (Zitouni, 2007) with the entire train­ing data set. In this tree, each leaf is an in­dividual tag and each internal node is associ­ated with the subset of tags that the node dom­inates. Questions about tags are constructed in the form <i>q(x,k)</i><i> = ti+x G </i>Tk, where <i>k </i>is a node in the tag tree and Tk is the subset of tags associated with that node. The rationale behind constructing tag questions in this form is that it enables a more efficient decoding algorithm than standard HMM decoding (Filimonov and Harper, 2009).</p><p>Questions are evaluated in two steps. First the context attribute <i>x </i>is selected using a metric simi­lar to information gain ratio proposed by (Quinlan, 1986):</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">M</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">H(wi)</doubt><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">— H (wi|x)</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">H(x)</doubt><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">I (x;Wi)H(x)</doubt><p>Figure 1: A fragment of the decision tree with a backoff node. S 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><p><i>x,</i><i> </i>we select the question that maximizes the entropy reduction.</p><p>Instead of dedicating an explicit heldout set for the stopping criterion, we utilize a technique simi­lar to cross validation: the training data set is par­titioned into four folds, and the best question is re­quired to reduce entropy on each of the folds.</p><p>Note that the tree induction algorithm can also be used to construct trees without tags:</p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">p(wi</doubt><p>where x is one of the context attributes, e.g., wi-2or <i>ti_1. </i>Then, among the questions about attribute</p><p>We refer to this model as the <i>word-tree </i>model. By comparing syntactic and word-tree models, we are able to separate the effects of decision tree modeling and syntactic information on language modeling by comparing both models to an n-gram baseline.</p></subsection><subsection number="2.2" title="In-tree Smoothing"><p>A decision tree offers a hierarchy of clusterings that can be exploited for smoothing. We can interpo­late the observed distributions at leaves recursively with their parents, as in (Bahl et al., 1990; Heeman, where pML is the observed distribution at node k and <i>k </i>is the parent of k. The coefficients Ak are estimated using an EM algorithm.</p><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">1998):</doubt><doubt alpha="56.8" length="44" tooSmall="False" monospace="0.0">pk(witi)=XkPMh(witi)+ (1 — Afc)pfc/(witi)(5)</doubt><doubt alpha="58.3" length="96" tooSmall="False" monospace="0.0">We can also combine p(wAl^(wt[_1n+1t%i__ln+1))with    lower    order    decision    trees, i.e.,</doubt><page local="4" global="694"/><p><b>p(witi|$(w-I<footnote anchor="1"/>+2t-I<footnote anchor="1"/>+2)), </b>and so on up until <i>p(witi) </i>which is a one-node tree (essentially a unigram model). Although superficially similar to backoff in n-gram models, lower order decision trees differ substantially from lower order n-gram models and require different interpolation methods. In the next section, we discuss this difference and present a generalized interpolation that is more suitable for combining decision tree models.</p></subsection></section><section number="3" title="Interpolation with Backoff Tree Models"><p>In this section, for simplicity of presentation, we fo­cus on the equations for word models, but the same equations apply equally to joint models (Eq. 3) with trivial transformations.</p><subsection number="3.1" title="Backoff Property"><p>Let us rewrite the interpolation Eq. 2 in a more generic way:</p><doubt alpha="26.8" length="41" tooSmall="False" monospace="0.0">f&gt;(wi\wil-1)     =    Pn(Wi|$n(«4-1))+(6)</doubt><doubt alpha="37.9" length="29" tooSmall="False" monospace="0.0">7($„K-1))•f&gt;(wi\BOn-i(wii-1))</doubt><p>where, pn is a <i>discounted </i>distribution, $n is a clus­tering function of order n, and 7($n(w1_<footnote anchor="1"/>)) is the backoff weight chosen to normalize the distribution. BOn-1 is the <i>backoff </i>clustering function of order n — 1, representing a reduction of context size. In the case of an n-gram model, <i>^n(w\~<footnote anchor="1"/>) </i>is the set of word sequences where the last n — 1 words are n+1. Similarly, BOn-1(w1-1) is the set of se­quences ending with <i>wl~}n+2. </i>In the case of a de­cision tree model, the same backoff function is typ­ically used, but the clustering function can be arbi­trary.</p><p>The intuition behind Eq. 6 is that the backoff con­text BOn-1 (w1-1) allows for a more robust (but less informed) probability estimation than the con­text cluster $n(w1_1). More precisely:</p><doubt alpha="38.2" length="34" tooSmall="False" monospace="0.0">^i-1W:WG^n(w1"1)     WGBOn_1(wi"1)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>that is, every word sequence W that belongs to a context cluster $n(w1_<footnote anchor="1"/>), belongs to the same back­off cluster BOn_1(w1_1) (hence has the same back­off distribution).  For n-gram models, Property 7</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">694</doubt><p>(a) Backoff Property satisfied (b) Backoff Property violated</p><figure caption="Figure 2: Backoff Property"></figure><p>trivially holds since <i>BOn_1(w\ </i><footnote anchor="1"/>) and $n(w1 <footnote anchor="1"/>) are defined as sets of sequences ending with <i>w\_ln+2</i>and w|_n+1, with the former clearly being a superset of the latter. However, when $ can be arbitrary, e.g., a decision tree, the property is not necessarily satis­fied. Figure 2 illustrates cases when the Property 7 is satisfied (a) and violated (b).</p><p>Let us consider what happens when we have two context sequences W and W' that belong to the same cluster $n(W) = $n(W') but differ­ent backoff clusters BOn_1 (W ) = BOn_1(W '). For example: suppose we have $(wi_2wj_1) = ({on}, {mayjune}) and two corresponding backoff clusters: BO' = ({may}) and BO" = ({june}). Following on, the word <i>may </i>is likely to be a month rather than a modal verb, although the latter is more frequent and will dominate in BO'. There­fore we have much less faith in p(wj|BO') than in p(wj|BO") and would like a much smaller weight 7 assigned to BO'. However this would not be pos­sible in the backoff scheme in Eq. 6, thus we will have to settle on a compromise value of 7, resulting in suboptimal performance.</p><p>Hence arbitrary clustering (an advantage of deci­sion trees) leads to a violation of Property 7, which is likely to produce a degradation in performance <i>if </i>backoff interpolation Eq. 6 is used.</p></subsection><subsection number="3.2" title="Generalized Interpolation"><p>Recursive linear interpolation similar to Jelinek-Mercer smoothing for n-gram models (Jelinek and Mercer, 1980) has been applied to decision tree models:</p><page local="5" global="695"/><doubt alpha="43.8" length="64" tooSmall="False" monospace="0.0">Pn(Wi\wl-i+l)=A„(^„) •pn(Wi\(j&gt;n) +(8) (1-An(jn))^Pn-^Wilwl-n+z)</doubt><p>where <i>j</i><b><i>n </i></b>= <b><i>^n</i></b><i>(wi__n+1), </i>and A„(^„) G [0,1] are assigned to each cluster and are optimized on a held-out set using EM. <i>pn(wi\jn)</i><i> </i>is the probability dis­tribution at the cluster jjn in the tree of order n. This interpolation method is particularly useful as, un­like count-based discounting methods (e.g., Kneser-Ney), it can be applied to already smoothed distribu­tions <i>P</i><b><i>n.</i></b></p><p>In (Filimonov and Harper, 2011), we observed that because of the violation of Property 7 in deci­sion tree models, the interpolation method of Eq. 8 is not appropriate for such models. Instead we pro­posed the following generalized form of linear inter­polation:</p><doubt alpha="48.5" length="33" tooSmall="False" monospace="0.0">P(w\wi-1)=^m=iAm(jm)■pm(wi\jm)(9)</doubt><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">2^m=1Am(jjm)</doubt><p>Note that the recursive interpolation of Eq. 8 can be represented in this form with the additional con­straint ^ m=1 <i>Am(jm</i><i> </i><i>)</i><i> </i><i>=</i><i> </i>1, which is not required in the generalized interpolation of Eq. 9; thus, the gen­eralized interpolation, albeit having the same num­ber of parameters, has more degrees offreedom. We also showed that the recursive interpolation Eq. 8 is a special case of Eq. 9 that occurs when the Prop­erty 7 holds.</p></subsection></section><section number="4" title="From Backoff Trees to Forest"><p>Note that, in Eq. 9, individual trees do not have ex­plicit higher-lower order relations, they are treated as a collection of trees, i.e., as a forest. Naturally, to benefit from the forest model, its trees must differ in some way. Different trees can be created based on differences in the training data, differences in the tree growing algorithm, or some non-determinism in the way the trees are constructed.</p><p>(Xu, 2005) used randomization techniques to pro­duce a large forest of decision trees that were com­bined as follows:</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">1M</doubt><doubt alpha="51.7" length="29" tooSmall="False" monospace="0.0">p(wiK_n+i) =mSpm(wiK_n+i)(10)</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">m=</doubt><p>where M is the number of decision trees in the forest (he proposed M = 100) and pm is the m-th tree model<footnote anchor="4"/>. Note that this type of interpolation assumes that each tree model is "equal" a priori and therefore is only appropriate when the tree models are grown in the same way (particularly, using the same order of context). Note that Eq. 10 is a special case of Eq. 9 when all parameters A are equal.</p><p>(Xu, 2005) showed that, although each individual tree is a fairly weak model, their combination out­performs the n-gram baseline substantially. How­ever, we find this approach impractical for online application of any sizable model: In our experi­ments, fourgram trees have approximately 1.8 mil­lion leaves and the tree structure itself (without prob­abilities) occupies nearly 200MB of disk space af­ter compression. It would be infeasible to apply a model consisting of more than a handful of such trees without distributed computing of some sort. Therefore, we pose the following question: If we can afford to have only a handful of trees in the model, what would be best approach to construct those trees?</p><p>In the remainder of this section, we will describe the experimental setup, discuss and evaluate differ­ent ways of building decision tree forests for lan­guage modeling, and compare combination methods based on Eq. 9 and Eq. 10 (when Eq. 10 is applica­ble).</p><subsection number="4.1" title="Experimental Setup"><p>To train our models we use 35M words of WSJ 94-96 from LDC2008T13. The text was converted into speech-like form, namely numbers and abbrevi­ations were verbalized, text was downcased, punctu­ation was removed, and contractions and possessives were joined with the previous word (i.e., <i>they'll </i>be­comes <i>they'll). </i>For the syntactic modeling, we used tags comprised of the POS tags of the word and it's head. Parsing of the text for tag extraction occurred after verbalization of numbers and abbreviations but before any further processing; we used a latent vari­able PCFG parser as in (Huang and Harper, 2009).<page local="6" global="696"/> For reference, we include an n-gram model with modified interpolated KN discounting. All mod­els use the same vocabulary of approximately 50k words.</p><footnote label="4">Note that (Xu, 2005) used lower order models to estimate</footnote><p>Perplexity numbers reported in Tables 1, 2, 3, and 4 are computed on WSJ section 23 (tokenized in the same way)<footnote anchor="5"/> .</p><p>In Table 1, we show results reported in (Filimonov and Harper, 2011), which we use as the baseline for further experiments. We constructed two sets of de­cision trees (a joint syntactic model and a word-tree model) as described in Section 2. Each set was com­prised of a fourgram tree with backoff trigram, bi­gram, and unigram trees. We combined these trees using either Eq. 8 or Eq. 9. The A parameters in Eq. 8 were estimated using EM by maximizing like­lihood of a heldout set (we utilized 4-way cross-validation); whereas, the parameters in Eq. 9 were estimated using L-BFGS because the denominator in Eq. 9 makes the maximization step problematic.</p></subsection><subsection number="4.2" title="Random Forest"><p>(Xu, 2005) evaluated a variety of randomization techniques that can be used to build trees. He used a word-only model, with questions constructed us­ing the Exchange algorithm, similar to our model. He tried two methods of randomization: selecting the positions in the history for question construction by a Bernoulli trials<footnote anchor="6"/>, and random initialization of the Exchange algorithm. He found that when the Exchange algorithm was initialized randomly, the Bernoulli trial parameter did not matter; however, when the Exchange algorithm was initialized deter-ministically; lower values for the Bernoulli trial pa­rameter r yielded better overall forest performance. We implemented a similar method, namely, initial­izing the Exchange algorithm randomly and using r = 0.1 for Bernoulli trials<footnote anchor="7"/>. There is a key difference between the two randomization methods. Since we do not have an a priori preference for choosing initializations for the Exchange algorithm, by using random initializations it is <i>hoped </i>that due to the greedy nature of the al­gorithm, the constructed trees, while being "unde-graded,"<footnote anchor="8"/> will be sufficiently different so that their combination improves over an individual tree. By introducing Bernoulli trials, on the other hand, there is a choice to purposely <i>degrade </i>the quality of in­dividual trees in the hope that additional diversity would enable their combination to compensate for the loss of quality in individual trees.</p><footnote label="5">This section was not used for training the parser or for the LM training.</footnote><footnote label="6">In this method, positions in the history are ignored with probability 1 — r, where r is the Bernoulli trials parameter.</footnote><footnote label="7">Note that because in the joint model, the question about tags are deterministic, we use a lower value of r than (Xu, 2005) to increase randomness.</footnote><p>Another way of introducing randomness to the tree construction without apparent degradation of in­dividual tree quality is through varying the data, e.g., using different folds of the training data (see Sec­tion 2.1).</p><p>Let us take a closer look at the effect of differ­ent types of randomization on individual trees and their combinations. In the first set of experiments, we compare the performance of a single undegraded fourgram tree<footnote anchor="9"/> with forests of fourgram trees grown randomly with Bernoulli trials. Having only same­order trees in a forest allows us to apply interpola­tion of Eq. 10 (used in (Xu, 2005)) and compare with the interpolation method presented in Eq. 9. By comparing forests of different sizes with the baseline from Table 1, we are able to evaluate the effect of randomization in decision tree growing and assess the importance of the lower order trees.</p><p>The results are shown in Table 2. Note that, while an undegraded syntactic tree is better than the word tree, the situation is reversed when the trees are grown randomly. This can be explained by the fact that the joint model has a much higher dimensional­ity of the context space, and therefore is much more sensitive to the clustering method.</p><p>As we increase the number of random trees in the forest, the perplexity decreases as expected, with the interpolation method of Eq. 9 showing improvement of a few percentile points over Eq. 10. Note that in the case of the word-tree model, it takes 4 ran­dom decision trees to reach the performance of a sin­gle undegraded tree, while in the joint model, even<page local="7" global="697"/></p><footnote label="8">Here and henceforth, by "undegraded" we mean "accord­ing to the algorithm described in Section 2."</footnote><footnote label="9">Since each tree has a smooth distribution based on Eq. 5, lower order trees are not strictly required.</footnote><p>Table 1: Perplexity results on PTB WSJ section 23. Percentage numbers in parentheses denote the reduction of perplexity relative to the lower order model of the same type.</p><p>Table 2: Perplexity numbers obtained using fourgram trees only. Note that "undgr" and "rnd" denote unde-graded and randomly grown trees with Bernoulli trials, respectively, and the number indicates the number of trees in the forest. Also "baseline" refers to the fourgram models with lower order trees (from Table 1, Eq. 9).</p><p>Table 3: Perplexity numbers obtained using fourgram trees produced using random initialization of the Ex­change algorithm (Exchng. columns) and, additionally, variations in training data folds (+data columns). Note that "baseline" refers to the fourgram models with lower order trees (from Table 1). All models use the interpola­tion method of Eq. 9.</p><p>5 trees are much worse than a single decision tree constructed without randomization. Finally, com­pare the performance ofsingle undegraded fourgram trees in Table 2 with fourgram models in Table 1, which are constructed with lower order trees: both word-tree and joint models in Table 1 have over 20% lower perplexity compared to the correspond­ing models consisting of a single fourgram tree.</p><p>In Table 3, we evaluate forests of fourgram trees produced using randomizations without degrading the tree construction algorithm. That is, we use ran­dom initializations of the Exchange algorithm and, additionally, variations in the training data fold. All forests in this table use the interpolation method of Eq. 9. Note that, while these perplexity num­bers are substantially better than trees produced with Bernoulli trials in Table 2, they are still significantly worse than the baseline model from Table 1.</p><p>These results suggest that, while it is beneficial to combine <i>different </i>decision trees, we should in­troduce differences to the tree construction process without degrading the trees when introducing ran­domness, especially for joint models. In addition, lower order trees seem to play an important role for high quality model combination.</p></subsection><subsection number="4.3" title="Context-Restricted Forest"><p>As we have mentioned above, combining higher and lower order decision trees produces much better re­sults. A lower order decision tree is grown from a lower order context space, i.e., the context space where we purposely ignore some attributes. Note that in this case, rather than <i>randomly </i>ignoring con­texts via Bernoulli trials at every node in the decision tree, we discard some context attributes upfront in a principled manner (i.e., most distant context) and then grow the decision tree without degradation.</p><p>Since the joint model, having more context at­tributes, affords a larger variety of different contexts, we use this model in the remaining experiments.</p><p>In Table 4, we present the perplexity numbers for our standard model with additional trees. We de­note context-restricted trees by their Markovian or-<page local="8" global="698"/></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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Eq. 8</p></td><td class="cell"><p>Eq. 9 (generalized)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>order</p></td><td class="cell"><p>n-gram</p></td><td class="cell"><p>word-tree</p></td><td class="cell"><p>syntactic</p></td><td class="cell"><p>word-tree</p></td><td class="cell"><p>syntactic</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2-gram</p></td><td class="cell"><p>261.0</p></td><td class="cell"><p>257.8</p></td><td class="cell"><p>214.3</p></td><td class="cell"><p>258.1</p></td><td class="cell"><p>214.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3-gram</p></td><td class="cell"><p>174.3 (33.2%)</p></td><td class="cell"><p>168.7 (34.6%)</p></td><td class="cell"><p>156.8 (26.8%)</p></td><td class="cell"><p>168.4 (34.8%)</p></td><td class="cell"><p>155.3 (27.6%)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4-gram</p></td><td class="cell"><p>161.7 (7.2%)</p></td><td class="cell"><p>164.0 (2.8%)</p></td><td class="cell"><p>156.5 (0.2%)</p></td><td class="cell"><p>155.7 (7.5%)</p></td><td class="cell"><p>147.1 (5.3%)</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>word-tree</p></td><td class="cell"><p>syntactic</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Eq. 10   Eq. 9</p></td><td class="cell"><p>Eq. 10   Eq. 9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1 x undgr</p></td><td class="cell"><p>204.9</p></td><td class="cell"><p>189.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1 x rnd</p></td><td class="cell"><p>250.2</p></td><td class="cell"><p>289.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2 x rnd</p></td><td class="cell"><p>229.5</p></td><td class="cell"><p>221.5</p></td><td class="cell"><p>244.6</p></td><td class="cell"><p>240.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3 x rnd</p></td><td class="cell"><p>227.5</p></td><td class="cell"><p>214.5</p></td><td class="cell"><p>226.2</p></td><td class="cell"><p>220.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4 x rnd</p></td><td class="cell"><p>219.5</p></td><td class="cell"><p>205.0</p></td><td class="cell"><p>219.5</p></td><td class="cell"><p>212.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5 x rnd</p></td><td class="cell"><p>200.9</p></td><td class="cell"><p>184.1</p></td><td class="cell"><p>216.5</p></td><td class="cell"><p>209.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>155.7</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>147.1</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>word-tree</p></td><td class="cell"><p>syntactic</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># trees</p></td><td class="cell"><p>Exchng. +data</p></td><td class="cell"><p>Exchng. +data</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>204.9</p></td><td class="cell"><p>189.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>185.9</p></td><td class="cell"><p>186.5</p></td><td class="cell"><p>174.5</p></td><td class="cell"><p>173.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>179.5</p></td><td class="cell"><p>179.9</p></td><td class="cell"><p>168.8</p></td><td class="cell"><p>167.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>176.2</p></td><td class="cell"><p>176.4</p></td><td class="cell"><p>165.1</p></td><td class="cell"><p>164.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>173.7</p></td><td class="cell"><p>172.0</p></td><td class="cell"><p>163.0</p></td><td class="cell"><p>162.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline</p></td><td class="cell"><p>155.7</p></td><td class="cell"><p>147.1</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></tr></table><p>Table 4: Perplexity results using the standard syntactic model with additional trees. "bernoulli-rnd" and "data-rnd" indicate fourgram trees randomized using Bernoulli trials and varying training data, respectively. The second column shows the combined size of decision trees in the forest.</p><p>ders (words w and tags t independently), so 3w2t indicates a decision tree implementing the probabil­ity function: p(witi|wi_iwi_2ti_i). The fourgram joint model presented in Table 1 has four trees and is labeled with the formula "1w1t + 2w2t + 3w3t + 4w4t" in Table 4. The randomly grown trees (de­noted "bernoulli-rnd") are grown utilizing the full context 4w4t using the methods described in Sec­tion 4.2. All models utilize the generalized interpo­lation method described in Section 3.2.</p><p>As can be seen in Table 4, adding undegraded trees consistently improves the performance of an already strong baseline, while adding random trees only increases the perplexity because their quality is worse than undegraded trees'. Trees produced by data randomization (denoted "data-rnd") also im­prove the performance of the model; however, the improvement is not greater than that of additional lower order trees, which are considerably smaller in size.</p></subsection></section><section number="5" title="ASR Rescoring Results"><p>In order to verify that the improvements in perplex­ity that we observe in Tables 1 and 4 are sufficient for an impact on a task, we measure Word Error Rate (WER) of our models on an Automatic Speech Recognition (ASR) rescoring task using the Wall Street Journal corpus (WSJ) for evaluation. The test set consists of 4,088 utterances of WSJ0. We opti-</p><p>Table 5: Perplexity and WER results. Note that the last two rows are syntactic models using the interpolation method of Eq. 9.</p><p>mized the weights for the combination of acoustic and language model scores on a separate develop­ment set comprised of 1,243 utterances from Hub2 5k closed vocabulary and the WSJ1 5k open vocab­ulary sets.</p><p>The ASR system used to produce lattices is based on the 2007 IBM Speech transcription system for the GALE Distillation Go/No-go Evaluation (Chen et al., 2006). The acoustic models are state-of-the-art discriminatively trained models which are trained on Broadcast News (BN) Hub4 acoustic training data. Lattices were produced using a trigram LM trained on the same data as the models we evaluate, then 1,000 best unique hypotheses were extracted from the lattices. WER of the 1-best hypothesis on the test set is 8.07% and the oracle WER is 3.54%.</p><p>In Table 5, we present WER results along with the corresponding perplexity numbers from Ta­bles 1 and 4 for our lowest perplexity syntactic model, as well as the baselines (modified KN n-gram model and standard decision tree models using in­terpolation methods of Eq. 8 and Eq. 9). The in­terpolation method of Eq. 9 substantially improves performance over the interpolation method of Eq. 8, reducing WER by 0.25% absolute <i>(p</i><i> </i><i>&lt;</i><i> </i>10_<footnote anchor="5"/>). Adding four trees utilizing context restricted in dif­ferent ways further reduces WER by 0. 12%, which is also a statistically significant (p &lt; 0.025) im­provement over the baseline models labeled (*). Al­together, the improvements over the n-gram baseline add up to 0.61% absolute (8% relative) WER reduc­tion.</p></section><section number="6" title="Conclusion"><p>In this paper, we investigate various aspects of com­bining multiple decision trees in a single language model. We observe that the generalized interpolation (Eq.<page local="9" global="699"/> 9) for decision tree models proposed in (Filimonov and Harper, 2011) is in fact a forest in­terpolation method rather than a backoff interpola­tion because, in Eq. 9, models do not have explicit higher-lower order relation as they do in backoff in­terpolation (Eq. 6). Thus, in this paper we investi­gate the question of how to construct decision trees so that their combination results in improved per­formance (under the assumption that computational tractability allows only a handful of decision trees in a forest). We compare various techniques for producing forests of trees and observe that methods that diversify trees by introducing random degrada­tion of the tree construction algorithm perform more poorly (especially with joint models) than methods in which the trees are constructed without degrada­tion and with variability being introduced via param­eters that are inherently arbitrary (e.g., training data fold differences or initializations of greedy search algorithms). Additionally, we observe that simply restricting the context used to construct trees in dif­ferent ways, not only produces smaller trees (be­cause of the context reduction), but the resulting variations in trees also produce forests that are <i>at least </i>as good as forests of larger trees.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>size</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>Iwlt + 2w2t + 3w3t + 4w4t (*)</p></td><td class="cell"><p>294MB</p></td><td class="cell"><p>147.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 4w3t + 3w2t</p></td><td class="cell"><p>579MB</p></td><td class="cell"><p>143.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 4w3t + 3w4t</p></td><td class="cell"><p>587MB</p></td><td class="cell"><p>144.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 4w3t + 3w4t + 3w2t + 2w3t</p></td><td class="cell"><p>699MB</p></td><td class="cell"><p><b>140.7</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + l x bernoulli-rnd</p></td><td class="cell"><p>464MB</p></td><td class="cell"><p>149.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 2 x bernoulli-rnd</p></td><td class="cell"><p>632MB</p></td><td class="cell"><p>150.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 3 x bernoulli-rnd</p></td><td class="cell"><p>804MB</p></td><td class="cell"><p>151.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + l x data-rnd</p></td><td class="cell"><p>484MB</p></td><td class="cell"><p>147.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 2 x data-rnd</p></td><td class="cell"><p>673MB</p></td><td class="cell"><p>145.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 3 x data-rnd</p></td><td class="cell"><p>864MB</p></td><td class="cell"><p>145.2</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>PPL</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>n-gram</p></td><td class="cell"><p>161.7</p></td><td class="cell"><p>7.81%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1w1t + 2w2t + 3w3t + 4w4t (Eq.8)</p></td><td class="cell"><p>156.5</p></td><td class="cell"><p>7.57%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1w1t + 2w2t + 3w3t + 4w4t (*)</p></td><td class="cell"><p>147.1</p></td><td class="cell"><p>7.32%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(*) + 4w3t + 3w4t + 3w2t + 2w3t</p></td><td class="cell"><p>140.7</p></td><td class="cell"><p><b>7.20%</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><td class="cell"></td></tr></table></section><section number="7" title="Acknowledgments"><p>We would like to thank Ariya Rastrow for providing word lattices for the ASR rescoring experiments.</p></section><references><p>Lalit R. Bahl, Peter F. Brown, Peter V. de Souza, and Robert L. Mercer. 1990. A tree-based statistical lan­guage model for natural language speech recognition. <i>Readings in speech recognition, </i>pages 507-514.</p><p>Srinivas Bangalore. 1996. 'Almost parsing' technique for language modeling. In <i>Proceedings of the Inter­national Conference on Spoken Language Processing, </i>volume 2, pages 1173-1176.</p><p>Jeff Bilmes and Katrin Kirchhoff. 2003. Factored lan­guage models and generalized parallel backoff. In <i>Proceedings ofHLT/NAACL, </i>pages 4-6.</p><p>Ciprian Chelba and Frederick Jelinek. 2000. Structured language modeling for speech recognition. <i>CoRR.</i></p><p>Stanley F. Chen and Joshua Goodman. 1996. An empiri­cal study of smoothing techniques for language model­ing. In <i>Proceedings of the 34th annual meeting on As­sociation for Computational Linguistics, </i>pages 310­318.</p><p>S. Chen, B. Kingsbury, L. Mangu, D. Povey, G. Saon, H. Soltau, and G. Zweig. 2006. Advances in speech transcription at IBM under the DARPA EARS pro­gram. <i>IEEE Transactions on Audio, Speech and Lan­guage Processing, </i>pages 1596-1608. Denis Filimonov and Mary Harper. 2009. A joint lan­guage model with fine-grain syntactic tags. In <i>Pro­ceedings of the EMNLP 2009. </i>Denis Filimonov and Mary Harper. 2011. Generalized interpolation in decision tree LM. In <i>Proceedings of the 49st Annual Meeting ofthe Association for Com­putational Linguistics. </i>Peter Heeman. 1998. POS tagging versus classes in lan­guage modeling.  In <i>Sixth Workshop on Very Large Corpora.</i></p><p>Zhongqiang Huang and Mary Harper.   2009. Self-Training PCFG grammars with latent annotations across languages. In <i>Proceedings ofthe EMNLP 2009. </i>Frederick Jelinek and Robert L. Mercer.  1980. Inter­polated estimation of markov source parameters from sparse data. In <i>Proceedings ofthe Workshop on Pat­tern Recognition in Practice, </i>pages 381-397. Sven Martin, Jorg Liermann, and Hermann Ney. 1998. Algorithms for bigram and trigram word clustering. In <i>Speech Communication, </i>pages 1253-1256. J. R. Quinlan. 1986. Induction of decision trees. <i>Ma­chine Learning, </i>1(1):81-106. Ronald Rosenfeld, Jaime Carbonell, and Alexander Rud-nicky. 1994. Adaptive statistical language modeling: A maximum entropy approach. Technical report. Peng Xu. 2005. <i>Random Forests and Data Sparseness Problem in Language Modeling. </i>Ph.D. thesis, Balti­more, Maryland, April. Imed Zitouni.   2007.   Backoff hierarchical class n-gram language models: effectiveness to model unseen events in speech recognition.   <i>Computer Speech &amp; Language, </i>21(1):88-104.</p></references></body></article>