<?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="73"/><title>Large Margin Synchronous Generation and its Application to Sentence Compression</title><pubinfo>Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning,pp. 73-82, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Cohn" givenname="Trevor"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author><author surname="Lapata" givenname="Mirella"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author></firstpageheader><frontmatter><p><b>Large Margin Synchronous Generation and its Application to Sentence Compression</b></p><p><b>Trevor Cohn </b>and <b>Mirella Lapata</b></p><p>School of Informatics University of Edinburgh Edinburgh, United Kingdom</p><p>{tcohn,mlap}@inf.ed.ac.uk</p></frontmatter><abstract>This paper presents a tree-to-tree transduc­tion method for text rewriting. Our model is based on synchronous tree substitution grammar, a formalism that allows local dis­tortion of the tree topology and can thus naturally capture structural mismatches. We describe an algorithm for decoding in this framework and show how the model can be trained discriminatively within a large margin framework. Experimental results on sentence compression bring significant im­provements over a state-of-the-art model. </abstract></header><body><section number="1" title="Introduction"><p>Recent years have witnessed increasing interest in text-to-text generation methods for many natural language processing applications ranging from text summarisation to question answering and machine translation. At the heart of these methods lies the ability to perform rewriting operations according to a set of prespecified constraints. For example, text simplification identifies which phrases or sentences in a document will pose reading difficulty for a given user and substitutes them with simpler alternatives (Carroll et al., 1999). Sentence compression pro­duces a summary of a single sentence that retains the most important information while remaining gram­matical (Jing, 2000).</p><p>Ideally, we would like a text-to-text rewriting sys­tem that is not application specific. Given a parallel corpus of training examples, we should be able to learn rewrite rules and how to combine them in order to generate new text. A great deal of previous work has focused on the rule induction problem (Barzilay and McKeown, 2001; Pang et al., 2003; Lin and Pan-tel, 2001; Shinyama et al., 2002), whereas relatively little emphasis has been placed on the actual gen­eration task (Quirk et al., 2004). A notable excep­tion is sentence compression for which end-to-end rewriting systems are commonly developed (Knight and Marcu, 2002; Turner and Charniak, 2005; Gal­ley and McKeown, 2007; Riezler et al., 2003; Mc­Donald, 2006). The appeal of this task lies in its simplified formulation as a single rewrite operation, namely word deletion (Knight and Marcu, 2002).</p><p>Solutions to the compression task have been cast mostly in a supervised learning setting (but see and Turner and Charniak (2005) for unsupervised methods). Rewrite rules are learnt from a parsed parallel corpus and subsequently used to find the best compression from the set of all possible com­pressions for a given sentence. A common assump­tion is that the tree structures representing long sen­tences and their compressions are <i>isomorphic. </i>Con­sequently, the models are not generally applicable to other text rewriting problems since they cannot readily handle structural mismatches and more com­plex rewriting operations such as substitutions or insertions. A related issue is that the tree structure of the compressed sentences is often poor; most al­gorithms delete words or constituents without pay­ing too much attention to the structure of the com­pressed sentence. However, without an explicit gen­eration mechanism that allows tree transformations, there is no guarantee that the compressions will have well-formed syntactic structures. And it will not be easy to process them for subsequent generation or analysis tasks. In this paper we present a text-to-text rewriting model that scales to <i>non-isomorphic </i>cases and can thus naturally account for structural and lexical di­vergences.<page local="2" global="74"/> Our approach is inspired by <i>synchronous tree substitution grammar </i>(STSG, Eisner (2003)) a formalism that allows local distortion of the tree topology. We show how such a grammar can be in­duced from a parallel corpus and propose a large margin model for the rewriting task which can be viewed as a weighted tree-to-tree transducer. Our learning framework makes use of the algorithm put forward by Tsochantaridis et al. (2005) which ef­ficiently learns a prediction function to minimise a given loss function. Experiments on sentence com­pression show significant improvements over the state-of-the-art. Beyond sentence compression and related text-to-text generation problems <i>(e.g., </i>para­phrasing), our model is generally applicable to tasks involving structural mapping. Examples include ma­chine translation (Eisner, 2003) or semantic parsing (Zettlemoyer and Collins, 2005).</p><doubt alpha="57.1" length="49" tooSmall="False" monospace="0.0">Clarke and Lapata (2006a), Hori and Furui (2004),</doubt></section><section number="2" title="Related Work"><p>Knight and Marcu (2002) proposed a noisy-channel formulation of sentence compression based on syn­chronous context-free grammar (SCFG). The lat­ter is a generalisation of the context-free grammar (CFG) formalism to simultaneously produce strings in two languages. In the case of sentence compres­sion, the grammar rules have two right hand sides, one corresponding to the <i>source </i>(long) sentence and the other to its <i>target </i>compression. The synchronous derivations are learnt from a parallel corpus and their probabilities are estimated generatively.</p><p>Given a long sentence, <b>l, </b>the aim is to find the corresponding compressed sentence, <i>s, </i>which max­imises <i>P(s)P(l\s) </i>(here <i>P(s) </i>is the source model and <i>P(l\s) </i>the channel model.) Modifications of this model are reported in Turner and Charniak (2005) and Galley and McKeown (2007) with improved re­sults. The channel model is limited to tree deletion and does not allow any type of tree re-organisation.</p><p>Non-isomorphic tree structures are common when translating between languages. It is therefore not surprising that most previous work on tree rewrit­ing falls within the realm of machine translation. Proposals include Eisner's (2003) synchronous tree substitution grammar (STSG), Melamed's (2004) multitext grammar, and Graehl and Knight's (2004) tree-to-tree transducers. Despite differences in for­malism, all these approaches model the translation process using tree-based probabilistic transduction rules. The grammar induction process requires EM training which can be computationally expensive es­pecially if all synchronous rules are considered.</p><p>Our work formulates sentence compression in the framework of STSG (Eisner, 2003). We propose a novel grammar induction algorithm that does not require EM training and is coupled with a sepa­rate large margin training process (Tsochantaridis et al., 2005) for weighting each rule. McDonald (2006) also presents a sentence compression model that uses a discriminative large margin algorithm. However, we differ in two important respects. First, our generation algorithm is more powerful, perform­ing complex tree transformations, whereas McDon­ald only considers simple word deletion. Being tree-based, the generation algorithm is better able to pre­serve the grammaticality of the compressed output. Second, our model can be tuned to a wider range of loss functions <i>(e.g</i>.,tree-based measures).</p></section><section number="3" title="Problem Formulation"><p>We formulate sentence compression as an instance of the general problem of learning a mapping from input patterns <b>x </b><b>e X </b>to discrete structured objects <b>y </b><b>e Y</b>. Our training sample consists of a parallel corpus of input (uncompressed) and output (com­pressed) pairs <b>(xi,yi)... </b><i>(xn,yn) </i><b>e X x Y </b>and our task is to predict a target labelled tree <b>y </b>from a source labelled tree <b>x. </b>As we describe below, <b>y </b>is not precisely a target tree, but instead derivations which generate both the source and the target tree. We model the dependency between <b>x </b>and <b>y </b>as a weighted STSG. Grammar rules are of the form <i>(X, Y) — </i><i>(y,</i><i> </i><i>a,</i><i> </i><i>P)</i><i> </i>where <i>y</i><i> </i>and <b>a </b>are <i>elementary trees </i>composed of a mixture of terminal and non­terminals rooted with non-terminals <i>X </i>and <i>Y </i>respec­tively, and <b>P </b>is a set of variable correspondences between pairs of frontier non-terminals in <b>y </b>and <b>a. </b>A grammar rule specifies that we can substitute the trees <b>y </b>and <b>a </b>for corresponding <i>X </i>and <i>Y </i>nodes in the source and target trees respectively. For example, the rule:</p><doubt alpha="62.2" length="37" tooSmall="False" monospace="0.0">(NP, NP) — ([DTmADJPNNm]np,[DTmNN^np)</doubt><page local="3" global="75"/><p>allows adjective phrases to be dropped from the source tree within an NP. The indices H are used to specify the variable correspondences, p.</p><p>Each grammar rule has a score from which the overall score of a compression <b>y </b>for sentence <b>x </b>can be derived. These scores are learnt discrimina-tively using the large margin technique proposed by Tsochantaridis et al. (2005). The synchronous rules are combined using a chart-based parsing algorithm (Eisner, 2003) to generate the derivation (i.e., com­pressed tree) with the highest score.</p><p>We begin by describing our STSG generation al­gorithm in Section 3.1. We next explain how a syn­chronous grammar is induced from a parallel corpus of original sentences and their compressions (Sec­tion 3.2) and give the details of our learning frame­work (Section 3.3).</p><subsection number="3.1" title="Generation"><p>Generation aims to find the best target tree for a given source tree using the transformations specified by the synchronous grammar. (We discuss how we obtain this grammar in the following section.) where <b>y </b>ranges over all target derivations (and there­fore trees), <b>w </b>is a parameter vector and <i>score(-) </i>is an objective function measuring the quality of the derivation. In common with many parsing methods, we encounter a problem with <i>spurious ambiguity: </i>i.e., there may be many <i>derivations </i>(sequences of rule applications) which produce the same target tree. Ideally we would sum up the scores over all these derivations, however for the sake oftractability we instead take the maximum score. This allows us to pose the maximisation problem over <i>derivations </i>rather than target trees.</p><doubt alpha="60.0" length="20" tooSmall="False" monospace="0.0">y* =maxscore(x,y; w)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">yeY</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>The generation algorithm uses a dynamic pro­gram defined over the constituents in the source tree as shown in Figure 1 (see also Eisner (2003)). The algorithm makes the assumption that the scor­ing function decomposes with the derivation, such that a partial score can be evaluated at each step, i.e., <i>score(x,</i><b>y;w) = £rey</b><i>score(r;</i><b>w) </b>where <i>r </i>are the rules used in the derivation. This method builds a <i>chart </i>of the best scoring partial derivation for each source subtree headed by a given target non­terminal. The inductive step is applied recursively 1: <b>for all </b>nodes, n, in source tree (bottom-up) <b>do</b> 2: <b>for all </b>rules, <i>r </i>with left side matching node, <i>nr = n </i><b>do</b> 4: <b>for all </b>variables <i>v </i>in <i>r </i><b>do</b> 7: update <i>chart [n, cr] </i>with score, s, if better than current 10: <i>c</i><i>b</i><i>est </i><i>= </i>argmaxc <i>chart [root, c]</i> 11: find best derivation using back-pointers from <i>(root, c</i><i>best</i><i>)</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">3:s = score(r)</doubt><doubt alpha="59.4" length="32" tooSmall="False" monospace="0.0">5:score = score + chart [nv, cv]</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">6:end for</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">8:end for</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">9:end for</doubt><p>Figure 1: Generation algorithm to find the best derivation. <i>n</i><i>r </i>and <i>n</i><i>v </i>are the source nodes indexed by the rule's source side (root and variable), while <i>c</i><i>r </i>and <i>c</i><i>v </i>are the non-terminal categories ofthe rule's target side (root and variable).</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">VP</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">/ ADJP</doubt><p><b>'  / ^ -/- V - .</b></p><doubt alpha="36.8" length="19" tooSmall="False" monospace="0.0">AUX   RB       JJ ^</doubt><doubt alpha="27.8" length="18" tooSmall="False" monospace="0.0">iii     i   ^+■ Z-</doubt><p>is I very    good    and     includes ...</p><p>Figure 2: Example of a rule application during gen­eration. The dashed area shows a matching rule for the <i>VP</i><i> </i>node.</p><p>bottom-up, and involves applying a grammar rule to a node in the source tree. Rules with substitution variables in their frontier are scored with reference to the chart for the matching nodes and target non­terminal categories. Once the process is complete, we can read the best score from the chart cell for the root node, and the best derivation can be constructed by traversing <i>back-pointers </i>also stored in the chart. This is illustrated in Figure 2 where the rule applied to the top <i>VP</i><i> </i>node. The score of the result­ing tree would reference the chart to calculate the score for the best target tree at the <i>ADJP </i>node with syntactic category <i>NP.</i></p><doubt alpha="65.3" length="49" tooSmall="False" monospace="0.0">(VP, VP) — ([[isAUXADJvpCC VP]vp, [isAUXNPm]Vp)is</doubt></subsection><subsection number="3.2" title="Grammar Induction"><p>Our induction algorithm automatically finds gram­mar rules from a word-aligned parsed parallel cor­pus. The rules are pairs of <i>elementary trees </i>(i.e., tree fragments) whose leaf nodes are linked by the word alignments. These leaves can be either terminal or non-terminal symbols. Initially, the algorithm extracts tree pairs from word aligned text by choos­ing aligned constituents in the source and the tar­get.<page local="4" global="76"/> These pairs are then generalised using subtrees which are also extracted, resulting in synchronous rules with variable nodes. The set of aligned tree pairs are extracted using the alignment template method (Och and Ney, 2004), constrained to syntac­tic constituent pairs:</p><doubt alpha="56.7" length="67" tooSmall="False" monospace="0.0">C={(nS,nT),(3(s,t)eAAseY(nS)AteY(nT))A$(s, t)eAA(seY(nS)VteY(nT)))}</doubt><p>where nS and nT are source and target tree nodes (subtrees), A <b>= </b><b>{</b>(s, t<b>)</b><b>} </b>is the set of word alignments (pairs of word-indices), Y<b>(</b><b>•</b><b>) </b>returns the yield span for a subtree and v is the exclusive-or operator.</p><p>The next step is to generalise the candidate pairs by replacing subtrees with variable nodes. We could fully trust the word alignments and adopt a strat­egy in which the rules are generalised as much as possible and thus include little lexicalisation. Fig­ure 3 shows a simple sentence pair and the result­ing synchronous rules according to this generalisa­tion strategy. Alternatively, we could extract every possible rule by including unlexicalised rules, lexi-calised rules and their combination. The downside here is that the total number of possible rules is fac­torial in the size of the candidate set. We address this problem by limiting the number of variables and the recursion depth, and by filtering out singleton rules.</p><p>There is no guarantee that the induced rules will generalise well to a testing set. For example, the test­ing data may have a rule which was not seen in the training set (e.g., a new terminal or non terminal). In this case no rule can be applied and subsequently generation fails. For this reason we allow the model to duplicate any CFG production from the source tree, and uses a feature to flag that this rule was un­seen in training. These SCFG rules are then merged with the induced rules and fed into the feature detec­tion module (see Section 3.3 for details).</p></subsection><subsection number="3.3" title="The Large Margin Model"><p>We now describe how the parameters of our STSG generation system are fit to a supervised training set. For a given source tree, the space of sister target trees implied by the synchronous grammar is often very large, and the majority of these trees are un-</p><p>Documentation is very good</p><doubt alpha="48.4" length="64" tooSmall="False" monospace="0.0">&lt;s, s)— {[np0vp@.^s,[np0vpg, .s]s&gt;&lt;np,np)—{[dp nn[jjnp, [NNe]np&gt;</doubt><doubt alpha="61.0" length="159" tooSmall="False" monospace="0.0">(nn, nn)— (documentation^, Documentation^){vp, vp)—{vpecc vp, vpe)(vp, vp)—(aux  ad/p^,auxead/p^) (aux,aux) —(isAux, isAUX)(adjp,adjp)— /./^ADJP,[r% jj[l]ADyp)</doubt><p>^ jj) — (goodADJ, goodADJ)</p><p>Figure 3: Induced synchronous grammar from asen-tence pair using a strategy that extracts general rules.</p><p>grammatical or are poor compressions. The train­ing procedure learns weights such that the model can discriminate between these trees and predict a good target tree. For this we develop a discriminative training process which learns a weighted tree-to-tree transducer. Our model is based on Tsochantaridis et al.'s (2005) framework for learning Support Vector Machines (SVMs) with structured output spaces, us­ing the SVMstruct implementation.<footnote anchor="1"/> We briefly sum­marise the approach below; for a more detailed de­scription we refer the interested reader to Tsochantaridis et al. (2005).</p><p>Traditionally SVMs learn a linear classifier that separates two or more classes with the largest pos­sible margin. Analogously, structured SVMs at­tempt to separate the correct structure from all other structures with a large margin.<page local="5" global="77"/> Given an input in­stance <b>x, </b>we search for the optimum output <b>y </b>under the assumption that <b>x </b>and <b>y </b>can be adequately de­scribed using a combined feature vector representa­tion <b>^(x, y). </b>Recall that <b>x </b>are the source trees and <b>y </b>are synchronous derivations which generate both <b>x </b>and a target tree.</p><footnote label="1">http://svmlight.joachims.org/sv^struct.html</footnote><doubt alpha="40.0" length="30" tooSmall="False" monospace="0.0">f(x; w) =argmax(w, ¥(x, y))(2)</doubt><p>The goal of the training procedure is to find a param­eter vector <b>w </b>such that it satisfies the condition:</p><doubt alpha="46.4" length="28" tooSmall="False" monospace="0.0">Vi,VyeYYVi:(w,yi)-,y))&gt;0 (3)</doubt><p>where <b>xi, yi </b>are the ith training source tree and tar­get derivation. To obtain a unique solution — there will be several parameter vectors <b>w </b>satisfying (3) if the training instances are linearly separable — Tsochantaridis et al. (2005) select the <b>w </b>that max­imises the minimum distance between <b>y</b>i and the closest runner-up structure.</p><p>The framework also incorporates a loss function. This property is particularly appealing in the context of sentence compression and generally text-to-text generation. For example, a compression that differs from the gold standard with respect to one or two words should be treated differently from a compres­sion that bears no resemblance to it. Another impor­tant factor is the length of the compression. Com­pressions whose length is similar to the gold stan­dard should be be preferable to longer or shorter output. A loss function A<b>(yi, y) </b>quantifies the accu­racy of prediction <b>y </b>with respect to the true output value <b>y</b>i. We give details of the loss functions we employed for the compression task below.</p><p>We are now ready to state the learning objective for the structured SVM. We use the soft-margin for­mulation which allows errors in the training set, via the slack variables <i>tli</i>:</p><doubt alpha="27.3" length="22" tooSmall="False" monospace="0.0">min2||w||2+C£5i,&gt;0 (4)</doubt><doubt alpha="41.4" length="29" tooSmall="False" monospace="0.0">Vi,VyeY\yi:(w,8&lt;F(y))&gt;1-A^^-)</doubt><p>Slack variables <i>tli </i>are introduced here for each train­ing example xi, C is a constant that controls the trade-off between training error minimisation and margin maximisation, and 8*P<b>(y) </b>is a shorthand for <b>^(xi,yi) </b><b>— </b><b>^(xi,y) </b>(see (3)). Note that slack vari­ables are rescaled with the inverse loss incurred in each of the linear constraints.<footnote anchor="2"/></p><p>The optimisation problem in (4) is approximated using a polynomial time cutting plane algorithm (Tsochantaridis et al., 2005). This optimisation cru­cially relies on finding the constraint incurring the maximum cost. The cost function for slack rescaling can be formulated as:</p><doubt alpha="26.7" length="30" tooSmall="False" monospace="0.0">H(y) =(1—(8^(y), w))A(yi,y)(5)</doubt><p>In order to adapt this framework to our genera­tion problem, we must provide the feature map­ping <b>^(x, y), </b>a loss function A<b>(yi, y), </b>and a max­imiser <b>y = </b>argmaxyej H<b>(y) </b>(see (5)). The following sections describe how these are instantiated in the sentence compression task.</p><p><b>Feature Mapping </b>We devised a general feature set suitable for compression and paraphrasing. Our feature space is defined over source trees <b>(x) </b>and target derivations <b>(y). </b>All features apply to a single grammar rule; a feature vector for a derivation is ex­pressed as the sum of the feature vectors for each rule in this derivation.</p><p>We make use of syntactic, lexical, and com­pression specific features. Our simplest syntac­tic feature is the identity of a synchronous rule. Specifically, we record its source tree, its target tree and their combination. We also include rule frequencies ^(target|source), §(source<b>|</b>target<b>) </b>and (|) (source,target<b>)</b>. Another feature records the fre­quencies of the CFG productions used in the tar­get side of a rule. This allows the model to learn the weights of a CFG generation grammar, as a proxy for a language model. Using scores from a pre-trained CFG grammar or an n-gram language model might be preferable when the training sample is small, however we leave this as future work. Our last syntactic feature keeps track of the source root and the target root non-terminals. Our lexical fea­tures contain the list of tokens in the source yield, target yield, and both. We also use words as features.</p><footnote label="2">Alternatively, the loss function can be used to rescale the margin. This approach is less desirable as it is not scale invari­ant (Tsochantaridis et al., 2005). We also found empirically that slack-rescaling slightly outperforms margin rescaling on our compression task.</footnote><page local="6" global="78"/><p>Finally, we have implemented a set of compression-specific features. These include a feature that detects if the yield of the target side of a synchronous rule is a subset of the yield of its source. We also take note of the edit operations (i.e., removal, insertion) required to transform the source side into the target. Edit operations are recorded separately for trees and their yields. In order to encourage compression, we also count the number of words on the target, the number of rules used in the derivation and the number of dropped variables.</p><p><b>Loss Functions </b>The large margin configuration sketched above is quite modular and in theory a wide range of loss functions could be specified. Examples include edit-distance, precision, F-score, BLEU and tree-based measures. In practice, the loss function should be compatible with our maximisation algo­rithm which requires the objective function to de­compose along the same lines as the tree derivation.<footnote anchor="3"/>Given this restriction, we define a loss based on position-independent unigram precision (Prec) which penalises errors in the yield independently for each word. Although fairly intuitive, this loss is far from ideal. First, it maximally rewards re­peatedly predicting the same word if the latter is in the reference target tree. Secondly, it may bias towards overly short output which drops core in­formation — one-word compressions will tend to have higher precision than longer output. To coun­teract this, we introduce two brevity penalty mea­sures (BP) inspired by BLEU (Papineni et al., 2002) which we incorporate into the loss function, using a product, <i>loss = </i>1 — Prec • BP:</p><doubt alpha="32.1" length="28" tooSmall="False" monospace="0.0">BP1 = exp(1 — max(1,-))(6) c</doubt><doubt alpha="39.1" length="23" tooSmall="False" monospace="0.0">BP2 = exp(1 — max(C,-))</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">-c</doubt><p>where <i>- </i>is the reference length and <i>c </i>is the candidate length.</p><p>BP1 is asymmetric, it has value one when c &gt; r and decays to zero when c &lt; r. Note that precision should decay when c &gt; r as extra output will often not match the reference. BP2 is two-sided: it has value one when c = r and decays towards zero for c &lt; r and c &gt; r. In both cases, brevity is assessed against the gold standard target (not the source) to allow the system to learn the correct degree of com­pression from the training data.</p><footnote label="3">Optimising non-decompositional loss functions compli­cates the objective function, which then cannot be solved ef­ficiently using a dynamic program.</footnote><p><b>Maximisation Algorithm </b>Our algorithm finds the maximising derivation for H<b>(y) </b>in (5). This deriva­tion will have a high loss and a high score under the model, and therefore represents the most-violated constraint which is then added to the SVM's work­ing set of constraints (see (4)).</p><p>The standard generation method from Section 3.1 cannot be used without modiication to ind the best scoring derivation since it does not account for the loss function or the gold standard derivation. In­stead, we <i>stratify </i>the generation chart with the num­ber of true and false positive tokens predicted, as de­scribed in Joachims (2005). These contingency val­ues allow us to compute the precision and brevity penalty (see (6)) for each complete derivation. This is then combined with the derivation score and the gold standard derivation score to give <i>H</i><b>(y).</b></p><p>The gold standard derivation features, <b>^(xi; yi), </b>must be calculated from a derivation linking the source tree to the gold target tree. As there may be many such derivations, we find a <i>unique </i>deriva­tion using the smallest rules possible (for maximum generality). This is done using a dynamic program, similar to the inside-outside algorithm used in pars­ing. Other strategies are also possible, however we leave this to future work. Finally, we can ind the global maximum <i>H</i><b>(y) </b>by maximising over all the root chart entries.</p></subsection></section><section number="4" title="Evaluation Set-up"><p>In this section we present our experimental set-up for assessing the performance of the max margin model described above. We give details of the cor-poraused, briefly introduce McDonald's (2006) sen­tence compression model used for comparison with our approach, and explain how system output was evaluated.</p><p><b>Corpora </b>We evaluated our system on two dif­ferent corpora. The irst is the compression cor­pus of Knight and Marcu (2002) derived automati­cally from the document-abstract pairs of the Ziff-<page local="7" global="79"/></p><p>Davis corpus. Previous compression work has al­most exclusively used this corpus. Our experiments follow Knight and Marcu's partition oftraining, test, and development sets (1,002/36/12 instances). We also present results on Clarke and Lapata's (2006a) Broadcast News corpus.<footnote anchor="4"/> This corpus was created manually (annotators were asked to produce com­pressions for 50 Broadcast news stories) and poses more of a challenge than Ziff-Davis. Being a speech corpus, it often contains incomplete and ungram-matical utterances and speech artefacts such as dis-fluencies, false starts and hesitations. Furthermore, spoken utterances have varying lengths, some are very wordy whereas others cannot be reduced any further. Thus a hypothetical compression system trained on this domain should be able to leave some sentences uncompressed. Again we used Clarke and Lapata's training, test, and development set split (882/410/78 instances).</p><p><b>Comparison with State-of-the-art </b>We evaluated our approach against McDonald's (2006) discrimi­native model. This model is a good basis for compar­ison for several reasons. First, it achieves compet­itive performance with Knight and Marcu's (2002) decision tree and noisy channel models. Second, it also uses large margin learning. Sentence compres­sion is formulated as a string-to-substring mapping problem with a deletion-based Hamming loss. Re­call that our formulation involves a tree-to-tree map­ping. Third, it uses a feature space complementary to ours. For example features are deined between ad­jacent words, and syntactic evidence is incorporated indirectly into the model. In contrast our model re­lies on synchronous rules to generate valid compres­sions and does not explicitly incorporate adjacency features. We used an implementation of McDonald (2006) for comparison of results (Clarke and Lapata, 2007).</p><p><b>Evaluation Measures </b>In line with previous work we assessed our model's output by eliciting hu­man judgements. Participants were presented with an original sentence and its compression and asked to rate the latter on a ive point scale based on the in­formation retained and its grammaticality. We con­ducted two separate elicitation studies, one for the</p><footnote label="4">The corpus can be downloaded from http://homepages . inf.ed.ac.uk/s04  60  0  84/data/ .</footnote><p>O: I just wish my parents and my other teachers could</p><p>be like this teacher, so we could communicate. M: I wish my teachers could be like this teacher. S:  I wish my teachers could be like this, so we could</p><p>communicate. G: I wish my parents and other teachers could be like</p><p>this, so we could communicate. O: Earlier this week, in a conference call with analysts, the bank said it boosted credit card reserves by $350 million.</p><p>M: Earlier said credit card reserves by $350 million. S:  In a conference call with analysts, the bank boosted</p><p>card reserves by $350 million. G: In a conference call with analysts the bank said it boosted credit card reserves by $350 million.</p><table caption="Table 1: Compression examples from the Broadcast news corpus (O: original sentence, M: McDonald"></table><doubt alpha="52.9" length="34" tooSmall="False" monospace="0.0">(2006), S: STSG, G: gold standard)</doubt><p>Ziff-Davis and one for the Broadcast news dataset. In both cases our materials consisted of 96 source-target sentences. These included gold standard com­pressions and the output of our system and Mc­Donald's (2006). We were able to obtain ratings on the entire Ziff-Davis test set as it has only 32 in­stances; this was not possible for Broadcast news as the test section consists of 410 instances. Conse­quently, we randomly selected 32 source-target sen­tences to match the size of the Ziff-Davis test set.<footnote anchor="5"/>We collected ratings from 60 unpaid volunteers, all self reported native English speakers. Both studies were conducted over the Internet. Examples of our experimental items are given in Table 1.</p><p>We also report results using F1 computed over grammatical relations (Riezler et al., 2003). We chose F1 (as opposed to accuracy or edit distance-based measures) as Clarke and Lapata (2006b) show that it correlates reliably with human judgements.</p></section><section number="5" title="Experiments"><p>The framework presented in Section 3 is quite flex­ible. Depending on the grammar induction strategy, choice of features, loss function and maximisation algorithm, different classes of models can be de­rived. Before presenting our results in detail we dis­cuss the speciic model employed in our experiments and explain how its parameters were instantiated. In order to build a compression model we need<page local="8" global="80"/></p><footnote label="5">A Latin square design ensured that subjects did not see two different compressions of the same sentence.</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">▲</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Prec</doubt><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">!§ - • Prec.BPI</doubt><p>Prec.BP2</p><doubt alpha="7.1" length="14" tooSmall="False" monospace="0.0">-1-1-1-1-—I-1-</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">60 65 70 75 80 85</doubt><p>compression rate</p><p>Figure 4: Compression rate vs. grammatical rela­tions F1 using unigram precision alone and in com­bination with two brevity penalties.</p><p>a parallel corpus of syntax trees. We obtained syn­tactic analyses for source and target sentences with Bikel's (2002) parser. Our corpora were automat­ically aligned with Giza++ (Och et al., 1999) in both directions between source and target and sym­metrised using the intersection heuristic (Koehn et al., 2003). Each word in the lexicon was also aligned with itself. This was necessary in order to inform Giza++ about word identity. Unparseable sentences and those longer than 50 tokens were removed from the data set.</p><p>We induced a synchronous tree substitution gram­mar from the Ziff-Davis and Broadcast news cor­pora using the method described in Section 3.2. We extracted all maximally general synchronous rules. These were complemented with more speciic rules from conjoining pairs of general rules. The speciic rules were pruned to remove singletons and those rules with more than 3 variables. Grammar rules were represented by the features described in Sec­tion 3.3.</p><p>An important parameter for our compression task is the appropriate choice of loss function. Ideally, we would like a loss function that encourages compres­sion without overly aggressive information loss. Fig­ure 4 plots compression rate against grammatical re­lations F1 using each of the loss functions presented in Section 3.3 on the Ziff-Davis development set.<footnote anchor="6"/>As can be seen with unigram precision alone (Prec)</p><footnote label="6">We obtained a similar plot for the Broadcast News corpus but omit it due to lack of space.</footnote><p>Table 2: Results using grammatical relations F1 (*: sig. diff. from McDonald06; <i>p &lt; </i>0.01 using the Student <i>t </i>test) the system produces overly short output, whereas the one-sided brevity penalty (BP1) achieves the op­posite effect. The two-sided brevity penalty (BP2) seems to strike the right balance: it encourages com­pression while achieving good F-scores. This sug­gests that important information is retained in spite of signiicant compression. We also varied the regu­larisation parameter C (see (4)) over a range of val­ues on the development set and found that setting it to 0.01 yields overall good performance across cor­pora and loss functions.</p><p>We now present our results on the test set. These were obtained with a model that uses slack rescal-ing and a precision-based loss function with a two-sided brevity penalty (C = 0.01). Table 2 shows the average compression rates (CompR) for McDonald (2006) and our model (STSG) as well as their perfor­mance according to grammatical relations F1. The row 'Gold standard' displays human-produced com­pression rates. Notice that our model obtains com­pression rates similar to the gold standard, whereas McDonald tends to compress less on Ziff-Davis and more on Broadcast news. As far as F1 is concerned, we see that STSG outperforms McDonald on both corpora. The difference in F1 is statistically signii-cant on Broadcast news but not on Ziff-Davis (which consists solely of 32 sentences).</p><p>Table 3 presents the results of our elicitation study. We carried out an Analysis of Variance (ANOVA) to examine the effect of system type (Mc-Donald06, STSG, Gold standard) on the compres­sion ratings. The ANOVA revealed a reliable effect on both corpora. We used post-hoc Tukey tests to<page local="9" global="81"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Ziff-Davis</p></td><td class="cell"><p>CompR</p></td><td class="cell"><p>RelFl</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>McDonald06 STSG</p><p>Gold standard</p></td><td class="cell"><p>66.2 56.8 57.2</p></td><td class="cell"><p>45.8 54.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Broadcast News</p></td><td class="cell"><p>CompR</p></td><td class="cell"><p>RelFl</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>McDonald06 STSG</p><p>Gold standard</p></td><td class="cell"><p>68.6 73.7 76.1</p></td><td class="cell"><p>47.6 53.4*</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Model       Ziff-Davis Broadcast news</p><doubt alpha="37.7" length="69" tooSmall="False" monospace="0.0">McDonald06I282^I2716^ STSG 3.201"* 2.63* Gold standard      3.72 3.05</doubt><p>Table 3: Mean ratings on compression output elicited by humans (*: sig. diff. from McDon-ald06 (a &lt; 0.05); t sig. diff. from Gold standard (a &lt; 0.01); using post-hoc Tukey tests) examine whether the mean ratings for each sys­tem differed significantly. The Tukey tests showed that STSG is perceived as significantly better than McDonald06. There is no significant difference be­tween STSG and the gold standard compressions on the Broadcast news; both systems are significantly worse than the gold standard on Ziff-Davis.</p><p>These results are encouraging, indicating that our highly expressive framework is a good model for sentence compression. Under several experimental conditions we obtain better performance than previ­ous work. Importantly, the model described here is not compression-specific, it could be easily adapted to other tasks, corpora or languages (for which syntactic analysis tools are available). Being su­pervised, our model learns to fit the compression rate of the training data. In this sense, it is some­what inflexible as it cannot easily adapt to a spe­cific rate given by a user or imposed by an appli­cation <i>(e.g., </i>when displaying text on small screens). Compression rate can be indirectly manipulated by adopting loss functions that encourage or discourage compression (see Figure 4), but admittedly in other frameworks <i>(e.g., </i>Clarke and Lapata (2006a)) the length of the compression can be influenced more naturally.</p><p>In our formulation of the compression problem, a derivation is characterised by a single inventory of features. This entails that the feature space can­not in principle distinguish between derivations that use the same rules, applied in a different order. Al­though, this situation does not arise often in our dataset, we believe that it can be ameliorated by in­tersecting a language model with our generation al­gorithm (Chiang, 2005).</p></section><section number="6" title="Conclusions and Future Work"><p>In this paper we have presented a novel method for sentence compression cast in the framework of structured learning. We develop a system that gener­ates compressions using a synchronous tree substi­tution grammar whose weights are discriminatively trained within a large margin model. We also de­scribe an appropriate algorithm than can be used in both training (i.e., learning the model weights) and decoding (i.e., finding the most plausible compres­sion under the model). The proposed formulation al­lows us to capture rewriting operations that go be­yond word deletion and can be easily tuned to spe­cific loss functions directly related to the problem at hand. We empirically evaluate our approach against a state-of-the art model (McDonald, 2006) and show performance gains on two compression corpora.</p><p>Future research will follow three directions. First, we will extend the framework to incorporate po­sition dependent loss functions. Examples include the Hamming distance or more sophisticated func­tions that take the tree structure of the source and target sentences into account. Such functions can be supported by augmenting our generation algo­rithm with a beam search. Secondly, the present pa­per used a relatively simple feature set. Our inten­tion was to examine our model's performance with­out extensive feature engineering. Nevertheless, im­provements should be possible by incorporating fea­tures defined over n-grams and dependencies (Mc­Donald, 2006). Finally, the experiments presented in this work use a grammar acquired from the train­ing corpus. However, there is nothing inherent in our formalisation that restricts us to this particular gram­mar. We therefore plan to investigate the potential of our method with unsupervised or semi-supervised grammar induction techniques for additional rewrit­ing tasks including paraphrase generation and ma­chine translation.</p><p><b>Acknowledgements </b>The authors acknowledge the sup­port of EPSRC (grants GR/T04540/01 and GR/T04557/01). We are grateful to James Clarke for sharing his implementation of McDonald (2006) with us. Special thanks to Philip Blunsom for insightful comments and suggestions.</p><page local="10" global="82"/></section><references><p>R. Barzilay, K. McKeown. 2001. Extracting paraphrases from a parallel corpus. In <i>Proceedings of ACL/EACL, </i>50-57, Toulouse, France.</p><p>D. Bikel. 2002. Design of a multi-lingual, parallel-processing statistical parsing engine. In <i>Proceedings of HIT, </i>24-27, San Diego, CA.</p><p>J. Carroll, G. Minnen, D. Pearce, Y. Canning, S. Devlin, J. Tait. 1999. Simplifying text for language impaired readers. In <i>Proceedings ofEACL, </i>269-270, Bergen, Norway.</p><p>D. Chiang. 2005. A hierarchical phrase-based model for statistical machine translation. In <i>Proceedings of the 43rd ACL, </i>263-270, Ann Arbor, MI.</p><p>J. Clarke, M. Lapata. 2006a. Constraint-based sentence compression: An integer programming approach. In <i>Proceedings of COLING/ACL Main Conference Poster Sessions, </i>144-151, Sydney, Australia.</p><p>J. Clarke, M. Lapata. 2006b. Models for sentence com­pression: A comparison across domains, training re­quirements and evaluation measures. In <i>Proceedings</i> <i>ofCOLING/ACL, </i>377-384, Sydney, Australia.</p><p>J. Clarke, M. Lapata. 2007. Modelling compression with discourse constraints. In <i>Proceedings ofEMNLP-CoNLL, </i>Prague, Czech Republic.</p><p>J. Eisner. 2003. Learning non-isomorphic tree mappings for machine translation. In <i>Proceedings of the ACL Interactive Poster/Demonstration Sessions, </i>205-208, Sapporo, Japan.</p><p>M. Galley, K. McKeown. 2007. Lexicalized Markov grammars for sentence compression. In <i>Proceedings ofNAACL/HLT, </i>180-187, Rochester, NY.</p><p>J. Grael, K. Knight. 2004. Training tree transducers. In <i>Proceedings ofNAACL/HLT, </i>105-112, Boston, MA.</p><p>C. Hori, S. Furui. 2004. Speech summarization: an ap­proach through word extraction and a method for eval­uation. <i>IEICE Transactions on Information and Sys­tems, </i>E87-D(1):15-25.</p><p>H. Jing. 2000. Sentence reduction for automatic text summarization. In <i>Proceedings ofANLP, </i>310-315,</p><p>Seattle, WA.</p><p>T. Joachims. 2005. A support vector method for mul-tivariate performance measures.   In <i>Proceedings of</i> <i>ICML, </i>377-384, Bonn, Germany.</p><p>K. Knight, D. Marcu. 2002. Summarization beyond sen­tence extraction: a probabilistic approach to sentence compression. <i>ArtificialIntelligence, </i>139(1):91-107.</p><p>P. Koehn, F. J. Och, D. Marcu. 2003. Statistical phrase-based translation. In <i>Proceedings ofHLT/NAACL, </i>48­54, Edmonton, Canada.</p><p>D. Lin, P. Pantel. 2001. Discovery of inference rules for question answering. <i>Natural Language Engineering,</i> 7(4):342-360.</p><p>R. McDonald. 2006. Discriminative sentence compres­sion with soft syntactic constraints. In <i>Proceedings of</i> <i>EACL, </i>297-304, Trento, Italy.</p><p>I. D. Melamed. 2004. Statistical machine translation by parsing. In <i>Proceedings ofACL, </i>653-660, Barcelona, Spain.</p><p>F. J. Och, H. Ney. 2004. The alignment template ap­proach to statistical machine translation. <i>Computa­tional Linguistics, </i>30(4):417-449.</p><p>F. J. Och, C. Tillmann, H. Ney. 1999. Improved align­ment models for statistical machine translation. In <i>Proceedings of EMNLP/VLC, </i>20-28, College Park,</p><p>MD.</p><p>B. Pang, K. Knight, D. Marcu. 2003. Syntax-based alignment of multiple translations: Extracting para­phrases and generating new sentences. In <i>Proceedings ofNAACL, </i>181-188, Edmonton, Canada.</p><p>K. Papineni, S. Roukos, T. Ward, W.-J. Zhu. 2002.</p><p>BLEU: a method for automatic evaluation of ma­chine translation. In <i>Proceedings of ACL, </i>311-318,</p><p>Philadelphia, PA.</p><p>C. Quirk, C. Brockett, W. Dolan. 2004. Monolingual machine translation for paraphrase generation. In <i>Pro­ceedings ofEMNLP, </i>142-149, Barcelona, Spain.</p><p>S. Riezler, T. H. King, R. Crouch, A. Zaenen. 2003. Sta­tistical sentence condensation using ambiguity pack­ing and stochastic disambiguation methods for lexical-functional grammar. In <i>Proceedings ofHLT/NAACL, </i>118-125, Edmonton, Canada.</p><p>Y. Shinyama, S. Sekine, K. Sudo, R. Grishman. 2002.</p><p>Automatic paraphrase acquisition from news articles.</p><p>In <i>Proceedings ofHLT, </i>40-46, San Diego, CA.</p><p>I. Tsochantaridis, T. Joachims, T. Hofmann, Y. Altun. 2005. Large margin methods for structured and in­terdependent output variables. <i>Journal of Machine Learning Research, </i>6:1453-1484.</p><p>J. Turner, E. Charniak. 2005. Supervised and unsuper-vised learning for sentence compression. In <i>Proceed­ings ofACL, </i>290-297, Ann Arbor, MI.</p><p>L. S. Zettlemoyer, M. Collins. 2005. Learning to map sentences to logical form: Structured classifica­tion with probabilistic categorial grammars. In <i>Pro­ceedings ofUAI, </i>825-830, Edinburgh, UK.</p></references></body></article>