<?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="680"/><title>Cross-Task Knowledge-Constrained Self Training</title><author surname="Daumé III" givenname="Hal"><org  name="University of Utah" country="USA" city="Salt Lake City"/></author></firstpageheader><frontmatter><p><b>Cross-Task Knowledge-Constrained Self Training</b></p><p><b>Hal Daume III</b></p><p>School of Computing University of Utah Salt Lake City, UT 84112</p><p>me@hal3.name</p></frontmatter><abstract>We present an algorithmic framework for learning multiple related tasks. Our frame­work exploits a form of prior knowledge that relates the output spaces of these tasks. We present PAC learning results that analyze the conditions under which such learning is pos­sible. We present results on learning a shal­low parser and named-entity recognition sys­tem that exploits our framework, showing con­sistent improvements over baseline methods. </abstract></header><body><section number="1" title="Introduction"><p>When two NLP systems are run on the same data, we expect certain constraints to hold between their out­puts. This is a form of prior knowledge. We propose a self-training framework that uses such information to significantly boost the performance of one of the systems. The key idea is to perform self-training <i>only </i>on outputs that obey the constraints.</p><p>Our motivating example in this paper is the task pair: named entity recognition (NER) and shallow parsing (aka syntactic chunking). Consider a hid­den sentence with known POS and syntactic struc­ture below. Further consider four potential NER se­quences for this sentence.</p><doubt alpha="32.8" length="235" tooSmall="False" monospace="0.0">POS: NNP NNP VBD TO NNP NN Chunk: [- NP -][-VP-][-PP-][-NP-][-NP-] NER1: [- Per -][- O -][-Org-][- 0 -] NER2: [- Per -][- O -][- O -][- O -][- O -] NER3: [- Per -][- O -][- O -][- Org -] NER4: [-    Per   -][- O -][- O -][-Org-][- O -]</doubt><p>Without ever seeing the actual sentence, can we guess which NER sequence is correct? NER1 seems wrong because we feel like named entities should not be part of verb phrases. NER2 seems wrong be­cause there is an NNP<footnote anchor="1"/> (proper noun) that is not part of a named entity (word 5). NER3 is amiss because we feel it is unlikely that a <i>single </i>name should span more than one NP (last two words). NER4 has none of these problems and seems quite reasonable. In fact, for the hidden sentence, NER4 is correct<footnote anchor="2"/> .</p><p>The remainder of this paper deals with the prob­lem of formulating such prior knowledge into a workable system. There are similarities between our proposed model and both self-training and co-training; background is given in Section 2. We present a formal model for our approach and per­form a simple, yet informative, analysis (Section 3). This analysis allows us to define what good and bad constraints are. Throughout, we use a running example of NER using hidden Markov models to show the efficacy of the method and the relation­ship between the theory and the implementation. Fi­nally, we present full-blown results on seven dif­ferent NER data sets (one from CoNLL, six from ACE), comparing our method to several competi­tive baselines (Section 4). We see that for many of these data sets, less than one hundred labeled NER sentences are required to get state-of-the-art perfor­mance, using a discriminative sequence labeling al­gorithm (Daume III and Marcu, 2005).</p></section><section number="2" title="Background"><p>Self-training works by learning a model on a small amount of labeled data. This model is then evalu-</p><footnote label="1">When we refer to NNP, we also include NNPS.</footnote><footnote label="2">The sentence is: "George Bush spoke to Congress today"</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">680</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 680-688, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="681"/></p><p>ated on a large amount of unlabeled data. Its predic­tions are assumed to be correct, and it is retrained on the unlabeled data according to its own predic­tions. Although there is little theoretical support for self-training, it is relatively popular in the natu­ral language processing community. Its success sto­ries range from parsing (McClosky et al., 2006) to machine translation (Ueffing, 2006). In some cases, self-training takes into account <i>model confidence.</i></p><p>Co-training (Yarowsky, 1995; Blum and Mitchell, 1998) is related to self-training, in that an algorithm is trained on its own predictions. Where it differs is that co-training learns two <i>separate </i>models (which are typically assumed to be independent; for in­stance by training with disjoint feature sets). These models are both applied to a large repository of un-labeled data. Examples on which these two mod­els <i>agree </i>are extracted and treated as labeled for a new round of training. In practice, one often also uses a notion of model confidence and only extracts agreed-upon examples for which both models are confident. The original, and simplest analysis of co-training is due to Blum and Mitchell (1998). It does not take into account confidence (to do so requires a <i>significantly </i>more detailed analysis (Dasgupta et al., 2001)), but is useful for understanding the process.</p></section><section number="3" title="Model"><p>We define a formal PAC-style (Valiant, 1994) model that we call the "hints model"<footnote anchor="3"/>. We have an instance space X and <i>two </i>output spaces Y1 and Y2. We as­sume two concept classes <i>C1 </i>and C2 for each output space respectively. Let D be a distribution over X, and <i>f1</i><i> </i><i>G</i><i> </i>C1 (resp., f2 <i>G</i><i> </i>C2) be target functions. The goal, of course, is to use a finite sample of examples drawn from D (and labeled—perhaps with noise— by f 1 and f2) to "learn" <i>h1 G </i>C1 and <i>h2 </i>G C2, which are good approximations to <i>f</i>1 and <i>f</i>2.</p><p>So far we have not made use of any notion of con­straints. Our expectation is that if we constrain <i>h</i>1 and <i>h</i>2 to <i>agree </i>(vis-a-vis the example in the Intro­duction), then we should need fewer labeled exam­ples to learn either. (The agreement should "shrink" the size of the corresponding hypothesis spaces.) To formalize this, let x ■ <i>Y1 </i>x Y2 — {0,1} be a <i>con-</i> <i>straint function.</i><i> </i>We say that two outputs <i>y1 G Y1</i>and y2 G Y2 are <i>compatible </i>if x(y1,y2) = 1. We need to assume that x is correct: <b>Definition 1. </b><i>We say that x is </i>correct <i>with respect to </i><i>D,</i><i> </i>f1, f2 <i>if whenever x has non-zero probability under D, then </i>x(f1(x), f2(x)) = 1.</p><footnote label="3">The name comes from thinking of our knowledge-based constraints as "hints" to a learner as to what it should do.</footnote><p>The question is: given this additional source of knowledge (i.e., x), has the learning problem be­come easier? That is, can we learn f2 (and/or f 1) us­ing significantly fewer labeled examples than if we did not have x? Moreover, we have assumed that x is <i>correct, </i>but is this enough? Intuitively, no: a func­tion x that returns 1 regardless of its inputs is clearly not useful. Given this, what other constraints must be placed on x. We address these questions in Sec­tions 3.3. However, first we define our algorithm.</p><subsection number="3.1" title="One-sided Learning with Hints"><p>We begin by considering a simplified version of the "learning with hints" problem. Suppose that all we care about is learning f2. We have a small amount of data labeled by f2 (call this D) and a <i>large </i>amount of data labeled by f (call this Dunlab-"unlab" because as far as f2 is concerned, it is unlabeled).</p><p>Running Example</p><p>In our example, this means that we have a small amount of labeled NER data and a large amount of labeled POS/chunk data. We use 3500 sentences from CoNLL (Tjong Kim Sang and De Meulder, 2003) as the NER data and section 20-23 of the WSJ (Marcus et al., 1993; Ramshaw and Marcus, 1995) as the POS/chunk data (8936 sentences). We are <i>only </i>interested in learning to do NER. Details of the exact HMM setup are in Section 4.2.</p><p>In our example, Yi is the space of all POS/chunk sequences and Y2 is the space of all NER se­quences. We assume that C1 and C2 are both represented by HMMs over the appropriate state spaces. The functions we are trying to learn are f 1, the "true" POS/chunk labeler and f2, the "true" NER labeler. (Note that we assume f1 G C1, which is obviously not true for language.)</p><p>Our constraint function x will require the follow­ing for agreement: (1) any NNP must be part of a named entity; (2) any named entity must be a sub­sequence of a noun phrase. This is precisely the set of constraints discussed in the introduction.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">681</doubt><page local="3" global="682"/><p>Running Example</p><p>We call the following algorithm "One-Sided Learning with Hints," since it aims only to learn f2: 1: Learn h2 directly on D 2: For each example (x, y1) G Dunlab3:    Compute y2 = h2(x) 4:    If x(y1,y2),add (x,y2) to D 5: Relearn h2 on the (augmented) D 6: Go to (2) if desired</p><p>In step 1, we train an NER HMM on CoNLL. On test data, this model achieves an F-score of 50.8. In step 2, we run this HMM on all the WSJ data, and extract 3145 compatible examples. In step 3, we retrain the HMM; the F-score rises to 58.9.</p></subsection><subsection number="3.2" title="Two-sided Learning with Hints"><p>In the two-sided version, we assume that we have a small amount of data labeled by f1 (call this D1), a small amount of data labeled by f2 (call this D2) and a <i>large </i>amount of unlabeled data (call this Dunlab). The algorithm we propose for learning hypotheses for both tasks is below:</p><doubt alpha="60.9" length="169" tooSmall="False" monospace="0.0">1:Learnh1onD1andh2onD2.2:For each examplex G Dunlab:3:Computey1= h1(x)andy2= h2(x)4:Ifx(y1, y2)add(x, y1)toD1, (x, y2)toD25:Relearnh1onD1andh2onD2.6:Go to (2) if desired</doubt><p>We use 3500 examples from NER and 1000 from WSJ. We use the remaining 18447 examples as unlabeled data. The baseline HMMs achieve F-scores of 50.8 and 76.3, respectively. In step 2, we add 7512 examples to each data set. After step 3, the new models achieve F-scores of 54.6 and 79.2, respectively. The gain for NER is lower than be­fore as it is trained against "noisy" syntactic labels.</p></subsection><subsection number="3.3" title="Analysis"><p>Our goal is to prove that one-sided learning with hints "works." That is, if C2 is learnable from large amounts of labeled data, then it is also learn-able from small amounts of labeled data and large amounts of f1 -labeled data. This is formalized in Theorem 1 (all proofs are in Appendix A). How­ever, before stating the theorem, we must define an "initial weakly-useful predictor" (terminology from Blum and Mitchell(1998)), and the notion of noisy PAC-learning in the structured domain.</p><p><b>Definition 2. </b><i>We say that </i>h <i>is a </i>weakly-useful pre­dictor <i>of </i>f <i>if for all y: </i>PrD [h(x) = y] &gt; e <i>and </i>Prp [f (x) = y | h(x) = y' = y] &gt; Prp [f (x) = y] + e.</p><p>This definition simply ensures that (1) h is non­trivial: it assigns some non-zero probability to every possible output; and (2) h is somewhat indicative of f. In practice, we use the hypothesis learned on the small amount of training data during step (1) of the algorithm as the weakly useful predictor.</p><p><b>Definition 3. </b><i>We say that C is </i>PAC-learnable with noise (in the structured setting) <i>if there exists an algorithm with the following properties. For any </i>c G <i>C,</i><i> any distribution D over </i><i>X,</i><i> any </i>0 &lt; n &lt; 1/ |Y|, <i>any </i>0 &lt; e &lt; 1, <i>any </i>0 &lt; ö &lt; 1 <i>and any </i>n &lt; no &lt; 1/ |Y|, <i>if the algorithm is given access to examples drawn EXVSN</i>(c, D) <i>and inputs </i>e, ö <i>and n0, then with probability at least </i>1 — ö, <i>the algo­rithm returns a hypothesis </i>h G C <i>with error at most </i>e. <i>Here, EX</i>SN(c, D) <i>is a structured noise oracle, which draws examples from </i>D, <i>labels them by </i>c <i>and randomly replaces with another label with prob. </i>n.</p><p>Note here the rather weak notion of noise: en­tire structures are randomly changed, rather than in­dividual labels. Furthermore, the error is 0/1 loss over the entire structure. Collins (2001) establishes learnability results for the class of hyperplane mod­els under 0/1 loss. While not stated directly in terms of PAC learnability, it is clear that his results apply. Taskar et al. (2005) establish <i>tighter </i>bounds for the case of Hamming loss. This suggests that the re­quirement of 0/1 loss is weaker.</p><p>As suggested before, it is not sufficient for x to simply be <i>correct </i>(the constant 1 function is cor­rect, but not useful). We need it to be discriminating, made precise in the following definition. <b>Definition 4. </b><i>We say the </i>discrimination <i>of </i>x <i>for </i>h<footnote anchor="0"/><i>is </i>Prp[x(f1(x),h<footnote anchor="0"/>(x))]-1.</p><p>In other words, a constraint function is discrim­inating when it is unlikely that our weakly-useful predictor h<footnote anchor="0"/> chooses an output that satisfies the con­straint. This means that if we <i>do </i>find examples (in our unlabeled corpus) that satisfy the constraints, they are likely to be "useful" to learning.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">682</doubt><page local="4" global="683"/><p>Running Example</p><p>In the NER HMM, let h<footnote anchor="0"/> be the HMM obtained by training on the small labeled NER data set and f 1is the true syntactic labels. We approximate PrDby an empirical estimate over the unlabeled distri­bution. This gives a discrimination is 41.6 for the constraint function defined previously. However, if we compare against "weaker" constraint functions, we see the appropriate trend. The value for the con­straint based only on POS tags is 39.1 (worse) and for the NP constraint alone is 27.0 (much worse).</p><p><b>Theorem 1. </b><i>Suppose </i>C2 <i>is PAC-learnable with noise in the structured setting, </i>h<footnote anchor="0"/>2 <i>is a weakly use­ful predictor of</i>f2, <i>and </i>x <i>is correct with respect to </i>D, f1, f2, h°, <i>and has discrimination </i>&gt; 2(|Y| — 1). <i>Then </i>C2 <i>is also PAC-learnable with one-sided hints.</i></p><p>The way to interpret this theorem is that it tells us that if the initial h2 we learn in step 1 of the one­sided algorithm is "good enough" (in the sense that it is weakly-useful), then we can use it as specified by the remainder of the one-sided algorithm to obtain an arbitrarily good h2 (via iterating).</p><p>The dependence on |Y| is the discrimination bound for x is unpleasant for structured problems. If we wish to find M unlabeled examples that satisfy the hints, we'll need a total of at least 2M(|Y| — 1) total. This dependence can be improved as follows. Suppose that our structure is represented by a graph over vertices V, each of which can take a label from a set Y. Then, |Y| = \Yv \, and our result requires that x be discriminating on an order exponential in V. Under the assumption that x decomposes over the graph structure (true for our example) and that C2 is PAC-learnable with per-vertex noise, then the discrimination requirement drops to 2 | V| (|Y| — 1).</p><p>In NER, |Y| = 9 and |V| « 26. This means that the values from the previous example look not quite so bad. In the 0/1 loss case, they are com­pared to 10<footnote anchor="25"/>; in the Hamming case, they are com­pared to only 416. The ability of the one-sided al­gorithm follows the same trends as the discrimi­nation values. Recall the baseline performance is 50. 8. With both constraints (and a discrimination value of 41.6), we obtain a score of 58.9. With just the POS constraint (discrimination of 39.1), we ob­tain a score of 58.1. With just the NP constraint (discrimination of 27.0, we obtain a score of 54.5.</p><p>The final question is how one-sided learning re­lates to two-sided learning. The following definition and easy corollary shows that they are related in the obvious manner, but depends on a notion of uncor-relation between h1<footnote anchor="0"/> and h2<footnote anchor="0"/>.</p><p><b>Definition 5. </b><i>We say that </i>h1 <i>and </i>h2 <i>are </i>uncorrelated <i>if </i>PrD [h1(x) = y1 | h2(x) = y2,x] = Prp [h1(x) = y1 | x].</p><p><b>Corollary 1. </b><i>Suppose </i>C1 <i>and </i>C2 <i>are both PAC-learnable in the structured setting, </i>h<footnote anchor="0"/>1 <i>and </i>h2<footnote anchor="0"/> <i>are weakly useful predictors of </i>f1 <i>and </i>f2, <i>and </i>x <i>is correct with respect to </i>D, f1 , f2, h<footnote anchor="0"/>1 <i>and </i>h2<footnote anchor="0"/>, <i>and has discrimination </i>&gt; 4(|Y| — 1)<footnote anchor="2"/> <i>(for 0/1 loss) or </i>&gt; 4 | V|<footnote anchor="2"/> (| Y| — 1)<footnote anchor="2"/> <i>(for</i><i> Hamming loss), and that </i>h° <i>and </i>h2 <i>are uncorrelated. Then </i>C1 <i>and </i>C2 <i>are also PAC-learnable with two-sided hints.</i></p><p>Unfortunately, Corollary 1 depends <i>quadratically </i>on the discrimination term, unlike Theorem 1.</p></subsection></section><section number="4" title="Experiments"><p>In this section, we describe our experimental results. We have already discussed some of them in the con­text of the running example. In Section 4.1, we briefly describe the data sets we use. A full descrip­tion of the HMM implementation and its results are in Section 4.2. Finally, in Section 4.3, we present results based on a competitive, discriminatively-learned sequence labeling algorithm. All results for NER and chunking are in terms of F-score; all re­sults for POS tagging are accuracy.</p><subsection number="4.1" title="Data Sets"><p>Our results are based on syntactic data drawn from the Penn Treebank (Marcus et al., 1993), specifi­cally the portion used by CoNLL 2000 shared task (Tjong Kim Sang and Buchholz, 2000). Our NER data is from two sources. The first source is the CoNLL 2003 shared task date (Tjong Kim Sang and De Meulder, 2003) and the second source is the 2004 NIST Automatic Content Extraction (Weischedel, 2004). The ACE data constitute six separate data sets from six domains: weblogs (wl), newswire (nw), broadcast conversations (bc), United Nations (un), direct telephone speech (dts) and broadcast news (bn). Of these, bc, dts and bn are all speech data sets. All the examples from the previous sec­tions have been limited to the CoNLL data.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">683</doubt><page local="5" global="684"/></subsection><subsection number="4.2" title="HMM Results"><p>The experiments discussed in the preceding sections are based on a generative hidden Markov model for both the NER and syntactic chunking/POS tagging tasks. The HMMs constructed use first-order tran­sitions and emissions. The emission vocabulary is pruned so that any word that appears &lt; 1 time in the training data is replaced by a unique *unknown* token. The transition and emission probabilities are smoothed with Dirichlet smoothing, a = 0.001 (this was not-aggressively tuned by hand on one setting). The HMMs are implemented as finite state models in the Carmel toolkit (Graehl and Knight, 2002).</p><p>The various compatibility functions are also im­plemented as finite state models. We implement them as a transducer <i>from </i>POS/chunk labels <i>to </i>NER labels (though through the reverse operation, they can obviously be run in the opposite direction). The construction is with a single state with transitions:</p><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">•(NNP,?)maps toB-*andI-*</doubt><doubt alpha="60.9" length="23" tooSmall="False" monospace="0.0">•(?,B-NP)maps toB-*andO</doubt><doubt alpha="53.6" length="28" tooSmall="False" monospace="0.0">•(?,I-NP)maps toB-*, I-*andO</doubt><p>• Single exception: (NNP,x), where x is <i>not </i>anNP tag maps to anything (this is simply to avoid empty composition problems). This occurs in 100 of the 212k words in the Treebank data and more rarely in the automatically tagged data.</p></subsection><subsection number="4.3" title="One-sided Discriminative Learning"><p>In this section, we describe the results of one-sided discriminative labeling with hints. We use the true syntactic labels from the Penn Treebank to derive the constraints (this is roughly 9000 sentences). We use the LaSO sequence labeling software (Daume III and Marcu, 2005), with its built-in feature set.</p><p>Our goal is to analyze two things: (1) what is the effect of the amount of labeled NER data? (2) what is the effect of the amount of labeled syntactic data from which the hints are constructed?</p><p>To answer the first question, we keep the amount of syntactic data fixed (at 8936 sentences) and vary the amount of NER data in N G with and without the default gazetteer information from the LaSO software. We have the following models for comparison:</p><doubt alpha="31.2" length="48" tooSmall="False" monospace="0.0">{100 , 200, 400 , 800 , 1600}. We compare models</doubt><p>• A default "Baseline" in which we simply train the NER model without using syntax.</p><p>Table 1: Comparison between hints, self-training and the (best) baseline for varying amount of labeled data.</p><p>• In "POS-feature", we do the same thing, but we first label the NER data using a tagger/chunker trained on the 8936 syntactic sentences. These labels are used as features for the baseline.</p><p>• A "Self-training" setting where we use the 8936 syntactic sentences as "unlabeled," label them with our model, and then train on the results. (This is equivalent to a hints model where x(', ) = 1 is the constant 1 func­tion.) We use model confidence as in Blum and</p><doubt alpha="47.1" length="17" tooSmall="False" monospace="0.0">Mitchell (1998).4</doubt><p>The results are shown in Figure 1. The trends we see are the following:</p><p>• More data always helps.</p><p>• Self-training usually helps over the baseline</p><p>(though not always: for instance in wl and parts of cts and bn).</p><p>• Adding the gazetteers help.</p><p>• Adding the syntactic features helps.</p><p>• Learning with hints, especially for &lt; 1000</p><p>training data points, helps significantly, even over self-training.</p><p>We further compare the algorithms by looking at how many training setting has each as the winner. In particular, we compare both hints and self-training to the two baselines, and then compare hints to self-training. If results are not significant at the 95% level (according to McNemar's test), we call it a tie. The results are in Table 1.</p><p>In our second set of experiments, we consider the role of the syntactic data. For this experiment, we hold the number of NER labeled sentences constant (at N = 200) and vary the amount of syntactic data in M G {500,1000, 2000, 4000, 8936}. The results of these experiments are in Figure 2. The trends are:</p><p>• The POS feature is relatively insensitive to the amount of syntactic data—this is most likely because it's weight is discriminatively adjusted</p><footnote label="4">Results without confidence were significantly worse.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">684</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>Hints Self-T</b></p></td><td class="cell"><p><b>Hints</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>vs <b>Base   </b>vs <b>Base</b></p></td><td class="cell"><p>vs <b>Self-T</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Win</b></p></td><td class="cell"><p>29 20</p></td><td class="cell"><p>24</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Tie</b></p></td><td class="cell"><p>6 12</p></td><td class="cell"><p>11</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Lose</b></p></td><td class="cell"><p>0 3</p></td><td class="cell"><p>0</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="685"/><p>Figure 1: Results of varying the amount of NER labeled data, for a fixed amount (M = 8936) of syntactic data.</p><p>Table 2: Comparison between hints, self-training and the (best) baseline for varying amount of unlabeled data.</p><p>by LaSO so that if the syntactic information is bad, it is relatively ignored.</p><p>• Self-training performance often <i>degrades </i>as the amount of syntactic data increases.</p><p>• The performance of learning with hints in­creases steadily with more syntactic data.</p><p>As before, we compare performance between the different models, declaring a "tie" if the difference is not statistically significant at the 95% level. The results are in Table 2.</p><p>In experiments not reported here to save space, we experimented with several additional settings. In one, we weight the unlabeled data in various ways: (1) to make it equal-weight to the labeled data; (2) at 10% weight; (3) according to the score produced by the first round of labeling. None of these had a significant impact on scores; in a few cases perfor­mance went up by &lt;C 1, in a few cases, performance went down about the same amount.</p></subsection><subsection number="4.4" title="Two-sided Discriminative Learning"><p>In this section, we explore the use of two-sided discriminative learning to boost the performance of our syntactic chunking, part of speech tagging, and named-entity recognition software. We continue to use LaSO (Daume III and Marcu, 2005) as the se­quence labeling technique.</p><p>The results we present are based on attempting to improve the performance of a state-of-the-art system train on <i>all </i>of the training data. (This is in contrast to the results in Section 4.3, in which the effect of us­ing limited amounts of data was explored.) For the POS tagging and syntactic chunking, we being with all 8936 sentences of training data from CoNLL. For the named entity recognition, we limit our presenta­tion to results from the CoNLL 2003 NER shared task. For this data, we have roughly 14k sentences of training data, all of which are used. In both cases, we reserve 10% as development data. The develop­ment data is use to do early stopping in LaSO.</p><p>As unlabeled data, we use 1m sentences extracted from the North American National Corpus of En-<page local="7" global="686"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">685</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>Hints Self-T</b></p></td><td class="cell"><p><b>Hints</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>vs <b>Base   </b>vs <b>Base</b></p></td><td class="cell"><p>vs <b>Self-T</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Win</b></p></td><td class="cell"><p>34 28</p></td><td class="cell"><p>15</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Tie</b></p></td><td class="cell"><p>1 7</p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Lose</b></p></td><td class="cell"><p>0 0</p></td><td class="cell"><p>0</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><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">wl</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">conll</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">bc</doubt><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">0.65 0.6</doubt><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">0.55 0.5</doubt><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">0.45 0.4</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">0.35</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.7</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">0.6 0.5 0.4 0.3</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.2</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">5000</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">un</doubt><doubt alpha="7.7" length="13" tooSmall="False" monospace="0.0">10000 0 0.95r</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">cts</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">10000</doubt><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">0.75L</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.9</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.8</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.6</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.5</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.4</doubt><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">5000 bn</doubt><p>POS-feature Hints (no gaz) Baseline (no gaz) Hints (w/ gaz) Baseline (w/ gaz) Self-train (no gaz) Self-train (w/ gaz)</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">nw</doubt><p>Figure 2: Results of varying amount of syntactic data for a fixed amount of NER data (N = 200 sentences).</p><p>glish (previously used for self-training of parsers (McClosky et al., 2006)). These 1m sentences were selected by dev-set relativization against the union of the two development data sets.</p><p>Following similar ideas to those presented by Blum and Mitchell (1998), we employ two slight modifications to the algorithm presented in Sec­tion 3.2. First, in step (2b) instead of adding <i>all </i>allowable instances to the labeled data set, we only add the top R (for some hyper-parameter R), where "top" is determined by average model confidence for the two tasks. Second, Instead of using the <i>full </i>un-labeled set to label at each iteration, we begin with a random subset of 10R unlabeled examples and an­other add random 10R every iteration.</p><p>We use the same baseline systems as in one-sided learning: a Baseline that learns the two tasks inde­pendently; a variant of the Baseline on which the output of the POS/chunker is used as a feature for the NER; a variant based on self-training; the hints-based method. In all cases, we <i>do </i>use gazetteers. We run the hints-based model for 10 iterations. For self-training, we use 10R unlabeled examples (so that it had access to the same amount of unlabeled data as the hints-based learning after all 10 iterations). We used three values of R: 50, 100, 500. We select the best-performing model (by the dev data) over these ten iterations. The results are in Table 3.</p><p>As we can see, performance for syntactic chunk­ing is relatively stagnant: there are no significant improvements for any of the methods over the base­line. This is not surprising: the form of the con­straint function we use tells us a <i>lot </i>about the NER task, but relatively little about the syntactic chunking task. In particular, it tells us nothing about phrases other than NPs. On the other hand, for NER, we see that both self-training and learning with hints im­prove over the baseline. The improvements are not enormous, but <i>are </i>significant (at the 95% level, as measured by McNemar's test).<page local="8" global="687"/> Unfortunately, the improvements for learning with hints over the self-training model are only significant at the 90% level.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">686</doubt><table caption="Table 3: Results on two-sided learning with hints." 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>Chunking</b></p></td><td class="cell"><p><b>NER</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Baseline</b></p></td><td class="cell"><p>94.2</p></td><td class="cell"><p>87.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>w/POS</b></p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>88.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Self-train</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 50</p></td><td class="cell"><p>94.2</p></td><td class="cell"><p>88.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 100</p></td><td class="cell"><p>94.3</p></td><td class="cell"><p>88.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 500</p></td><td class="cell"><p>94.1</p></td><td class="cell"><p>88.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Hints</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 50</p></td><td class="cell"><p>94.2</p></td><td class="cell"><p>88.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 100</p></td><td class="cell"><p>94.3</p></td><td class="cell"><p>89.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R = 500</p></td><td class="cell"><p>94.3</p></td><td class="cell"><p>89.0</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></subsection></section><section number="5" title="Discussion"><p>We have presented a method for simultaneously learning two tasks using prior knowledge about the relationship between their outputs. This is related to <i>joint inference </i>(Daume III et al., 2006). How­ever, we do not require that that a single data set be labeled for multiple tasks. In all our examples, we use separate data sets for shallow parsing as for named-entity recognition. Although all our exper­iments used the LaSO framework for sequence la­beling, there is <i>noting </i>in our method that assumes any particular learner; alternatives include: condi­tional random fields (Lafferty et al., 2001), indepen­dent predictors (Punyakanok and Roth, 2001), max-margin Markov networks (Taskar et al., 2005), etc.</p><p>Our approach, both algorithmically and theoreti­cally, is most related to ideas in co-training (Blum and Mitchell, 1998). The key difference is that in co-training, one assumes that the two "views" are on the <i>inputs; </i>here, we can think of the two out­put spaces as being the difference "views" and the compatibility function x being a method for recon­ciling these two views. Like the pioneering work of Blum and Mitchell, the algorithm we employ in practice makes use of incrementally augmenting the unlabeled data and using model confidence. Also like that work, we do not currently have a theoret­ical framework for this (more complex) model.<footnote anchor="5"/> It would also be interesting to explore <i>soft </i>hints, where the range of x is [0,1] rather than {0,1}.</p><p>Recently, Ganchev et al. (2008) proposed a co-regularization framework for learning across multi­ple related tasks with different output spaces. Their approach hinges on a constrained EM framework and addresses a quite similar problem to that ad­dressed by this paper. Chang et al. (2008) also propose a "semisupervised" learning approach quite similar to our own model. The show very promis­ing results in the context of semantic role labeling.</p><footnote label="5">Dasgupta et al. (2001) proved, three years later, that a for­mal model roughly equivalent to the actual Blum and Mitchell algorithm does have solid theoretical foundations.</footnote><p>Given the apparent (very!) recent interest in this problem, it would be ideal to directly compare the different approaches.</p><p>In addition to an analysis of the theoretical prop­erties of the algorithm presented, the most com­pelling avenue for future work is to apply this frame­work to other task pairs. With a little thought, one can imagine formulating compatibility functions be­tween tasks like discourse parsing and summariza­tion (Marcu, 2000), parsing and word alignment, or summarization and information extraction.</p></section><section title="Acknowledgments"><p>Many thanks to three anonymous reviewers of this papers whose suggestions greatly improved the work and the presentation. This work was partially funded by NSF grant IIS 0712764.</p><p><b>A Proofs</b></p><p>The proof of Theorem 1 closes follows that of Blum and Mitchell (1998).</p><p><i>Proof(Theorem 1, sketch). </i>Use the following nota­tion: <i>ck </i>= Prp [h(x) = k], pi = Prp [f (x) = l], <i>q</i><i>i\k </i>= PrD[f (x) = l | h(x) = k]. Denote by A the set of outputs that satisfy the constraints. We are interested in the probability that h(x) is erroneous, given that h(x) satisfies the constraints:</p><doubt alpha="30.8" length="26" tooSmall="False" monospace="0.0">p (h(x)G A\{1}| f (x) = l)</doubt><doubt alpha="45.2" length="31" tooSmall="False" monospace="0.0">=53P(h(x)=k|f(x)=0=53Cfcq'lfc/p</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">keA\{i} keA\{i}</doubt><doubt alpha="33.3" length="36" tooSmall="False" monospace="0.0">&lt;Eck(|Y| —1 + e]T1/pi)&lt;2^cfc(|Y| —1)</doubt><p>fceA <i>i=k </i>fceA</p><p>Here, the second step is Bayes' rule plus definitions, the third step is by the weak initial hypothesis as­sumption, and the last step is by algebra. Thus, in order to get a probability of error at most n, we need <b>E</b>fc€A <i>c</i><i>k </i>= Pr[h(x) G A] &lt; n/(2(|Y| — 1)). □</p><p>The proof of Corollary 1 is straightforward.</p><p><i>Proof(Corollary 1, sketch). </i>Write out the probabil­ity of error as a double sum over true labels y1 , y2 and predicted labels y1, y2 subject to x(y1, y2). Use the uncorrelation assumption and Bayes' to split this into the product two terms as in the proof of Theo­rem 1. Bound as before. □<page local="9" global="688"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">687</doubt></section><references><p>Avrim Blum and Tom Mitchell. 1998. Combining la­beled and unlabeled data with co-training. In <i>Pro­ceedings of the Conference on Computational Learn­ing Theory (COLT), </i>pages 92-100. Ming-Wei Chang, Lev Ratinov, Nicholas Rizzolo, and Dan Roth. 2008. Learning and inference with con­straints. In <i>Proceedings ofthe National Conference on Artificial Intelligence (AAAI). </i>Michael Collins. 2001. Parameter estimation for statistical parsing models: Theory and practice of distribution-free methods. In <i>International Workshop on Parsing Technologies (IWPT). </i>Sanjoy Dasgupta, Michael Littman, and David McAllester. 2001. PAC generalization bounds for co-training. In <i>Advances in Neural Information Processing Systems (NIPS). </i>Hal Daume III and Daniel Marcu. 2005. Learning as search optimization: Approximate large margin meth­ods for structured prediction. In <i>Proceedings ofthe In­ternational Conference on Machine Learning (ICML). </i>Hal Daume III, Andrew McCallum, Ryan McDonald, Fernando Pereira, and Charles Sutton, editors. 2006. <i>Workshop on Computationally Hard Problems and Joint Inference in Speech and Language Process­ing. </i>Proceedings of the Conference of the North American Chapter of the Association for Computa­tional Linguistics and Human Language Technology (NAACL/HLT).</p><p>Kuzman Ganchev, Joao Graca, John Blitzer, and Ben Taskar. 2008. Multi-view learning over structured and non-identical outputs. In <i>Proceedings ofthe Conver-ence on Uncertainty in Artificial Intelligence (UAI). </i>Jonathan Graehl and Kevin Knight. 2002. Carmel fi­nite state transducer package. http://www.isi. edu/licensed-sw/carmel/. John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional random fields: Probabilistic mod­els for segmenting and labeling sequence data. In <i>Pro­ceedings ofthe International Conference on Machine Learning (ICML). </i>Daniel Marcu. 2000. <i>The Theory and Practice ofDis-course Parsing and Summarization. </i>The MIT Press, Cambridge, Massachusetts. Mitch Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. 1993. Building a large annotated corpus of English: The Penn Treebank. <i>Computational Linguis­tics, </i>19(2):313-330. David McClosky, Eugene Charniak, and Mark Johnson. 2006. Effective self-training for parsing. In <i>Proceed­ings ofthe Conference ofthe North American Chapter ofthe Association for Computational Linguistics and Human Language Technology (NAACL/HLT).</i></p><p>Vasin Punyakanok and Dan Roth. 2001. The use of clas­sifiers in sequential inference. In <i>Advances in Neural Information Processing Systems (NIPS).</i></p><p>Lance A. Ramshaw and Mitchell P. Marcus. 1995. Text chunking using transformation-based learning. In <i>Pro­ceedings ofthe Third ACL Workshop on Very Large Corpora.</i></p><p>Ben Taskar, Vassil Chatalbashev, Daphne Koller, and Carlos Guestrin. 2005. Learning structured predic­tion models: A large margin approach. In <i>Proceedings ofthe International Conference on Machine Learning</i> <i>(ICML), </i>pages 897-904.</p><p>Erik F. Tjong Kim Sang and Sabine Buchholz. 2000. Introduction to the CoNLL-2000 shared task: Chunk­ing. In <i>Proceedings ofthe Conference on Natural Lan­guage Learning (CoNLL).</i></p><p>Erik F. Tjong Kim Sang and Fien De Meulder. 2003. In­troduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In <i>Proceedings ofConference on Computational Natural Language Learning, </i>pages 142-147.</p><p>Nicola Ueffing. 2006. Self-training for machine trans­lation. In <i>NIPS workshop on Machine Learning for Multilingual Information Access.</i></p><p>Leslie G. Valiant. 1994. A theory of the learnable. <i>An­nual ACM Symposium on Theory ofComputing, </i>pages 436-445.</p><p>Ralph Weischedel, editor. 2004. <i>Automatic Content Ex­traction Workshop (ACE-2004), </i>Alexandria, Virginia, September 20-22.</p><p>David Yarowsky. 1995. Unsupervised word sense dis­ambiguation rivaling supervised methods. In <i>Proceed­ings ofthe Conference ofthe Association for Compu­tational Linguistics (ACL).</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">688</doubt></references></body></article>