<?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="1500"/><title>Structured Sparsity in Structured Prediction</title><pubinfo>Proceedings of the 2011 Conference on EmpiricalMethodsin NaturalLanguage Processing,pages 1500-1511, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Smith" givenname="Noah"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Aguiar" givenname="Pedro"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Figueiredo" givenname="Mario"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Martins" givenname="Andre"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>Structured Sparsity in Structured Prediction</b></p><p><b>André </b><b>F.</b><b> </b><b>T.</b><b> Martins*</b>f <b>Noah A. Smith*   Pedro M. Q. Aguiar*   Mario A. </b><b>T.</b><b> Figueiredof</b></p><p>* School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213, USA *Instituto de Sistemas e Robotica, Instituto Superior Tecnico, Lisboa, Portugal ^Instituto de Telecomunicacoes, Instituto Superior Tecnico, Lisboa, Portugal {afm,nasmith}@cs.cmu.edu,   aguiar@isr.ist.utl.pt, mtf@lx.it.pt</p></frontmatter><abstract>Linear models have enjoyed great success in structured prediction in NLP. While a lot of progress has been made on efficient train­ing with several loss functions, the problem of endowing learners with a mechanism for feature selection is still unsolved. Common approaches employ ad hoc filtering or <i>L1-</i>regularization; both ignore the structure of the feature space, preventing practicioners from encoding structural prior knowledge. We fill this gap by adopting regularizers that promote <i>structured sparsity, </i>along with efficient algo­rithms to handle them. Experiments on three tasks (chunking, entity recognition, and de­pendency parsing) show gains in performance, compactness, and model interpretability. </abstract></header><body><section number="1" title="Introduction"><p>Models for structured outputs are in demand across natural language processing, with applications in in­formation extraction, parsing, and machine transla­tion. State-of-the-art models usually involve linear combinations of features and are trained discrim-inatively; examples are conditional random fields (Lafferty et al., 2001), structured support vector machines (Altun et al., 2003; Taskar et al., 2003; Tsochantaridis et al., 2004), and the structured per-ceptron (Collins, 2002a). In all these cases, the un­derlying optimization problems differ only in the choice of loss function; choosing among them has usually a small impact on predictive performance.</p><p>In this paper, we are concerned with <i>model se­lection: </i>which features should be used to define the prediction score? The fact that models with few features ("sparse" models) are desirable for several reasons (compactness, interpretability, good gener­alization) has stimulated much research work which has produced a wide variety of methods (Della Pietra et al., 1997; Guyon and Elisseeff, 2003; McCallum, 2003). Our focus is on methods which embed this selection into the learning problem via the regular-ization term. We depart from previous approaches in that we seek to make decisions jointly about all candidate features, and we want to promote sparsity patterns that go beyond the mere cardinality of the set of features. For example, we want to be able to select entire <i>feature templates </i>(rather than features individually), or to make the inclusion of some fea­tures depend on the inclusion of other features.</p><p>We achieve the goal stated above by employ­ing regularizers which promote <i>structured sparsity. </i>Such regularizers are able to encode prior knowl­edge and guide the selection of features by model­ing the structure of the feature space. Lately, this type of regularizers has received a lot of attention in computer vision, signal processing, and compu­tational biology (Zhao et al., 2009; Kim and Xing, 2010; Jenatton et al., 2009; Obozinski et al., 2010; Jenatton et al., 2010; Bach et al., 2011). Eisenstein et al. (2011) employed structured sparsity in com­putational sociolinguistics. However, none of these works have addressed structured prediction. Here, we combine these two levels of structure: struc­ture in the output space, and structure in the feature space. The result is a framework that allows build­ing structured predictors with high predictive power, while reducing manual feature engineering. We ob­tain models that are interpretable, accurate, and of­ten much more compact than L2-regularized ones. Compared with Li-regularized models, ours are of­ten more accurate and yield faster runtime.</p><page local="2" global="1501"/></section><section number="2" title="Structured Prediction"><p>We address structured prediction problems, which involve an input set X (e.g., sentences) and an out­put set Y, assumed large and structured (e.g., tags or parse trees). We assume that each x G X has a set of candidate outputs Y (x) ç Y. We consider linear models, in which predictions are made according to where 0(x, y) G RD is a vector of features, and 0 <i>G </i>RD is the vector of corresponding weights. Let D = {(xj; <i>y</i><i>i)}<footnote anchor="1"/>i=1 </i>be a training sample. We assume a cost function is defined such that c(y, y) is the cost of predicting <i>y </i>when the true output is y ; our goal is to learn <i>0 </i>with small expected cost on unseen data. To achieve this goal, linear models are usually trained by solving a problem of the form where Q is a <i>regularizer </i>and L is a <i>loss </i>function. Examples of losses are: the negative conditional logcomputational biology (Jenatton et al., 2009; Liu and Ye, 2010; Bach et al., 2011), it has not yet re­ceived much attention in the NLP community, where the choice of regularization for supervised learning has essentially been limited to the following:</p><doubt alpha="42.9" length="28" tooSmall="False" monospace="0.0">y= argmaXy€Y(x)0•0(x,y), (1)</doubt><doubt alpha="45.7" length="35" tooSmall="False" monospace="0.0">y= arg minöQ(0)+±S1=iL(0,xj,yj),(2)</doubt><doubt alpha="66.7" length="48" tooSmall="False" monospace="0.0">likelihood used in CRFs (Lafferty et al., 2001),</doubt><doubt alpha="44.8" length="29" tooSmall="False" monospace="0.0">LcRF(0,x,y) =-logPe(y|x), (3)</doubt><doubt alpha="66.7" length="147" tooSmall="False" monospace="0.0">wherePq(y|x)oc exp(0•0(x,y)) is a log-linear model; the margin rescaled loss of structured SVMs (Taskar et al., 2003; Tsochantaridis et al., 2004),</doubt><doubt alpha="38.5" length="39" tooSmall="False" monospace="0.0">LsvM(0,x,y)=max0•ö&lt;j&gt;(y')+ c(y',y), (4)</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">v'eY(x)</doubt><doubt alpha="61.6" length="99" tooSmall="False" monospace="0.0">where£0(y') =0(x, y')—0(x, y); and the loss un­derlying the structured perceptron (Collins, 2002a),</doubt><doubt alpha="66.0" length="47" tooSmall="False" monospace="0.0">• L2-regularization (Chen and Rosenfeld, 2000):</doubt><doubt alpha="36.4" length="22" tooSmall="False" monospace="0.0">QL2(0)^A„o||2=AED=i(6)</doubt><p>• Li -regularization (Kazama and Tsujii, 2003;</p><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">Goodman, 2004):</doubt><doubt alpha="34.8" length="23" tooSmall="False" monospace="0.0">q^1(0)= t„o„i= tED=i(7)</doubt><p>The latter is known as "Lasso," as popularized by Tibshirani (1996) in the context of sparse regres­sion. In the two cases above, A and t are nonneg­ative coefficients controlling the intensity of the reg-ularization. q^<footnote anchor="2"/> usually leads to easier optimization and robust performance; q^<footnote anchor="1"/> encourages sparser models, where only a few features receive nonzero weights; see Gao et al. (2007) for an empirical com­parison. More recently, Petrov and Klein (2008b) applied Li regularization for structure learning in phrase-based parsing; a comparison with L2 appears in Petrov and Klein (2008a). Elastic nets interpolate between Li and L2, having been proposed by Zou and Hastie (2005) and used by Lavergne et al. (2010) to regularize CRFs.</p><p>Neither of the regularizers just described "looks" at the <i>structure </i>of the feature space, since they all treat each dimension independently—we call them <i>unstructured </i>regularizers, as opposed to the struc­tured ones that we next describe.</p><doubt alpha="58.2" length="55" tooSmall="False" monospace="0.0">lsp(0,x,y)=maxy'eY(x)0^£0(yO-(5)3   Structured Sparsity</doubt><p>Empirical comparison among these loss functions We are interested in regularizers that share with Q^<footnote anchor="1"/> can be found in the literature (see, <i>e.g.</i><i>, </i>Martins et al., the ability to promote sparsity, so that they can be 2010, who also consider interpolations of the losses used for selecting features. In addition, we want to above). In practice, it has been observed that the endow the feature space RD with additional strucchoice of loss has far less impact than the model de- ture, so that features are not penalized individually sign and choice of features. Hence, in this paper, (as in the Li-case) but collectively, encouraging enwe focus our attention on the regularization term in tire <i>groups </i>of features to be discarded. The choice of</p><p>Eq. 2. We specifically address ways in which this groups will allow encoding prior knowledge regardterm can be used to help design the model by pro- ing the kind of sparsity patterns that are intended in moting <i>structured sparsity.</i><i> </i>While this has been a the model. This can be achieved with <i>group-Lasso</i> topic of intense research in signal processing and <i>regularization, </i>which we next describe.<page local="3" global="1502"/></p><subsection number="3.1" title="The Group Lasso"><p>To capture the structure of the feature space, we group our D features into M groups Gi;..., GM, where each Gm ç {1,..., D}. Ahead, we dis­cuss meaningful ways of choosing group decompo­sitions; for now, let us assume a sensible choice is obvious to the model designer. Denote by <i>0m </i>= <i>(Q</i><i>d)deGm </i>the subvector of those weights that cor­respond to the features in the m-th group, and let di;..., dM be nonnegative scalars (one per group). We consider the following <i>group-Lasso </i>regularizers:</p><p>These regularizers were first proposed by Bakin (1999) and Yuan and Lin (2006) in the context of re­gression. If di = ... = dM, Q^L becomes the "Linorm of the L2 norms." Interestingly, this is also a norm, called the mixed L2 i-norm.<footnote anchor="1"/> These regu­larizers subsume the Li and L2 cases, which corre­spond to trivial choices of groups:</p><p>• If each group is a singleton, <i>i.e., </i>M = D and</p><p>Gd = {#d}, and di = ... = dM = t, we recover Li-regularization (cf. Eqs. 7-8).</p><p>• If there is a single group spanning all the features, <i>i.e., </i>M = 1 and Gi = {1,..., D}, then the right hand side of Eq. 8 becomes di „0„2. This is equiv­alent to L2 regularization.<footnote anchor="2"/></p><p>We next present some non-trivial examples con­cerning different topologies of G = {Gi;..., GM}.</p><p><b>Non-overlapping groups. </b>Let us first consider the case where G is a <i>partition </i>of the feature space: the groups cover all the features ( m Gm = {1,..., D}), and they do not overlap (Ga n Gb = 0, Va = b). Then, Q^L is termed a <i>non-overlapping group-Lasso </i>regularizer. It encourages sparsity pat­terns in which entire groups are discarded. A ju­dicious choice of groups can lead to very compact models and pinpoint relevant groups of features. The following examples lie in this category:</p><footnote label="1">In the statistics literature, such mixed-norm regularizers, which group features and then apply a separate norm for each group, are called composite absolute penalties (Zhao et al., 2009); other norms besides L 2&gt;1 can be used, such as L TC&gt;1 (Quattoni et al., 2009; Wright et al., 2009; Eisenstein et al., 2011).</footnote><footnote label="2">Note that Eqs. 8 and 6 do not become exactly the same: in Eq. 6, the L 2 norm is squared. However it can be shown that both regularizers lead to identical learning problems (Eq. 2) up to a transformation of the regularization constant.</footnote><p>• The two cases above (Li and L2 regularization).</p><p>• <i>Label-based groups. </i>In multi-label classification, where Y = { 1 , . . . , L} , features are typically de­signed as conjunctions of input features with la­bel indicators, i.e., they take the form 0(x, y) = ?/&gt;(x) &lt;g&gt; ey, where ?/&gt;(x) G <i>RDx </i>, ey G <i>RL </i>has all entries zero except the y-th entry, which is 1, and &lt;g) denotes the Kronecker product. Hence 0(x, y) can be reshaped as a DX -by-L matrix, and we can let each group correspond to a row. In this case, all groups have the same size and we typically set di = . . . = dM. A similar design can be made for sequence labeling problems, by considering a similar grouping for the unigram features.<footnote anchor="3"/></p><p>• <i>Template-based groups. </i>In NLP, features are com­monly designed via <i>templates. </i>For example, a template such as w0 A p0 A p-i denotes the word in the current position (w0) conjoined with its part-of-speech (p0) and that of the previous word (p-i). This template encloses many features cor­responding to different instantiantions of w0, p0, and p-i. In §5, we learn <i>feature templates </i>from the data, by associating each group to a feature template, and letting that group contain all fea­tures that are instantiations of this template. Since groups have different sizes, it is a good idea to let dm increase with the group size, so that larger groups pay a larger penalty for being included.</p><p><b>Tree-structured groups. </b>More generally, we may let the groups in G overlap but be nested, <i>i.e., </i>we may want them to form a <i>hierarchy </i>(two distinct groups either have empty intersection or one is contained in the other). This induces a partial order on G (the set inclusion relation 5), endowing it with the structure of a partially ordered set <i>(poset).</i></p><p>A convenient graphical representation of the poset (G, 5) is its <i>Hasse diagram. </i>Each group is a node in the diagram, and an arc is drawn from group Gato group Gb if Gb C Ga and there is no b' s.t. Gb C Gb' C Ga. When the groups are nested, this diagram is a <i>forest </i>(a union of directed trees). The corresponding regularizer enforces sparsity patterns where a group of features is only selected if <i>all its ancestors are also selected.</i><page local="4" global="1503"/><i><footnote anchor="4"/> </i>Hence, entire subtrees in the diagram can be pruned away. Examples are:</p><footnote label="3">The same idea is also used in multitask learning, where labels correspond to tasks (Caruana, 1997).</footnote><p>• The <i>elastic net. </i>The diagram of G has a root node for Gi = { 1 , . . . , D} and D leaf nodes, one per each singleton group (see Fig. 1).</p><p>• The <i>sparse group-Lasso. </i>This regularizer was proposed by Friedman et al. (2010):</p><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">(dm„0m„2+Tm„0m„i),</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p>where the total number of groups is M = M' + D, and the components 0i , . . . , 0M' are non-overlapping. This regularizer promotes sparsity at both group and feature levels <i>(i.e., </i>it eliminates entire groups and sparsifies within each group).</p><p><b>Graph-structured groups. </b>In general, the groups in G may overlap without being nested. In this case, the Hasse diagram of G is a directed acyclic graph (DAG). As in the tree-structured case, a group of features is only selected if all its ancestors are also selected. Based on this property, Jenatton et al. (2009) suggested a way of reverse engineering the groups from the desired sparsity pattern. We next describe a strategy for <i>coarse-to-fine feature tem­plate selection </i>that directly builds on that idea.</p><p>Suppose that we are given M feature templates T = {Ti,..., TM} which are partially ordered ac­cording to some criterion, such that if Ta ^ Tb we would like to include Tb in our model only if Tais also included. This criterion could be a measure of coarseness: we may want to let coarser part-of-speech features precede finer lexical features, <i>e.g., </i>p0 A pi r&lt; w0 A wi, or conjoined features come af­ter their elementary parts, <i>e.g., </i>p0 ^ p0 A pi. The order does not need to be total, so some templates may not be comparable <i>(e.g.</i>, we may want p0 A p_iand p0 A pi not to be comparable). To achieve the sparsity pattern encoded in (T, we choose G = (Gi,..., Gm) as follows: let I(T0) be the set of features that are instantiations of template Ta; then define G„ = (J<i>b:a^b </i>I(Tb), for a = 1,..., M. It is easy to see that (G, 5) and (T, ^) are isomorph posets (their Hasse diagrams have the same shape; see Fig. 1). The result is a "coarse-to-fine" regular-izer, which prefers to select feature templates that are coarser before zooming into finer features.</p><footnote label="4">We say that a group of features G m is selected if some fea­ture in G m (but not necessarily all) has a nonzero weight.</footnote></subsection><subsection number="3.2" title="Bayesian Interpretation"><p>The prior knowledge encoded in the group-Lasso regularizer (Eq. 8) comes with a Bayesian inter­pretation, as we next describe. In a probabilistic model (e.g. in the CRF case, where L = LCRF), the optimization problem in Eq. 2 can be seen as maximum <i>a posteriori </i>estimation of 0, where the regularization term Q(0) corresponds to the neg­ative log of a prior distribution (call it p(0)). It is well-known that L2-regularization corresponds to choosing independent zero-mean Gaussian priors, <i>9d </i><i>— </i>N(0, A-i), and that Li-regularization results from adopting zero-mean Laplacian priors, p($d) a exp(T |0d|).</p><p>Figueiredo (2002) provided an alternative inter­pretation of Li -regularization in terms of a two-level hierarchical Bayes model, which happens to generalize to the non-overlapping group-Lasso case, where Q = Q^L. As in the L2-case, we also assume that each parameter receives a zero-mean Gaussian prior, but now with a <i>group-specific variance </i>Tm, <i>i.e., 0</i><i>m </i>~ N(0,TmI) for m = 1,...,M. This reflects the fact that some groups should have their feature weights shrunk more towards zero than oth­ers. The variances Tm &gt; 0 are not pre-specified but rather generated by a one-sided exponential hyper­prior p(Tm|dm) a exp(—dmTm/2). It can be shown that after marginalizing out Tm, we obtain</p><doubt alpha="57.1" length="28" tooSmall="False" monospace="0.0">p(0m|dm)=p(0m|Tm)p(Tm|dm)dTm</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="36.8" length="19" tooSmall="False" monospace="0.0">aexp(—dm„0m„). (10)</doubt><p>Hence, the non-overlapping group-Lasso corre­sponds to the following two-level hierachical Bayes model: independently for each m = 1 , . . . , M,</p><doubt alpha="38.7" length="31" tooSmall="False" monospace="0.0">Tm-Exp(dm/2),0m-N(0, Tml). (11)</doubt></subsection><subsection number="3.3" title="Prox-operators"><p>Before introducing our learning algorithm for han­dling group-Lasso regularization, we need to define the concept of a Q<i>-proximity operator. </i>This is the function proxn : RD —&gt;• RD defined as follows:</p><doubt alpha="34.2" length="38" tooSmall="False" monospace="0.0">proxn(0)= argminQ'±„0'—0„2+ Q(0').(12)</doubt><page local="5" global="1504"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><p>Group Lasso (nonoverlapping)</p><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">1,2,3,4,5,6,7,8</doubt><p>Sparse Group Lasso     Overlapping Groups <b><i>(not </i></b>tree-structured)</p><p>Figure 1: Hasse diagrams of several group-based regularizers. For all tree-structured cases, we use the same plate notation that is traditionally used in probabilistic graphical models. The rightmost diagram represents a coarse-to-fine regularizer: each node is a tem­plate involving contiguous sequences of words (w) and POS tags (p); the symbol order <b>0 </b>^ <i>p </i>^ <i>w </i>induces a template order (Ta ^ <i>Tb</i>iff at each position <i>i [Ta</i><b>]j </b>^ <i>[Tb]i). </i>Digits below each node are the group indices where each template belongs.</p><p>Proximity operators generalize Euclidean projec­tions and have many interesting properties; see Bach et al. (2011) for an overview. By requiring zero to be a subgradient of the objective function in Eq. 12, we obtain the following closed expression (called <i>soft-thresholding) </i>for the Q^<footnote anchor="1"/> -proximity operator:</p><p><i>ed </i><i>- </i><i>t</i><i> </i>if <i>ed </i><i>&gt;t</i> <i>O</i><i>d </i>+ t  if <i>O</i><i>d </i><i>&lt; -</i><i>t.</i><i></i></p><doubt alpha="36.7" length="30" tooSmall="False" monospace="0.0">[prox0Li(0)]d={0 if |0d|&lt;t(13)</doubt><p>For the <i>non-overlapping </i>group Lasso case, the prox­imity operator is given by otherwise. which can be seen as a generalization of Eq. 13: if the L2-norm of the m-th group is less than <i>dm, </i>the entire group is discarded; otherwise it is scaled so that its L2-norm decreases by an amount of dm.</p><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">[pr°XoGL(6&gt;)],d</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">if</doubt><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">||flm||2—dma\\0mhm</doubt><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">\\Qm\\2 &lt;dm</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(14)</doubt><p>When groups overlap, the proximity operator lacks a closed form. When G is tree-structured, it can still be efficiently computed by a recursive pro­cedure (Jenatton et al., 2010). When <i>G </i>is <i>not </i>tree-structured, no specialized procedure is known, and a convex optimizer is necessary to solve Eq. 12.</p></subsection></section><section number="4" title="Online Prox-Grad Algorithm"><p>We now turn our attention to efficient ways of han­dling group-Lasso regularizers. Several fast and scalable algorithms having been proposed for train­ing Li-regularized CRFs, based on quasi-Newton optimization (Andrew and Gao, 2007), coordinate descent (Sokolovska et al., 2010; Lavergne et al., 2010), and stochastic gradients (Carpenter, 2008;</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1504</doubt><p>Langford et al., 2009; Tsuruoka et al., 2009). The algorithm that we use in this paper (Alg. 1) extends the stochastic gradient methods for group-Lasso reg-ularization; a similar algorithm was used by Martins et al. (2011) for multiple kernel learning.</p><p>Alg. 1 addresses the learning problem in Eq. 2 by alternating between online (sub-)gradient steps with respect to the loss term, and proximal steps with respect to the regularizer. Proximal-gradient meth­ods are very popular in sparse modeling, both in batch (Liu and Ye, 2010; Bach et al., 2011) and on­line (Duchi and Singer, 2009; Xiao, 2009) settings. The reason we have chosen the algorithm of Martins et al. (2011) is that it effectively handles overlap­ping groups, without the need of evaluating prox0(which, as seen in §3.3, can be costly if G is not tree-structured). To do so, it decomposes Q as for some J &gt; 1, and nonnegative <i>a1,.</i><i>..,a</i><i>j </i>; each Q <i>j</i>-proximal operator is assumed easy to compute. Such a decomposition always exists: if G does not have overlapping groups, take J = 1. Otherwise, find J &lt; M disjoint sets <i>G1,---,</i><i> </i><i>GJ</i><i> </i>such that <i>\JJ=1 </i>Gj = G and the groups on each Gj are non-overlapping. The proximal steps are then applied sequentially, one per each Q<i>j. </i>Overall, Alg. 1 satis­fies the following important requirements:</p><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">Q(0)=£J=ivjQj(a)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(15)</doubt><p><i>• Computational efficiency. </i>Each gradient step at round t is <i>linear </i>in the number of features that fire for that instance and <i>independent </i>of the total number of features D. Each proximal step is <i>lin­ear </i>in the number of groups M, and does not need be to performed every round (as we will see later).</p><page local="6" global="1505"/><p><b>Algorithm 1 </b>Online Sparse Prox-Grad Algorithm</p><doubt alpha="64.1" length="39" tooSmall="False" monospace="0.0">1:input:D,(Qj)j=1,T,   gravity sequence</doubt><doubt alpha="60.5" length="38" tooSmall="False" monospace="0.0">((ajt)/=i)/r=i&gt;stepsize sequence(%)?=i</doubt><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">2:initialize0=0</doubt><doubt alpha="65.7" length="137" tooSmall="False" monospace="0.0">3:fort=1toTdo4:take training pair (xt,yt)G D5:0—0- ntVL(0;xt, yt) (gradient step)6:forj= 1toJdo7:0=proxntffjtQj(0)(proximalstep)8:end for</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">9:end for</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">10:output:0</doubt><p>• <i>Memory efficiency. </i>Only a small active set of fea­tures (those that have nonzero weights) need to be maintained. Entire groups of features can be deleted after each proximal step. Furthermore, only the features which correspond to nonzero en­tries in the gradient vector need to be inserted in the active set; for some losses (Lsvm and LSP) many irrelevant features are never instantianted.</p><p>• <i>Convergence. </i>With high probability, Alg. 1 pro­duces an e-accurate solution after T &lt; O(1/e<footnote anchor="2"/>) rounds, for a suitable choice of stepsizes and hold­ing vjt constant, vjt = Vj (Martins et al., 2011). This result can be generalized to any sequence (vjt)T=i such tiutf: vj = <i>T </i>£T=i <i>vjt.</i></p><p>We next describe several algorithmic ingredients that make Alg. 1 effective in sparse modeling.</p><p><b>Budget-Driven Shrinkage. </b>Alg. 1 requires the choice of a "gravity sequence." We follow Lang-ford et al. (2009) and set (vjt)J=1 to zero for all t which is not a multiple of some prespecified integer K ; this way, proximal steps need only be performed each K rounds, yielding a significant speed-up when the number of groups M is large. A direct adop­tion of the method of Langford et al. (2009) would set vjt = Kvj for those rounds; however, we have observed that such a strategy makes the number of groups vary substantially in early epochs. We use a different strategy: for each Gj, we specify a <i>budget </i>of <i>Bj &gt; </i>0 groups (this may take into consideration practical limitations, such as the available memory). If t is a multiple of K, we set vjt as follows:</p><p>1. If Gj does not have more than Bj nonzero groups, set vjt = 0 and do nothing.</p><p>2. Otherwise, sort the groups in G<i>j </i>by decreasing order of their L2-norms. Check the L2-norms of the Bj-th and Bj+1-th entries in the list and set <i>v</i><i>jt </i>as the mean of these two divided by <i>r]t.</i></p><p>3. Apply a <i>rjtV</i><i>j</i><i>tQ</i><i>j</i>-proximal step using Eq. 14. At the end of this step, no more than B<i>j </i>groups will remain nonzero.<footnote anchor="5"/></p><p>If the average of the gravity steps converge, limT<i>Tf</i><b><i>Yl</i></b>T=1 vjt —&gt; <i>v</i><i>j</i>, then the limit points <i>V</i><i>j </i>implicitly define the regularizer, via Q = ^J=1 Vj Qj .<footnote anchor="6"/> Hence, we have shifted the control of the amount of regularization to the budget constants B<i>j,</i><i> </i>which unlike the v<i>j</i><i> </i>have a clear meaning and can be chosen under practical considerations.</p><p><b>Space and Time Efficiency. </b>The proximal steps in Alg. 1 have a <i>scaling </i>effect on each group, which affects all features belonging to that group (see Eq. 14). We want to avoid explicitly updating each feature in the active set, which could be time con­suming. We mention two strategies that can be used for the <i>non-overlapping </i>group Lasso case.</p><p>• The first strategy is suitable when M is large and only a few groups (&lt;C M) have features that fire in each round; this is the case, <i>e.g., </i>of <i>label-based groups </i>(see §3.1). It consists of making <i>lazy up­dates </i>(Carpenter, 2008), <i>i.e., </i>to delay the update of all features in a group until at least one of them fires; then apply a cumulative penalty. The amount of the penalty can be computed if one as­signs a timestamp to each group.</p><p>• The second strategy is suitable when M is small and some groups are very populated; this is the typical case of <i>template-based groups </i>(§3.1). Two operations need to be performed: updating each feature weight (in the gradient steps), and scaling entire groups (in the proximal steps). We adapt a trick due to Shalev-Shwartz et al. (2007): repre­sent the weight vector of the m-th group, 0m, by a</p><footnote label="5">When overlaps exist (e.g. the coarse-to-fine case), we spec­ify a total pseudo-budget B ignoring the overlaps, which in­duces budgets B 1 ,..., B j which sum to B. The number of actually selected groups may be less than B, however, since in this case some groups can be shrunk more than once. Other heuristics are possible.</footnote><footnote label="6">The convergence assumption can be sidestepped by freez­ing the a j after a fixed number of iterations.</footnote><page local="7" global="1506"/><p>triple (£m, Cm, Pm) G R|Gm| x R+ x R+, such that 0m = Cm£m and \\0m \\<footnote anchor="2"/> = Pm. This representa­tion allows performing the two operations above in constant time, and it keeps track of the group L2-norms, necessary in the proximal updates.</p><p>For sufficient amounts of regularization, our al­gorithm has a low memory footprint. Only features that, at some point, intervene in the gradient com­puted in line 5 need to be instantiated; and all fea­tures that receive zero weights after some proximal step can be deleted from the model (cf. Fig. 2).</p><p><b>Sparseptron and Debiasing. </b>Although Alg. 1 al­lows to simultaneously select features and learn the model parameters, it has been observed in the sparse modeling literature that Lasso-like regularizers usu­ally have a strong bias which may harm predictive performance. A post-processing stage is usually taken (called <i>debiasing), </i>in which the model is re­fitted without any regularization and using only the selected features (Wright et al., 2009). If a final de-biasing stage is to be performed, Alg. 1 only needs to worry about feature selection, hence it is appeal­ing to choose a loss function that makes this pro­cedure as simple as possible. Examining the input of Alg. 1, we see that both a gravity and a stepsize sequence need to be specified. The former can be taken care of by using budget-driven shrinkage, as described above. The stepsize sequence can be set as <i>r/t </i>= <b>Wa/</b><i>\t/N </i>1, which ensures convergence, however no requires tuning. Fortunately, for the structured perceptron loss LSP (Eq. 5), Alg. 1 is in­dependent of r0, up to a scaling of 0, which does not affect predictions (see Eq. 1).<footnote anchor="7"/> We call the instanti­ation of Alg. 1 with a group-Lasso regularizer and the loss LSP the <i>sparseptron. </i>Overall, we propose the following two-stage approach:</p><p>1. Run the sparsepton for a few epochs and dis­card the features with zero weights.</p><p>2. Refit the model without any regularization and using the loss L which one wants to optimize.</p><footnote label="7">To see why this is the case, note that both gradient and proximal updates come scaled by n o; and that the gradient of the loss is VL sp (0 ,x t ,y t) = (j&gt;(xt,yt ) - (j&gt;(xt,yt), where y t is the prediction under the current model, which is insensitive to the scaling of 0. This independence on r/o does not hold when the loss is Lsvm or Lcrp .</footnote></section><section number="5" title="Experiments"><p>We present experiments in three structured predic­tion tasks for several group choices.</p><p><b>Text</b><b> Chunking. </b>We use the English dataset pro­vided in the CoNLL 2000 shared task (Sang and Buchholz, 2000), which consists of 8,936 training and 2,012 testing sentences (sections 15-18 and 20 of the WSJ.) The input observations are the token words and their POS tags; we want to predict the sequences of IOB tags representing phrase chunks. We built 96 contextual feature templates as follows:</p><p>• Up to 5-grams of POS tags, in windows of 5 to­kens on the left and 5 tokens on the right;</p><p>• Up to 3-grams of words, in windows of 3 tokens on the left and 3 tokens on the right;</p><p>• Up to 2-grams of word shapes, in windows of 2 tokens on the left and 2 tokens on the right. Each shape replaces characters by their types (case sensitive letters, digits, and punctuation), and deletes repeated types—<i>e.g., </i>Confidence and 2, 664, 098 are respectively mapped to Aa and 0,0 + ,0 + (Collins, 2002b).</p><p>We defined unigram features by conjoining these templates with each of the 22 output labels. An ad­ditional template was defined to account for label bigrams—features in this template do not look at the input string, but only at consecutive pairs of labels.<footnote anchor="8"/>We evaluate the ability of group-Lasso regular-ization to perform <i>feature template selection. </i>To do that, we ran 5 epochs of the sparseptron algo­rithm with template-based groups and budget-driven shrinkage (budgets of 10, 20, 30, 40, and 50 tem­plates were tried). For each group Gm, we set dm = log2 | Gm |, which is the average number of bits nec­essary to encode a feature in that group, if all fea­tures were equiprobable. We set K = 1000 (the number of instances between consecutive proximal steps). Then, we refit the model with 10 iterations of the max-loss 1-best MIRA algorithm (Crammer et al., 2006).<footnote anchor="9"/> Table 1 compares the <i>F1 </i>scores and<page local="8" global="1507"/></p><footnote label="8">State-of-the-art models use larger output contexts, such as label trigrams and 4 -grams. We resort to bigram labels as we are mostly interested in identifying relevant unigram templates.</footnote><footnote label="9">This variant optimizes the L SVM  loss (Martins etal., 2010). For the refitting, we used unregularized MIRA. For the baseline</footnote><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">x 106</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">0 5 10 15</doubt><p># Epochs</p><p>Figure 2: Memory footprints of the MIRA and sparsep­tron algorithms in text chunking. The oscillation in the first 5 epochs (bottom line) comes from the proximal steps each K = 1000 rounds. The features are then frozen and 10 epochs of unregularized MIRA follow. Overall, the sparseptron requires &lt; 7.5% of the memory as the MIRA baseline.</p><p>the model sizes obtained with the several budgets against those obtained by running 15 iterations of MIRA with the original set of features. Note that the total number of iterations is the same; yet, the group-Lasso approach has a much smaller memory footprint (see Fig. 2) and yields much more com­pact models. The small memory footprint comes from the fact that Alg. 1 may entertain a large num­ber of features without ever instantiating all of them. The predictive power is comparable (although some choices of budget yield slightly better scores for the group-Lasso approach).<footnote anchor="10"/> <b>Named Entity Recognition.</b><b> </b>We experiment with the Spanish, Dutch, and English datasets pro­vided in the CoNLL 2002/2003 shared tasks (Sang, 2002; Sang and De Meulder, 2003). For Span­ish,  we use the POS tags provided by Car-</p><p>(described next), we used <i>L2 </i>-regularized MIRA and tuned the regularization constant with cross-validation.</p><footnote label="10">We also tried label-based group-Lasso and sparse group-Lasso (§3.1), with less impressive results (omitted for space).</footnote><p>reras (http://www.lsi.upc.es/~nlp/tools/ nerc/nerc.html); for English, we ignore the syn­tactic chunk tags provided with the dataset. Hence, all datasets have the same sort of input observations (words and POS) and all have 9 output labels. We use the feature templates described above plus some additional ones (yielding a total of 452 templates):</p><doubt alpha="66.7" length="48" tooSmall="False" monospace="0.0">• Up to 3-grams of shapes, in windows of size 3;</doubt><p>• For prefix/suffix sizes of 1, 2, 3, up to 3-grams of word prefixes/suffixes, in windows of size 3;</p><p>• Up to 5-grams of case, punctuation, and digit in­dicators, in windows of size 5.</p><p>As before, an additional feature template was de­fined to account for label bigrams. We do feature template selection (same setting as before) for bud­get sizes of 100, 200, and 300. We compare with both MIRA (using all the features) and the sparsep­tron with a standard Lasso regularizer Q^<footnote anchor="1"/>, for sev­eral values of C = 1/ <i>(tN</i>). Table 2 shows the re­sults. We observe that template-based group-Lasso wins both in terms of accuracy and compactness. Note also that the ability to discard feature <i>tem­plates </i>(rather than individual features) yields faster test runtime than models regularized with the stan­dard Lasso: fewer templates will need to be instan­tiated, with a speed-up in score computation.</p><p><b>Multilingual Dependency Parsing. </b>We trained non-projective dependency parsers for 6 languages using the CoNLL-X shared task datasets (Buchholz and Marsi, 2006): Arabic, Danish, Dutch, Japanese, Slovene, and Spanish. We chose the languages with the smallest datasets, because regularization is more important when data is scarce. The output to be pre­dicted from each input sentence is the set of depen­dency links, which jointly define a spanning tree.</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><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>Table 1: Results for</p></td><td class="cell"><p></p></td><td class="cell"><p>MIRA</p></td><td class="cell"><p>Group Lasso B =10</p></td><td class="cell"><p>B = 20</p></td><td class="cell"><p>B = 30</p></td><td class="cell"><p>B = 40</p></td><td class="cell"><p>B = 50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>text chunking.</p></td><td class="cell"><p><i>Fi </i>(%)</p></td><td class="cell"><p>93.10</p></td><td class="cell"><p>92.99</p></td><td class="cell"><p>93.28</p></td><td class="cell"><p>93.59</p></td><td class="cell"><p>93.42</p></td><td class="cell"><p>93.40</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>model size (# features)</p></td><td class="cell"><p>5,300,396</p></td><td class="cell"><p>71,075</p></td><td class="cell"><p>158,844</p></td><td class="cell"><p>389,065</p></td><td class="cell"><p>662,018</p></td><td class="cell"><p>891,378</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 2: Results for named entity recognition. Each cell shows Fi(%) and the number of features." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>MIRA</p></td><td class="cell"><p>Lasso C = 0.1</p></td><td class="cell"><p>C = 0.5</p></td><td class="cell"><p>C = 1</p></td><td class="cell"><p>Group-Lasso B = 100</p></td><td class="cell"><p>B = 200</p></td><td class="cell"><p>B = 300</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Spa. dev/test</p></td><td class="cell"><p>70.38/74.09</p></td><td class="cell"><p>69.19/71.9</p></td><td class="cell"><p>70.75/72.38</p></td><td class="cell"><p>71.7/74.03</p></td><td class="cell"><p>71.79/73.62</p></td><td class="cell"><p>72.08/75.05</p></td><td class="cell"><p>71.48/73.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>8,598,246</p></td><td class="cell"><p>68,565</p></td><td class="cell"><p>1,017,769</p></td><td class="cell"><p>1,555,683</p></td><td class="cell"><p>83,036</p></td><td class="cell"><p>354,872</p></td><td class="cell"><p>600,646</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dut. dev/test</p></td><td class="cell"><p>69.15/71.54</p></td><td class="cell"><p>64.07/66.35</p></td><td class="cell"><p>66.82/69.42</p></td><td class="cell"><p>70.43/71.89</p></td><td class="cell"><p>69.48/72.83</p></td><td class="cell"><p>71.03/73.33</p></td><td class="cell"><p>71.2/72.59</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>5,727,004</p></td><td class="cell"><p>164,960</p></td><td class="cell"><p>565,704</p></td><td class="cell"><p>953,668</p></td><td class="cell"><p>128,320</p></td><td class="cell"><p>447,193</p></td><td class="cell"><p>889,660</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Eng. dev/test</p></td><td class="cell"><p>83.95/79.81</p></td><td class="cell"><p>80.92/76.95</p></td><td class="cell"><p>82.58/78.84</p></td><td class="cell"><p>83.38/79.35</p></td><td class="cell"><p>85.62/80.26</p></td><td class="cell"><p>85.86/81.47</p></td><td class="cell"><p>85.03/80.91</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>8,376,901</p></td><td class="cell"><p>232,865</p></td><td class="cell"><p>870,587</p></td><td class="cell"><p>1,114,016</p></td><td class="cell"><p>255,165</p></td><td class="cell"><p>953,178</p></td><td class="cell"><p>1,719,229</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>✓</p><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><i>1</i></p><p><i>1</i></p><p>1</p></td><td class="cell"><p>---MIRA</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>/</b></p><p><i>1</i></p></td><td class="cell"><p>-Sparceptron + MIRA (B=30) -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>1____</i></p></td><td class="cell"><p><b>NM</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="9" global="1508"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Arabic</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Danish</doubt><p>Japanese</p><doubt alpha="0.0" length="20" tooSmall="False" monospace="0.0">78.5 78 77.5 77 76.5</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">T5*</doubt><p><b>—B— </b>Group-Lasso</p><p>Group-Lasso (C2F) Lasso</p><doubt alpha="66.7" length="21" tooSmall="False" monospace="0.0">-e -Filter-based (IG)</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">6</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">8</doubt><p>Number of Features Slovene</p><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">90 89.8 89.6 89.4</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">89.2 89</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">15</doubt><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">^6</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Spanish</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">84</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">83</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">82</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">92</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">76 75.5</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">75 74.5</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">74</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Turkish</doubt><p>Figure 3: Comparison between non-overlapping group-Lasso, coarse-to-fine group-Lasso (C2F), and a filter-based method based on information gain for selecting feature templates in multilingual dependency parsing. The x-axis is the total number of features at different regularization levels, and the y-axis is the unlabeled attachment score. The plots illustrate how accurate the parsers are as a function of the model sparsity achieved, for each method. The standard Lasso (which does not select templates, but individual features) is also shown for comparison.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">93.5</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">93</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&lt;</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">92.5</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">4</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">10 12</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">10</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">x 10</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">81</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">02</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">1.5</doubt><p>We use arc-factored models, for which exact infer­ence is tractable (McDonald et al., 2005). We de­fined M = 684 feature templates for each candi­date arc by conjoining the words, shapes, lemmas, and POS of the head and the modifier, as well as the contextual POS, and the distance and direction of attachment. We followed the same two-stage approach as before, and compared with a baseline which selects feature templates by ranking them ac­cording to the information gain criterion. This base­line assigns a score to each template Tm which re­flects an empirical estimate of the mutual informa­tion between Tm and the binary variable A that indi­cates the presence/absence of a dependency link:</p><doubt alpha="35.7" length="28" tooSmall="False" monospace="0.0">IGm= ]T    ]Tp(/,a)log2,(16)</doubt><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">f ermae{0,i}(/)()</doubt><p>where ( / , a) is the joint probability of feature / firing and an arc being active (a = 1) or innactive (a = 0), and P(/) and P (a) are the corresponding marginals. All probabilities are estimated from the empirical counts of events observed in the data.</p><p>The results are plotted in Fig. 3, for budget sizes but one language (Spanish is the exception), non-overlapping group-Lasso regularization is more ef­fective at selecting feature templates than the in­formation gain criterion, and slightly better than coarse-to-fine group-Lasso. For completeness, we also display the results obtained with a standard Lasso regularizer. Table 3 shows what kind of feature templates were most selected for each lan­guage. Some interesting patterns can be observed: morphologically-rich languages with small datasets (such as Turkish and Slovene) seem to avoid lexi­cal features, arguably due to potential for overfitting; in Japanese, contextual POS appear to be specially relevant. It should be noted, however, that some of these patterns may be properties of the datasets rather than of the languages themselves.</p><doubt alpha="53.3" length="45" tooSmall="False" monospace="0.0">of 200, 300, and 400. We observe that for all</doubt></section><section number="6" title="Related Work"><p>A variant of the online proximal gradient algorithm used in this paper was proposed by Martins et al.</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>84</p></td><td class="cell"><p>a-""</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>83.5</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>83</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>82.5</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>82</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="10" global="1509"/><p>Table 3: Variation of feature templates that were selected accross languages. Each line groups together similar tem­plates, involving lexical, contextual POS, word shape in­formation, as well as attachment direction and length. Empty cells denote that very few or none of the templates in that category was selected; + denotes that some were selected; ++ denotes that most or all were selected.</p><p>(2011), along with a theoretical analysis. The fo­cus there, however, was multiple kernel learning, hence overlapping groups were not considered in their experiments. Budget-driven shrinkage and the sparseptron are novel techniques, at the best of our knowledge. Apart from Martins et al. (2011), the only work we are aware of which combines struc­tured sparsity with structured prediction is Schmidt and Murphy (2010); however, their goal is to pre­dict the structure of graphical models, while we are mostly interested in the structure of the feature space. Schmidt and Murphy (2010) used to gener­ative models, while our approach emphasizes dis­criminative learning.</p><p>Mixed norm regularization has been used for a while in statistics as a means to promote structured sparsity. Group Lasso is due to Bakin (1999) and Yuan and Lin (2006), after which a string of variants and algorithms appeared (Bach, 2008; Zhao et al., 2009; Jenatton et al., 2009; Friedman et al., 2010; Obozinski et al., 2010). The flat (non-overlapping) case has tight links with learning formalisms such as multiple kernel learning (Lanckriet et al., 2004) and multi-task learning (Caruana, 1997). The tree-structured case has been addressed by Kim and Xing (2010), Liu and Ye (2010) and Mairal et al. (2010), along with Loo,i and L2)1 regularization. Graph-structured groups are discussed in Jenatton et al. (2010), along with a DAG representation. In NLP, mixed norms have been used recently by Graca et al. (2009) in posterior regularization, and by Eisenstein et al. (2011) in a multi-task regression problem.</p></section><section number="7" title="Conclusions"><p>In this paper, we have explored two levels of struc­ture in NLP problems: structure on the outputs, and structure on the feature space. We have shown how the latter can be useful in model design, through the use of regularizers which promote structured spar-sity. We propose an online algorithm with mini­mal memory requirements for exploring large fea­ture spaces. Our algorithm, which specializes into the <i>sparseptron, </i>yields a mechanism for selecting entire groups of features. We apply sparseptron for selecting feature templates in three structured prediction tasks, with advantages over filter-based methods, L1, and L2 regularization in terms of per­formance, compactness, and model interpretability.</p></section><section title="Acknowledgments"><p>We would like to thank all reviewers for their comments, Eric Xing for helpful discussions, and Slav Petrov for his comments on a draft version ofthis paper. A. M. was sup­ported by a FCT/ICTI grant through the CMU-Portugal Program, and also by Priberam. This work was partially supported by the FET programme (EU FP7), under the SIMBAD project (contract 213250). N. S. was supported by NSF CAREER IIS-1054319.</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><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>Ara.</p></td><td class="cell"><p>Dan.</p></td><td class="cell"><p>Jap.</p></td><td class="cell"><p>Slo.</p></td><td class="cell"><p>Spa.</p></td><td class="cell"><p>Tur.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bilexical</p></td><td class="cell"><p>++</p></td><td class="cell"><p>+</p></td><td class="cell"><p></p></td><td class="cell"><p></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>Lex. — POS</p></td><td class="cell"><p>+</p></td><td class="cell"><p></p></td><td class="cell"><p>+</p></td><td class="cell"><p></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>POS — Lex.</p></td><td class="cell"><p>++</p></td><td class="cell"><p>+</p></td><td class="cell"><p>+</p></td><td class="cell"><p></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>POS - POS</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>++</p></td><td class="cell"><p>+</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>Middle POS</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</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>Shape</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</p></td><td class="cell"><p>++</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>Direction</p></td><td class="cell"><p></p></td><td class="cell"><p>+</p></td><td class="cell"><p>+</p></td><td class="cell"><p>+</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>Distance</p></td><td class="cell"><p>++</p></td><td class="cell"><p>+</p></td><td class="cell"><p>+</p></td><td class="cell"><p>+</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"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>Y. Altun, I. Tsochantaridis, and T. Hofmann. 2003. Hid­den Markov support vector machines. In <i>Proc. of ICML.</i></p><p>G. Andrew and J. Gao. 2007. Scalable training of L1-regularized log-linear models. In <i>Proc. of ICML.</i></p><p>ACM.</p><p>F. Bach, R. Jenatton, J. Mairal, and G. Obozinski. 2011. Convex optimization with sparsity-inducing norms. In <i>Optimization for Machine Learning. </i>MIT Press. F. Bach. 2008. Exploring large feature spaces with hier­archical multiple kernel learning. <i>NIPS, </i>21. S. Bakin. 1999. <i>Adaptive regression and model selec­tion in data mining problems. </i>Ph.D. thesis, Australian National University.</p><doubt alpha="65.2" length="46" tooSmall="False" monospace="0.0">S. Buchholz and E. Marsi. 2006. CoNLL-X shared</doubt><p>task on multilingual dependency parsing. In <i>Proc. of</i></p><p><i>CoNLL.</i></p><p>B. Carpenter. 2008. Lazy sparse stochastic gradient de­scent for regularized multinomial logistic regression. Technical report, Technical report, Alias-i. R. Caruana. 1997. Multitask learning. <i>Machine Learn­ing, </i>28(1):41-75.</p><page local="11" global="1510"/><p>S. F. Chen and R. Rosenfeld. 2000. A survey of smoothing techniques for maximum entropy models. <i>IEEE Transactions on Speech and Audio Processing, </i>8(l):37-50.</p><p>M. Collins. 2002a. Discriminative training methods for hidden Markov models: theory and experiments with perceptron algorithms. In <i>Proc. ofEMNLP.</i></p><p>M. Collins. 2002b. Ranking algorithms for named-entity extraction: Boosting and the voted perceptron. In</p><p><i>Proc. ofACL.</i></p><p>K. Crammer, O. Dekel, J. Keshet, S. Shalev-Shwartz, and Y. Singer. 2006. Online Passive-Aggressive Algo­rithms. <i>JMLR, </i>7:551-585.</p><p>S. Della Pietra, V. Della Pietra, and J. Lafferty. 1997. Inducing features of random fields. <i>IEEE Transac­tions on Pattern Analysis and Machine Intelligence, </i>19:380-393.</p><p>J. Duchi and Y. Singer. 2009. Efficient online and batch learning using forward backward splitting. <i>JMLR,</i> 10:2873-2908.</p><p>J. Eisenstein, N. A. Smith, andE. P. Xing. 2011. Discov­ering sociolinguistic associations with structured spar-sity. In <i>Proc. ofACL.</i></p><p>M.A.T. Figueiredo. 2002. Adaptive sparseness using Jef­freys' prior. <i>Advances in Neural Information Process­ing Systems.</i></p><p>J. Friedman, T. Hastie, and R. Tibshirani. 2010. A note on the group lasso and a sparse group lasso. Unpub­lished manuscript.</p><p>J. Gao, G. Andrew, M. Johnson, and K. Toutanova. 2007. A comparative study of parameter estimation methods for statistical natural language processing. In <i>Proc. of </i>ACL.</p><p>J. Goodman. 2004. Exponential priors for maximum en­tropy models. In <i>Proc. ofNAACL.</i></p><p>J. Graca, K. Ganchev, B. Taskar, and F. Pereira. 2009. Posterior vs. parameter sparsity in latent variable mod­els. <i>Advances in Neural Information Processing Sys­tems.</i></p><p>I. Guyon and A. Elisseeff. 2003. An introduction to vari­able and feature selection. <i>Journal ofMachine Learn­ing Research, </i>3:1157-1182.</p><p>R. Jenatton, J.-Y. Audibert, and F. Bach. 2009. Struc­tured variable selection with sparsity-inducing norms.</p><p>Technical report, arXiv:0904.3523.</p><p>R. Jenatton, J. Mairal, G. Obozinski, and F. Bach. 2010. Proximal methods for sparse hierarchical dictionary learning. In <i>Proc. ofICML.</i></p><p>J. Kazama and J. Tsujii. 2003. Evaluation and exten­sion of maximum entropy models with inequality con­straints. In <i>Proc. ofEMNLP.</i></p><p>S. Kim and E.P. Xing. 2010. Tree-guided group lasso for multi-task regression with structured sparsity. In <i>Proc.</i></p><p><i>ofICML.</i></p><p>J. Lafferty, A. McCallum, and F. Pereira. 2001. Con­ditional random fields: Probabilistic models for seg­menting and labeling sequence data. In <i>Proc. ofICML.</i></p><p>G. R. G. Lanckriet, N. Cristianini, P. Bartlett, L. El Ghaoui, and M. I. Jordan. 2004. Learning the kernel matrix with semidefinite programming. <i>JMLR, </i>5:27­72.</p><p>J. Langford, L. Li, and T. Zhang. 2009. Sparse online learning via truncated gradient. <i>JMLR, </i>10:777-801.</p><p>T. Lavergne, O. Cappe, and F. Yvon. 2010. Practical very large scale CRFs. In <i>Proc. ofACL.</i></p><p>J. Liu and J. Ye. 2010. Moreau-Yosida regularization for grouped tree structure learning. In <i>Advances in Neural Information Processing Systems.</i></p><p>J. Mairal, R. Jenatton, G. Obozinski, and F. Bach. 2010. Network flow algorithms for structured sparsity. In <i>Advances in Neural Information Processing Systems.</i></p><p>A. F. T. Martins, N. A. Smith, E. P. Xing, P. M. Q. Aguiar, and M. A. T. Figueiredo. 2010. Turbo parsers: Depen­dency parsing by approximate variational inference.</p><p>In <i>Proc. ofEMNLP. </i>A. F. T. Martins, M. A. T. Figueiredo, P. M. Q. Aguiar, N. A. Smith, and E. P. Xing. 2011. Online learning of structured predictors with multiple kernels. In <i>Proc. of</i></p><p><i>AISTATS.</i></p><p>A. McCallum. 2003. Efficiently inducing features of conditional random fields. In <i>Proc. of UAI.</i></p><p>R. T. McDonald, F. Pereira, K. Ribarov, and J. Hajic. 2005. Non-projective dependency parsing using span­ning tree algorithms. In <i>Proc. ofHLT-EMNLP.</i></p><p>G. Obozinski, B. Taskar, and M.I. Jordan. 2010. Joint co-variate selection and jointsubspace selection formulti­ple classification problems. <i>Statistics and Computing, </i>20(2):231-252.</p><p>S. Petrov and D. Klein. 2008a. Discriminative log-linear grammars with latent variables. <i>Advances in Neural Information Processing Systems, </i>20:1153-1160.</p><p>S. Petrov and D. Klein. 2008b. Sparse multi-scale gram­mars for discriminative latent variable parsing. In</p><p><i>Proc. ofEMNLP.</i></p><p>A. Quattoni, X. Carreras, M. Collins, and T. Darrell. 2009. An efficient projection for 1<b>i j</b>00 regularization.</p><p>In <i>Proc. ofICML.</i></p><p>E.F.T.K. Sang and S. Buchholz. 2000. Introduction to the CoNLL-2000 shared task: Chunking. In <i>Proceedings of CoNLL-2000 and LLL-2000.</i></p><doubt alpha="64.8" length="54" tooSmall="False" monospace="0.0">E.F.T.K. Sang and F. De Meulder. 2003. Introduction to</doubt><p>the CoNLL-2003 shared task: Language-independent named entity recognition. In <i>Proc. ofCoNLL.</i></p><doubt alpha="61.2" length="49" tooSmall="False" monospace="0.0">E.F.T.K. Sang.  2002.  Introduction to the CoNLL-</doubt><p>2002 shared task: Language-independent namedentity recognition. In <i>Proc. ofCoNLL.</i></p><page local="12" global="1511"/><p>M. Schmidt and K. Murphy. 2010. Convex structure learning in log-linear models: Beyond pairwise poten­tials. In <i>Proc. ofAISTATS.</i></p><doubt alpha="61.1" length="54" tooSmall="False" monospace="0.0">S. Shalev-Shwartz, Y. Singer, and N. Srebro. 2007. Pe-</doubt><p>gasos: Primal estimated sub-gradient solver for SVM.</p><p>In <i>ICML.</i></p><p>N. Sokolovska, T. Lavergne, O. Cappe, and F. Yvon. 2010. Efficient learning of sparse conditional random fields for supervised sequence labelling. <i>IEEE Journal of Selected Topics in Signal Processing, </i>4(6):953-964.</p><p>B. Taskar, C. Guestrin, and D. Koller. 2003. Max-margin Markov networks. In <i>Advances in Neural Information Processing Systems.</i></p><p>R. Tibshirani. 1996. Regression shrinkage and selection via the lasso. <i>Journal ofthe Royal Statistical Society</i></p><p><i>B., </i>pages 267-288.</p><p>I. Tsochantaridis, T. Hofmann, T. Joachims, and Y. Altun. 2004. Support vector machine learning for interdepen­dent and structured output spaces. In <i>ICML.</i></p><p>Y. Tsuruoka, J. Tsujii, and S. Ananiadou. 2009. Stochas­tic gradient descent training for l1-regularized log­linear models with cumulative penalty.  In <i>Proc. of</i></p><p><i>ACL.</i></p><p>S.J. Wright, R. Nowak, and M.A.T. Figueiredo. 2009. Sparse reconstruction by separable approximation. <i>IEEE Transactions on Signal Processing, </i>57(7):24792493.</p><p>L. Xiao. 2009. Dual averaging methods for regular­ized stochastic learning and online optimization. In <i>Advances in Neural Information Processing Systems.</i></p><p>M. Yuan and Y. Lin. 2006. Model selection and estima­tion in regression with grouped variables. <i>Journal of the Royal Statistical Society (B), </i>68(1):49.</p><p>P. Zhao, G. Rocha, and B. Yu. 2009. Grouped and hi­erarchical model selection through composite absolute penalties. <i>Annals ofStatistics, </i>37(6A):3468-3497.</p><p>H. Zou and T. Hastie. 2005. Regularization and vari­able selection via the elastic net. <i>Journal ofthe Royal Statistical Society Series B (Statistical Methodology), </i>67(2):301-320.</p></references></body></article>