<?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="801"/><title>Finding Good Sequential Model Structures using Output Transformations</title><pubinfo>Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning,pp. 8D1-8D9, Prague, June 2DD7. ©2007 Association for Computational Linguistics</pubinfo><author surname="Loper" givenname="Edward"><org  name="University of Pennsylvania" country="USA" city="Philadelphia"/></author></firstpageheader><frontmatter><p><b>Finding Good Sequential Model Structures using Output Transformations</b></p><p><b>Edward Loper</b></p><p>Department of Computer S Information Science University of Pennsylvania</p><p>333G Walnut Street Philadelphia, PA 191G4</p><p>edloper@cis.upenn.edu</p></frontmatter><abstract>In Sequential Viterbi Models, such as HMMs, MEMMs, and Linear Chain CRFs, the type of patterns over output sequences that can be learned by the model depend di­rectly on the model's structure: any pattern that spans more output tags than are covered by the models' order will be very difficult to learn. However, increasing a model's or­der can lead to an increase in the number of model parameters, making the model more susceptible to sparse data problems. This paper shows how the notion of <i>output transformation </i>can be used to explore a va­riety of alternative model structures. Us­ing output transformations, we can selec­tively increase the amount of contextual in­formation available for some conditions, but not for others, thus allowing us to capture longer-distance consistencies while avoid­ing unnecessary increases to the model's pa­rameter space. The appropriate output trans­formation for a given task can be selected by applying a hill-climbing approach to held-out data. On the NP Chunking task, our hill-climbing system finds a model structure that outperforms both first-order and second-order models with the same input feature set. </abstract></header><body><section number="1" title="Sequence Prediction"><p>A <i>sequence prediction task </i>is a task whose input is a sequence and whose output is a corresponding se­quence. Examples of sequence prediction tasks include part-of-speech tagging, where a sequence of words is mapped to a sequence of part-of-speech tags; and IOB noun phrase chunking, where a se­quence of words is mapped to a sequence of labels, I, O, and B, indicating whether each word is inside a chunk, outside a chunk, or at the boundary between two chunks, respectively.</p><p>In sequence prediction tasks, we are interested in finding the most likely output sequence for a given input. In order to be considered likely, an output value must be consistent with the input value, but it must also be internally consistent. For example, in part-of-speech tagging, the sequence "preposition-verb" is highly unlikely; so we should reject an out­put value that contains that sequence, even if the individual tags are good candidates for describing their respective words.</p></section><section number="2" title="Sequential Viterbi Models"><p>This intuition is captured in many sequence learning models, including Hidden Markov Models (HMMs), Maximum Entropy Markov Models (MEMMs), and Linear Chain Conditional Random Fields (LC-CRFs), by including terms corresponding to pieces of output structure in their scoring functions. (Sha and Pereira, 2003; Sutton and McCallum, 2006; Mc-Callum et al., 2000; Alpaydin, 2004)</p><p>Each of these <i>Sequential Viterbi Models </i>defines a set of scoring functions that evaluate fixed-size pieces of the output sequence based on fixed-size pieces of the input sequence.<footnote anchor="1"/> The overall score for</p><p>!For HMMs and MEMMs, the local scores are negative log probabilities. For LC-CRFs, the local scores do not have any direct probabilistic interpretation.</p><page local="2" global="802"/><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">-=^—±1-</doubt><p>Figure 1: <b>Common Model Structures. </b><i>(a) </i>Simple first order. <i>(b) </i>Extended first order. <i>(c) </i>Simple sec­ond order. <i>(d) </i>Extended second order.</p><p>an output value is then computed by summing the scores for all its fixed-size pieces. Sequence predic­tion models can differ from one another along two dimensions:</p><p>1. <b>Model Structure: </b>The set of output pieces and input pieces for which local scoring functions are defined.</p><p>2. <b>Model Type: </b>The set of parametrized equa­tions used to define those local scoring func­tions, and the procedures used to determine their parameters.</p><p>In this paper, we focus on model structure. In par­ticular, we are interested in finding a suitable model structure for a given task and training corpus.</p><subsection number="2.1" title="Common Model Structures"><p>The model structure used by classical HMMs is the "simple first order" structure. This model structure defines two local scoring functions. The first scoring function evaluates an output value in the context of the corresponding input value; and the second scor­ing function evaluates adjacent pairs of output val­ues. Simple LC-CRFs often extend this structure by adding a third local scoring function, which evalu­ates adjacent pairs of output values in the context of the input value corresponding to one of those out­puts. These model structures are illustrated in Fig­ure 1.</p><p>Because these first order structures include scor­ing functions for adjacent pairs of output items, they can identify and reject output values that con­tain improbable subsequences of length two. For example, in part-of-speech tagging, the sequence "preposition-verb" is highly unlikely; and such models will easily learn to reject outputs contain­ing that sequence. However, it is much more dif­ficult for first order models to identify improbable subsequences of length three or more. For example, in English texts, the sequence "verb-noun-verb" is much less likely than one would predict based just on the subsequences "verb-noun" and "noun-verb." But first order models are incapable of learning that fact.</p><p>Thus, in order to improve performance, it is of­ten necessary to include scoring functions that span over larger sequences. In the "simple second order" model structure, the local scoring function for adja­cent pairs of output values is replaced with a scoring function for each triple of consecutive output values. In extended versions of this structure typically used by LC-CRFs, scoring functions are also added that combine output value triples with an input value. These model structures are illustrated in Figure 1. Similarly, third order and and fourth order models can be used to further increase the span over which scoring functions are defined.</p><p>Moving to higher order model structures increases the distance over which the model can check con­sistency. However, it also increases the number of parameters the model must learn, making the model more susceptible to sparse data problems. Thus, the usefulness of a model structure for a given task will depend on the types of constraints that are important for the task itself, and on the size and diversity of the training corpus.</p></subsection></section><section number="3" title="Searching for Good Model Structures"><p>We can therefore use simple search methods to look for a suitable model structure for a given task and training corpus. In particular, we have performed several experiments using hill-climbing methods to search for an appropriate model structure for a given task. In order to apply hill-climbing methods, we need to define:</p><p>1. The search space. I.e., concrete representations for the set of model structures we will consider.</p><p>2. A set of operations for moving through that search space.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>(a)</i></b></p><p>n</p></td><td class="cell"><p>3 T1I i</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>(b)</i></b></p><p>n</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="3" global="803"/><p>3. An evaluation metric.</p><p>In Section 4, we will define the search space us­ing transformations on output values. This will al­low us to consider a wide variety of model struc­tures without needing to make any direct modifica­tions to the underlying sequence modelling systems. Output value transformations will be concretely rep­resented using Finite State Transducers (FSTs). In Section 5, we will define the set of operations for moving through the search space as modification op­erations on FSTs. For the evaluation metric, we sim­ply train and test the model, using a given model structure, on held-out data.</p><p><b>4   Representing Model Structure with Reversible Output Transformations</b></p><p>The common model structures described in Sec­tion 2.1 differ from one another in that they exam­ine varying sizes of "windows" on the output struc­ture. Rather than varying the size of the window, we can achieve the same effect by fixing the window size, but transforming the output values. For exam­ple, consider the effects of transforming the output values by replacing individual output tags with pairs of adjacent output tags:</p><doubt alpha="38.5" length="13" tooSmall="False" monospace="0.0">yi,y2,■■■,yt—</doubt><doubt alpha="41.5" length="41" tooSmall="False" monospace="0.0">(START, yi),(yi,y2&gt;,(y2,y3&gt;,---,(yt-i,yt)</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">E.g.:</doubt><doubt alpha="48.8" length="43" tooSmall="False" monospace="0.0">IOOIIBI—OI    IO    OO    OI    II    IB BI</doubt><p>Training a first order model based on these trans­formed values is equivalent to training a second or­der model based on the original values, since in each case the local scoring functions will be based on pairs of adjacent output tags. Similarly, transform­ing the output values by replacing individual output tags with triples of adjacent output tags is equivalent to training a third order model based on the original output values.</p><p>Of course, when we apply a model trained on this type of transformed output to new inputs, it will gen­erate transformed output values. Thus, the transfor­mation must be reversible, so that we can map the output of the model back to an un-transformed out­put value.</p><p>This transformational approach has the advantage that we can explore different model structures us­ing off-the-shelf learners, without modifying them. In particular, we can apply the transformation corre­sponding to a given model structure to the training corpus, and then train the off-the-shelf learner based on that transformed corpus. To predict the value for a new input, we simply apply the learned model to generate a corresponding transformed output value, and then use the inverse transformation to map that value back to an un-transformed value.</p><p>Output encoding transformations can be used to represent a large class of model structures, including commonly used structures (first order, second order, etc) as well as a number of "hybrid" structures that use different window sizes depending on the content of the output tags.</p><p>Output encoding transformations can also be used to represent a wide variety of other model struc­tures. For example, there has been some debate about the relative merits of different output encod­ings for the chunking task (Tjong Kim Sang and Veenstra, 1999; Tjong Kim Sang, 2000; Shen and Sarkar, 2005). These encodings differ in whether they define special tags for the beginning of chunks, for the ends of chunks, and for boundaries between chunks. The output transformation procedure de­scribed here is capable of capturing all of the output encodings used for chunking. Thus, this transforma­tional method provides a unified framework for con­sidering both the type of information that should be encoded by individual tags (i.e., the encoding) and the distance over which that information should be evaluated (i.e., the order of the model). Under this framework, we can use simple search procedures to find an appropriate transformation for a given task.</p><subsection number="4.1" title="Representing Transformations as FSTs"><p>Finite State Transducers (FSTs) provide a natural formalism for representing output transformations. FSTs are powerful enough to capture different or­ders of model structure, including hybrid orders; and to capture different output encodings, such as the ones considered in (Shen and Sarkar, 2005). FSTs are efficient, so they add very little overhead. Fi­nally, there exist standard algorithms for inverting<page local="4" global="804"/></p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">IOE1 IOE2</doubt><p>Figure 2: <b>FSTs for Five Common Chunk Encod­ings. </b>Each transducer takes an IOB1-encoded string for a given output value, and generates the corre­sponding string for the same output value, using a new encoding. Note that the IOB1 FST is an iden­tity transducer; and note that the transducers that make use of the E tag must use e-output edges to delay the decision of which tag should be used until enough information is available.</p><p>and determinizing FSTs. <footnote anchor="2"/></p><subsubsection number="4.1.1" title="Necessary Properties for"><p><b>Output-Transformation FSTs</b></p><p>In order for an FST to be used to transform output values, it must have the following three properties:</p><p>1. The FST's inverse should be deterministic.<footnote anchor="3"/>Otherwise, we will be unable to convert the model's (transformed) output into an un-transformed output value.</p><p>2. The FST should recognize exactly the set of valid output values. If it does not recognize some valid output value, then it won't be able to transform that value. If it recognizes some invalid output value, then there exists an trans­formed output value that would map back to an invalid output value.</p><p>3. The FST should not modify the length of the output sequence. Otherwise, it will not be possible to align the output values with input val­ues when running the model.</p><footnote label="2">Note that we are not attempting to learn a transducer that generates the output values from input values, as is done in e.g. (Oncina et al., 1993) and (Stolcke and Omohundro, 1993). Rather, we we are interested in finding a transducer from one output encoding to another output encoding that will be more amenable to learning by the underlying Sequential Viterbi Model.</footnote><footnote label="3">Or at least determinizable.</footnote><p>In addition, it seems desirable for the FST to have the following two properties:</p><p>4. The FST should be deterministic. Otherwise, a single training example's output could be en­coded in multiple ways, which would make training the individual base decision classifiers difficult.</p><p>5. The FST should generate every output string. Otherwise, there would be some possible sys­tem output that we are unable to map back to an un-transformed output.</p><p>Unfortunately, these two properties, when taken to­gether with the first three, are problematic. To see why, assume an FST with an output alphabet of size k. Property (5) requires that all possible out­put strings be generated, and property (1) requires that no string is generated for two input strings, so the number of strings generated for an input of length n must be exactly <i>kn. </i>But the number of possible chunkings for an input of length n is 3n — 3n-1 — 3n-2; and there is no integer k such that kn = 3n — 3n-1 — 3n-2.<footnote anchor="4"/></p><p>We must therefore relax at least one of these two properties. Relaxing the property 4 (deterministic FSTs) will make training harder; and relaxing the property 5 (complete FSTs) will make testing harder. In the experiments presented here, we chose to relax the second property.</p></subsubsection><subsubsection number="4.1.2" title="Inverting the Transformation"><p>Recall that the motivation behind property 5 is that we need a way to map <i>any </i>output generated by the machine learning system back to an un-transformed output value.</p><p>As an alternative to requiring that the FST gener­ate every output string, we can define an extended inversion function, that includes the inverted FST, but also generates output values for transformed val­ues that are not generated by the FST. In particular, in cases where the transformed value is not gener­ated by the FST, we can assume that one or more of the transformed tags was chosen incorrectly; and make the minimal set of changes to those tags that results in a string that <i>is </i>generated by the FST.<page local="5" global="805"/> Thus, we can compute the optimal un-transformed output value corresponding to each transformed output us­ing the following procedure:</p><footnote label="4">To see why the number of possible chunkings is 3 n — g n-i — 3 n- 2, consider the IOB1 encoding: it generates all chunkings, and is valid for any of the 3 n strings except those that start with B (of which there are 3 n-i ) and those that in­clude the sequence OB (of which there are 3 n-2 ).</footnote><p>1. Invert the original FST. I.e., replace each arc (S — Q[a : //]) with an arc (S — Q[// : a]).</p><p>2. Normalize the FST such that each arc has ex­actly one input symbol.</p><p>3. Convert the FST to a weighted FST by as­signing a weight of zero to all arcs. This weighted FST uses non-negative real-valued weights, and the weight of a path is the sum of the weights of all edges in that path.</p><p>4. For each arc (S — Q[x : a]), and each y = x, add a new arc (S — Q[y : a]) with a weight one.</p><p>5. Determinize the resulting FST, using a vari­ant of the algorithm presented in (Mohri, 1997). This determinization algorithm will prune paths that have non-optimal weights. In cases where determinization algorithm has not completed by the time it creates 10,000 states, the candidate FST is assumed to be non-determinizable, and the original FST is rejected as a candidate.</p><p>The resulting FST will accept all sequences of transformed tags, and will generate for each trans­formed tag the un-transformed output value that is generated with the fewest number of "repairs" made to the transformed tags.</p></subsubsection></subsection></section><section number="5" title="FST Modification Operations"><p>In order to search the space of output-transforming FSTs, we must define a set of modification oper­ations, that generate a new FST from a previous FST. In order to support a hill-climbing search strategy, these modification operations should make small incremental changes to the FSTs. The selec­tion of appropriate modification operations is impor­tant, since it will significantly impact the efficiency of the search process. In this section, I describe the set of FST modification operations that are used for the experiments described in this paper. These oper­ations were chosen based our intuitions about what modifications would support efficient hill-climbing search. In future experiments, we plan to examine alternative modification operations.</p><subsection number="5.1" title="New Output Tag"><p>The <i>new output tag </i>operation replaces an arc (S — Q[a : ///xy]) with an arc (S — Q[a : ///yY]), where y is a new output tag that is not used anywhere else in the transducer. When a single output tag appears on multiple arcs, this operation effectively splits that tag in two. For example, when applied to the identity transducer for the IOB1 encoding shown in Figure 2, this operation can be used to distinguish O tags that follow other O tags from O tags that follow / or B tags - effectively increasing the order of the model structure for just O tags.</p></subsection><subsection number="5.2" title="Specialize Output Tag 5"><p>The <i>specialize output tag </i>operation is similar to the <i>new output tag </i>operation, but rather than replacing the output tag with a new tag, we "subdivide" the tag. When the model is trained, features will be in­cluded for both the subdivided tag and the original (undivided) tag.</p></subsection><subsection number="5.3" title="Loop Unrolling"><p>The <i>loop unrolling </i>operation acts on a single self-loop arc e at a state S, and makes the following changes to the FST:</p><p>1. Create a new state S'.</p><p>2. For each outgoing arc e1 = (S — Q[a : //]) = e, add add an arc e2 = (S' — Q[a : //]). Note that if e1 was a self-loop arc (i.e., S = Q), then e2 will point from S' to S.</p></subsection></section><section number="3." title="Change the destination of loop arc e from S to"><p>S'.</p><p>By itself, the <i>loop unrolling </i>operation just mod­ifies the structure of the FST, but does not change the actual transduction performed by the FST.<page local="6" global="806"/> It is therefore always immediately followed by applying the <i>new output tag </i>operation or the <i>specialize output tag </i>operation to the loop arc e.</p><footnote label="5">This operation requires the use of a model where features are defined over (input,output) pairs, such as MEMMs or LC-CRFs.</footnote><subsection number="5.4" title="Copy Tag Forward"><p>The <i>copy tag forward </i>operation splits an existing state in two, directing all incoming edges that gen­erate a designated output tag to one copy, and all remaining incoming edges to the other copy. The outgoing edges of these two states are then distin­guished from one another, using either the <i>specialize output tag </i>operation (if available) or the <i>new output tag </i>operation.</p><p>This modification operation creates separate edges for different output histories, effectively in­creasing the "window size" of tags that pass through the state.</p></subsection><subsection number="5.5" title="Copy State Forward"><p>The <i>copy state forward </i>operation is similar to the <i>copy tag forward </i>operation; but rather than redirect­ing incoming edges based on what output tags they generate, it redirects incoming edges based on what state they originate from. This modification opera­tion allows the FST to encode information about the history of states in the transformational FST as part of the model structure.</p></subsection><subsection number="5.6" title="Copy Feature Forward"><p>The <i>copy feature forward </i>operation is similar to the <i>copy tag forward </i>operation; but rather than redirect­ing incoming edges based on what output tags they generate, it redirects incoming edges based on a fea­ture of the current input value. This modification op­eration allows the transformation to subdivide out­put tags based on features of the input value.</p></subsection></section><section number="6" title="Hill Climbing System"><p>Having defined a search space, a set of transforma­tions to explore that space, and an evaluation met­ric, we can use a hill-climbing system to search for a good model structure. This approach starts with a simple initial FST, and makes incremental local changes to that FST until a locally optimal FST is found. In order to help avoid sub-optimal local max­ima, we use a fixed-size beam search. To increase the search speed, we used a 12-machine cluster to evaluate candidate FSTs in parallel. The hill climb­ing system iteratively performs the following proce­dure:</p><p>1. Initialize candidates to be the singleton set containing the identity transducer.</p><p>2. Repeat ...</p><p>(a) Generate a new FST, by applying a ran­dom modification operation to a randomly selected member of the candidates set.</p><p>(b) Evaluate the new FSTs, and test its perfor­mance on the held-out data set. (This is done in parallel.)</p><p>(c) Once the FST has been evaluated, add it to the candidates set.</p><p>(d) Sort the candidates set by their score on the held-out data, and discard all but the 10 highest-scoring candidates.</p><p>... until no improvement is made for twenty consecutive iterations.</p><p>3. Return the candidate FST with the highest score.</p></section><section number="7" title="Noun Phrase Chunking Experiment"><p>In order to test this approach to finding a good model structure, we applied our hill-climbing system to the task of noun phrase chunking. The base system was a Linear Chain CRF, implemented using Mal­let (McCallum, 2002). The set of features used are listed in Figure 1. Training and testing were per­formed using the noun phrase chunking corpus de­scribed in Ramshaw &amp; Marcus (1995) (Ramshaw and Marcus, 1995). A randomly selected 10% of the original training corpus was used as held-out data, to provide feedback to the hill-climbing system.</p><subsection number="7.1" title="NP Chunking Experiment: Results"><p>Over 100 iterations, the hill-climbing system in­creased chunking performance on the held-out data from a F-score of 94.93 to an F-score of 95.32. This increase was reflected in an improvement on the test data from an F-score of 92.48 to an F-score<page local="7" global="807"/></p><p>Table 1: <b>Feature Set for the CRF NP Chunker. </b><i>y</i><b><i>i</i></b> is the <i>ith </i>output tag; <i>wi </i>is the <i>ith </i>word; and <i>ti </i>is the part-of-speech tag for the <i>ith </i>word.</p><p>Table 2: <b>Results for NP Chunking Experiment.</b></p><p>of 92.80.<footnote anchor="6"/> As a point of comparison, a simple sec­ond order model achieves an intermediate F-score of 92.63 on the test data. Thus, the model learned by the hill-climbing system outperforms both the sim­ple first-order model and the simple second-order model.</p><p>Figure 3 shows how the scores of FSTs on held-out data changed as the hill-climbing system ran. Figure 4 shows the search tree explored by the hill-climbing system.</p><footnote label="6">The reason that held-out scores are significantly higher than test scores is that held-out data was taken from the same sec­tions of the original corpus as the training data; but test data was taken from new sections. Thus, there was more lexical overlap between the training data and the held-out data than between the training data and the testing data.</footnote><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">95.32 95.11 94.91 94.70</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">94.49 94.07</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">20</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">30</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">40</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">50</doubt><p>Figure 3: <b>Performance on Heldout Data for NP Chunking Experiment. </b>In this graph, each point corresponds to a single transducer generated by the hill-climbing system. The height of each trans­ducer's point indicates its score on held-out data. The line indicates the highest score that has been achieved on the held-out data by any transducer.</p><p>Figure 4: <b>Hill Climbing Search Tree for NP Chunking Experiment </b>This tree shows the "an­cestry" of each transducer tried by the hill climb­ing system. Lighter colors indicate higher scores on the held-out data. After one hundred iterations, the five highest scoring transducers were fst047, fst0 58, fst083, fst102, and fst089.</p><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Feature</p></td><td class="cell"><p>Description</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>yi</i></b></p></td><td class="cell"><p>The current output tag.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>y</i><b><i>i</i></b><i>,W</i><b><i>i+n</i></b></p></td><td class="cell"><p>A tuple of the current output tag and the i + nth word, —2 &lt; <i>n &lt; </i>2.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>y</i><b><i>i</i></b><i>,W</i><b><i>i</i></b><i>,W</i><b><i>i—i</i></b></p></td><td class="cell"><p>A tuple of the current output tag, the current word, and the previous word.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>y</i><b><i>i</i></b><i>,w</i><b><i>i</i></b><i>,w</i><b><i>i+i</i></b></p></td><td class="cell"><p>A tuple of the current output tag, the current word, and the next word.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>yi} ti+n</i></b></p></td><td class="cell"><p>A tuple of the current output tag and the part of speech tag of the i + nth</p><p>word, —2 &lt; <i>n </i>&lt; 2.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>ti+n+1</b></p></td><td class="cell"><p>A tuple of the current output tag and the two consecutive part of speech tags starting at word i + n, —2 &lt; n &lt; 1.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>yi+n— 1</i></b><i>} </i><b><i>ti+n}</i></b><b>ti+n+1</b></p></td><td class="cell"><p>A tuple of the current output tag, and three consecutive part of speech tags centered on word i+n, —1 &lt; n &lt; 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></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>System</p></td><td class="cell"><p>Fi (Held-out)</p></td><td class="cell"><p>Fi (Test)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baseline (first order)</p></td><td class="cell"><p>94.93</p></td><td class="cell"><p>92.48</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Second order</p></td><td class="cell"><p>95.14</p></td><td class="cell"><p>92.63</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Learned structure</p></td><td class="cell"><p>95.32</p></td><td class="cell"><p>92.80</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="8" global="808"/><p>Figure 5: <b>Final FST. </b>The highest-scoring FST gen­erated by the hill-climbing algorithm, after a run of 100 iterations. For a discussion of this transducer, see Section 7.1.1.</p><subsubsection number="7.1.1" title="NP Chunking Experiment: The Selected Transformation"><p>Figure 5 shows the FST for the best output trans­formation found after 100 iterations of the hill-climbing algorithm. Inspection of this FST reveals that it transforms the original set of three tags (7, O, and B) to six new tags: <i>I1, I2,I3, </i>O, <i>B1, </i>and B2.</p><p>The first three of these tags are used at the begin­ning of a chunk: I1 is used if the preceding tag was O; B1 is used if the preceding tag was B; and B2is used if the preceding tag was I. This is similar to a second order model, in that it records information about both the current tag and the previous tag.</p><p>The next tag, O, is used for all words outside of chunks. Thus, the hill-climbing system found that increasing the window size used for O chunks does not help to learn any useful constraints with neigh­boring tags.</p><p>Finally, two tags are used for words that are inside a chunk, but not at the beginning of the chunk: I2and I<b>3.</b><b> </b>The choice of which tag should be used de­pends on the input feature that tests whether the cur­rent word is a comma, and the previous word was a proper noun (NNP). At first, this might seem like an odd feature to distinguish. But note that in the Wall Street Journal, it is quite common for proper nouns to include internal commas; but for other nouns, it is fairly uncommon. By dividing the I tag in two based on this feature, the model can use separate distribu­tions for these two cases. Thus, the model avoids conflating two contexts that are significantly differ­ent from one another for the task at hand.</p></subsubsection></subsection></section><section number="8" title="Discussion"><p>Sequential Viterbi Models are capable of learning to model the probability of local patterns on the out­put structure. But the distance that these patterns can span is limited by the model's structure. This distance can be lengthened by moving to higher or­der model structures, but only at the expense of an increase in the number of model parameters, along with the data sparsity issues that can arise from that increase. Therefore, it makes sense to be more selec­tive about how we extend the model structure. Using reversible output transformations, it is possible to define model structures that extend the reach of the model only where necessary. And as we have shown here, it is possible to find a suitable output transfor­mation for a given task by using simple search pro­cedures.</p></section><section number="9" title="Acknowledgements"><p>We gratefully acknowledge the support of the National Science Foundation Grant NSF-0415923, Word Sense Disambiguation, the DTO-AQUAINT NBCHC040036 grant under the University of Illinois subcontract to University of Penn­sylvania 2003-07911-01, NSF-ITR-0325646: Domain-Independent Semantic Interpretation, and Defense Advanced Research Projects Agency (DARPA/IPTO) under the GALE program, DARPA/CMO Contract No. HR0011-06-C-0022.</p></section><references><p>Ethem Alpaydin, 2004. <i>Introduction to Machine Learn­ing, </i>chapter 7. The MIT Press.</p><p>Andrew McCallum, Dayne Freitag, and Fernando Pereira. 2000. Maximum entropy Markov models for information extraction and segmentation. In <i>Proc. 17th International Conf. on Machine Learning, </i>pages 591-598. Morgan Kaufmann, San Francisco, CA.</p><p>Andrew Kachites McCallum. 2002. Mal­let: A machine learning for language toolkit. http://mallet.cs.umass.edu.</p><page local="9" global="809"/><p>Mehryar Mohri. 1997. Finite-state transducers in lan­guage and speech processing. <i>Computational Linguis­tics, </i>23(2):269-311.</p><p>Jose Oncina, Pedro Garcia, and Enrique Vidal. 1993. Learning subsequential transducers for pattern recog­nition tasks. <i>IEEE Transactions on Pattern Analysis and Machine Intelligence, </i>15:448-458, May.</p><p>Lance Ramshaw and Mitch Marcus. 1995. Text chunk­ing using transformation-based learning. In David Yarowsky and Kenneth Church, editors, <i>Proceedings of the Third Workshop on Very Large Corpora, </i>pages 82-94, Somerset, New Jersey. Association for Compu­tational Linguistics.</p><p>Fei Sha and Fernando Pereira. 2003. Shallow pars­ing with conditional random fields. In <i>Proceedings of HLT-NAACL, </i>pages 134-141.</p><p>Hong Shen and Anoop Sarkar. 2005. Voting between multiple data representations for text chunking. In <i>Ad­vances in Artificial Intelligence: 18th Conference of the Canadian Society for Computational Studies ofln-telligence, </i>May.</p><p>Andreas Stolcke and Stephen Omohundro. 1993. Hidden Markov Model induction by Bayesian model merging. In C. L. Giles, S. J. Hanson, and J. D. Cowan, editors, <i>Advances in Neural Information Processing Systems 5. </i>Morgan Kaufman, San Mateo, Ca.</p><p>Charles Sutton and Andrew McCallum. 2006. An in­troduction to conditional random fields for relational learning. In Lise Getoor and Ben Taskar, editors, <i>Introduction to Statistical Relational Learning. </i>MIT Press. To appear.</p><p>Erik Tjong Kim Sang and Jorn Veenstra. 1999. Rep­resenting text chunks. In <i>Proceedings of EACL'99, </i>Bergen. Association for Computational Linguistics.</p><p>Erik Tjong Kim Sang. 2000. Noun phrase recognition by system combination. In <i>Proceedings of BNAIC, </i>Tilburg, The Netherlands.</p></references></body></article>