<?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="1"/><title>Extracting STRIPS Representations of Actions and Events</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 1-8, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Sil" givenname="Avirup"><org  name="Temple University" country="USA" city="Philadelphia"/></author><author surname="Yates" givenname="Alexander"><org  name="Yale University" country="USA" city="New Haven"/></author></firstpageheader><frontmatter><p><b>Extracting STRIPS Representations of Actions and Events</b></p><p><b>Avirup Sil </b>and <b>Alexander Yates</b></p><p>Center for Data Analytics and Biomedical Informatics Temple University Broad St. and Montgomery Ave. Philadelphia, PA 19122</p><p>(avirup.sil, yatesj@temple.edu</p></frontmatter><abstract>Knowledge about how the world changes over time is a vital component of common-sense knowledge for Artificial Intelligence (AI) and natural language understanding. Actions and events are fundamental com­ponents to any knowledge about changes in the state of the world: the states before and after an event differ in regular and pre­dictable ways. We describe a novel sys­tem that tackles the problem of extracting knowledge from text about how actions and events change the world over time. We leverage standard language-processing tools, like semantic role labelers and coref-erence resolvers, as well as large-corpus statistics like pointwise mutual informa­tion, to identify STRIPS representations of actions and events, a type of representa­tion commonly used in AI planning sys­tems. In experiments on Web text, our ex­tractor's Area under the Curve (AUC) im­proves by more than 31% over the clos­est system from the literature for identi­fying the preconditions and add effects of actions. In addition, we also extract sig­nificant aspects of STRIPS representations that are missing from previous work, in­cluding delete effects and arguments. </abstract></header><body><section number="1" title="Introduction"><p>Common-sense knowledge about the changes in the state of the world over time is one of the most crucial forms of knowledge for an intelli­gent agent, since it informs an agent of the ways in which it can act upon the world. A recent survey of the common-sense knowledge involved in the recognizing textual entailment task demon­strates that knowledge about action and event se­mantics, in particular, constitutes a major compo­nent of the knowledge involved in understanding natural language (LoBue and Yates, 2011). This knowledge is also vital for central AI tasks like planning, plan recognition (Kautz, 1991; Geib and Steedman, 2007), and dialogue processing (Car-berry, 1990; Litman and Allen, 1987).</p><p>In this paper we explore text mining approaches to extracting common-sense knowledge about ac­tion and event semantics. Our previous approach (Sil et al., 2010) (henceforth, S10) identifies the preconditions and effects of actions. We describe how we extend S10's approach by identifying ad­ditional kinds of effects; by connecting this knowl­edge to an external ontology and generalizing the preconditions and effects; and by identifying ar­gument variables for each predicate. Our experi­ments show that our novel extractor can identify the fully-formed STRIPS representations of ac­tions with precision 0.73 and recall 0.72, and it improves on S10's AUC for tasks that both sys­tems can handle by over 31%.</p><p>The next section discusses previous work. Sec­tion 3 introduces STRIPS representation and the challenges involved in extracting such representa­tions. Section 4 details our extraction techniques. Section 5 presents our experiments. Section 6 con­cludes and discusses future work.</p></section><section number="2" title="Previous Work"><p>The most closely related work has investigated how to extract "scripts" or "narrative event schemas" (Chambers and Jurafsky, 2009) — sets of events that often occur together. Schank and Abelson's (1977) famous example of a restaurant script includes events such as sitting down, order­ing, eating, and paying the bill. Script knowl­edge is distinct from STRIPS representations in that a script relates one event e to a subsequent event e', whereas STRIPS relates an event e to a state of the world s before or after e. Our extracted knowledge could complement the stan­dard restaurant script, for example, with knowledge that is hungry(diner) is true before the diner eats, and -is hungry(diner) is true afterwards.<page local="2" global="2"/> Neither of these statements con­stitutes an event in a script, but they do fall into the STRIPS paradigm.</p><p>Other research into extracting the relationships between events has investigated causal relation­ships (Girju, 2003) and, more generally, para­phrases, such as in the DIRT system (Lin and Pan-tel, 2001). Such systems typically do not distin­guish between event-event relationships that ap­pear in scripts — <i>e.g., a </i>flooding event <i>e2 </i>can fol­low a raining event ei — and event-state relation­ships— e.g., is wet(grass) follows a raining event ei . Our system is focused only on the lat­ter: we are concerned how the state of the world changes with the occurrence of an event rather than how one event influences another event. Fur­thermore, existing systems do not consider pre­condition relationships, which are neither causal nor paraphrases, and which are central to AI rep­resentations of actions and events.</p><p>Extracting and representing selectional prefer­ences has attracted significant attention recently, especially using latent-variable probabilistic mod­els like Latent Dirichlet Allocation (Ritter et al., 2010). Preconditions are a more general type of restriction on the arguments to actions than selec-tional preferences — e.g. asleep(x) is a precon­dition to awaken, but would not be considered a selectional preference because it does not consti­tute a class or type, but rather a property, of x.</p></section><section number="3" title="STRIPS Representations"><subsection number="3.1" title="Background and Terminology"><p>We define <i>actions </i>as observable phenomena, or <i>events, </i>that are brought about by rational agents. Because actions and events are central to AI, there is a long history of work in representing their semantics. One of the best-known, and still widely used, representations for action semantics is the STRIPS representation (Fikes and Nilsson, 1971); two examples of STRIPS representations are given in Figure 1. We use STRIPS to represent both actions and events. Formally, a STRIPS representation is a 5-tuple <i>(a, args,pre, add, del) </i>consisting of the action name a, a list <i>args </i>of argument variables that range over the set of objects in the world, and three sets of predicates that reference the argument variables. The first, the <i>precondition </i>list <i>pre, </i>is a set of conditions</p><p>Figure 1: Two example STRIPS representations (above), and corresponding examples of the rep­resentation extracted in our prior work, S10 (be­low). In contrast with S10, the STRIPS represen­tations require extracting delete effects and resolv­ing coreference relationships among arguments to predicates. Also, our version of STRIPS uses WordNet synsets to unambiguously specify predi­cate names.</p><p>that must be met in order for the action to be allowed to take place. For instance, in order for someone to <i>awaken, </i>she or he must first be <i>asleep. </i>The other two sets of conditions specify how the world changes when the action takes place: the <i>add </i>list describes the set of new conditions that must be true afterwards (e.g., after the event insert(pencil24,sharpener3), in(pencil24,sharpener3) holds true), and the <i>del </i>list specifies the conditions that were true before the action happened but are no longer true. These <i>add </i>and <i>del </i>conditions are sometimes collectively referred to as <i>effects </i>or <i>postconditions.</i></p><p>Formally, the precondition, add, and delete lists correspond to a set of rules describing the logi­cal consequences of observing an event. To de­scribe these rules, we assume a representation of the world grounded in a logical form, such as situation logic (Barwise, 1989) or episodic logic (Schubert and Hwang, 2000). For simplicity, we represent the passage of time by discrete time points <i>t, </i>together with a temporal-ordering re­lation <i>after(t1,t2). </i>This is the same notion of time traditionally adopted by AI planning sys­tems, although recent work has gone into elab­orating this representation (Bresina et al., 2002; Younes et al., 2003). A set of constants identify the <i>objects </i>that exist in the world, and at each time point, a set of logical <i>predicates </i>describes the <i>state </i>of the world at that time, for instance on(book1, shelf4, t9).<page local="3" global="3"/></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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>awaken</p></td><td class="cell"><p>insert</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>STRIPS</b></p></td><td class="cell"><p><b>args:</b></p></td><td class="cell"><p>x</p></td><td class="cell"><p><i>o, p</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>pre:</b></p></td><td class="cell"><p><i>asleep(x)</i></p></td><td class="cell"><p><i>object#l(o),</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><i>opening#\(p)</i>,</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>-in(o, p)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>add:</b></p></td><td class="cell"><p><i>awake(x)</i></p></td><td class="cell"><p>in(o,p)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>del:</b></p></td><td class="cell"><p><i>asleep(x)</i></p></td><td class="cell"><p>-in(o, <i>p)</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>S10</b></p></td><td class="cell"><p><b>pre:</b></p></td><td class="cell"><p><i>asleep</i></p></td><td class="cell"><p><i>person, slot</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>add:</b></p></td><td class="cell"><p><i>awake</i></p></td><td class="cell"><p>in</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Let <i>t1 </i>be the time point immediately preceding an event <i>e </i>with arguments <b>args, </b><i>t2 </i>the time of event e, and <i>ta </i>the time immediately following e. For each precondition <i>p, </i>each add effect <i>a, </i>and each delete effect <i>d, </i>the following rules hold:</p><doubt alpha="64.4" length="87" tooSmall="False" monospace="0.0">Vargse(args,t2)== p(argsp,ti)Vargse(args,t2)==a(argsa,t3)Vargse(args,t2)== -d(argsd,ta)</doubt><p>where <b>argsx </b>represents the subset of the argu­ments to which the predicate <i>x </i>applies. Finally, we assume a second-order <i>frame axiom </i>that states that unless explicitly updated by an event's effects, predicates that were true (false) before an event re­main true (false) afterwards.</p></subsection><subsection number="3.2" title="Problem Formulation: STRIPS"><p><b>Extraction</b></p><p>The STRIPS extraction task takes as input a word or phrase <i>e </i>naming a type of event, like insert, and a large collection <i>D </i>of documents that men­tion the action at least once. As output, systems produce a STRIPS representation of the event: the argument list for the event; three sets of predi­cates representing the preconditions, add effects, and delete effects; and for each predicate, the list of variables that the predicate applies to.</p><p>This problem formulation is a first step towards extracting knowledge of dynamics, although it cer­tainly does not cover the full scope of the prob­lem. For instance, we do not attempt to extract representations for durative or repetitive events, or actions like escalate or accelerate that change quantities or numerical attributes. Further­more, we restrict our attention in this paper to ex­tracting predicates with only a single argument. Despite the restrictions from the full problem of extracting knowledge of dynamics, our problem formulation involves a number of difficult techni­cal challenges which together constitute a substan­tial extraction problem.</p></subsection><subsection number="3.3" title="Challenges"><p>Word sense ambiguity, synonyms, and syntactic ambiguity plague our system, as they do all ex­traction systems, but in contrast to S10 we expect our extractor to identify sense-disambiguated entries in an ontology for predicates, rather than ambiguous terms. Hence, we want to extract <i>liquid#3 </i>(fluid matter having no fixed shape but a fixed volume) in Wordnet (Fellbaum, 1998) as a precondition for action <i>boil </i>as opposed to <i>liquid#4 </i>(a frictionless continuant that is not a nasal consonant). Like the KNOWITALL system and related Web IE systems (Etzioni et al., 2005; Downey et al., 2005), we rely on the redundancy inherent in large document collections to help address these issues. In addition, we face these challenges:</p><p><b><i>Lack of Explicitly Stated Knowledge: </i></b>Common-sense knowledge, like preconditions and postcon­ditions of events, is often taken for granted by the author and reader, and thus does not need to be stated explicitly. Our biggest challenge is to create a system that can extract this knowledge even though it is never stated explicitly.</p><p><b><i>Temporality: </i></b>Our patterns must distinguish between implications that are true before an event vs. after an event.</p><p><b><i><u>Generalization:</u> </i></b>The most common example of a cut event in text may be of a scissors cutting paper, but we do not want to conclude from these examples that scissors and paper are preconditions for cutting. Instead, some larger class of objects, like the set of sharp objects, is a better description of the precondition for the cutting instrument. Unlike S10, we expect a STRIPS extractor to extract appropriately-generalized predicates.</p><p><b><i><u>Rule Extraction:</u> </i></b>Like the DIRT system (Lin and Pantel, 2001), a STRIPS extraction system must identify rules rather than grounded facts. Instead of discovering asleep(person1), we want to discover patterns like VX)tl)t2 awaken(x,t2) A after(t2,t1) == asleep(x,t1). In contrast, S10 does not identify predicate arguments, which enable the use of preconditions and effects as inference rules.</p></subsection></section><section number="4" title="Extraction Methods"><subsection number="4.1" title="Extracting Preconditions and Add Effects"><p>Our previous system, S10 identifies the names of preconditions and add effects. We briefly review S10's approach here.</p><p>Given a corpus where each document contains an event <i>e, </i>S10 begins by identifying relations and arguments in a large text corpus using an opendomain semantic role labeler (Huang and Yates, 2010) and OpenNLP's noun-phrase coreference resolution system<footnote anchor="1"/>.<page local="4" global="4"/> Taking a set ofcandidate pred­icate words, we then define different features of the labeled corpus that measure the proximity in the annotated corpus between a candidate word and the action word. Using a small sample of labeled action words with their correct precon­ditions and effects, we then train an RBF-kernel Support Vector Machine (SVM) to rank the can­didate predicate words by their proximity to the action word.</p><p>S10 use three different types of features for measuring proximity: first, we compute the point-wise mutual information (PMI) (Turney, 2002) be­tween the event <i>e </i>and the candidate word <i>c </i>using the document set D. For any set of words <i>W</i>, let <i>DW </i>represent the set of documents containing all words in <i>W.</i></p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">CWs</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">PMI(e, c) = log</doubt><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">'{e,c}\</doubt><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">DW||D{C}|</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>Second, we compute the three-way PMI between <i>e, c, </i>and <i>discriminator features f </i>:</p><doubt alpha="38.5" length="39" tooSmall="False" monospace="0.0">PMI (e, c, f ) =log,„lD{e'C'f}L    ,(2)</doubt><doubt alpha="31.6" length="19" tooSmall="False" monospace="0.0">\D{e}\\D{c}\\D{f }|</doubt><p>By using discriminator features <i>f </i>like before and requires, these three-way PMI features can measure if <i>e </i>and <i>c </i>relate to one another in a way that is indicative of preconditions, in particu­lar. Likewise, discriminator features like after and causes, can measure whether <i>c </i>relates to <i>e </i>in the manner of an effect. In practice, approx­imately 200 discriminator features for precondi­tions and 200 for add effects are selected using greedy, <i>x<footnote anchor="2"/> </i>feature selection.</p><p>The third kind of feature for measuring prox­imity between <i>e </i>and <i>c </i>relies on semantic role and coreference annotations. For instance, one such measure counts how often <i>c </i>occurs as an argument to a predicate <i>e, </i>as indicated by the semantic role annotations. Another feature counts how often <i>c </i>corefers with an argument to a predicate <i>e, </i>and an­other counts how often <i>c </i>appears within a window of text near a predicate <i>e. </i>See S10 for full details on these features.</p></subsection><subsection number="4.2" title="Connecting Extractions to an Ontology"><p>One obvious shortcoming of the S10 system is that it fails to generalize adequately. For instance,</p><footnote label="1"> http://opennlp.sourceforge.net</footnote><p>nurse#1 doctor#1 health_prof.#1 person#1</p><p>{nurse} {doctor,allergist} {doctor,nurse,allergist} {doctor,nurse,poet,...}</p><p>Table 1: Sample candidate preconditions from <i>CS </i>for action 'heal', together with the set of words in the corpus for 'heal' that have the can­didate synset as a hypernym.</p><p>the system extracts hammer as a precondition for the action crush. While it is true that if one has a hammer, then one can crush things, this is too strict of a precondition. Using this incorrect knowledge, a system might conclude from the text "Jane crushed the soda can with her hands" that <i>hands </i>are a kind of <i>hammer.</i></p><p>Our first extension to the baseline S10 system is to give it the capacity to generalize the predicates it finds, by giving it more general candidate pred­icates. Let synsets<i>(w) </i>denote the set of WordNet synsets for a word <i>w, </i>and let <i>CW </i>be the set of candidate words used by S10. For each <i>c </i>G <i>CW</i>, we add each <i>s </i>G synsets(c) to a new candidate predicate list of synsets <i>CS </i>; if <i>c </i>does not appear in WordNet, we add <i>c </i>itself to CS. We then add all direct and indirect hypernyms of the synsets in <i>CS </i>to <i>CS. </i>In Table 1, we show a sample of the can­didate preconditions <i>s </i>from <i>CS </i>for action heal. We also show the subset <i>CWs </i>of words from <i>CW </i>that have <i>s </i>as a hypernym.</p><p>Our second extension to S10 is to modify the definition of our features so that they apply to the synsets in <i>CS </i>rather than the words in <i>CW. </i>To compute the PMI-based features, we set |D{s}| to \DcWs<i> </i>|, and <i>\D</i><i>{e&gt;sj</i>}| to be |D{eJ} n <i>Dqws </i>|. For semantic role-based features, let <i>F(e, c) </i>de­note one of the counts we compute for candidate word <i>c </i>and event <i>e. </i>For hypernyms, we change this to <i>F(e,s) = ceCws F(e,c). </i>We refer to S10 with the new candidates <i>CS </i>and the modified features as S10'.</p><p>Correctly ranking the elements of <i>CS </i>is sig­nificantly harder than ranking <i>CW </i>(the problem for S10), because the new list has far more el­ements — multiple synsets and hypernyms for each element of <i>CW. </i>The feature set in the S10' system is unable to handle these new chal­lenges. In particular, S10' tends to choose overly feature description description 3.<page local="5" global="5"/></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">s</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">feature</doubt><doubt alpha="60.5" length="43" tooSmall="False" monospace="0.0">root-dist   1. maxreRd(s, r)2. minreßd(s,r)</doubt><p>E<u>rgfl d(</u>s'r)</p><p>max-dist   maxc€cws mins/€synsets(c) <i>d(s, s')</i> avg dist <i><u>T</u></i><i><u>,s'e</u></i><i><u>synsets(c)\c</u></i><i><u>e</u></i><i><u>CWs </u></i><u>d(s,s0</u> avg-dist [CWSj weighted dist</p><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">Ed(s,s')C(c)</doubt><p><i>c</i><i>e</i><i>CWs,s/ </i><i>e</i><i>synsets(c)</i></p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">ceCWs</doubt><table caption="Table 2: Features added to S10' to createHyper."></table><p>general hypernyms far too often. For example, synsets like physical_entity#1 tend to rank highly as preconditions and add effects according to S10', as many words in <i>CW </i>are hyponyms of physical_entity#1, and thus this synsethas high scores for count and PMI-based features.</p><p>To compensate, we include several new features that measure the generality of hypernyms. Table 2 lists the new features we add to S10' to cre­ate our new extractor, which we call the Hyper model. Here, <i>d(s, s') </i>is the distance between <i>s </i>and <i>s', </i>or the number of hyponym relationships sepa­rating <i>s </i>and s'; <i>R </i>is the set of root nodes in the WordNet hierarchy; and <i>C(w) </i>is the frequency of word <i>w </i>in our corpus. The first three features cal­culate the maximum, minimum and average dis­tance separating <i>s </i>and any root node of the Word­Net hierarchy. The second and third features find the maximum and average distance between <i>s </i>and the terms in CWs. The final feature computes a weighted distance between <i>s </i>and the elements <i>c </i>G CWs, where each weight is the frequencies of <i>c. </i>Each of these features helps to differenti­ate between very general synsets and more spe­cific synsets (or synsets for terms appearing fre­quently in the corpus). Adding these features to Hyper allows the SVM to balance between candi­date synsets that score highly on the standard S10'features and candidate synsets that are less gen­eral.</p></subsection><subsection number="4.3" title="Detecting Delete Effects"><p>S10' and Hyper can identify preconditions and add effects, but they do not handle delete effects. We extend the system with a separate extractor for delete effects. By far the most common kind nated with an add effect</p><doubt alpha="61.1" length="36" tooSmall="False" monospace="0.0">prefix 1 ifp= {un-,im-,in-} concate-</doubt><p>loose count a separate feature | <i>D{negpf} </i>| for each <i>neg </i>G {"no", "not"} and each <i>f  </i>G  {"after", "during", strict count   for    each    <i>neg    </i>and <i>f,</i> simple PMI   for each <i>neg, PMI(neg, p) </i>and</p><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">"as", "before"}</doubt><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">|D{"negpf"}\</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">PMI("neg p", e)</doubt><doubt alpha="61.9" length="42" tooSmall="False" monospace="0.0">ratio PMI     for each neg,PMp^"ii^pe) 'e)</doubt><p>Table 3: Features for classifying whether a pre­condition predicate <i>p </i>is a delete effect of an event <i>e.</i></p><p>of delete effect is one that falsifies a precondition predicate: <i>e.g., </i>before someone puts a book down, they are holding the book, and afterwards they are not. So far, we have restricted our attention to this common case, although more general extractors are possible for conditional delete effects, which falsify a predicate only on the condition that the predicate was true before the event.</p><p>We create a binary SVM classifier that predicts for each precondition predicate whether or not the precondition turns false after the event. For each precondition predicate <i>p, </i>we construct fea­tures that measure how strongly <i>p </i>is associated with negation in the context of the event <i>e. </i>We include a mix of orthographic features, count fea­tures, and PMI-based features. The full set of our features for this classifier is listed in Table 3.</p><p>As an example of the delete effects classifier in action, consider the event maim. Hyper can ex­tract unhurt as a precondition and hurt as an add effect. In general, whenever we see an add ef­fect that contradicts a precondition, we expect to delete the precondition. The prefix feature in Table 3 for maim flags unhurt as a possible pre­condition to be deleted because it matches 'un' + add effect hurt.</p></subsection><subsection number="4.4" title="Determining Arguments"><p>The last subtask for our STRIPS extractor is to "relation-ify our extracted representation by as­signing arguments to the event <i>e </i>and each predi­cate. S10 makes no attempt to identify arguments to extracted predicates.  As a result, for action<page local="6" global="6"/></p><p>awaken, the SlO representation does not distin­guish between a case where one entity x is asleep and another entity y wakes up, and the case where <i>x </i>is asleep and then <i>x </i>awakens.</p><p>This is a complex, structured-prediction prob­lem involving coreference resolution between the arguments to extracted relationships. As a first at­tempt, we resort to an effective heuristic solution. We use the argument role labels supplied by our propbank-style semantic role labeler as candidate variables for our representation. For an extracted predicate p for e, we assign arguments to <i>p </i>based on the semantic role label or labels with which it is most commonly associated in the annotated cor­pus. That is, for each possible semantic role r, we count how often <i>p </i>occurs in a phrase that is an ar­gument to <i>e </i>and is annotated with role <i>r. </i>We also count how often <i>p </i>occurs as part of any phrase that is annotated with role r. Let <i>score(e, r, </i>p) denote the sum of these two counts. We choose an argu­ment variable <i>r* = </i>argmaxr <i>score(e,r,p), </i>and write p as the predicate p(r*). Finally, we set the arguments of <i>e </i>to be the set of unique arguments chosen for all of its extracted predicates.</p><p>Figure 2 shows an example of this technique and two baselines. The input to each system is a STRIPS representation without arguments and the output adds arguments. For action maim, the semantic role heuristic finds that person#1 and unhurt#1 occur most often in phrases marked with a propbank A1 role. Hence, it concludes that they both should have the same argument label. object#1 occurs more in phrases with A2 roles, and is given a separate argument variable as a re­sult. These two roles then constitute the argument set for event maim.</p></subsection></section><section number="5" title="Experiments"><subsection number="5.1" title="Experimental Setup"><p>We use the same experimental setup as in SlO: we use the dataset of 40 actions from the lexical units in the frames that in­herit from the Transitive_action frame in FrameNet(Johnson et al., 2003). We use the same document collection of 15,088 documents that we downloaded from the Web for these 40 action words. For each action word, candidate predi­cates for precondition and add effect extraction were the top 500 words ranked by PMI with the action word. This list was augmented with the su­perclasses from WordNet, as described above. For each action word, we hand-constructed a STRIPS representation (we did not use S10's labeled data because it did not include the WordNet super­classes as candidate words, or as part of its hand-constructed representations). On average, our la­beled data had 2.6 preconditions, 0.8 add effects, 0.5 delete effects, and 3 argument variables per ac­tion word. In all of our extraction experiments, we take care to test the extractors on different ac­tion words from the ones on which they are trained (for any components that require training), so that results should generalize to new action words be­yond the ones in our current collection.</p></subsection><subsection number="5.2" title="Results and Discussion"><p>Our first experiment compared predicate extrac­tion (preconditions and add effects) between S10' and Hyper. We use 5-fold cross-validation, with each run training on 32 action words and testing on the remaining 8. The training data consists of action words, candidate words, feature values, and a +1 label for candidates matching our hand-constructed representation, and -1 for those that did not match. We train a regression model, so that our SVMs produce real-valued predictions for (ac­tion word, candidate word) pairs. We construct a list of all such pairs and rank them according to the SVM output. Figure 3 shows our results. The area under the curve (AUC) for both preconditions and add effects is significantly higher (0.34 improve­ment in AUC for preconditions, 0.17 for add eff-fects) for the full model, largely because the S10' model ranks very general WordNet classes, like physical-entity, very highly for most action words, simply because they appear so often as the<page local="7" global="7"/></p><table caption="Figure 2: Addition of arguments to predicates for action 'maim'." class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>action</p></td><td class="cell"><p>pre</p></td><td class="cell"><p>add</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>S10' :</p></td><td class="cell"><p>maim</p></td><td class="cell"><p>person#1</p></td><td class="cell"><p>hurt</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>unhurt</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>object#1</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Distinct var.</p></td><td class="cell"><p>maim(a,b,c,d)</p></td><td class="cell"><p>person#1(a)</p></td><td class="cell"><p>hurt(d)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline:</p></td><td class="cell"><p></p></td><td class="cell"><p>unhurt(b)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>object#1(c)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Same var.</p></td><td class="cell"><p>maim(a)</p></td><td class="cell"><p>person#1(a)</p></td><td class="cell"><p>hurt(a)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline:</p></td><td class="cell"><p></p></td><td class="cell"><p>unhurt(a)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>object#1(a)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Semantic Role</p></td><td class="cell"><p>maim(A1,A2)</p></td><td class="cell"><p>person#1(A1)</p></td><td class="cell"><p>hurt(A1)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>heuristic:</p></td><td class="cell"><p></p></td><td class="cell"><p>unhurt(A1)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>object#1(A2)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="16.7" length="6" tooSmall="False" monospace="0.0">(S10')</doubt><doubt alpha="0.0" length="19" tooSmall="True" monospace="0.0">0 0.2 0.4 0.6 0.8 1</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Recall</doubt><p>Technique Prec. Recall F1</p><doubt alpha="43.2" length="37" tooSmall="False" monospace="0.0">All pre. are deleted 26       90 40.3</doubt><doubt alpha="41.7" length="36" tooSmall="False" monospace="0.0">No pre. are deleted 100      10 18.2</doubt><doubt alpha="46.9" length="32" tooSmall="False" monospace="0.0">SVM trained model 72.2 52.6 60.8</doubt><p>Table 4: Precision and recall for our system which extracts delete effects. The final SVM trained model has gold standard preconditions as input to the classifier. For an action with no delete effects, if the system predicts no delete effects, we judged precision and recall to be 100%, which is why the recall of the second baseline is nonzero. Precision and recall numbers are macro-averaged across ac­tions.</p><p>between the argument variables selected by our method and the argument variables in the hand-constructed STRIPS representation. After com­puting the matching, we substituted the variables from the gold standard representation into the automatically-produced variables. We then mea­sured the quality of our automatically-generated full STRIPS representation by measuring how many of the predicted predicates match exactly a predicate in the gold standard (precision), and how many of the gold standard predicates were found exactly in the automatically-generated representa­tions (recall). For the purposes of this calculation, we used the top 3 automatically-generated precon­ditions and top 1 automatically-generated add ef­fect per action word according to the HYPE R ex­tractor, regardless of the numeric scores for each predicate. (We found that recall increased but pre­cision dropped more when we included a second add effect per action word.) We did not include delete effects in this experiment. We compared our heuristic technique to two baselines, one which predicts that all extracted predicates for an action share the same variable, and one which treats ev­ery argument as a distinct variable. Table 5 shows our results. The semantic role labeling heuristic improves dramatically over the closest baseline by 25 points in F1. Overall, our complete extraction system found precondition and add effect predi­cates and arguments for STRIPS representations with an F1 of 0.72, using only statistics over a small corpus collected from the Web and a small set of hand-labeled examples.</p><figure caption="Figure 3: Precision-Recall curves for extracting preconditions and add effects."></figure><p>superclasses of words in the documents. By incor­porating the features that measure the generality of classes, the full extraction model can learn to rank these very general classes much lower, ex­cept when strongly supported by evidence from the documents. The absolute performance of the full extractor is quite strong, with AUC 0.82 for preconditions and 0.72 for add effects, compared with AUCs for S10' of 0.48 for preconditions and 0.52 for add effects.</p><p>We measured the performance of our delete effect extractor using the same 5-fold cross-validation setup. Recall that our delete classifier predicts which preconditions become false after the action. To separate the evaluation of this clas­sifier's performance from our precondition extrac­tor, we use gold-standard preconditions as input to the classifier. As before, we construct train and test sets consisting of the action word, the pre­condition, values for our features, and a label of +1 if the precondition is in fact a delete effect, and -1 otherwise. We train an SVM classifier, and measure its precision and recall on detecting true delete effects for each of the five folds. Ta­ble 4 shows the results for extracting this kind of knowledge. The average precision across the folds was 72.2%, and recall was 52.6%, for an F1 of 60.8. In contrast, a baseline that predicts all pre­conditions are also delete effects achieves an F1 of 41.3 (26% precision, 100% recall), and other baselines (random, no preconditions are delete ef­fects) performed worse. Thus, the delete effect classifier is able to reliably detect negative knowl­edge, which is rarely stated explicitly, using co­occurrence statistics and other simple features.</p><p>For argument matching, we measured per­formance by the overall quality of the ex­tracted STRIPS representations, including argu­ments.  We first computed a maximal matching<page local="8" global="8"/></p><p>Table 5: Precision and recall of our complete representation with extracted predicates and argu­ments.</p></subsection></section><section number="6" title="Conclusion and Future Work"><p>We have presented a system for extracting a com­plete STRIPS representation of 40 common ac­tions from text, with an overall F1 of 0.72. We demonstrate that our system significantly outper­forms the closest comparable one from the litera­ture and extracts richer representations. Future di­rections include extracting more sophisticated rep­resentations of action semantics, especially multi­argument predicates and logical connectives be­tween predicates, and extracting representations for more complex actions, like durative or repet­itive actions.</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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Technique</p></td><td class="cell"><p>Prec.</p></td><td class="cell"><p>Recall</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>All preds. have same var.</p></td><td class="cell"><p>32</p></td><td class="cell"><p>33</p></td><td class="cell"><p>32</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Each pred. has distinct var.</p></td><td class="cell"><p>56</p></td><td class="cell"><p>58</p></td><td class="cell"><p>57</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Semantic role heuristic</b></p></td><td class="cell"><p><b>73</b></p></td><td class="cell"><p><b>72</b></p></td><td class="cell"><p><b>72</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>Jon Barwise. 1989. <i>The Situation in Logic. </i>CSLI.</p><p>John Bresina, Richard Dearden, Nicolas Meuleau, David Smith, and Rich Washington. 2002. Planning under continuous time and resource uncertainty: A challenge for AI. In <i>Proc. of the 18th Conference on Uncertainty in Artificial Intelligence.</i></p><p>Sandra Carberry. 1990. <i>Plan Recognition in Natural Language Dialogue. </i>MIT Press, Cambridge, MA, USA.</p><p>Nathanael Chambers and Dan Jurafsky. 2009. Unsu-pervised learning of narrative schemas and their par­ticipants. In <i>Proceedings of ACL-IJCNLP 2009.</i></p><p>Doug Downey, Oren Etzioni, and Stephen Soderland. 2005. A Probabilistic Model of Redundancy in In­formation Extraction. In <i>IJCAI.</i></p><doubt alpha="61.7" length="47" tooSmall="False" monospace="0.0">O. Etzioni,  M. Cafarella,  D. Downey,  S. Kok,</doubt><p>A. Popescu, T. Shaked, S. Soderland, D. Weld, and</p><p>A. Yates. 2005. Unsupervised named-entity extrac­tion from the web: An experimental study. <i>Artificial Intelligence, </i>165(1):91-134.</p><p>Christiane Fellbaum, editor. 1998. <i>WordNet: An Elec­tronic Lexical Database. </i>Bradford Books.</p><p>R. Fikes and N. Nilsson. 1971. STRIPS: A new approach to the application of theorem proving to problem solving. <i>Artificial Intelligence, </i>2(3/4):189208.</p><p>Christopher W. Geib and Mark Steedman. 2007. On natural language processing and plan recognition. In <i>IJCAI, </i>pages 1612-1617.</p><p>Roxana Girju. 2003. Automatic detection of causal relations for question answering. In <i>Proceedings of the ACL 2003 workshop on Multilingual summariza­tion and question answering, </i>pages 76-83, Morristown, NJ, USA.</p><p>Fei Huang and Alexander Yates. 2010. Open-domain semantic role labeling by modeling word spans. In <i>ACL.</i><i></i></p><p>Christopher Johnson, Miriam Petruck, Collin Baker, Michael Ellsworth, Josef Ruppenhofer, and Charles Fillmore. 2003. <i>FrameNet: Theory and practice.</i></p><p>Henry A. Kautz. 1991. A formal theory of plan recog­nition and its implementation. In <i>Reasoning about plans, </i>pages 69-124. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.</p><p>D. Lin and P. Pantel. 2001. DIRT - Discovery of In­ference Rules from Text. In <i>KDD.</i></p><p>Diane J. Litman and James F. Allen. 1987. A plan recognition model for subdialogues in conver­sations. <i>Cognitive Science, </i>11(2):163 - 200.</p><p>Peter LoBue and Alexander Yates. 2011. Types of common-sense knowledge needed for recognizing textual entailment. In <i>ACL.</i></p><p>A. Ritter, Mausam, and Oren Etzioni. 2010. A la­tent dirichlet allocation method for selectional pref­erences. In <i>ACL.</i></p><p>R.C. Schank and R.P. Abelson. 1977. <i>Scripts, plans, goals and understanding: an inquiry into human knowledge structures. </i>Erlbaum.</p><p>Lenhart K. Schubert and Chung Hee Hwang. 2000. Episodic Logic meets Little Red Riding Hood: A comprehensive natural representation for language understanding. In Lucja Iwanska and Stuart C. Shapiro, editors, <i>Natural Language Processing and Knowledge Representation: Language for Knowl­edge and Knowledge for Language, </i>pages 111-174.</p><p>MIT/AAAI Press.</p><p>Avirup Sil, Fei Huang, and Alexander Yates. 2010. Extracting action and event semantics from web text. In <i>AAAI Fall Symposium on Common-Sense Knowl­edge (CSK).</i></p><p>P. D. Turney. 2002. Thumbs up or thumbs down? se­mantic orientation applied to unsupervised classifi­cation of reviews. In <i>Procs. ofACL, </i>pages 417-424.</p><p>Hakan L. S. Younes, David J. Musliner, and Reid G. Simmons. 2003. A framework for planning in continuous-time stochastic domains. In <i>AAAI.</i></p></references></body></article>