<?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="829"/><title>N-gram Weighting: Reducing Training Data Mismatch in Cross-Domain Language Model Estimation</title><author surname="Hsu" givenname="Bo-June (Paul)"><org  name="TV MIT Computer Science and Artificial Intelligence Laboratory"/></author><author surname="Glass" givenname="James"><org  name="TV MIT Computer Science and Artificial Intelligence Laboratory"/></author></firstpageheader><frontmatter><p>TV<b>-gram Weighting: Reducing Training Data Mismatch in Cross-Domain Language Model Estimation</b></p><p><b>Bo-June (Paul) Hsu, James Glass</b></p><p>MIT Computer Science and Artificial Intelligence Laboratory 32 Vassar Street, Cambridge, MA, 02139 USA</p><p>{bohsu,glass}@csail.mit.edu</p></frontmatter><abstract>In domains with insufficient matched training data, language models are often constructed by interpolating component models trained from partially matched corpora. Since the n-grams from such corpora may not be of equal relevance to the target domain, we propose an <i>n</i>-gram weighting technique to adjust the component <i>n</i>-gram probabilities based on fea­tures derived from readily available segmen­tation and metadata information for each cor­pus. Using a log-linear combination of such features, the resulting model achieves up to a 1.2% absolute word error rate reduction over a linearly interpolated baseline language model on a lecture transcription task. </abstract></header><body><section number="1" title="Introduction"><p>Many application domains in machine learning suf­fer from a dearth of matched training data. However, partially matched data sets are often available in abundance. Past attempts to utilize the mismatched data for training often result in models that exhibit biases not observed in the target domain. In this work, we will investigate the use of the often readily available data segmentation and metadata attributes associated with each corpus to reduce the effect of such bias. We will examine this approach in the con­text of language modeling for lecture transcription.</p><p>Compared with other types of audio data, lecture speech often exhibits a high degree of spontaneity and focuses on narrow topics with special termi­nologies (Glass et al., 2004). While we may have existing transcripts from general lectures or written text on the precise topic, training data that matches both the style and topic of the target lecture is often scarce. Thus, past research has investigated various adaptation and interpolation techniques to make use of partially matched corpora (Bellegarda, 2004).</p><p>Training corpora are often segmented into docu­ments with associated metadata, such as title, date, and speaker. For lectures, if the data contains even a few lectures on linear algebra, conventional lan­guage modeling methods that lump the documents together will tend to assign disproportionately high probability to frequent terms like <i>vector </i>and <i>matrix. </i>Can we utilize the segmentation and metadata infor­mation to reduce the biases resulting from training data mismatch?</p><p>In this work, we present such a technique where we weight each <i>n</i>-gram count in a standard <i>n</i>-gram language model (LM) estimation procedure by a rel­evance factor computed via a log-linear combina­tion of <i>n</i>-gram features. Utilizing features that cor­relate with the specificity of n-grams to subsets of the training documents, we effectively de-emphasize out-of-domain <i>n</i>-grams. By interpolating models, such as general lectures and course textbook, that match the target domain in complementary ways, and optimizing the weighting and interpolation pa­rameters jointly, we allow each <i>n</i>-gram probabil­ity to be modeled by the most relevant interpolation component. Using a combination of features derived from multiple partitions of the training documents, the resulting weighted <i>n</i>-gram model achieves up to a 1.2% absolute word error rate (WER) reduc­tion over a linearly interpolated baseline on a lecture transcription task.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">829</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 829-838, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="830"/></p></section><section number="2" title="Related Work"><p>To reduce topic mismatch in LM estimation, we (2006) have previously assigned topic labels to each word by applying HMM-LDA (Griffiths et al., 2005) to the training documents. Using an ad hoc method to reduce the effective counts of <i>n</i>-grams ending on topic words, we achieved better perplexity and WER than standard trigram LMs. Intuitively, de-emphasizing such <i>n</i>-grams will lower the transition probability to out-of-domain topic words from the training data. In this work, we further explore this intuition with a principled feature-based model, in­tegrated with LM smoothing and estimation to allow simultaneous optimization of all model parameters.</p><p>As Gao and Lee (2000) observed, even purported matched training data may exhibit topic, style, or temporal biases not present in the test set. To ad­dress the mismatch, they partition the training doc­uments by their metadata attributes and compute a measure of the likelihood that an <i>n</i>-gram will appear in a new partitioned segment. By pruning <i>n</i>-grams with generality probability below a given threshold, the resulting model achieves lower perplexity than a count-cutoff model of equal size. Complementary to our work, this technique also utilizes segmentation and metadata information. However, our model en­ables the simultaneous use of all metadata attributes by combining features derived from different parti­tions of the training documents.</p></section><section number="3" title="N -gram Weighting"><p>Given a limited amount of training data, an <i>n</i>-gram appearing frequently in a single document may be assigned a disproportionately high probability. For example, an LM trained from lecture transcripts tends to assign excessive probability to words from observed lecture topics due to insufficient coverage of the underlying document topics. On the other hand, excessive probabilities may also be assigned to <i>n</i>-grams appearing consistently across documents with mismatched style, such as the course textbook in the written style. Traditional <i>n</i>-gram smoothing techniques do not address such issues of insufficient topic coverage and style mismatch.</p><p>One approach to addressing the above issues is to weight the counts of the <i>n</i>-grams according to the concentration of their document distributions.</p><p>Assigning higher weights to <i>n</i>-grams with evenly spread distributions captures the style of a data set, as reflected across all documents. On the other hand, emphasizing the <i>n</i>-grams concentrated within a few documents focuses the model on the topics of the individual documents.</p><p>In theory, <i>n</i>-gram weighting can be applied to any smoothing algorithm based on counts. However, because many of these algorithms assume integer counts, we will apply the weighting factors to the smoothed counts, instead. For modified Kneser-Ney smoothing (Chen and Goodman, 1998), applying n-gram weighting yields:</p><doubt alpha="23.1" length="26" tooSmall="False" monospace="0.0">, ß(hw)c'(hw)        ,,. ,</doubt><doubt alpha="40.7" length="27" tooSmall="False" monospace="0.0">p(w\h)=ß(h)~(h)+a(h)p(w\h')</doubt><p>where <i>p(w \ h) </i>is the probability of word <i>w </i>given his­tory <i>h, </i>is the adjusted Kneser-Ney count, ' is the discounted count, <i>ß </i>is the <i>n</i>-gram weighting factor, <i>a</i><i> </i>is the normalizing backoff weight, and <i>h'</i><i> </i>is the backoff history.</p><p>Although the weighting factor <i>ß </i>can in general be any function of the <i>n</i>-gram, in this work, we will consider a log-linear combination of <i>n</i>-gram fea­tures, or <i>ß(hw) </i>= exp<b>(3</b>&gt;(hw) <i>• </i><b><i>6), </i></b>where <i>&lt;&amp;(hw) </i>is the feature vector for n-gram <i>hw </i>and <b><i>6 </i></b>specifies the parameter vector to be learned. To better fit the data, we allow independent parameter vectors <b><i>6o</i></b><b><i> </i></b>for each n-gram order o. Note that with <i>ß(hw) = </i>1, the model degenerates to the original modified Kneser-Ney formulation. Furthermore, <i>ß </i>only specifies the relative weighting among <i>n</i>-grams with a common history h. Thus, scaling <i>ß(hw) </i>by an arbitrary func­tion <i>g(h) </i>has no effect on the model.</p><p>In isolation, <i>n</i>-gram weighting shifts probability mass from out-of-domain <i>n</i>-grams via backoff to the uniform distribution to improve the generality of the resulting model. However, in combination with LM interpolation, it can also distribute prob­abilities to LM components that better model spe­cific n-grams. For example, n-gram weighting can de-emphasize off-topic and off-style <i>n</i>-grams from general lectures and course textbook, respectively. Tuning the weighting and interpolation parameters jointly further allows the estimation of the <i>n</i>-gram probabilities to utilize the best matching LM com­ponents.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">830</doubt><page local="3" global="831"/><subsection number="3.1" title="Features"><p>To address the issue of sparsity in the document topic distribution, we can apply n-gram weight­ing with features that measure the concentration of the n-gram distribution across documents. Simi­lar features can also be computed from documents partitioned by their categorical metadata attributes, such as <i>course </i>and <i>speaker </i>for lecture transcripts. Whereas the features derived from the corpus docu­ments should correlate with the topic specificity of the n-grams, the same features computed from the speaker partitions might correspond to the speaker specificity. By combining features from multiple partitions of the training data to compute the weight­ing factors, <i>n</i>-gram weighting allows the resulting model to better generalize across categories.</p><p>To guide the presentation of the <i>n</i>-gram features below, we will consider the following example parti­tion of the training corpus. Words tagged by HMM-LDA as topic words appear in bold.</p><p>One way to estimate the specificity of an n-gram across partitions is to measure the <i>n</i>-gram frequency <i>f</i>, or the fraction of partitions containing an n-gram. For instance, <i>f </i>(A) = 3/3, <i>f </i>(C) = 2/3. However, as the size of each partition increases, this ratio in­creases to 1, since most n-grams have a non-zero probability of appearing in each partition. Thus, an alternative is to compute the normalized entropy of the n-gram distribution across the <i>S </i>partitions, or <i>h = </i>lOgS Sf=i <i>P(s) </i>l°g <i>P(s), </i>where <i>p(s) </i>is the fraction of an n-gram appearing in partition s. For example, the normalized entropy of the unigram C is</p><p>h(C) = I-3 [I l°g I + 6 l°g I + 0] = -58. <i>N</i>-grams clustered in fewer partitions have lower entropy than ones that are more evenly spread out.</p><p>Following (Hsu and Glass, 2006), we also con­sider features derived from the HMM-LDA word topic labels.<footnote anchor="1"/> Specifically, we compute the empir­ical probability <i>t </i>that the target word of the n-gram</p><footnote label="1">HMM-LDA is performed using 20 states and 50 topics with a 3rd-order HMM. Hyperparameters are sampled with a log­normal Metropolis proposal. The model with the highest likeli­hood from among 10,000 iterations of Gibbs sampling is used.</footnote><p>Table 1: A list of n-gram weighting features. <i>f </i>: n-gram frequency, h: normalized entropy, t: topic probability.</p><p>is labeled as a topic word. In the example corpus, t(C) = 3/6, t(AC) = 2/4.</p><p>All of the above features can be computed for any partitioning of the training data. To better illustrate the differences, we compute the features on a set of lecture transcripts (see Section 4.1) partitioned by lecture (doc), course, and speaker. Furthermore, we include the log of the <i>n</i>-gram counts <i>c </i>and random values between 0 and 1 as baseline features. Table 1 lists all the features examined in this work and their values on a select subset of <i>n</i>-grams.</p></subsection><subsection number="3.2" title="Training"><p>To tune the n-gram weighting parameters 6, we ap­ply Powell's method (Press et al., 2007) to numeri­cally minimize the development set perplexity (Hsu and Glass, 2008). Although there is no guarantee against converging to a local minimum when jointly tuning both the <i>n</i>-gram weighting and interpolation parameters, we have found that initializing the pa­rameters to zero generally yields good performance.</p></subsection></section><section number="4" title="Experiments 4.1 Setup"><p>In this work, we evaluate the perplexity and WER of various trigram LMs trained with <i>n</i>-gram weighting on a lecture transcription task (Glass et al., 2007). The target data consists of 20 lectures from an in­troductory computer science course, from which we withhold the first 10 lectures for the development<page local="4" global="832"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">831</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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Feature</p></td><td class="cell"><p>of the</p></td><td class="cell"><p>i think</p></td><td class="cell"><p>k means</p></td><td class="cell"><p>the sun</p></td><td class="cell"><p>this is a</p></td><td class="cell"><p>a lot of</p></td><td class="cell"><p>big o of</p></td><td class="cell"><p>f</p><p>m</p><p>e</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Random</i></p></td><td class="cell"><p>0.03</p></td><td class="cell"><p>0.32</p></td><td class="cell"><p>0.33</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p>0.53</p></td><td class="cell"><p>0.24</p></td><td class="cell"><p>0.37</p></td><td class="cell"><p>0.80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>log(c)</p></td><td class="cell"><p>9.29</p></td><td class="cell"><p>8.09</p></td><td class="cell"><p>3.47</p></td><td class="cell"><p>5.86</p></td><td class="cell"><p>6.82</p></td><td class="cell"><p>7.16</p></td><td class="cell"><p>3.09</p></td><td class="cell"><p>4.92</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>f </i>doc</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.18</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.04</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>fcourse</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>0.06</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.06</p></td><td class="cell"><p>0.06</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>fspeaker 0.83 0.70 0.00 0.06 0.41 0.55 0.01 0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hdoc</p></td><td class="cell"><p>0.96</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.93</p></td><td class="cell"><p>0.85</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.34</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hcourse</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>0.78</p></td><td class="cell"><p>0.65</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hspeaker</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.81</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.09</p></td><td class="cell"><p>0.65</p></td><td class="cell"><p>0.80</p></td><td class="cell"><p>0.12</p></td><td class="cell"><p>0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>tdoc</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.91</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>0.01</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.04</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>tcourse</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.28</p></td><td class="cell"><p>0.01</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>1.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>tspeaker</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.94</p></td><td class="cell"><p>0.92</p></td><td class="cell"><p>0.01</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.09</p></td><td class="cell"><p>0.99</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="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>ABA</p></td><td class="cell"><p>A C C A</p></td><td class="cell"><p>B AB</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>B A A C</p></td><td class="cell"><p>CB A</p></td><td class="cell"><p>ABA</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ACB</p></td><td class="cell"><p>A A C</p></td><td class="cell"><p>ABB A</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><p>Dataset # Words #Sents #Docs</p><doubt alpha="33.3" length="24" tooSmall="False" monospace="0.0">Textbook131,280 6762 271</doubt><doubt alpha="27.6" length="29" tooSmall="False" monospace="0.0">Lectures1,994,225 128,895 230</doubt><doubt alpha="32.4" length="34" tooSmall="False" monospace="0.0">Switchboard3,162,544 262,744 4,876</doubt><doubt alpha="23.8" length="21" tooSmall="False" monospace="0.0">CS Dev93,353 4,126 10</doubt><doubt alpha="27.3" length="22" tooSmall="False" monospace="0.0">CS Test87,527 3,611 10</doubt><table caption="Table 2: Summary of evaluation corpora."></table><p>Perplexity WER</p><p>Table 3: Performance of n-gram weighting with a variety of Kneser-Ney settings. FixKN(d): Kneser-Ney with <i>d </i>fixed discount parameters. KN(d): FixKN(d) with tuned values. <i>W(feat): </i>n-gram weighting with <i>feat </i>feature.</p><p>set (CS Dev) and use the last 10 for the test set (CS Test). For training, we will consider the course textbook with topic-specific vocabulary (Textbook), numerous high-fidelity transcripts from a variety of general seminars and lectures (Lectures), and the out-of-domain LDC Switchboard corpus of spon­taneous conversational speech (Switchboard) (God­frey and Holliman, 1993). Table 2 summarizes all the evaluation data.</p><p>To compute the word error rate, we use a speaker-independent speech recognizer (Glass, 2003) with a large-margin discriminative acoustic model (Chang, 2008). The lectures are pre-segmented into utter­ances via forced alignment against the reference transcripts (Hazen, 2006). Since all the models con­sidered in this work can be encoded as <i>n</i>-gram back­off models, they are applied directly during the first recognition pass instead of through a subsequent <i>n-</i>best rescoring step.</p><p>Table 4: <i>N </i>-gram weighting with linear interpolation.</p><subsection number="4.2" title="Smoothing"><p>In Table 3, we compare the performance of <i>n</i>-gram weighting with the <i>hdoc </i>document entropy feature for various modified Kneser-Ney smoothing config­urations (Chen and Goodman, 1998) on the Lec­tures dataset. Specifically, we considered varying the number of discount parameters per <i>n</i>-gram order from 1 to 10. The original and modified Kneser-Ney smoothing algorithms correspond to a setting of 1 and 3, respectively. Furthermore, we explored using both fixed parameter values estimated from n-gram count statistics and tuned values that minimize the development set perplexity.</p><p>In this task, while the test set perplexity tracks the development set perplexity well, the WER corre­lates surprisingly poorly with the perplexity on both the development and test sets. Nevertheless, <i>n</i>-gram weighting consistently reduces the absolute test set WER by a statistically significant average of 0.3%, according to the Matched Pairs Sentence Segment Word Error test (Pallet et al., 1990). Given that we obtained the lowest development set WER with the fixed 3-parameter modified Kneser-Ney smoothing, all subsequent experiments are conducted using this smoothing configuration.</p></subsection><subsection number="4.3" title="Linear Interpolation"><p>Applied to the Lectures dataset in isolation, <i>n</i>-gram weighting with the <i>hdoc </i>feature reduces the test set WER by 0.3% by de-emphasizing the probability contributions from off-topic <i>n</i>-grams and shifting their weights to the backoff distributions. Ideally though, such weights should be distributed to on-topic <i>n</i>-grams, perhaps from other LM components.</p><p>In Table 4, we present the performance of apply­ing <i>n</i>-gram weighting to the Lectures and Textbook models individually versus in combination via linear interpolation (LI), where we optimize the <i>n</i>-gram<page local="5" global="833"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">832</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>Perplexity</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>Lectures</p></td><td class="cell"><p>189.3</p></td><td class="cell"><p>36.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hdoc)</p></td><td class="cell"><p>187.8 (-0.8%)</p></td><td class="cell"><p>36.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Textbook</p></td><td class="cell"><p>326.1</p></td><td class="cell"><p>43.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hdoc)</p></td><td class="cell"><p>317.5 (-2.6%)</p></td><td class="cell"><p>43.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LI(Lectures + Textbook)</p></td><td class="cell"><p>141.6</p></td><td class="cell"><p>33.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hdoc)</p></td><td class="cell"><p>136.6 (-3.5%)</p></td><td class="cell"><p>32.7%</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="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>Dev</p></td><td class="cell"><p>Test</p></td><td class="cell"><p>Dev</p></td><td class="cell"><p>Test</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>FixKN(1)</p></td><td class="cell"><p>174.7</p></td><td class="cell"><p>196.7</p></td><td class="cell"><p>34.9%</p></td><td class="cell"><p>36.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hdoc)</p></td><td class="cell"><p>172.9</p></td><td class="cell"><p>194.8</p></td><td class="cell"><p>34.7%</p></td><td class="cell"><p>36.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>FixKN(3)</p></td><td class="cell"><p>168.6</p></td><td class="cell"><p>189.3</p></td><td class="cell"><p>34.9%</p></td><td class="cell"><p>36.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hdoc)</p></td><td class="cell"><p>166.8</p></td><td class="cell"><p>187.8</p></td><td class="cell"><p>34.6%</p></td><td class="cell"><p>36.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>FixKN(10)</p></td><td class="cell"><p>167.5</p></td><td class="cell"><p>187.6</p></td><td class="cell"><p>35.0%</p></td><td class="cell"><p>37.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hdoc)</i></p></td><td class="cell"><p>165.3</p></td><td class="cell"><p>185.8</p></td><td class="cell"><p>34.7%</p></td><td class="cell"><p>36.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>KN(1)</p></td><td class="cell"><p>169.7</p></td><td class="cell"><p>190.4</p></td><td class="cell"><p>35.0%</p></td><td class="cell"><p>37.0%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hdoc)</i></p></td><td class="cell"><p>167.3</p></td><td class="cell"><p>188.2</p></td><td class="cell"><p>34.8%</p></td><td class="cell"><p>36.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>KN(3)</p></td><td class="cell"><p>163.4</p></td><td class="cell"><p>183.1</p></td><td class="cell"><p>35.0%</p></td><td class="cell"><p>37.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hdoc)</i></p></td><td class="cell"><p>161.1</p></td><td class="cell"><p>181.2</p></td><td class="cell"><p>34.7%</p></td><td class="cell"><p>36.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>KN(10)</p></td><td class="cell"><p>162.3</p></td><td class="cell"><p>181.8</p></td><td class="cell"><p>35.1%</p></td><td class="cell"><p>37.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hdoc)</i></p></td><td class="cell"><p>160.1</p></td><td class="cell"><p>180.0</p></td><td class="cell"><p>34.8%</p></td><td class="cell"><p>36.8%</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 5: <i>N</i>-gram weighting with various features.</p><p>weighting and interpolation parameters jointly. The interpolated model with <i>n</i>-gram weighting achieves perplexity improvements roughly additive of the re­ductions obtained with the individual models. How­ever, the 1.0% WER drop for the interpolated model significantly exceeds the sum of the individual re­ductions. Thus, as we will examine in more detail in Section 5.1, n-gram weighting allows probabili­ties to be shifted from less relevant <i>n</i>-grams in one component to more specific n-grams in another.</p></subsection><subsection number="4.4" title="Features"><p>With <i>n</i>-gram weighting, we can model the weight­ing function <i>ß(hw) </i>as a log-linear combination of any <i>n</i>-gram features. In Table 5, we show the effect various features have on the performance of linearly interpolating Lectures and Textbook. As the docu­ments from the Lectures dataset is annotated with course and speaker metadata attributes, we include the n-gram frequency <i>f</i>, entropy h, and topic proba­bility <i>t </i>features computed from the lectures grouped by the 16 unique courses and 299 unique speakers.<footnote anchor="2"/>In terms of perplexity, the use of the <i>Random </i>feature has negligible impact on the test set per­formance, as expected. On the other hand, the log(c) count feature reduces the perplexity by nearly 3%, as it correlates with the generality of the <i>n-</i>grams. By using features that leverage the infor­mation from document segmentation and associated metadata, we are generally able to achieve further perplexity reductions. Overall, the frequency and entropy features perform roughly equally. However, by considering information from the more sophisti­cated HMM-LDA topic model, the topic probability feature tdoc achieves significantly lower perplexity than any other feature in isolation.</p><footnote label="2">Features that are not applicable to a particular corpus (e.g. /i course  for Textbook) are removed from the n-gram weighting computation for that component. Thus, models with course and speaker features have fewer tunable parameters than the others.</footnote><p>In terms of WER, the <i>Random </i>feature again shows no effect on the baseline WER of 33.7%. However, to our surprise, the use of the simple log(c) feature achieves nearly the same WER im­provement as the best segmentation-based feature, whereas the more sophisticated features computed from HMM-LDA labels only obtain half of the re­duction even though they have the best perplexities.</p><p>When comparing the performance of different <i>n-</i>gram weighting features on this data set, the per­plexity correlates poorly with the WER, on both the development and test sets. Fortunately, the features that yield the lowest perplexity and WER on the de­velopment set also yield one of the lowest perplex­ities and WERs, respectively, on the test set. Thus, during feature selection for speech recognition ap­plications, we should consider the development set WER. Specifically, since the differences in WER are often statistically insignificant, we will select the feature that minimizes the sum of the development set WER and log perplexity, or cross-entropy.<footnote anchor="3"/></p><p>In Tables 5 and 6, we have underlined the per­plexities and WERs of the features with the lowest corresponding development set values (not shown) and bolded the lowest test set values. The features that achieve the lowest combined cross-entropy and WER on the development set are starred.</p></subsection><subsection number="4.5" title="Feature Combination"><p>Unlike most previous work, n-gram weighting en­ables a systematic integration of features computed from multiple document partitions. In Table 6, we compare the performance of various feature combi­nations. We experiment with incrementally adding features that yield the lowest combined development set cross-entropy and WER. Overall, this metric ap­pears to better predict the test set WER than either the development set perplexity or WER alone.</p><footnote label="3">The choice of cross-entropy instead of perplexity is par­tially motivated by the linear correlation reported by (Chen and Goodman, 1998) between cross-entropy and WER.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">833</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>Perplexity</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>LI(Lectures + Textbook)</p></td><td class="cell"><p>141.6</p></td><td class="cell"><p>33.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>W(Random)</i></p></td><td class="cell"><p>141.5 (-0.0%)</p></td><td class="cell"><p>33.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(log(c))</p></td><td class="cell"><p>137.5 (-2.9%)</p></td><td class="cell"><p>32.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(f doc)</p></td><td class="cell"><p>136.3 (-3.7%)</p></td><td class="cell"><p>32.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(fcourse)</p></td><td class="cell"><p>136.5 (-3.6%)</p></td><td class="cell"><p>32.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>W(f</i>speaker)</p></td><td class="cell"><p>138.1 (-2.5%)</p></td><td class="cell"><p>33.0%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hdoc)</i></p></td><td class="cell"><p>136.6 (-3.5%)</p></td><td class="cell"><p>32.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hcourse) *</p></td><td class="cell"><p>136.1 (-3.9%)</p></td><td class="cell"><p>32.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(hspeaker)</i></p></td><td class="cell"><p>138.6 (-2.1%)</p></td><td class="cell"><p>33.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(tdoc)</p></td><td class="cell"><p>134.8 (-4.8%)</p></td><td class="cell"><p>33.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(tcourse)</p></td><td class="cell"><p>136.4 (-3.6%)</p></td><td class="cell"><p>33.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(tspeaker)</p></td><td class="cell"><p>136.4 (-3.7%)</p></td><td class="cell"><p>33.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><page local="6" global="834"/><p>Table 6: <i>N</i>-gram weighting with feature combinations.</p><p>Using the combined feature selection technique, we notice that the greedily selected features tend to differ in the choice of document segmentation and feature type, suggesting that n-gram weighting can effectively integrate the information provided by the document metadata. By combining features, we are able to further reduce the test set WER by a statis­tically significant <i>(p</i><i> </i><i>&lt;</i><i> </i>0.001) 0.2% over the best single feature model.</p></subsection><subsection number="4.6" title="Advanced Interpolation"><p>While n-gram weighting with all three features is able to reduce the test set WER by 1.2% over the linear interpolation baseline, linear interpolation is not a particularly effective interpolation technique. In Table 7, we compare the effectiveness of n-gram weighting in combination with better interpolation techniques, such as count merging (CM) (Bacchi-ani et al., 2006) and generalized linear interpolation (GLI) (Hsu, 2007). As expected, the use of more sophisticated interpolation techniques decreases the perplexity and WER reductions achieved by <i>n</i>-gram weighting by roughly half for a variety of feature combinations. However, all improvements remain statistically significant.</p><p>Model Perplexity WER</p><p>Table 8: N-gram weighting parameter values. <i>9L, </i>6T: parameters for each order of the Lectures and Textbook trigram models, AL,AT: linear interpolation weights.</p><p>Although the WER reductions from better inter­polation techniques are initially statistically signif­icant, as we add features to <i>n</i>-gram weighting, the differences among the interpolation methods shrink significantly. With all three features combined, the test set WER difference between linear interpolation and generalized linear interpolation loses its statisti­cal significance. In fact, we can obtain statistically the same WER of 32.4% using the simpler model of count merging and <i>n</i>-gram weighting with <i>hcourse.</i></p></subsection></section><section number="5" title="Analysis"><subsection number="5.1" title="Weighting Parameters"><p>To obtain further insight into how <i>n</i>-gram weighting improves the resulting <i>n</i>-gram model, we present in Table 8 the optimized parameter values for the linear interpolation model between Lectures and Textbook using <i>n</i>-gram weighting with <i>hdoc </i>and <i>tdoc </i>features. Using <i>ß(hw) </i>= exp<b>(3</b>&gt;(hw) <b><i>• 6) </i></b>to model the n-gram weights, a positive value of <i>6i </i>corresponds to<page local="7" global="835"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">834</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Features</p></td><td class="cell"><p>Perplexity</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>^course</p></td><td class="cell"><p>136.1</p></td><td class="cell"><p>32.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ log(c)</p></td><td class="cell"><p>135.4 (-0.5%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>f </i>doc</p></td><td class="cell"><p>135.1 (-0.7%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>hdoc</i></p></td><td class="cell"><p>135.6 (-0.5%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>+ tdoc *</i></p></td><td class="cell"><p>133.2 (-2.1%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>f </i>course</p></td><td class="cell"><p>136.0 (-0.1%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ ^course</p></td><td class="cell"><p>134.8 (-1.0%)</p></td><td class="cell"><p>32.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>f </i>speaker</p></td><td class="cell"><p>136.0 (-0.1%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ hspeaker</p></td><td class="cell"><p>136.1 (-0.0%)</p></td><td class="cell"><p>32.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ ^speaker</p></td><td class="cell"><p>134.7 (-1.0%)</p></td><td class="cell"><p>32.7%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hcourse + ^doc</p></td><td class="cell"><p>133.2</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ log(c)</p></td><td class="cell"><p>132.8 (-0.3%)</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ <i>f </i>doc *</p></td><td class="cell"><p>132.8 (-0.4%)</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ hdoc</p></td><td class="cell"><p>133.0 (-0.2%)</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ fcourse</p></td><td class="cell"><p>133.1 (-0.1%)</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ ^course</p></td><td class="cell"><p>133.0 (-0.1%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ fspeaker</p></td><td class="cell"><p>133.1 (-0.1%)</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ hspeaker</p></td><td class="cell"><p>133.2 (-0.0%)</p></td><td class="cell"><p>32.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ ^speaker</p></td><td class="cell"><p>133.1 (-0.1%)</p></td><td class="cell"><p>32.7%</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 caption="Table 7: Effect of interpolation technique.L: Lectures, T: Textbook." 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>Linear(L + T)</p><p>+ W<i>(hcourse)</i></p><p>+ W(tdoc) + W(fdoc)</p></td><td class="cell"><p>141.6</p><p>136.1 (-3.9%)</p><p>133.2 (-5.9%) 132.8 (-6.2%)</p></td><td class="cell"><p>33.7% 32.7% 32.6% 32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CM(L + T)</p></td><td class="cell"><p>137.9</p></td><td class="cell"><p>33.0%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(hcourse)</p></td><td class="cell"><p>135.5 (-1.8%)</p></td><td class="cell"><p>32.4%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W(tdoc)</p></td><td class="cell"><p>133.4 (-3.3%)</p></td><td class="cell"><p>32.4%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ W<i>(fdoc)</i></p></td><td class="cell"><p>133.2 (-3.5%)</p></td><td class="cell"><p>32.4%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>GLIlog(1+c)(L + T)</p><p>+ W<i>(hcourse)</i></p><p>+ W(tdoc)</p><p>+ W<i>(fdoc)</i></p></td><td class="cell"><p>135.9</p><p>133.0 (-2.2%) 130.6 (-3.9%) 130.5 (-4.2%)</p></td><td class="cell"><p>33.0% 32.4% 32.4% 32.4%</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Feature</p></td><td class="cell"><p>Parameter Values</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hdoc</p></td><td class="cell"><p>6L = [3.42,1.46, 0.12]</p><p>6T = [-0.45, -0.35, -0.73]</p><p>[AL,AT] = [0.67,0.33]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>tdoc</p></td><td class="cell"><p>6L = [-2.33,-1.63, -1.19] 6T = [1.05, 0.46, 0.12] [AL,AT] = [0.68,0.32]</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><p><b>Development Set Size (Words) Development Set Size (Words)</b></p><p>Figure 1: Test set perplexity vs. development set size. Figure 2: Test set WER vs. development set size.</p><p>increasing the weights of the <i>i </i>order n-grams with positive feature values.</p><p>For the <i>hdoc </i>normalized entropy feature, values close to 1 correspond to n-grams that are evenly dis­tributed across the documents. When interpolating Lectures and Textbook, we obtain consistently pos­itive values for the Lectures component, indicating a de-emphasis on document-specific terms that are unlikely to be found in the target computer science domain. On the other hand, the values correspond­ing to the Textbook component are consistently neg­ative, suggesting a reduced weight for mismatched style terms that appear uniformly across textbook sections.</p><p>For idoc, values close to 1 correspond to n-grams ending frequently on topic words with uneven dis­tribution across documents. Thus, as expected, the signs of the optimized parameter values are flipped. By de-emphasizing topic <i>n</i>-grams from off-topic components and style <i>n</i>-grams from off-style com­ponents, <i>n</i>-gram weighting effectively improves the performance of the resulting language model.</p></subsection><subsection number="5.2" title="Development Set Size"><p>So far, we have assumed the availability of a large development set for parameter tuning. To obtain a sense of how <i>n</i>-gram weighting performs with smaller development sets, we randomly select utter­ances from the full development set and plot the test set perplexity in Figure 1 as a function of the devel­opment set size for various modeling techniques.</p><p>As expected, GLI outperforms both LI and CM. However, whereas LI and CM essentially converge in test set perplexity with only 100 words of development data, it takes about 500 words before GLI converges due to the increased number of parame­ters. By adding n-gram weighting with the hcoursefeature, we see a significant drop in perplexity for all models at all development set sizes. However, the performance does not fully converge until 3,000 words of development set data.</p><p>As shown in Figure 2, the test set WER behaves more erratically, as the parameters are tuned to min­imize the development set perplexity. Overall, <i>n-</i>gram weighting decreases the WER significantly, except when applied to GLI with less than 1000 words of development data when the perplexity of GLI has not itself converged. In that range, CM with <i>n</i>-gram weighting performs the best. However, with more development data, GLI with <i>n</i>-gram weight­ing generally performs slightly better. From these results, we conclude that although <i>n</i>-gram weight­ing increases the number of tuning parameters, they are effective in improving the test set performance even with only 100 words of development set data.</p></subsection><subsection number="5.3" title="Training Set Size"><p>To characterize the effectiveness of <i>n</i>-gram weight­ing as a function of the training set size, we evalu­ate the performance of various interpolated models with increasing subsets of the Lectures corpus and the full Textbook corpus. Overall, every doubling of the number of training set documents decreases both the test set perplexity and WER by approximately 7 points and 0.8%, respectively. To better compare re­sults, we plot the performance difference between various models and linear interpolation in Figures 3 and 4.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">835</doubt><page local="8" global="836"/><p><b>Training Set Size (Documents)</b></p><figure caption="Figure 3: Test set perplexity vs. training set size."></figure><p>Interestingly, the peak gain obtained from <i>n</i>-gram weighting with the hdoc feature appears at around 16 documents for all interpolation techniques. We suspect that as the number of documents initially increases, the estimation of the hdoc features im­proves, resulting in larger perplexity reduction from <i>n</i>-gram weighting. However, as the diversity of the training set documents increases beyond a certain threshold, we experience less document-level spar-sity. Thus, we see decreasing gain from <i>n</i>-gram weighting beyond 16 documents.</p><p>For all interpolation techniques, even though the perplexity improvements from <i>n</i>-gram weighting decrease with more documents, the WER reductions actually increase. <i>N</i>-gram weighting showed sta­tistically significant reductions for all configurations except generalized linear interpolation with less than 8 documents. Although count merging with <i>n</i>-gram weighting has the lowest WER for most training set sizes, GLI ultimately achieves the best test set WER with the full training set.</p></subsection><subsection number="5.4" title="Training Corpora"><p>In Table 9, we compare the performance of n-gram weighting with different combination of training corpora and interpolation techniques to determine its effectiveness across different training conditions. With the exception of interpolating Lectures and Switchboard using count merging, all other model combinations yield statistically significant improve­ments with n-gram weighting using hcourse, idoc, and <i>f</i>doc features.</p><p>The results suggest that <i>n</i>-gram weighting with these features is most effective when interpolating</p><figure caption="Figure 4: Test set WER vs. training set size."></figure><p>Table 9: Test set WER with various training corpus com­binations. L: Lectures, T: Textbook, S: Switchboard, W: <i>n</i>-gram weighting.</p><p>corpora that differ in how they match the target do­main. Whereas the Textbook corpus is the only cor­pus with matching topic, both Lectures and Switch­board have a similar matching spoken conversa­tional style. Thus, we see the least benefit from <i>n</i>-gram weighting when interpolating Lectures and Switchboard. By combining Lectures, Textbook, and Switchboard using generalized linear interpola­tion with n-gram weighting using hcourse, idoc, and <i>fdoc </i>features, we achieve our best test set WER of 32.2% on the lecture transcription task, a full 1.5% over the initial linear interpolation baseline.</p></subsection></section><section number="6" title="Conclusion &amp; Future Work"><p>In this work, we presented the <i>n</i>-gram weighting technique for adjusting the probabilities of <i>n</i>-grams according to a set of features. By utilizing features derived from the document segmentation and asso­ciated metadata inherent in many training corpora, we achieved up to a 1.2% and 0.6% WER reduc­tion over the linear interpolation and count merging baselines, respectively, using <i>n</i>-gram weighting on a lecture transcription task.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">836</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>H-h LI</b></p><p><b>CM</b></p><p><b><i>1</i>-1 GLI</b></p><p><b>O   O Ll+W □   □CM+W</b></p><p><b>*—» GLI+W</b></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"></td></tr><tr class="row"><td class="cell"></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></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>Model</p></td><td class="cell"><p>L + T</p></td><td class="cell"><p>L + S</p></td><td class="cell"><p>T+S</p></td><td class="cell"><p>L+T+S</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LI</p></td><td class="cell"><p>33.7%</p></td><td class="cell"><p>36.7%</p></td><td class="cell"><p>36.4%</p></td><td class="cell"><p>33.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LI +W</p></td><td class="cell"><p>32.5%</p></td><td class="cell"><p>36.4%</p></td><td class="cell"><p>35.7%</p></td><td class="cell"><p>32.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CM</p></td><td class="cell"><p>33.0%</p></td><td class="cell"><p>36.6%</p></td><td class="cell"><p>35.5%</p></td><td class="cell"><p>32.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CM + W</p></td><td class="cell"><p>32.4%</p></td><td class="cell"><p>36.5%</p></td><td class="cell"><p>35.4%</p></td><td class="cell"><p>32.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>GLI</p></td><td class="cell"><p>33.0%</p></td><td class="cell"><p>36.6%</p></td><td class="cell"><p>35.7%</p></td><td class="cell"><p>32.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>GLI + W</p></td><td class="cell"><p>32.4%</p></td><td class="cell"><p>36.4%</p></td><td class="cell"><p>35.3%</p></td><td class="cell"><p>32.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><td class="cell"></td><td class="cell"></td></tr></table><page local="9" global="837"/><p>We examined the performance of various <i>n</i>-gram weighting features and generally found entropy-based features to offer the best predictive perfor­mance. Although the topic probability features derived from HMM-LDA labels yield additional improvements when applied in combination with the normalized entropy features, the computational cost of performing HMM-LDA may not justify the marginal benefit in all scenarios.</p><p>In situations where the document boundaries are unavailable or when finer segmentation is desired, automatic techniques for document segmentation may be applied (Malioutov and Barzilay, 2006). Synthetic metadata information may also be ob­tained via clustering techniques (Steinbach et al., 2000). Although we have primarily focused on <i>n-</i>gram weighting features derived from segmentation information, it is also possible to consider other fea­tures that correlate with <i>n</i>-gram relevance.</p><p><i>N</i>-gram weighting and other approaches to cross-domain language modeling require a matched devel­opment set for model parameter tuning. Thus, for future work, we plan to investigate the use of the ini­tial recognition hypotheses as the development set, as well as manually transcribing a subset of the test set utterances.</p><p>As speech and natural language applications shift towards novel domains with limited matched train­ing data, better techniques are needed to maximally utilize the often abundant partially matched data. In this work, we examined the effectiveness of the <i>n-</i>gram weighting technique for estimating language models in these situations. With similar investments in acoustic modeling and other areas of natural lan­guage processing, we look forward to an ever in­creasing diversity of practical speech and natural language applications.</p><p><b>Availability </b>An implementation of the <i>n</i>-gram weighting algorithm is available in the MIT Lan­guage Modeling (MITLM) toolkit (Hsu and Glass, 2008): http://www.sls.csail.mit.edu/mitlm/.</p></section><section title="Acknowledgments"><p>We would like to thank the anonymous reviewers for their constructive feedback. This research is sup­ported in part by the T-Party Project, a joint research program between MIT and Quanta Computer Inc.</p></section><references><p>Michiel Bacchiani, Michael Riley, Brian Roark, and Richard Sproat. 2006. MAP adaptation of stochastic grammars. <i>Computer Speech &amp; Language, </i>20(1):41-68.</p><p>Jerome R. Bellegarda. 2004. Statistical language model adaptation: Review and perspectives. <i>Speech Commu­nication, </i>42(1):93-108. Hung-An Chang.  2008. Large margin Gaussian mix­ture modeling for automatic speech recognition. Mas­sachusetts Institute of Technology. Masters Thesis. Stanley F. Chen and Joshua Goodman. 1998. An empiri­cal study of smoothing techniques for language model­ing. In <i>Technical Report TR-10-98. </i>Computer Science Group, Harvard University. Jianfeng Gao and Kai-Fu Lee. 2000. Distribution-based pruning of backoff language models. In <i>Proc. Asso­ciation of Computational Linguistics, </i>pages 579-588, Hong Kong, China. James Glass, Timothy J. Hazen, Lee Hetherington, and Chao Wang. 2004. Analysis and processing of lecture audio data: Preliminary investigations. In <i>Proc. HLT-NAACL Workshop on Interdisciplinary Approaches to Speech Indexing and Retrieval, </i>pages 9-12, Boston,</p><p>MA, USA.</p><p>James Glass, Timothy J. Hazen, Scott Cyphers, Igor Malioutov, David Huynh, and Regina Barzilay. 2007. Recent progress in the MIT spoken lecture process­ing project. In <i>Proc. Interspeech, </i>pages 2553-2556, Antwerp, Belgium. James Glass. 2003. A probabilistic framework for segment-based speech recognition. <i>Computer Speech &amp; Language, </i>17(2-3):137-152. John J. Godfrey and Ed Holliman. 1993. Switchboard-1 transcripts. Linguistic Data Consortium, Philadelphia,</p><p>PA, USA.</p><p>Thomas L. Griffiths, Mark Steyvers, David M. Blei, and Joshua B. Tenenbaum. 2005. Integrating topics and syntax. In <i>Advances in Neural Information Processing Systems 17, </i>pages 537-544. MIT Press, Cambridge,</p><p>T.J. Hazen. 2006. Automatic alignment and error cor­rection of human generated transcripts for long speech recordings.   In <i>Proc. Interspeech, </i>Pittsburgh, PA,</p><p>USA.</p><p>Bo-June (Paul) Hsu and James Glass. 2006. Style &amp; topic language model adaptation using HMM-LDA. In <i>Proc. Empirical Methods in Natural Language Pro­cessing, </i>pages 373-381, Sydney, Australia. Bo-June (Paul) Hsu and James Glass. 2008. Iterative language model estimation: Efficient data structure &amp; algorithms. In <i>Proc. Interspeech, </i>Brisbane, Australia.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">837</doubt><page local="10" global="838"/><p>Bo-June (Paul) Hsu. 2007. Generalized linear interpola­tion of language models. In <i>Proc. Automatic Speech Recognition and Understanding, </i>pages 136-140, Ky­oto, Japan.</p><p>Igor Malioutov and Regina Barzilay. 2006. Minimum cut model for spoken lecture segmentation. In <i>Proc. Association for Computational Linguistics, </i>pages 25­32, Sydney, Australia.</p><p>D. Pallet, W. Fisher, andFiscus. 1990. Tools fortheanal-ysis of benchmark speech recognition tests. In <i>Proc. ICASSP, </i>Albuquerque, NM, USA.</p><p>William H. Press, Saul A. Teukolsky, William T. Vetter-ling, and Brian P. Flannery. 2007. <i>Numerical Recipes. </i>Cambridge University Press, 3rd edition.</p><p>Michael Steinbach, George Karypis, and Vipin Kumar. 2000. A comparison of document clustering tech­niques. Technical Report #00-034, University of Min­nesota.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">838</doubt></references></body></article>