<?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="1289"/><title>On the Use of Virtual Evidence in Conditional Random Fields</title><author surname="Li" givenname="Xiao"><org  name="Microsoft Research" country="USA" city="Redmond"/></author></firstpageheader><frontmatter><p><b>On the Use of Virtual Evidence in Conditional Random Fields</b></p><p><b>Xiao Li</b></p><p>Microsoft Research One Microsoft Way Redmond, WA 98052 USA xiaol@microsoft.com</p></frontmatter><abstract><i>Virtual evidence </i>(VE), first introduced by (Pearl, 1988), provides a convenient way of incorporating prior knowledge into Bayesian networks. This work general­izes the use of VE to undirected graph­ical models and, in particular, to condi­tional random fields (CRFs). We show that VE can be naturally encoded into a CRF model as potential functions. More importantly, we propose a novel semi-supervised machine learning objective for estimating a CRF model integrated with VE. The objective can be optimized us­ing the Expectation-Maximization algo­rithm while maintaining the discriminative nature of CRFs. When evaluated on the <i>CLASSIFIEDS </i>data, our approach signif­icantly outperforms the best known solu­tions reported on this task. </abstract></header><body><section number="1" title="Introduction"><p>Statistical approaches to sequential labeling prob­lems rely on necessary training data to model the uncertainty of a sequence of events. Human's prior knowledge about the task, on the other hand, often requires minimum cognitive load to spec­ify, and yet can provide information often com­plementary to that offered by a limited amount of training data. Whenever prior knowledge becomes available, it is desired that such information is in­tegrated to a probabilistic model to improve learn­ing.</p><p><i>Virtual evidence </i>(VE), first introduced by Pearl (1988), offers a principled and convenient way of incorporating external knowledge into Bayesian networks. In contrast to <i>standard evidence </i>(also known as observed variables), VE expresses a prior belief over values of random variables. It has been shown that VE can significantly extend the modeling power of Bayesian networks without complicating the fundamental inference method­ology (Bilmes, 2004; Reynolds and Bilmes, 2005).</p><p>This work extends the use of VE to undi­rected graphical models and, in particular, to con­ditional random fields (CRFs). We show that VE can be naturally encoded into an undirected graphical model as potential functions. More im­portantly, we discuss a semi-supervised machine learning setting for estimating CRFs with the pres­ence of VE. As the conditional likelihood objec­tive of CRFs is not directly maximizable with re­spect to unlabeled data, we propose a novel semi-supervised learning objective that can be opti­mized using the Expectation-Maximization (EM) algorithm while maintaining the discriminative nature of CRFs.</p><p>We apply our model to the CLASSIFIEDS data (Grenager et al., 2005). Specifically, we use VE to incorporate into a CRF model two types of prior knowledge specified in previous works. The first is defined based on the notion of <i>prototypes, i.e., </i>example words for a given label; and the other as­sumes that adjacent tokens tend to have the same label. When unlabeled data becomes available, we further extend the sparse prototype informa­tion to other words based on distributional similar­ity. This results in so-called <i>collocation lists, </i>each consisting of a relatively large number of noisy "prototypes" for a label. Given the fact that these noisy prototypes are often located close to each other in an input sequence, we create a new type of VE based on word collocation to reduce ambi­guity.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1289</doubt><p><i>Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, </i>pages 1289-1297, Singapore, 6-7 August 2009. ©2009 ACL and AFNLP<page local="2" global="1290"/></p><p>We compare our CRF model integrated with VE with two state-of-the-art models, <i>i.e., </i>constraint-driven learning (Chang et al., 2007) and gener­alized expectation criteria (Mann and McCallum, 2008). Experiments show that our approach leads to sequential labeling accuracies superior to the best results reported on this task in both supervised and semi-supervised learning.</p></section><section number="2" title="Related work"><p>There have been various works that make use of prior knowledge in sequential labeling tasks. Grenager et al. (2005) explicitly constrain the transition matrix of a hidden Markov model (HMM) to favor self transitions, assuming that fields tend to consist of consecutive runs of the same label.</p><p><i>Prototype-drive learning </i>(Haghighi and Klein, 2006) specifies prior knowledge by providing a few <i>prototypes (i.e., </i>canonical example words) for each label. This sparse prototype information is then propagated to other words based on distri­butional similarity. The relation between words and their prototypes are then used as features in a Markov random field (MRF) model. Since an MRF model aims to optimize the joint probability p<b>(x, y) </b>of input and state sequences, it is possible to apply the EM algorithm for unsupervised/semi-supervised learning.</p><p><i>Constraint-driven learning </i>(Chang et al., 2007) expresses several kinds of constraints in a unified form. In inference, a new decision function is pro­posed to penalize the violation of the desired con­straints as follows,</p><doubt alpha="52.6" length="38" tooSmall="False" monospace="0.0">argmax A •F(x, y) -Pkd(y,lc\(x))(1)yfc</doubt><p>Here A • <b>F(x, y) </b>is a linear decision function ap­plicable to a number of sequential models, such as HMMs, MRFs and CRFs. Function <i>d </i>is imple­mented as the Hamming distance (or its approx­imation) between a hypothesis sequence and the space of state sequences that satisfy the constraint <i>Ci. </i>Due to the nature of the distance function, their work approximates EM training by finding the top <i>K </i>hypothesis sequences and using them as newly labeled instances to update the model. This process is repeated for a number of iterations in a self-training fashion (Yarowsky, 1995).</p><p><i>Generalized expectation criteria </i>(Mann and McCallum, 2008) represent prior knowledge as <i>la-</i> <i>beled features, </i>and use such information to reg­ularize semi-supervised learning for CRFs. For­mally, their learning objective consists of the stan­dard CRF training objective, plus a Gaussian prior on model parameters and an additional regulariza-tion term:<footnote anchor="1"/></p><doubt alpha="35.1" length="37" tooSmall="False" monospace="0.0">^logpA(y«|x«)--^||A||2-pi5(p||pA) (2)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><p>In the last term, <i>p </i>and <i>p\ </i>both refer to conditional distributions of labels given a feature. While the former is specified by prior knowledge, and the latter is estimated from unlabeled data.</p><p>Our approach incorporates prior knowledge as virtual evidence to express preferences over the values of a set of random variables. The no­tion of VE was first introduced by Pearl (1998) and further developed by Bilmes (2004), both in the context of Bayesian networks. Different from constraint-driven learning, VE can be formally en­coded as part of a graphical model. The funda­mental inference methodology, therefore, does not need to be altered. Moreover, VE has the flexibil­ity of representing various kinds of prior knowl­edge. For example, Reynolds and Bilmes (2005) use VE that explicitly favors self transitions in dy­namic Bayesian networks.</p><p>This work extends the use of VE to CRFs. In essence, VE herein can be viewed as probabilistic constraints in an undirected graph that allow exact inference. One of the biggest challenges of such a model lies in the semi-supervised machine learn­ing setting. Since the entire state sequence of an unlabeled instance remains hidden, the conditional likelihood objective of CRFs is not directly opti-mizable. There have been a number of works that address this problem for conditional models. For example, <i>minimum entropy regularization </i>(Grand-valet and Bengio, 2004; Jiao et al, 2006), aims to maximize the conditional likelihood of labeled data while minimizing the conditional entropy of unlabeled data:</p><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">^logpA(y«|x«)-^||A||2-Pjff(y|x)(3)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><p>This approach generally would result in "sharper" models which can be data-sensitive in practice.</p><p>Another approach (Suzuki and Isozaki, 2008) embeds a joint probability model (HMM in their</p><p>'We slightly modify the notation here to be consistent with the rest of the paper.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1290</doubt><page local="3" global="1291"/><p>case) into a CRF model as a new potential func­tion. Semi-supervised learning is then conducted by iteratively (1) fixing the HMM and updating CRF parameters on labeled data and (2) fixing the CRF model and updating the HMM on unlabeled data.</p><p>Additionally, when unlabeled instances have partial labeling information, it is possible to op­timize a marginal distribution of the conditional likelihood, <i>i.e., </i><i>p\(yo^\x),</i><i> </i>on unlabeled data. Here Vo is a subvector of <b>y W </b>that denotes the set of observed state variables. The optimization can be done in a similar fashion as training a hidden-state CRF model (Quattoni et al, 2007).</p><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">3 Task</doubt><p>We consider the problem of extracting fields from free-text advertisements. We use the CLASSI­FIEDS data (Grenager et al., 2005) which consists of 8767 ads for apartment rental. 302 of the ads in the CLASSIFIEDS data have been manually-labeled with 12 fields, including <i>size, rent, neigh­borhood </i>and so on. The labeled data has been di­vided into train/dev/test sets with 102/100/100 ads respectively. The evaluation metric is the token-level accuracy where tokens include both words and punctuations.</p><p>Our goal in this work is two folds: (1) lever­age both the training data and the prior knowledge specified for this task for supervised learning, and (2) additionally use the unlabeled data for semi-supervised learning. We exploit two types of prior knowledge:</p><p>• Kl: <i>label consistency with prototypes;</i></p><p>• K2: <i>label consistency within a sentence.</i></p><p>Kl involves a set of prototype lists. Each list is attached with a label and consists of a set of ex­ample words for that label. In this work, we use the prototype lists originally defined by Haghighi and Klein (2006) (HK06) and subsequently used by Chang et al. (2005) (CRR07) and Mann and McCallum (2008) (MM08). The labels as well as their prototypes are shown in the first two columns of Table 1. Our model is desired to be consistent with such prototype information. Secondly, K2 means that tokens tend to have consistent labels within a sentence. A similar type of prior knowl­edge is implemented by CRR07 as a constraint in inference.</p></section><section number="4" title="Conditional Random Fields"><p>Conditional random fields are a probabilistic model that directly optimizes the conditional prob­ability of a state (label) sequence given an input sequence (Lafferty et al, 2001). Formally, we let <b>x = </b><i>(x\,</i><i> </i><i>X2,</i><i> </i><i>■ ■ ■, xt) </i>denote an input sequence of <i>T </i>tokens, and <b>y = </b><i>(yi,</i><i> </i><i>y2,</i><i> </i><i>■</i><i> </i><i>■ ■, V</i><i>t)</i><i> </i>the cor­responding state sequence. We further augment <b>y </b>with two special states, <i>Start </i>and <i>End,<footnote anchor="2"/> </i>repre­sented by <i>yo </i>and <i>yx+i </i>respectively. A linear-chain CRF model is an undirected graphical model as depicted in Figure 1(a), with the conditional prob­ability given by</p><doubt alpha="50.0" length="36" tooSmall="False" monospace="0.0">PA(y|x) = —^Yl^xfayt-uvt)(4)zA(x) Y-</doubt><p>The partition function <b>ZA(x) </b>normalizes the expo­nential form to be a probability distribution, <i>ip^ </i>are a set of potential functions defined on the <i>max­imum cliques </i>of the graph, <i>i.e., </i><b>(x, </b><i>yt-\,yt)</i><i> </i>in the case of a linear-chain CRF model. The potential functions are typically in the form of where A is a weight vector and / is a feature vector of arbitrary functions of the corresponding clique.</p><doubt alpha="58.3" length="36" tooSmall="False" monospace="0.0">tp\\x;Vt-i,Vt)=exp^A•f(x,yt-i,yt,t)j</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt><p>Given a set of labeled examples <b>{x^jW)}™!, </b>we can estimate model pa­rameters in a supervised machine learning setting. The objective is to estimate A that maximizes the conditional likelihood while regularizing the model size:</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">m</doubt><doubt alpha="35.7" length="28" tooSmall="False" monospace="0.0">£1=1£logPx(yV\x.V)--^\\\f(6)</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">i=l</doubt><p>In this work, we optimize <i>C\ </i>using stochastic gra­dient descent and use the accuracy on the develop­ment set as the stopping criterion.</p></section><section number="5" title="CRFs with Virtual Evidence"><p>A canonical way of using virtual evidence (VE) in Bayesian networks is to have a directed edge from a hidden variable <i>h </i>to a VE variable <i>v.</i><i> </i>The variable <i>v</i><i> </i>will always be observed with a partic­ular value, <i>e.g., </i><i>v</i><i> </i><i>=</i><i> </i>1, but the actual value itself does not matter. The prior knowledge about <i>h </i>is<page local="4" global="1292"/></p><footnote label="2">Start and End are with regard to a document, which are different from start and end of a sentence.</footnote><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1291</doubt><p><i>Start        </i><i>yi yi yr </i><i>End</i></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">x</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(b)</doubt><p>Figure 1 : Graphical model representations of (a) a CRF model and (b) a CRF model integrated with virtual evidence. Solid and empty nodes denote observed and hidden variables respectively.</p><p>expressed via the conditional probability <i>p(v</i><i> </i><i>=</i><i> </i><i>l\h).</i><i> </i>For example, by setting <i>p(v</i><i> </i><i>=</i><i> </i><i>l\h</i><i> </i><i>=</i><i> </i><i>a)</i><i> </i><i>&gt;</i><i> </i><i>p(v</i><i> </i><i>=</i><i> </i><i>l\h</i><i> </i><i>=</i><i> </i><i>b),</i><i> </i>we know that <i>h</i><i> </i><i>=</i><i> </i><i>a</i><i> </i>is more likely a event than <i>h = b. </i>This conditional distri­bution is not learned from data, Instead, it is pre­defined in such a way that reflects a prior belief over the value of <i>h.</i></p><p>VE can be encoded in an undirected graphical model in a similar fashion. For our task, we mod­ify the structure of a linear-chain CRF model as depicted in Figure 1(b) — we create a sequence of VE variables, denoted by <i>v\,</i><i> </i><i>v2,</i><i> </i><i>■</i><i> </i><i>■ ■, vt+i, </i>in parallel to the state variables. Each <i>vt </i>is assigned a constant 1 (one), and is connected with <i>yt-\ </i>and <i>yt,</i><i> </i>forming a new set of maximum cliques <i>(yt-i,yt,</i><i> </i><i>vt),</i><i> </i><i>t</i><i> </i><i>=</i><i> </i><i>I,...,</i><i> </i><i>T</i><i> </i>+ 1. We create cliques of size 3 because it is the minimum size required to represent the prior knowledge used in our task, as will be discussed shortly. However, it is possible to have a different graph structure to incorporate other types of prior knowledge, <i>e.g., </i>using large cliques to represent constraints that involve more variables.</p><p>Next, in analogy to Equation (5), we define the corresponding potential functions as follows, s is a vector of VE feature functions and <i>uj </i>is the corresponding weight vector with pre-defined val­ues. Given the new graphical model in Figure 1(b). It is natural to model the conditional probability of the state sequence given <i>both </i>the standard evi­dence and the VE as follows,</p><doubt alpha="56.1" length="41" tooSmall="False" monospace="0.0">&lt;t&gt;{t\yt-i,yt,vt) =exp(u•s(yt-i,yt,vt,t)j</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">pA(y|x,v)</doubt><doubt alpha="51.3" length="39" tooSmall="False" monospace="0.0">= TT7—rTT)(x&gt;yt-i,yt)(f)(t)(yt-i,vt,vt)</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">^a(x,v)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>Analogous to using <i>p(v</i><i> </i><i>=</i><i> </i><i>l\h)'m</i><i> </i>Bayesian net­works, we can utilize <i>(p^</i><i>(yt-\,yt,</i><i> </i>v = 1) to ex­press preferences over state hypotheses in a CRF model. In general, the function form of <i>(f&gt;^ </i>may or may not depend on the input x. Even when does depend on x, the relation is completely deter­mined by external knowledge/systems (as opposed to by data). Thus we do not explicitly connect v with x in the graph.</p><subsection number="5.1" title="Incorporating prior knowledge"><p>Now we show how to represent the prior knowl­edge introduced in Section 3 using the VE fea­ture functions. Unless otherwise stated, we as­sume <i>Vt</i><i> </i>= 1 for all i = 1,..., <i>T</i><i> </i>and simply use <i>Vt</i><i> </i>instead of <i>vt = </i>1 in all equations. First, we define a VE function <i>s\ </i>that represents Kl: <i>label consistency with prototypes. </i>We let <i>Pi</i><i> </i>denote a prototype list associated with the label <i>I.</i><i> </i>If <i>xt </i>be­longs to <i>Pi, </i>we should prefer <i>yt = I </i>as opposed to other values. To this end, for cases where <i>xt £ Pi, </i>we set <i>s i </i>as</p><p>On the other hand, if <i>Xt </i>is not a prototype, we will always have <i>s\(yt,vt,t)</i><i> </i><i>=</i><i> </i>0 for all hypotheses of <i>yt.</i><i> </i>The impact of this prior knowledge is con­trolled by the weight of <i>s\, </i>denote by <i>uo\. </i>At one extreme where <i>uo\ = </i>0, the prior knowledge is completely ignored in training. At the other ex­treme where <i>uo\ </i>—&gt; +oo, we constrain the values of state variables to agree with the prior knowl­edge. Note that although <i>s\ </i>is implicitly related to x, we do not write <i>S\ </i>as a function of x for consis­tency with the general definition of VE.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1292</doubt><page local="5" global="1293"/><p>To represent K2: <i>label consistency within a sen­tence, </i>we define a second VE feature function <i>s2</i><i></i>with weight <i>uo2. </i>Assume that we have an exter­nal system that detects sentence boundaries. If it is determined that <i>xt </i>is <i>not </i>the start of a sentence, we set <i>s2 </i>as</p><doubt alpha="5.6" length="18" tooSmall="False" monospace="0.0">*&lt;»".».*.«&gt;={i(10)</doubt><p>It is easy to see that this would penalize state tran­sitions within a sentence. On the other hand, if a;* is a sentence start, we set <i>s2(yt-i,</i><i> </i><i>yt,</i><i> </i><i>vt,</i><i> </i><i>t)</i><i> </i>= 0 for all possible <i>(yt-i,yt)</i><i> </i>pairs. In this work, we use a simple heuristics to detect sentence boundaries: we determine that <i>xt </i>is the start of a sentence if its previous token <i>xt-\ </i>is a period (.), a semi-colon (;) or an acclamation mark (!), <i>and </i>if <i>xt </i>is not a punctuation.</p></subsection><subsection number="5.2" title="Semi-supervised learning"><p>When a large amount of unlabeled data is avail­able, it is often helpful to leverage such data to improve learning. However, we cannot di­rectly optimize p<b>(y|x, v) </b>since the correct state sequences of the unlabeled data are hidden. One heuristic approach is to adapt the <i>self-training </i>al­gorithm (Yarowsky, 1995) to our model. More specifically, for each input in the unlabeled dataset |x(t) <i>}^=m+1, </i>we decode the best state sequence,</p><doubt alpha="50.0" length="24" tooSmall="False" monospace="0.0">yW=argmaxp(y«|x«,v«)(11)</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">yW</doubt><p>Then we use {<b>(xW, yw ) </b><i>}'i=m+l </i>in addition to the labeled data to train a supervised CRF model. This approach, however, does not have a theoretical guarantee on optimality unless certain nontrivial conditions are satisfied (Abney, 2004).</p><p>On the other hand, it is well known that unla­beled data can be naturally incorporated using a generative approach that models a joint probabil­ity (Nigam et al., 2000). This is achieved by max­imizing a marginal distribution of the joint proba­bility over hidden variables. Inspired by the gen­erative approach, we propose to explicitly model p<b>(y,v|x). </b>In contrast to Equation (8), here we jointly model <b>y </b>and <b>v </b>but the probability is still conditioned on <b>x. </b>This "joint" distribution should be chosen such that it results in the same condi­tional distribution p<b>(y|x, v) </b>as defined in Equa-</p><doubt alpha="62.8" length="43" tooSmall="False" monospace="0.0">tion (8). To this end, we definep\(y,v|x)as</doubt><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">p\(y,vlx)</doubt><doubt alpha="52.6" length="38" tooSmall="False" monospace="0.0">=~ziT\Il)(x&gt;yt-i,yt)(f)(t)(yt-i,vt,vt)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(12)</doubt><p>Here <i>Z'x{x) </i>is a normalization function obtained by summing the numerator over both <b>y </b>and <b>v. </b>By applying the Bayes rule, it is easy to see that <i>p(y</i><i> </i><b>|x, v) </b>is exactly equal to Equation (8).</p><p>Given unlabeled data <b>{xW}"=m+1, </b>we aim to optimize the following objective,<footnote anchor="3"/></p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">m+ra</doubt><doubt alpha="32.1" length="28" tooSmall="False" monospace="0.0">C2=^logpA(v«|x«)-^||A||2(13)</doubt><p>This is essentially the marginal distribution of p<b>(y,v|x) </b>over hidden variables <b>y. </b>Here we ig­nore the labels of the dataset <b>{(xW, y(i))}™ </b><i>x, </i>but we do use the label information in initializing the model which will described in Section 6. To op­timize such an objective, we apply the EM algo­rithm in the same fashion as is used in a generative approach. In other words, we iteratively optimize <i>Q(x) = </i>EyPAf<b>(y|x,v</b>)logp<b>A(y,v|x) </b>where Aadenotes the model estimated from the previous it­eration. The gradient of the <i>Q </i>function is straight­forward to compute with the result given by</p><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">^§^-=Yl£fk(Vt-i,Vt,x,t)-</doubt><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">kt   yt-uyt(14)</doubt><doubt alpha="50.0" length="30" tooSmall="False" monospace="0.0">(p\(yt-i,yt\*,v)-px(yt-i,yt\^j</doubt><p>We keep two sets of accumulators in running the Forward-Backward algorithm, one for comput­ing <i>p\(yt-i,yt\x,</i><i> </i><b>v) </b>and the other for computing <i>Px(yt-i,yt\x).</i><i> </i>Loosely speaking, the model will converge to a local optimum if the difference be­tween these two posterior probabilities becomes trivial.</p></subsection><subsection number="5.3" title="Collocation based virtual evidence"><p>Prior knowledge represented by prototypes is typ­ically sparse. This sparse information, however, can be propagated across all data based on dis­tributional similarity (Haghighi and Klein, 2006). Following the same idea, we extend the prototype lists as follows. (1) We merge all prototypes in <i>Pi</i><i> </i>into a single word type <i>wi. </i>(2) For each word<page local="6" global="1294"/></p><footnote label="3">In Equation (13), the fact that v is assigned a constant 1 does not mean p(y = 1 |x) = 1 (Bilmes, 2004)</footnote><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1293</doubt><p>Table 1: Field labels (except <i>other) </i>for the CLASSIFIEDS task, their respective prototype lists specified by prior knowledge, and collocation lists mined from unlabeled data.</p><p>in the corpus, we collect a context vector of the counts of all words (excluding stop words) that occur within a window of size <i>k </i>in either direc­tion, where the window is applied only within sen­tence boundaries. (3) Latent semantic analysis (Deerwester et al., 1990) is performed on the con­structed context vectors. (4) In the resulting latent semantic space, all words (except stop words) that have a high enough dot product with <i>wi </i>will be grouped to form a new set, denoted as <i>Ci, </i>which is a superset of <i>Pi. </i>In this regard, <i>Ci </i>can be viewed as lists of noisy "prototypes". As observed in HK06, another consequence of this method is that many neighboring tokens will share the same pro­totypes.</p><p>Differently from previous works, we use <i>Ci </i>directly as virtual evidence. We could apply <i>s i </i>in Equation (9) when <i>xt </i>G <i>Ci </i>(as opposed to when <i>xt </i>G <i>Pi). </i>This, however, would con­taminate our model since <i>Ci </i>are often noisy. For example, "water" is found to be distribu-tionally similar to the prototypes of <i>utilities. </i>Although in most cases "water" indeed means <i>utilities, </i>it can mean <i>features </i>in the context of "water front view". To maximally reduce ambiguity, we propose to apply <i>S\ </i>in Equa­tion (9) if <i>both </i>of the following conditions hold,</p><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">(1)xteCi</doubt><p>(2) There exists r s.t. |r — <i>t\ &lt; </i><i>k,</i><i> </i>and <i>xT </i>G <i>Ci </i>In other words, we will impose a non-uniform prior on <i>yt </i>if <i>xt </i>G <i>Ci </i>"collocates", within <i>k </i>tokens, with another word that belongs to Cj. Based on K2, it is reasonable to believe that neighboring tokens tend to share the same label. Therefore, knowing that two tokens close to each other both belong to <i>Ci </i>would strengthen our belief that either word is likely to have label <i>I.</i><i></i><i> </i>We thus refer to this type of virtual evidence as <i>collocation-based VE, </i>and refer to <i>Ci </i>as <i>collocation lists.</i></p></subsection></section><section number="6" title="Evaluation"><p>We use the CLASSIFIEDS data provided by Grenager et al. (2005) and compare with re­sults reported by CRR07 (Chang et al, 2007) and MM08 (Mann and McCallum, 2008) for both su­pervised and semi-supervised learning. Following all previous works conducted on this task, we to-kenized both words and punctuations, and created a number of regular expression tokens for phone numbers, email addresses, URLs, dates, money amounts and so on. However, we did not tokenize newline breaks, as CRR07 did, which might be useful in determining sentence boundaries. Based on such tokenization, we extract n-grams, <i>n = </i>1,2,3, from the corpus as features for CRFs.</p><p>As described in Section 3, we integrate the prior knowledge Kl and K2 in our CRF model. The prototypes that represent K1 are given in Table 1. CRR07 used the same two kinds of prior knowl­edge in the form of constraints, and they imple­mented another constraint on the minimum num­ber of words in a field chunk. MM08 used almost the same set of prototypes as labeled features, but they exploited two sets of 33 additional features for some experiments. In this regard, the compar­ison between CRR07, MM08 and the method pre­sented here cannot be exact. However, we show that while our prior knowledge is no more than that used in previous works, our approach is able<page local="7" global="1295"/></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1294</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><b>Label</b></p></td><td class="cell"><p><b>Prototype lists of HK06</b></p></td><td class="cell"><p><b>Collocation lists (top examples)</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ADDRESS</p></td><td class="cell"><p>address carlmont</p></td><td class="cell"><p>[4-digit] street [3-digit] streets</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>AVAILABLE</p></td><td class="cell"><p>immediately begin cheaper</p></td><td class="cell"><p>available</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CONTACT</p></td><td class="cell"><p>[phone] call [time]</p></td><td class="cell"><p>[email] appointment email see today ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>FEATURES</p></td><td class="cell"><p>kitchen laundry parking</p></td><td class="cell"><p>room new covered building garage ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NEIGHBORHOOD</p></td><td class="cell"><p>close near shopping</p></td><td class="cell"><p>transportation center located restaurants ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PHOTOS</p></td><td class="cell"><p>pictures image link</p></td><td class="cell"><p>[url] click view photos</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>RENT</p></td><td class="cell"><p>$ month [amount]</p></td><td class="cell"><p>lease deposit security year agreement...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>RESTRICTIONS</p></td><td class="cell"><p>pets smoking dog</p></td><td class="cell"><p>ok sorry please allowed negotiable ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ROOMMATES</p></td><td class="cell"><p>roommate respectful drama</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SIZE</p></td><td class="cell"><p>[1-digit] br sq</p></td><td class="cell"><p>[4-digit] [3-digit] ft bath ba ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UTILITIES</p></td><td class="cell"><p>utilities pays electricity</p></td><td class="cell"><p>water included owner garbage paid</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>Table 2: Token-level accuracy of supervised learn­ing methods; "+ VE" refers to the cases where both kinds of prior knowledge, Kl and K2, are in­corporated as VE in the CRF model.</p><p>to achieve the state-of-art performance.</p><subsection number="6.1" title="Decoding settings"><p>Depending on whether VE is used at test time, we explore two decoding settings in all experiments:</p><p>1. Find <b>y </b>that maximizes <i>p\ </i><b>(y | x) </b>as in standard CRF decoding, ignoring virtual evidence.</p><p>2. Find <b>y </b>that maximizes <i>p(y</i><i> </i><b>|x, v). </b>We use "+ VE in decoding" to represent this setting.</p><p>These two scenarios are analogous to those in CRR07 which conducted HMM decoding with­out/with constraints applied. We use "+ constr. in decoding" to represent the latter scenario of their work. MM08, on the other hand, found no accu­racy improvement when adding constraints at test time.</p><p>Note that in our second decoding setting, the weights for the VE feature functions, <i>i.e., uo\ </i>and <i>üü2, </i>are tuned on the development set. This is done by a greedy search that first finds the best <i>uo\, </i>and then finds the best <b>W2 </b>while fixing the value of <i>uo\, </i>both with a step size 0.5.</p></subsection><subsection number="6.2" title="Supervised learning results"><p>First, we experimented with a standard CRF model with VE applied neither in training nor in decoding. As shown in Table 2, our CRF imple­mentation performed slightly worse than the im­plementation by MM08, probably due to slight difference in tokenization. Secondly, we used the same CRF model but additionally applied VE in decoding, corresponding to the second setting in Section 6.1. This method gave a significant boost to the tagging performance, yielding the best su­pervised learning results (shown as bolded in the</p><p>Table 3 : Token-level accuracy of semi-supervised learning methods. "+ Col-VE" refers to cases where collocation-based VE is integrated in the CRF model in addition to the VE representing K1 and K2.</p><p>table). This proves that the prior knowledge is in­deed complementary to the information offered by the training data.</p><p>Similar to the second decoding setting that in­corporates VE, we can have a counterpart setting at training time. In other words, we can optimize <i>p\(y\x., </i><b>v) </b>instead <i>oîp\(y\x)</i><i> </i>during learning. In deciding <i>uj = </i>(wi<b>,W2), </b>it is possible to learn <i>uj </i>from data in the same way as how we learn A. This, however, might undermine the role of other useful features since we do not always have suffi­cient training data to reliably estimate the weight of prior knowledge. As shown in Table 2, we ex­perimented with learning <i>uj </i>automatically (shown as "auto weights"). While applying VE with such weights in both training and decoding worked rea­sonably well, applying VE only in training but not in decoding yielded very poor performance (prob­ably due to excessively large estimates of <i>uo\ </i>and <i>LO2). </i>Additionally, we repeated the above experi­ment with manually specified weights, but did not find further accuracy improvement over the best supervised learning results.</p></subsection><subsection number="6.3" title="Semi-supervised learning results"><p>One natural way of leveraging the unlabeled data (more than 8K examples) is to perform semi-supervised learning in a self-training fashion. To this end, we used our best supervised model in Ta­ble 2 to decode the unlabeled examples as well as the test-set examples (by treating them as un­labeled). Note that by doing this our comparison with CRR07 and MM08 cannot be exact as they sampled the unlabeled examples, with different rates, for semi-supervised learning, while we used as much data as possible.<page local="8" global="1296"/> We applied the same <i>uj </i>that was used for the supervised model, and then combined the newly labeled examples, in addition to the manually labeled ones, as training data to learn a supervised CRF model. On this particu­lar dataset, we did not find it helpful by selecting automatically labeled data based on a confidence threshold. We simply used all data available in self-training. This paradigm is referred to as "CRF + VE (self-train)" in Table 3. When no VE is ap­plied at test time, this semi-supervised CRF model significantly outperformed the best model in Ta­ble 2. When applying VE at test time, however, the improvement over its supervised counterpart became trivial.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1295</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Supervised model</b></p></td><td class="cell"><p><b>#lab&lt;</b></p><p>10</p></td><td class="cell"><p><b>;led ex</b></p><p>25</p></td><td class="cell"><p><b>amples</b></p><p>100</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRR07: HMM</p><p>+ Constr in decoding</p></td><td class="cell"><p>61.6 66.1</p></td><td class="cell"><p>70.0 73.7</p></td><td class="cell"><p>76.3 80.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MM08: CRF</p></td><td class="cell"><p>64.6</p></td><td class="cell"><p>72.9</p></td><td class="cell"><p>79.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRF</p><p>+ VE in decoding</p></td><td class="cell"><p>62.3 <b>68.9</b></p></td><td class="cell"><p>71.4 <b>74.6</b></p></td><td class="cell"><p>79.1 <b>81.1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRF + VE (auto weights) + VE in decoding</p></td><td class="cell"><p>48.0 66.0</p></td><td class="cell"><p>54.8 72.5</p></td><td class="cell"><p>59.8 80.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Semi-supervised models</b></p></td><td class="cell"><p><b>#lab&lt;</b></p><p>10</p></td><td class="cell"><p><b>;led ex</b></p><p>25</p></td><td class="cell"><p><b>amples</b></p><p>100</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRR07: HMM + Constr + Constr in decoding</p></td><td class="cell"><p>70.9 74.7</p></td><td class="cell"><p>74.8 78.5</p></td><td class="cell"><p>78.6 81.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MM08: CRF + GE</p></td><td class="cell"><p>72.6</p></td><td class="cell"><p>76.3</p></td><td class="cell"><p>80.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRF + VE (Self-train) + VE in decoding</p></td><td class="cell"><p>69.0 69.1</p></td><td class="cell"><p>74.2 75.2</p></td><td class="cell"><p>81.4 81.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRF + Col-VE (Self-train) + Col-VE in decoding</p></td><td class="cell"><p>73.1 75.7</p></td><td class="cell"><p>76.4 77.6</p></td><td class="cell"><p>81.8 82.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CRF + Col-VE (EM) + Col-VE in decoding</p></td><td class="cell"><p>78.3 <b>78.8</b></p></td><td class="cell"><p>79.1 <b>79.5</b></p></td><td class="cell"><p>82.7 <b>82.9</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Next, following Section 5.3, we collected con­text vectors on the unlabeled data using a win­dow size <b><i>k </i></b>= 3, and extracted the top 50 singular vectors therefrom.<footnote anchor="4"/> We created collocation lists that contain words close to the merged prototype words in the latent semantic space. Some exam­ples are given in the last column of Table 1. We then augmented the prototype-based VE based on the following rules: <b><i>lfxt</i></b><b><i> </i></b>belongs to any prototype list <i>Pi, </i>we directly apply <b><i>S\ </i></b>in Equation (9); oth­erwise, we apply <b><i>s\ </i></b>if <b><i>xt </i></b><i>and </i>at least one neigh­bor (within 3 tokens from <b><i>xt) </i></b>belong to the same collocation list <i>Ci. </i>In our experiments, we let "Col-VE" represent such collocation-based VE. We conducted self-training using a CRF model in­tegrated with Col-VE, where <i>uj </i>was tuned <i>a pri­ori </i>by testing the same model on the develop­ment set. As shown in the table, "CRF + Col-VE (self-train)" gave significant accuracy improve­ment over "CRF + VE", while adding Col-VE at test time further boosted the performance. The ac­curacies were already on par with the best results previously reported on this task.</p><p>Finally, we implemented the EM algorithm pro­posed in Section 5.2 that iteratively optimizes p<b>(v|x) </b>on all data. The model was initial­ized by the one obtained from "CRF + Col-VE (self-train)". After the model was initialized, we performed the EM algorithm until the model reached a maximum accuracy on the develop­ment set. Note that in some cases, we observed a development-set accuracy degradation after the first iteration of the EM, but the accuracy quickly recovered from the second iteration and kept in­creasing until a maximum accuracy was reached.<footnote anchor="5"/>As shown in the last two rows in Table 3, this method is clearly advantageous over self-training, leading to the best tagging accuracies in both de­coding settings. Our model achieved 2.6% — 5.7% absolute accuracy increases in the three training settings compared with MM08 which had the best results without using any constraints in decoding. When applying VE at test time, our model was 1.2% - 4.1% better than CRR07 which had the best overall results. Additionally, when compared with supervised learning results, our best semi-supervised model trained on only 10 labeled ex­amples performed almost as well as a standard su­pervised CRF model trained on 100 labeled exam­ples.</p><footnote label="4">The same configuration is used in HK06.</footnote></subsection></section><section number="7" title="Conclusions"><p>We have presented the use of virtual evidence as a principled way of incorporating prior knowledge into conditional random fields. A key contribu­tion of our work is the introduction of a novel semi-supervised learning objective for training a CRF model integrated with VE. We also found it useful to create so-called collocation-based VE, assuming that tokens close to each other tend to have consistent labels. Our evaluation on the CLASSIFIEDS data showed that the learning ob­jective presented here, combined with the use of collocation-based VE, yielded remarkably good accuracy performance. In the future, we would like to see the application of our approach to other tasks such as (Li et al, 2009).</p></section><references><p>Steven Abney. 2004. Understanding the Yarowsky algorithm. <i>Association for Computational Linguis­tics, </i>30(3):365-395.</p><p>Jeff Bilmes. 2004. On soft evidence in Bayesian networks. Technical Report UWEETR-2004-0016, University of Washington, Dept. of Electrical Engi­neering.</p><p>Ming-Wei Chang, Lev Ratinov, and Dan Roth. 2007. Guiding semi-supervision with constraint-driven learning, <b><i>lu </i></b><i>Proceedings of ACL.</i></p><footnote label="5">The initial degradation is probably due to the fact that self-training can result in an initial model with decent accu­racy but low p (v|x); thus the EM algorithm that maximizes p (v|x) may temporarily decrease the accuracy.</footnote><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1296</doubt><page local="9" global="1297"/><p>Scott Deerwester, Susan Dumais, Thomas Landauer, George Furnas, and Richard Harshman. 1990. Indexing by latent semantic analysis. <i>Journal of the American Society of Information Science, </i>41(6):391-407.</p><p>Yves Grandvalet and Yoshua Bengio. 2004. Semi-supervised learning by entropy minimization. In <i>Ad­vances in Neural Information Processing Systems.</i></p><p>Trond Grenager, Dan Klein, and Christopher D. Man­ning. 2005. Unsupervised learning for field seg­mentation models for information extraction. In <i>Proceedings ofAssociation ofComputational Lin­guistics.</i><i></i></p><p>Aria Haghighi and Dan Klein. 2006. Prototype-driven learning for sequence models. In <i>Proceedings of HLT-NAACL.</i></p><p>Feng Jiao, Shaojun Wang, Chi-Hoon Lee, Russell Greiner, and Dale Schuurmans. 2006. Semi-supervised conditional random fields for improved sequence segmentation and labeling. In <i>Proceed­ings ofACL.</i></p><p>John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional random fields: Prob­abilistic models for segmenting and labeling se­quence data. In <i>Proceedings ofthe International Conference on Machine Learning, </i>pages 282-289.</p><p>Xiao Li, Ye-Yi Wang, and Alex Acero. 2009. Extract­ing structured information from user queries with semi-supervised conditional random fields. In <i>Pro­ceedings ofSIGIR.</i></p><p>Gideon Mann and Andrew McCallum. 2008. General­ized expectation criteria for semi-supervised learn­ing of conditional random fields. In <i>Proceedings of</i> <i>ACL.</i><i></i></p><p>Kamal Nigam, Andrew Kachites Mccallum, Sebastian Thrun, and Tom Mitchell. 2000. Text classification from labeled and unlabeled documents using EM.</p><p><i>Machine Learning, </i>39:103-134.</p><p>Judea Pearl. 1988. <i>Probabilistic Reasoning in In­telligent Systems: Networks ofPlausible Inference. </i>Morgan Kaufmann, 2nd printing edition edition.</p><p>A. Quattoni, S. Wang, L.-P. Morency, M. Collins, and T. Darrell. 2007. Hidden conditional random fields.</p><p><i>IEEE Transaction on Pattern Analysis and Machine</i> <i>Intellegence, </i>29(10):1848-1852.</p><p>Sheila Reynolds andJeffBilmes. 2005. Part-of-speech tagging using virtual evidence and negative training.</p><p>In <i>Proceedings ofHLT/EMNLP.</i></p><p>Jun Suzuki and Hideki Isozaki. 2008. Semi-supervised sequential labeling and segmentation using giga-word scale unlabeled data.    In <i>Proceedings of</i> <i>ACL/HLT.</i><i></i></p><p>David Yarowsky. 1995. Unsupervised word sense dis­ambiguation rivaling supervised methods. In <i>Pro­ceedings ofACL, </i>pages 189-196.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1297</doubt></references></body></article>