<?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="1223"/><title>Inducing Probabilistic CCG Grammars from Logical Form with Higher-Order Unification</title><author surname="Kwiatkowksi" givenname="Tom"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author><author surname="Zettlemoyer" givenname="Luke"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author><author surname="Goldwater" givenname="Sharon"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author><author surname="Steedman" givenname="Mark"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author></firstpageheader><frontmatter><p><b>Inducing Probabilistic CCG Grammars from Logical Form with Higher-Order Unification</b></p><p><b>Tom Kwiatkowski*     Luke Zettlemoyer"""</b></p><p>t.m.kwiatkowksi@sms.ed.ac.uk lsz@cs.washington.edu</p><p>* School of Informatics University of Edinburgh Edinburgh, EH8 9AB, UK</p></frontmatter><abstract>This paper addresses the problem of learn­ing to map sentences to logical form, given training data consisting of natural language sentences paired with logical representations of their meaning. Previous approaches have been designed for particular natural languages or specific meaning representations; here we present a more general method. The approach induces a probabilistic CCG grammar that represents the meaning of individual words and defines how these meanings can be com­bined to analyze complete sentences. We use higher-order unification to define a hy­pothesis space containing all grammars con­sistent with the training data, and develop an online learning algorithm that efficiently searches this space while simultaneously es­timating the parameters of a log-linear parsing model. Experiments demonstrate high accu­racy on benchmark data sets in four languages with two different meaning representations. </abstract></header><body><section number="1" title="Introduction"><p>A key aim in natural language processing is to learn a mapping from natural language sentences to for­mal representations of their meaning. Recent work has addressed this problem by learning semantic parsers given sentences paired with logical meaning representations (Thompson &amp; Mooney, 2002; Kate et al., 2005; Kate &amp; Mooney, 2006; Wong &amp; Mooney, 2006, 2007; Zettlemoyer &amp; Collins, 2005, 2007; Lu et al., 2008). For example, the training data might consist of English sentences paired with lambda-calculus meaning representations:</p><p><b>Sharon Goldwater*    Mark Steedman*</b></p><p>sgwater@inf.ed.ac.uk steedman@inf.ed.ac.uk</p><p>"""Computer Science &amp; Engineering University of Washington Seattle, WA 98195</p><p>Sentence:  which states border texas Meaning:   <i>Xx.state(x) A nextJto{x,tex)</i></p><p>Given pairs like this, the goal is to learn to map new, unseen, sentences to their corresponding meaning.</p><p>Previous approaches to this problem have been tailored to specific natural languages, specific mean­ing representations, or both. Here, we develop an approach that can learn to map any natural language to a wide variety of logical representations of lin­guistic meaning. In addition to data like the above, this approach can also learn from examples such as:</p><p>Sentence:   hangi eyaletin texas ye siniri vardir Meaning:   <i>answer (state(borders(tex)))</i> where the sentence is in Turkish and the meaning representation is a variable-free logical expression of the type that has been used in recent work (Kate et al., 2005; Kate &amp; Mooney, 2006; Wong &amp; Mooney, 2006; Lu et al., 2008).</p><p>The reason for generalizing to multiple languages is obvious. The need to learn over multiple repre­sentations arises from the fact that there is no stan­dard representation for logical form for natural lan­guage. Instead, existing representations are ad hoc, tailored to the application of interest. For example, the variable-free representation above was designed for building natural language interfaces to databases.</p><p>Our approach works by inducing a combinatory categorial grammar (CCG) (Steedman, 1996, 2000). A CCG grammar consists of a language-specific lexicon, whose entries pair individual words and phrases with both syntactic and semantic informa­tion, and a universal set of combinatory rules that <i>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, </i>pages 1223-1233, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics project that lexicon onto the sentences and meanings of the language via syntactic derivations.<page local="2" global="1224"/> The learn­ing process starts by postulating, for each sentence in the training data, a single multi-word lexical item pairing that sentence with its complete logical form. These entries are iteratively refined with a restricted higher-order unification procedure (Huet, 1975) that defines all possible ways to subdivide them, consis­tent with the requirement that each training sentence can still be parsed to yield its labeled meaning.</p><p>For the data sets we consider, the space of pos­sible grammars is too large to explicitly enumerate. The induced grammar is also typically highly am­biguous, producing a large number of possible anal­yses for each sentence. Our approach discriminates between analyses using a log-linear CCG parsing model, similar to those used in previous work (Clark &amp; Curran, 2003, 2007), but differing in that the syn­tactic parses are treated as a hidden variable during training, following the approach of Zettlemoyer &amp; Collins (2005, 2007). We present an algorithm that incrementally learns the parameters of this model while simultaneously exploring the space of possi­ble grammars. The model is used to guide the pro­cess of grammar refinement during training as well as providing a metric for selecting the best analysis for each new sentence.</p><p>We evaluate the approach on benchmark datasets from a natural language interface to a database of US Geography (Zelle &amp; Mooney, 1996). We show that accurate models can be learned for multiple languages with both the variable-free and lambda-calculus meaning representations introduced above. We also compare performance to previous methods 2008), which are designed with either language- or representation- specific constraints that limit gener­alization, as discussed in more detail in Section 6. Despite being the only approach that is general enough to run on all of the data sets, our algorithm achieves similar performance to the others, even out­performing them in several cases.</p><doubt alpha="46.8" length="94" tooSmall="False" monospace="0.0">(Kate &amp; Mooney, 2006; Wong &amp; Mooney, 2006, 2007; Zettlemoyer &amp; Collins, 2005, 2007; Lu et al.,</doubt></section><section number="2" title="Overview of the Approach"><p>The goal of our algorithm is to find a function <i>f </i>: x — <i>z </i>that maps sentences x to logical expressions z. We learn this function by inducing a probabilistic CCG (PCCG) grammar from a train­ing set <i>{(xi,zi)\i = 1 ...n} </i>containing example (sentence, logical-form) pairs such as ("New York borders Vermont", <i>next-to(ny, vt)). </i>The induced grammar consists of two components which the al­gorithm must learn:</p><p>• A CCG lexicon, A, containing lexical items that define the space of possible parses <i>y </i>for an input sentence <i>x. </i>Each parse contains both syntactic and semantic information, and defines the output logical form <i>z.</i></p><p>• A parameter vector, 6, that defines a distribu­tion over the possible parses <i>y, </i>conditioned on the sentence <i>x.</i></p><p>We will present the approach in two parts. The lexical induction process (Section 4) uses a re­stricted form of higher order unification along with the CCG combinatory rules to propose new entries for <i>A. </i>The complete learning algorithm (Section 5) integrates this lexical induction with a parameter es­timation scheme that learns <i>6. </i>Before presenting the details, we first review necessary background.</p></section><section number="3" title="Background"><p>This section provides an introduction to the ways in which we will use lambda calculus and higher-order unification to construct meaning representations. It also reviews the CCG grammar formalism and prob­abilistic extensions to it, including existing parsing and parameter estimation techniques.</p><subsection number="3.1" title="Lambda Calculus and Higher-Order Unification"><p>We assume that sentence meanings are represented as logical expressions, which we will construct from the meaning of individual words by using the op­erations defined in the lambda calculus. We use a version of the typed lambda calculus (cf. Carpenter (1997)), in which the basic types include <i>e, </i>for en­tities; <i>t, </i>for truth values; and <i>i </i>for numbers. There are also function types of the form <i>(e,t) </i>that are as­signed to lambda expressions, such as <i>Xx.state(x), </i>which take entities and return truth values. We represent the meaning of words and phrases using lambda-calculus expressions that can contain con­stants, quantifiers, logical connectors, and lambda abstractions.<page local="3" global="1225"/></p><p>The advantage of using the lambda calculus lies in its generality. The meanings of individ­ual words and phrases can be arbitrary lambda ex­pressions, while the final meaning for a sentence can take different forms. It can be a full lambda-calculus expression, a variable-free expression such as <i>answer(state(borders(tex)))</i>, or any other log­ical expression that can be built from the primitive meanings via function application and composition.</p><p>The higher-order unification problem (Huet, 1975) involves finding a substitution for the free variables in a pair of lambda-calculus expressions that, when applied, makes the expressions equal each other. This problem is notoriously complex; in the unrestricted form (Huet, 1973), it is undecid-able. In this paper, we will guide the grammar in­duction process using a restricted version of higher­order unification that is tractable. For a given ex­pression h, we will need to find expressions for <i>f </i>and <i>g </i>such that either <i>h = f (g) </i>or <i>h = Xx.f (g(x)). </i>This limited form of the unification problem will al­low us to define the ways to split <i>h </i>into subparts that can be recombined with CCG parsing opera­tions, which we will define in the next section, to reconstruct <i>h.</i></p></subsection><subsection number="3.2" title="Combinatory Categorial Grammar"><p>CCG (Steedman, 2000) is a linguistic formalism that tightly couples syntax and semantics, and can be used to model a wide range of language phenomena. For present purposes a CCG grammar includes a lexicon A with entries like the following:</p><p>New York h <i>NP : ny</i> borders h <i>S\NP/NP :</i><i> \x\y.nextJo(y,x) </i>Vermont h <i>NP : vt</i> where each lexical item <i>w </i><i>h </i><i>X :</i><i> h </i>has words w, a syntactic category <i>X</i>, and a logical form <i>h </i>expressed as a lambda-calculus expression. For the first exam­ple, these are "New York," <i>NP, </i>and <i>ny. </i>CCG syn­tactic categories may be atomic (such as <i>S, NP) </i>or complex (such as <i>S\NP/NP).</i><i></i></p><p>CCG combines categories using a set of <i>com­</i><i></i><i>binatory</i><i> </i><i>rules.</i><i> </i>For example, the forward (&gt;) and backward (&lt;) <i>application</i><i> </i>rules are:</p><doubt alpha="28.6" length="28" tooSmall="False" monospace="0.0">X/Y : f   Y : g X : f (g)(&gt;)</doubt><doubt alpha="36.4" length="22" tooSmall="False" monospace="0.0">Y:gX\Y: f X : f (g)(&lt;)</doubt><p>These rules apply to build syntactic and semantic derivations underthecontrolofthewordorderinfor-mation encoded in the slash directions of the lexical entries. For example, given the lexicon above, the sentence <i>New</i><i> </i><i>York</i><i> </i><i>borders</i><i> </i><i>Vermont</i><i> </i>can be parsed to produce:</p><p>New York borders Vermont <i>nextJto(ny, vt)</i> where each step in the parse is labeled with the com-binatory rule (— <i>&gt; </i>or — &lt;) that was used.</p><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">NP(S\NP )/NP NP</doubt><doubt alpha="48.4" length="31" tooSmall="False" monospace="0.0">ny        \x\y.nextJto(y, x) vt</doubt><doubt alpha="56.0" length="25" tooSmall="False" monospace="0.0">(S\NP )&gt;\y.nextJto(y, vt)</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">-s-&lt;</doubt><p>CCG also includes combinatory rules of forward (&gt; <b>B) </b>and backward (&lt; <b>B) </b><i>composition:</i></p><doubt alpha="33.7" length="83" tooSmall="False" monospace="0.0">X/Y : f Y/Z : g X/Z : Xx.f (g(x)) (&gt;B)Y\Z : g   X\Y: f    X\Z : Xx.f (g(x))    (&lt;B)</doubt><p>These rules provide for a relaxed notion of con­stituency which will be useful during learning as we reason about possible refinements of the grammar.</p><p>We also allow vertical slashes in CCG categories, which act as wild cards. For example, with this extension the forward application combinator (<i>&gt;</i>) could be used to combine the category <i>S/(S\NP) </i>with any of <i>S\NP</i>, <i>S/NP</i>, or <i>S\NP</i>. Figure 1 shows two parses where the composition combina-tors and vertical slashes are used. These parses closely resemble the types of analyses that will be possible under the grammars we learn in the experi­ments described in Section 8.</p></subsection><subsection number="3.3" title="Probabilistic CCGs"><p>Given a CCG lexicon <i>A, </i>there will, in general, be many possible parses for each sentence. We select the most likely alternative using a log-linear model, which consists of a feature vector 0 and a parame­ter vector 6. The joint probability of a logical form <i>z </i>constructed with a parse <i>y, </i>given a sentence <i>x </i>is<page local="4" global="1226"/></p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">hangi</doubt><p><i>S/NP NP/NP Xx.answer(x) Xx.state(x)</i> eyaletin     texas   ye siniri vardir <i>border (tex)</i> <i>state(border(tex))</i> <i>XfXx.</i><i>f</i><i> </i><i>(x)</i><i>   XfXx.state(x)Af </i><i>(x)</i><i>   XyXx.nextJto(x,y) tex</i></p><doubt alpha="60.0" length="30" tooSmall="False" monospace="0.0">NP     NP \NP tex Xx.border(x)</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">NP</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">what</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">states</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">border</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">texas</doubt><doubt alpha="58.6" length="29" tooSmall="False" monospace="0.0">S/(S|NP)S\NP/(S|NP)S\NP/NP NP</doubt><p><i>S\NP/NP &gt;BXyXx.state(x) A nextJto(x, </i><i>y)</i></p><doubt alpha="63.9" length="36" tooSmall="False" monospace="0.0">S\NP &gt; Xx.state(x) A nextJto(x, tex)</doubt><p><i>Xx.state(x) A nextJto(x, tex) </i>Figure 1: Two examples of CCG parses with different logical form representations.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&lt;</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&gt;</doubt><p>defined as:</p><doubt alpha="23.3" length="30" tooSmall="False" monospace="0.0">P(y,z\x; 6,A) =—-7-—,—r-7r-(1)</doubt><doubt alpha="31.0" length="29" tooSmall="False" monospace="0.0">vw'1'   '    Ie0-é(x,y',z')v'</doubt><p>Section 7 defines the features used in the experi­ments, which include, for example, lexical features that indicate when specific lexical items in A are used in the parse <i>y. </i>For parsing and parameter es­timation, we use standard algorithms (Clark &amp; Cur-ran, 2007), as described below.</p><p>The parsing, or inference, problem is to find the most likely logical form <i>z </i>given a sentence <i>x, </i>as­suming the parameters <i>6 </i>and lexicon <i>A </i>are known:</p><doubt alpha="42.9" length="28" tooSmall="False" monospace="0.0">f(x) = argmaxp(z\x; 6,A) (2)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">z</doubt><p>where the probability of the logical form is found by summing over all parses that produce it:</p><doubt alpha="32.3" length="31" tooSmall="False" monospace="0.0">p(z\x; 6,A) =P(y, z\x; 6,A)(3)y</doubt><p>In this approach the distribution over parse trees <i>y </i>is modeled as a hidden variable. The sum over parses in Eq. 3 can be calculated efficiently using the inside-outside algorithm with a CKY-style pars­ing algorithm.</p><p>To estimate the parameters themselves, we use stochastic gradient updates (LeCun et al., 1998). Given a set of <i>n </i>sentence-meaning pairs <i>{(xi,zi) </i><i>: </i><i>i </i><i>= </i>1...n}, we update the parameters <i>6 </i>it-eratively, for each example <i>i, </i>by following the local gradient of the conditional log-likelihood objective <i>Oi </i><i>= log </i><i>P(zi\xi; 6, </i>A). The local gradient of the individual parameter <i>6</i><i>j </i>associated with feature <i>&lt;fij </i>and training instance <i>(x</i><i>i, </i><i>z</i><i>i) </i>is given by:</p><doubt alpha="51.7" length="29" tooSmall="False" monospace="0.0">=Ep(y\xi,Zi;e,A)[0j(xi,y,zi)\</doubt><doubt alpha="51.7" length="29" tooSmall="False" monospace="0.0">—Ep(y,z|xi;ö,A)[0j(xi,ly,lz)\</doubt><p>As with Eq. 3, all of the expectations in Eq. 4 are calculated through the use of the inside-outside al­gorithm on a pruned parse chart. In the experiments, each chart cell was pruned to the top 200 entries.</p></subsection></section><section number="4" title="Splitting Lexical Items"><p>Before presenting a complete learning algorithm, we first describe how to use higher-order unification to define a procedure for splitting CCG lexical entries. This splitting process is used to expand the lexicon during learning. We seed the lexical induction with a multi-word lexical item <i>xi h S :zi </i>for each training example <i>(xi, </i>zi), consisting of the entire sentence <i>xi</i>and its associated meaning representation <i>zi</i>. For ex­ample, one initial lexical item might be:</p><p><i>New York borders Vermont hS:nextJto(ny, vt) </i>(5)</p><p>Although these initial, sentential lexical items can parse the training data, they will not generalize well to unseen data. To learn effectively, we will need to split overly specific entries of this type into pairs of new, smaller, entries that generalize better. For example, one possible split of the lexical entry given in (5) would be the pair:</p><p><i>New York borders h S/NP : Xx.nextJto(ny, </i><i>x),</i><i> Vermont h NP : vt</i> where we broke the original logical expression into two new ones <i>Xx.</i><i>nextJto(ny, x) </i>and vt, and paired them with syntactic categories that allow the new lexical entries to be recombined to produce the orig­inal analysis. The next three subsections define the set of possible splits for any given lexical item. The process is driven by solving a higher-order unifica­tion problem that defines all of the ways of splitting the logical expression into two parts, as described in Section 4.1. Section 4.2 describes how to construct syntactic categories that are consistent with the two new fragments of logical form and which will allow the new lexical items to recombine. Finally, Sec­tion 4.<page local="5" global="1227"/>3 defines the full set of lexical entry pairs that can be created by splitting a lexical entry.</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">answ</doubt><p>As we will see, this splitting process is overly pro­lific for any single language and will yield many lexical items that do not generalize well. For example, there is nothing in our original lexical entry above that provides evidence that the split should pair "Vermont" with the constant <i>vt </i>and not <i>Xx.next-to(ny,x). </i>Section 5 describes how we estimate the parameters of a probabilistic parsing model and how this parsing model can be used to guide the selection of items to add to the lexicon.</p><subsection number="4.1" title="Restricted Higher-Order Unification"><p>The set of possible splits for a logical expression <i>h </i>is defined as the solution to a pair of higher-order unification problems. We find pairs of logi­cal expressions <i>(f,</i><i> g) </i>such that either <i>f(g) </i><i>= </i><i>h </i>or <i>Xx.f (g(x)) </i><i>= </i><i>h. </i>Solving these problems creates new expressions <i>f </i>and <i>g </i>that can be recombined ac­cording to the CCG combinators, as defined in Sec­tion 3.2, to produce <i>h.</i></p><p>In the unrestricted case, there can be infinitely many solution pairs <i>(f,</i><i> g) </i>for a given expression <i>h. </i>For example, when <i>h </i><i>= </i><i>tex </i>and <i>f </i><i>= </i><i>Xx.tex, </i>the expression <i>g </i>can be anything. Although it would be simple enough to forbid vacuous variables in <i>f </i>and <i>g, </i>the number of solutions would still be exponen­tial in the size of <i>h. </i>For example, when <i>h </i>contains a conjunction, such as <i>h </i><i>= </i><i>Xx.city(x) </i><i>A </i><i>major(x) </i><i>A </i><i>in(x, tex), </i>any subset of the expressions in the con­junction can be assigned to <i>f </i>(or <i>g).</i></p><p>To limit the number of possible splits, we enforce the following restrictions on the possible higher­order solutions that will be used during learning:</p><p><i>• </i><b>No Vacuous Variables: </b>Neither <i>g </i>or <i>f </i>can be a function of the form <i>Xx.e </i>where the expression <i>e </i>does not contain the variable <i>x. </i>This rules out functions such as <i>Xx.tex.</i></p><p><i>• </i><b>Limited Coordination Extraction: </b>The ex­pression <i>g </i>cannot contain more than <i>N </i>of the conjuncts that appear in any coordination in <i>h. </i>For example, with <i>N </i><i>= 1 </i>the expression <i>g </i><i>= </i><i>Xx.city(x) </i><i>A </i><i>major(x) </i>could not be used</p><p>as a solution given the <i>h </i>conjuction above. We use <i>N </i><i>= 4 </i>in our experimental evaluation.</p><p><b>• Limited Application: </b>The function <i>f </i>can­not contain new variables applied to any non­variable subexpressions from <i>h. </i>For example, if <i>h </i><i>= </i><i>Xx.in(x,tex), </i>the pair <i>f </i><i>= </i><i>Xq.q(tex) </i>and <i>g </i><i>= </i><i>XyXx.in(x, y) </i>is forbidden.</p><p>Together, these three restrictions guarantee that the number of splits is, in the worst case, an <i>N-</i>degree polynomial of the number of constants in <i>h. </i>The constraints were designed to increase the effi­ciency of the splitting algorithm without impacting performance on the development data.</p></subsection><subsection number="4.2" title="Splitting Categories"><p>We define the set of possible splits for a category <i>X </i><i>: </i><i>h </i>with syntax <i>X </i>and logical form <i>h </i>by enumer­ating the solution pairs <i>(f,g)</i><i> </i>to the higher-order unification problems defined above and creating syntactic categories for the resulting expressions. For example, given <i>X:</i><i> h </i><i>= </i><i>S\NP: Xx.in(x, tex), f </i><i>= </i><i>XyXx.in(x, y), </i>and <i>g </i><i>= </i><i>tex, </i>we would produce the following two pairs of new categories:</p><doubt alpha="56.2" length="32" tooSmall="False" monospace="0.0">(S\NP/NP:XyXx.in(x,y) , NP:tex )</doubt><doubt alpha="56.2" length="32" tooSmall="False" monospace="0.0">(NP:tex , S\NP\NP:XyXx.in(x, y))</doubt><p>which were constructed by first choosing the syntac­tic category for <i>g, </i>in this case <i>NP, </i>and then enumer­ating the possible directions for the new slash in the category containing <i>f.</i><i> </i>We consider each of these two steps in more detail below.</p><p>The new syntactic category for <i>g </i>is determined based on its type, <i>T(g). </i>For example, <i>T(tex) </i><i>= </i><i>e </i>and <i>T(Xx.state(x)) </i><i>= </i><i>(e,t). </i>Then, the function <i>C (T</i><i>) </i>takes an input type <i>T </i>and returns the syntactic category of <i>T </i>as follows:</p><p><i>( </i><i>NP </i><i>if</i><i> </i><i>T </i><i>=</i><i> </i><i>e</i></p><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">C (T)=ISifT=t</doubt><doubt alpha="46.4" length="28" tooSmall="False" monospace="0.0">{C(T2)\C(Ti)   whenT=(TX,T2)</doubt><p>The basic types <i>e </i>and <i>t </i>are assigned syntactic categories <i>NP </i>and <i>S, </i>and all functional types are assigned categories recursively. For exam­ple <i>C((e,t)) </i><i>= </i><i>S\NP </i>and <i>C((e, (e,t))) </i><i>= </i><i>S\NP\NP</i>. This definition of CCG categories is unconventional in that it never assigns atomic cate­gories to functional types. For example, there is no distinct syntactic category <i>N </i>for nouns (which have semantictype <i>(e, t)).</i><page local="6" global="1228"/><i> </i>Instead, themorecomplex cat­egory <i>S NP </i>is used.</p><p>Now, we are ready to define the set of all category splits. For a category <i>A </i><i>= </i><i>X:h </i>we can define which is a union of sets, each of which includes splits for a single CCG operator. For example, FA( <i>X: h) </i>is the set of category pairs where each pair can be combined with the forward application combinator, described in Section 3.2, to reconstruct <i>X:h.</i></p><doubt alpha="46.2" length="39" tooSmall="False" monospace="0.0">Sc(A) = {FA(A) U BA(A) U FC(A) U BC(A)}</doubt><doubt alpha="38.6" length="44" tooSmall="False" monospace="0.0">FA(X:h) = {(X/Y:f,Y:g) \ h=f (g) AY=C(T(g))}</doubt><p>The remaining three sets are defined similarly, and are associated with the backward application and forward and backward composition operators, respectively:</p><doubt alpha="37.8" length="45" tooSmall="False" monospace="0.0">BA(X:h) = {(Y:g,X\Y:f ) \ h=f (g) AY=C(T(g))}</doubt><doubt alpha="39.3" length="28" tooSmall="False" monospace="0.0">FC(X/Y:h) = {(X/W:f,W/Y:g) \</doubt><doubt alpha="41.4" length="29" tooSmall="False" monospace="0.0">h=Xx.f (g(x)) A W=C(T(g(x)))}</doubt><doubt alpha="39.3" length="28" tooSmall="False" monospace="0.0">BC(X\Y:h) = {(W\Y:g,X\W:f) \</doubt><p>where the composition sets FC and BC only accept input categories with the appropriate outermost slash direction, for example <i>FC</i><i>(X/Y</i><i> :h).</i></p></subsection><subsection number="4.3" title="Splitting Lexical Items"><p>We can now define the lexical splits that will be used during learning. For lexical entry <i>w0:n </i><i>h </i><i>A, </i>with word sequence <i>w0:n </i><i>= </i><i>(w0,..., wn) </i>and CCG cat­egory A, define the set <i>Sl </i>of splits to be:</p><doubt alpha="60.0" length="30" tooSmall="False" monospace="0.0">SL(wo:nhA)={(wo:ihB, wi+inhC)\</doubt><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">0&lt;i&lt;nA(B,C)eSc(A)}</doubt><p>where we enumerate all ways of splitting the words sequence <i>w</i><i>o</i><i>:n</i><i> </i>and aligning the subsequences with categories in <i>Sc</i><i>(A), </i>as defined in the last section.</p></subsection></section><section number="5" title="Learning Algorithm"><p>The previous section described how a splitting pro­cedure can be used to break apart overly specific lexical items into smaller ones that may generalize better to unseen data. The space of possible lexi­cal items supported by this splitting procedure is too large to explicitly enumerate. Instead, we learn the parameters of a PCCG, which is used both to guide the splitting process, and also to select the best parse, given a learned lexicon.</p><p>Figure 2 presents the unification-based learning algorithm, UBL. This algorithm steps through the data incrementally and performs two steps for each training example. First, new lexical items are in­duced for the training instance by splitting and merg­ing nodes in the best correct parse, given the current parameters. Next, the parameters of the PCCG are updated by making a stochastic gradient update on the marginal likelihood, given the updated lexicon.</p><p><b>Inputs and Initialization </b>The algorithm takes as input the training set of <i>n </i>(sentence, logical form) pairs <i>{(xi,zi</i><i>) : </i><i>i </i><i>= 1</i><i>...n} </i>along with an NP list, <i>ANP</i>, of proper noun lexical items such as Texas <i>h </i><i>NP: tex. </i>The lexicon, <i>A, </i>is initialized with a single lexical item <i>x</i><i>i </i><i>h </i><i>S </i><i>: </i><i>z</i><i>i </i>for each of the training pairs along with the contents of the NP list. It is possible to run the algorithm without the initial NP list; we include it to allow direct comparisons with previous approaches, which also included NP lists. Features and initial feature weights are described in Section 7.</p><p><b>Step 1: Updating the Lexicon </b>In the lexical up­date step the algorithm first computes the best cor­rect parse tree <i>y*</i><i> </i>for the current training exam­ple and then uses <i>y*</i><i> </i>as input to the procedure NEW-LEX, which determines which (if any) new lexical items to add to A. NEW-LEX begins by enu­merating all pairs <i>(C, w</i><i>i:j</i><i>)</i><i>, </i>for <i>i &lt; j, </i>where <i>C </i>is a category occurring at a node in <i>y*</i><i> </i>and <i>w</i><i>i:j </i>are the (two or more) words it spans. For example, in the left parse in Figure 1, there would be four pairs: one with the category <i>C </i><i>= </i><i>NP\NP:Xx.border(x) </i>and the phrase <i>w</i><i>i:j </i>="ye siniri vardir", and one for each non-leaf node in the tree.</p><p>For each pair <i>(C, w</i><i>i:j), </i>NEW-LEX considers in­troducing a new lexical item <i>w</i><i>i:j</i><i>h</i><i>C, </i>which allows for the possibility of a parse where the subtree rooted at <i>C </i>is replaced with this new entry. (If <i>C </i>is a leaf node, this item will already exist.) NEW-LEX also considers adding each pair of new lexical items that is obtained by splitting <i>w</i><i>i:j</i><i>h</i><i>C </i>as described in Sec­tion 4, thereby considering many different ways of reanalyzing the node. This process creates a set of possible new lexicons, where each lexicon expands <i>A </i>in a different way by adding the items from either a single split or a single merge of a node in <i>y*.</i><page local="7" global="1229"/><i></i></p><p>For each potential new lexicon A', NEW-LEX computes the probability <i>p(y*\xi,zi; 6', </i>A') of the original parse <i>y*</i><i> </i>under A' and parameters 6' that are the same as <i>6 </i>but have weights for the new lexical items, as described in Section 7. It also finds the best new parse y' <i>= argmaxy</i><i>p(y\xi,zi; 6', </i><i>A'').<footnote anchor="1"/></i>Finally, NEW-LEX selects the <i>A'</i><i> </i>with the largest difference in log probability between <i>y'</i><i> </i>and <i>y*, </i>and returns the new entries in <i>A'. </i>If <i>y*</i><i> </i>is the best parse for every <i>A', </i>NEW-LEX returns the empty set; the lexicon will not change.</p><p><b>Step 2: Parameter Updates </b>For each training ex­ample we update the parameters <i>6 </i>using the stochas­tic gradient updates given by Eq. 4.</p><p><b>Discussion </b>The alternation between refining the lexicon and updating the parameters drives the learn­ing process. The initial model assigns a conditional likelihood of one to each training example (there is a single lexical item for each sentence <i>x</i><i>i, </i>and it contains the labeled logical form <i>z</i><i>i). </i>Although the splitting step often decreases the probability of the data, the new entries it produces are less spe­cific and should generalize better. Since we initially assign positive weights to the parameters for new lexical items, the overall approach prefers splitting; trees with many lexical items will initially be much more likely. However, if the learned lexical items are used in too many incorrect parses, the stochastic gradient updates will down weight them to the point where the lexical induction step can merge or re-split nodes in the trees that contain them. This allows the approach to correct the lexicon and, hopefully, im­prove future performance.</p></section><section number="6" title="Related Work"><p>Previous work has focused on a variety of different meaning representations. Several approaches have been designed for the variable-free logical repre­sentations shown in examples throughout this pa­per. For example, Kate &amp; Mooney (2006) present a method (krisp) that extends an existing SVM learn­ing algorithm to recover logical representations. The</p><footnote label="1">This computation can be performed efficiently by incre­mentally updating the parse chart used to find y * .</footnote><p><b>Inputs: </b>Training set <i>{(xi,zi) : i = 1.. .n} </i>where each example is a sentence <i>xi</i><i> </i>paired with a logical form <i>zi. </i>Set of NP lexical items <i>ANP</i>. Number of iter­ations <i>T</i>. Learning rate parameter <i>a0</i><i> </i>and cooling rate parameter <i>c.</i></p><p><b>Definitions: </b>The function NEW-LEX(y) takes a parse <i>y </i>and returns a set of new lexical items found by splitting and merging categories in <i>y, </i>as described in Section 5. The distributions <i>p(y\x, z; 6, A) </i>and <i>p(y, z\x; 6, A) </i>are defined by the log-linear model, as described in Section 3.3.</p><p><b>Initialization:</b></p><p><i>• </i>Set <i>A = {x</i><i>i </i><i>h S : z</i><i>i} </i>for all <i>i = 1.. .n.</i></p><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">•SetA = A U ANp</doubt><p><i>• </i>Initialize <i>6 </i>using coocurrence statistics, as de­scribed in Section 7.</p><p><b>Algorithm:</b></p><doubt alpha="43.6" length="55" tooSmall="False" monospace="0.0">Fort = 1 . . . T, i = 1 . . . n:Step 1:(Update Lexicon)</doubt><doubt alpha="62.1" length="29" tooSmall="False" monospace="0.0">•Lety*= argmaxyp(y\xuzi;6, A)</doubt><p><i>• </i>Set <i>A = A U </i>NEW-LEX(y* <i>) </i>and expand the parameter vector <i>6 </i>to contain entries for the new lexical items, as described in Section 7.</p><p><b>Step 2: </b>(Update Parameters) <b>Output:</b><i>• </i>Let y <i>= </i>1+"°x<i>k </i>where <i>k = i +1 x </i>n.</p><doubt alpha="48.6" length="35" tooSmall="False" monospace="0.0">•LetA=Ep(y\Xi,z..e,A)[4&gt;(xj,y, zj)]</doubt><doubt alpha="40.7" length="27" tooSmall="False" monospace="0.0">—Ep(y,z\Xi;0,A)[4&gt;(xj,y,z)]</doubt><doubt alpha="38.5" length="13" tooSmall="False" monospace="0.0">•Set6 = 6 +yA</doubt><p><b> </b>Lexicon <i>A </i>and parameters <i>6.</i></p><figure caption="Figure 2: The UBL learning algorithm."></figure><p>wasp system (Wong &amp; Mooney, 2006) uses statis­tical machine translation techniques to learn syn­chronous context free grammars containing both words and logic. Lu et al. (2008) (Lu08) developed a generative model that builds a single hybrid tree of words, syntax and meaning representation. These algorithms are all language independent but repre­sentation specific.</p><p>Other algorithms have been designed to re­cover lambda-calculus representations. For exam­ple, Wong &amp; Mooney (2007) developed a variant of wasp (X-wasp) specifically designed for this alternate representation. Zettlemoyer &amp; Collins (2005, 2007) developed CCG grammar induction techniques where lexical items are proposed accord­ing to a set of hand-engineered lexical templates.</p><page local="8" global="1230"/><p>Our approach eliminates this need for manual effort.</p><p>Another line of work has focused on recover­ing meaning representations that are not based on logic. Examples include an early statistical method for learning to fill slot-value representations (Miller et al., 1996) and a more recent approach for recover­ing semantic parse trees (Ge &amp; Mooney, 2006). Ex­ploring the extent to which these representations are compatible with the logic-based learning approach we developed is an important area for future work.</p><p>Finally, there is work on using categorial gram­mars to solve other, related learning problems. For example, Buszkowski &amp; Penn (1990) describe a unification-based approach for grammar discov­ery from bracketed natural language sentences and Villavicencio (2002) developed an approach for modeling child language acquisition. Additionally, Bos et al. (2004) consider the challenging problem of constructing broad-coverage semantic representa­tions with CCG, but do not learn the lexicon.</p></section><section number="7" title="Experimental Setup"><p><b>Features </b>We use two types of features in our model. First, we include a set of <i>lexical</i><i> </i><i>features:</i><i> </i>For each lexical item <i>L </i><i>e </i>A, we include a feature <i>0L </i>that fires when <i>L </i>is used. Second, we include <i>se­</i><i></i><i>mantic</i><i> </i><i>features</i><i> </i>that are functions of the output logi­cal expression z. Each time a predicate <i>p </i>in <i>z </i>takes an argument <i>a </i>with type <i>T(a) </i>in position <i>i </i>it trig­gers two binary indicator features: <i>0</i><i>(p,a,i) </i>for the predicate-argument relation; and <i>4&gt;(PtT</i><i>(a)ti) </i>for the predicate argument-type relation.</p><p><b>Initialization </b>The weights for the semantic fea­tures are initialized to zero. The weights for the lex­ical features are initialized according to coocurrance statistics estimated with the Giza++ (Och &amp; Ney, 2003) implementation of IBM Model 1. We com­pute translation scores for (word, constant) pairs that cooccur in examples in the training data. The initial weight for each <i>&lt; </i><i>L </i>is set to ten times the average score over the (word, constant) pairs in <i>L, </i>except for the weights of seed lexical entries in <i>ANP </i>which are set to 10 (equivalent to the highest possible coocur-rence score). We used the learning rate <i>a0</i><i> </i><i>= 1.0 </i>and cooling rate <i>c </i><i>= 10-5 </i>in all training scenar­ios, and ran the algorithm for <i>T </i><i>= 20 </i>iterations. These values were selected with cross validation on the Geo880 development set, described below.</p><p><b>Data and Evaluation </b>We evaluate our system on the GeoQuery datasets, which contain natural-language queries of a geographical database paired with logical representations of each query's mean­ing. The full Geo880 dataset contains 880 (English-sentence, logical-form) pairs, which we split into a development set of 600 pairs and a test set of 280 pairs, following Zettlemoyer &amp; Collins (2005). The Geo250 dataset is a subset of Geo880 containing 250 sentences that have been translated into Turk­ish, Spanish and Japanese as well as the original En­glish. Due to the small size of this dataset we use 10-fold cross validation for evaluation. We use the same folds as Wong &amp; Mooney (2006, 2007) and Lu et al. (2008), allowing a direct comparison.</p><p>The GeoQuery data is annotated with both lambda-calculus and variable-free meaning rep­resentations, which we have seen examples of throughout the paper. We report results for both rep­resentations, using the standard measures of <i>Recall</i><i> </i>(percentage of test sentences assigned correct log­ical forms), <i>Precision</i><i> </i>(percentage of logical forms returned that are correct) and <i>F1</i><i> </i>(the harmonic mean of <i>Precision</i><i> </i>and <i>Recall).</i></p><p><b>Two-Pass Parsing </b>To investigate the trade-off be­tween precision and recall, we report results with a two-pass parsing strategy. When the parser fails to return an analysis for a test sentence due to novel words or usage, we reparse the sentence and allow the parser to skip words, with a fixed cost. Skip­ping words can potentially increase recall, if the ig­nored word is an unknown function word that does not contribute semantic content.</p></section><section number="8" title="Results and Discussion"><p>Tables 1,2, and 3 present the results for all of the ex­periments. In aggregate, they demonstrate that our algorithm, UBL, learns accurate models across lan­guages and for both meaning representations. This is a new result; no previous system is as general.</p><p>We also see the expected tradeoff between preci­sion and recall that comes from the two-pass parsing approach, which is labeled UBL-s. With the abil­ity to skip words, UBL-s achieves the highest recall of all reported systems for all evaluation conditions.</p><page local="9" global="1231"/><p>However, UBL achieves much higher precision and better overall F1 scores, which are generally compa­rable to the best performing systems.</p><p>The comparison to the CCG induction techniques of ZC05 and ZC07 (Table 3) is particularly striking. These approaches used language-specific templates to propose new lexical items and also required as in­put a set of hand-engineered lexical entries to model phenomena such as quantification and determiners. However, the use of higher-order unification allows UBL to achieve comparable performance while au­tomatically inducing these types of entries.</p><p>For a more qualitative evaluation, Table 4 shows a selection of lexical items learned with high weights for the lambda-calculus meaning representations. Nouns such as "state" or "estado" are consistently learned across languages with the category <i>S NP, </i>which stands in for the more conventional <i>N. </i>The algorithm also learns language-specific construc­tions such as the Japanese case markers "no" and "wa", which are treated as modifiers that do not add semantic content. Language-specific word order is also encoded, using the slash directions of the CCG categories. For example, "what" and "que" take their arguments to the right in the wh-initial English and Spanish. However, the Turkish wh-word "nel-erdir" and the Japanese question marker "nan desu ka" are sentence final, and therefore take their argu­ments to the left. Learning regularities of this type allows UBL to generalize well to unseen data.</p><p>There is less variation and complexity in the learned lexical items for the variable-free represen­tation. The fact that the meaning representation is deeply nested influences the form of the induced grammar. For example, recall that the sentence "what states border texas" would be paired with the meaning <i>answer(state(borders(tex))). </i>For this representation, lexical items such as:</p><doubt alpha="65.4" length="26" tooSmall="False" monospace="0.0">what h S/NP : Xx.answer(x)</doubt><p><i>states h NP/NP : Xx.state(x)</i> border <i>h NP/NP :</i><i> Xx.borders(x) texas h NP : tex</i> can be used to construct the desired output. In practice, UBL often learns entries with only a sin­gle slash, like those above, varying only in the di­rection, as required for the language. Even the more complex items, such as those for quantifiers, are consistently simpler than those induced from the lambda-calculus meaning representations. For example, one of the most complex entries learned in the experiments for English is <i>the </i><i>smallest</i><i> </i><i>h</i><i> NP\NP/(NP\NP ):XfXx.smallest.one(f (x)).</i></p><p>There are also differences in the aggregate statis­tics of the learned lexicons. For example, the aver­age length of a learned lexical item for the (lambda-calculus, variable-free) meaning representations is:</p><table caption="Table 1: Performance across languages on Geo250 with variable-free meaning representations." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p></p></td><td class="cell"><p>English</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Spanish</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WASP</p></td><td class="cell"><p>70.0</p></td><td class="cell"><p><b>95.4</b></p></td><td class="cell"><p>80.8</p></td><td class="cell"><p>72.4</p></td><td class="cell"><p>91.2</p></td><td class="cell"><p>81.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lu08</p></td><td class="cell"><p>72.8</p></td><td class="cell"><p>91.5</p></td><td class="cell"><p>81.1</p></td><td class="cell"><p>79.2</p></td><td class="cell"><p><b>95.2</b></p></td><td class="cell"><p><b>86.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL</p></td><td class="cell"><p>78.1</p></td><td class="cell"><p>88.2</p></td><td class="cell"><p><b>82.7</b></p></td><td class="cell"><p>76.8</p></td><td class="cell"><p>86.8</p></td><td class="cell"><p>81.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL-s</p></td><td class="cell"><p><b>80.4</b></p></td><td class="cell"><p>80.8</p></td><td class="cell"><p>80.6</p></td><td class="cell"><p><b>79.7</b></p></td><td class="cell"><p>80.6</p></td><td class="cell"><p>80.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Japanese Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Turkish Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WASP</p></td><td class="cell"><p>74.4</p></td><td class="cell"><p><b>92.0</b></p></td><td class="cell"><p><b>82.9</b></p></td><td class="cell"><p>62.4</p></td><td class="cell"><p><b>97.0</b></p></td><td class="cell"><p>75.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lu08</p></td><td class="cell"><p>76.0</p></td><td class="cell"><p>87.6</p></td><td class="cell"><p>81.4</p></td><td class="cell"><p>66.8</p></td><td class="cell"><p>93.8</p></td><td class="cell"><p>78.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL</p></td><td class="cell"><p>78.5</p></td><td class="cell"><p>85.5</p></td><td class="cell"><p>81.8</p></td><td class="cell"><p>70.4</p></td><td class="cell"><p>89.4</p></td><td class="cell"><p><b>78.6</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL-s</p></td><td class="cell"><p><b>80.5</b></p></td><td class="cell"><p>80.6</p></td><td class="cell"><p>80.6</p></td><td class="cell"><p><b>74.2</b></p></td><td class="cell"><p>75.6</p></td><td class="cell"><p>74.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 3: Performance on the Geo880 data set, with varied meaning representations." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p>Variable Free Rec.    Pre. F1</p></td><td class="cell"><p>Lambda Calculus Rec.    Pre. F1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cross Validation Results</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>KRISP</p></td><td class="cell"><p>71.7   <b>93.3 </b>81.1</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>WASP</p></td><td class="cell"><p>74.8    87.2 80.5</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>Lu08</p></td><td class="cell"><p>81.5   89.3 <b>85.2</b></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>X-WASP</p></td><td class="cell"><p>-       - -</p></td><td class="cell"><p>86.6</p></td><td class="cell"><p>92.0</p></td><td class="cell"><p>89.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Independent Test Set</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ZC05</p></td><td class="cell"><p>-       - -</p></td><td class="cell"><p>79.3</p></td><td class="cell"><p><b>96.3</b></p></td><td class="cell"><p>87.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ZC07</p></td><td class="cell"><p>-       - -</p></td><td class="cell"><p>86.1</p></td><td class="cell"><p>91.6</p></td><td class="cell"><p>88.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL</p></td><td class="cell"><p>81.4   89.4 <b>85.2</b></p></td><td class="cell"><p>85.0</p></td><td class="cell"><p>94.1</p></td><td class="cell"><p><b>89.3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL-s</p></td><td class="cell"><p><b>84.3   </b>85.2 84.7</p></td><td class="cell"><p><b>87.9</b></p></td><td class="cell"><p>88.5</p></td><td class="cell"><p>88.2</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></tr></table><table caption="Table 2: Performance across languages on Geo250 with lambda-calculus meaning representations." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p></p></td><td class="cell"><p>English</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Spanish</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>X-WASP</p></td><td class="cell"><p>75.6</p></td><td class="cell"><p>91.8</p></td><td class="cell"><p>82.9</p></td><td class="cell"><p>80.0</p></td><td class="cell"><p>92.5</p></td><td class="cell"><p><b>85.8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL</p></td><td class="cell"><p>78.0</p></td><td class="cell"><p><b>93.2</b></p></td><td class="cell"><p><b>84.7</b></p></td><td class="cell"><p>75.9</p></td><td class="cell"><p><b>93.4</b></p></td><td class="cell"><p>83.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL-s</p></td><td class="cell"><p><b>81.8</b></p></td><td class="cell"><p>83.5</p></td><td class="cell"><p>82.6</p></td><td class="cell"><p><b>81.4</b></p></td><td class="cell"><p>83.4</p></td><td class="cell"><p>82.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Japanese Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>Rec.</p></td><td class="cell"><p>Turkish Pre.</p></td><td class="cell"><p>F1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>X-WASP</p></td><td class="cell"><p>81.2</p></td><td class="cell"><p>90.1</p></td><td class="cell"><p><b>85.8</b></p></td><td class="cell"><p>68.8</p></td><td class="cell"><p>90.4</p></td><td class="cell"><p><b>78.1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL</p></td><td class="cell"><p>78.9</p></td><td class="cell"><p><b>90.9</b></p></td><td class="cell"><p>84.4</p></td><td class="cell"><p>67.4</p></td><td class="cell"><p><b>93.4</b></p></td><td class="cell"><p><b>78.1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UBL-s</p></td><td class="cell"><p><b>83.0</b></p></td><td class="cell"><p>83.2</p></td><td class="cell"><p>83.1</p></td><td class="cell"><p><b>71.8</b></p></td><td class="cell"><p>77.8</p></td><td class="cell"><p>74.6</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><page local="10" global="1232"/><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">English</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Spanish</doubt><p>(1.21,1.08) for Turkish, (1.34,1.19) for English, (1.43,1.25) for Spanish and (1.63,1.42) for Japanese. For both meaning representations the model learns significantly more multiword lexical items for the somewhat analytic Japanese than the agglutinative Turkish. There are also variations in the average number of learned lexical items in the best parses during the final pass of training: 192 for Japanese, 206 for Spanish, 188 for English and 295 for Turk­ish. As compared to the other languages, the mor-pologically rich Turkish requires significantly more lexical variation to explain the data.</p><p>Finally, there are a number of cases where the UBL algorithm could be improved in future work. In cases where there are multiple allowable word or­ders, the UBL algorithm must learn individual en­tries for each possibility. For example, the following two categories are often learned with high weight for the Japanese word "chiisai":</p><doubt alpha="52.7" length="91" tooSmall="False" monospace="0.0">NP/(S\NP )\(NP\NP ):XfXg.argmin(x,g(x),f (x)) NP\(S\NP)/(NP\NP):XfXg.argmin(x, g(x), f (x))</doubt><p>and are treated as distinct entries in the lexicon. Sim­ilarly, the approach presented here does not model morphology, and must repeatedly learn the correct categories for the Turkish words "nehri," "nehir," "nehirler," and "nehirlerin", all of which correspond to the logical form <i>Xx.river(x).</i></p></section><section number="9" title="Conclusions and Future Work"><p>This paper has presented a method for inducing probabilistic CCGs from sentences paired with log­ical forms. The approach uses higher-order unifi­cation to define the space of possible grammars in a language- and representation-independent manner, paired with an algorithm that learns a probabilistic parsing model. We evaluated the approach on four languages with two meaning representations each, achieving high accuracy across all scenarios.</p><p>For future work, we are interested in exploring the generality of the approach while extending it to new understanding problems. One potential limi­tation is in the constraints we introduced to ensure the tractability of the higher-order unification proce­dure. These restrictions will not allow the approach to induce lexical items that would be used with, among other things, many of the type-raised combi-nators commonly employed in CCG grammars. We</p><doubt alpha="59.8" length="276" tooSmall="False" monospace="0.0">populationoi h NP/NP : Xx.population(x) smallest h NP/(S\NP) : Xf.arg min(y, f (y), size(y)) what h S\NP/(S\NP) : XfXx.f (x) border h S\NP/NP : XxXy.next_to(y,x) state h S\NP : Xx.state(x) most h NP/(S\NP)\(S\NP)\(S\NP\NP) : XfXgXhXx.argmax(y, g(y), count(z, f (z, y) A h(z)))</doubt><p>Japanese are also interested in developing similar grammar induction techniques for context-dependent under­standing problems, such as the one considered by Zettlemoyer &amp; Collins (2009). Such an approach would complement ideas for using high-order unifi­cation to model a wider range of language phenom­ena, such as VP ellipsis (Dalrymple et al., 1991).</p><doubt alpha="57.0" length="214" tooSmall="False" monospace="0.0">no h NP\NP/(NP\NP) : XfXx.f (x) shuu h S\NP : Xx.state(x) nan desu ka h S\NP\(NP\NP ) : XfXx.f (x) wa h NP\NP\(NP\NP) : XfXx.f (x) ikutsu h NP\(S\NP)\(S\NP\(S\NP)) : XfXg.count(x,f (g(x))) chiiki h NP\NP:Xx.area(x)</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Turkish</doubt><doubt alpha="62.7" length="169" tooSmall="False" monospace="0.0">nedir h S\NP\(NP\NP) : XfXx.f (x) sehir h S\NP : Xx.city(x) nu{us yogunlugu h NP\NP : Xx.density(x) sinirih S\NP/NP : XxXy.nextJo(y,x) kac tane h S\NP/(S\NP\NP)\(S\NP) :</doubt><doubt alpha="61.6" length="73" tooSmall="False" monospace="0.0">XfXgXx.count(y, f (y) A g(y, x)) ya siniri h S\NP\NP : XxXy.nextJto(y, x)</doubt><doubt alpha="57.9" length="95" tooSmall="False" monospace="0.0">en h S\NP/NP: XxXy.loc(y,x) que es la h S/NP/(NP\NP ): XfXx.f (x) pequena h NP\(S\NP)\(NP\NP) :</doubt><doubt alpha="56.5" length="170" tooSmall="False" monospace="0.0">XgXf.arg min(y, f (y),g(y)) estado h S\NP : Xx.state(x) mas h S\(S\NP)/(S\NP)\(NP\NP\(S\NP)) :XfXgXh.argmax(x, h(x), f (g, x)) mayores hS\NP\(S\NP ) XfXx.f (x) A major(x)</doubt><table caption="Table 4: Example learned lexical items for each language on the Geo250 lambda-calculus data sets."></table></section><section title="Acknowledgements"><p>We thank the reviewers for useful feedback. This work was supported by the EU under IST Cog­nitive Systems grant IP FP6-2004-IST-4-27657 "Paco-Plus" and ERC Advanced Fellowship 249520 "GRAMPLUS" to Steedman. Kwiatkowski was supported by an EPRSC studentship. Zettlemoyer was supported by a US NSF International Research Fellowship.</p><page local="11" global="1233"/></section><references><p>Bos, J., Clark, S., Steedman, M., Curran, J. R., &amp; Hock-enmaier, J. (2004). Wide-coverage semantic represen­tations from a CCG parser. In <i>Proceedings of the In­ternational Conference on Computational Linguistics.</i></p><p>Buszkowski, W. &amp; Penn, G. (1990). Categorial grammars determined from linguistic data by unification. <i>Studia Logica, 49, </i>431-454.</p><p>Carpenter, B. (1997). <i>Type-Logical Semantics. </i>The MIT Press.</p><doubt alpha="56.9" length="51" tooSmall="False" monospace="0.0">Clark, S. &amp; Curran, J. R. (2003). Log-linear models</doubt><p>for wide-coverage CCG parsing. In <i>Proceedings of the Conference on Empirical Methods in Natural Lan­guage Processing.</i></p><p>Clark, S. &amp; Curran, J. R. (2007). Wide-coverage effi­cient statistical parsing with CCG and log-linear mod­els. <i>Computational Linguistics, </i>33(4), 493-552.</p><p>Dalrymple, M., Shieber, S., &amp; Pereira, F. (1991). Ellipsis and higher-order unification. <i>Linguistics and Philoso­phy, 14, </i>399-452.</p><p>Ge, R. &amp; Mooney, R. J. (2006). Discriminative rerank-ing for semantic parsing. In <i>Proceedings ofthe COL-ING/ACL 2006 Main Conference Poster Sessions.</i></p><p>Huet, G. (1975). A unification algorithm for typed X-calculus. <i>Theoretical Computer Science, 1, </i>27-57.</p><p>Huet, G. P. (1973). The undecidability of unification in third order logic. <i>Information andControl, 22</i>(3), 257­267.</p><p>Kate, R. J. &amp; Mooney, R. J. (2006). Using string-kernels for learning semantic parsers. In <i>Proceedings ofthe 44th Annual Meeting ofthe Association for Computa­tional Linguistics.</i></p><p>Kate, R. J., Wong, Y. W., &amp; Mooney, R. J. (2005). Learn­ing to transform natural to formal languages. In <i>Pro­ceedings of the National Conference on Artificial In­telligence.</i></p><p>LeCun, Y., Bottou, L., Bengio, Y., &amp; Haffner, P. (1998).</p><p>Gradient-based learning applied to document recogni­tion. <i>Proceedings of the IEEE, </i>86(11), 2278-2324.</p><p>Lu, W., Ng, H. T., Lee, W. S., &amp; Zettlemoyer, L. S.</p><p>(2008). A generative model for parsing natural lan­guage to meaning representations. In <i>Proceedings of The Conference on Empirical Methods in Natural Lan­guage Processing.</i></p><p>Miller, S., Stallard, D., Bobrow, R. J., &amp; Schwartz, R. L.</p><p>(1996). A fully statistical approach to natural language interfaces. In <i>Proc. ofthe Association for Computa­tional Linguistics.</i></p><p>Och, F. J. &amp; Ney, H. (2003). A systematic comparison of various statistical alignment models. <i>Computational Linguistics, </i>29(1), 19-51.</p><p>Steedman, M. (1996). <i>Surface Structure and Interpreta­tion. </i>The MIT Press.</p><p>Steedman, M. (2000). <i>The Syntactic Process. </i>The MIT</p><p>Press.</p><p>Thompson, C. A. &amp; Mooney, R. J. (2002). Acquiring word-meaning mappings for natural language inter­faces. <i>Journal of Artificial Intelligence Research, </i>18.</p><p>Villavicencio, A. (2002). The acquisition of a unification-based generalised categorial grammar. Ph.D. thesis, University of Cambridge.</p><p>Wong, Y. W. &amp; Mooney, R. (2006). Learning for seman­tic parsing with statistical machine translation. In <i>Pro­ceedings ofthe Human Language Technology Confer­ence ofthe NAACL.</i></p><p>Wong, Y. W. &amp; Mooney, R. (2007). Learning syn­chronous grammars for semantic parsing with lambda calculus. In <i>Proceedings ofthe Association for Com­putational Linguistics.</i></p><p>Zelle, J. M. &amp; Mooney, R. J. (1996). Learning to parse database queries using inductive logic programming.</p><p>In <i>Proceedings of the National Conference on Artifi­cial Intelligence.</i></p><p>Zettlemoyer, L. S. &amp; Collins, M. (2005). Learning to map sentences to logical form: Structured classifica­tion with probabilistic categorial grammars. In <i>Pro­ceedings of the Conference on Uncertainty in Artificial Intelligence.</i></p><p>Zettlemoyer, L. S. &amp; Collins, M. (2007). Online learning of relaxed CCG grammars for parsing to logical form.</p><p>In <i>Proc. ofthe Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning.</i></p><p>Zettlemoyer, L. S. &amp; Collins, M. (2009). Learning context-dependent mappings from sentences to logical form. In <i>Proceedings ofThe Joint Conference ofthe Association for Computational Linguistics and Inter­national Joint Conference on Natural Language Pro­cessing.</i></p></references></body></article>