<?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="256"/><title>UTD: Classifying Semantic Relations by Combining Lexical and Semantic Resources</title><pubinfo>Proceedings of the 5th International Workshop on Semantic Evaluation, ACL 2010,pages 256-259, Uppsala, Sweden, 15-16 July 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Rink" givenname="Bryan"><org  name="Duke University" country="USA" city="Durham"/></author><author surname="Harabagiu" givenname="Sanda"><org  name="University of Texas at Dallas" country="USA" city="Richardson"/></author></firstpageheader><frontmatter><p><b>UTD: Classifying Semantic Relations by Combining Lexical and Semantic Resources</b></p><p><b>Bryan Rink and Sanda Harabagiu</b></p><p>Human Language Technology Research Institute University of Texas at Dallas Richardson, Texas {bryan,sanda}@hlt.utdallas.edu</p></frontmatter><abstract>This paper describes our system for SemEval-2010 Task 8 on multi-way clas­sification of semantic relations between nominals. First, the type of semantic re­lation is classified. Then a relation type-specific classifier determines the relation direction. Classification is performed us­ing SVM classifiers and a number of fea­tures that capture the context, semantic role affiliation, and possible pre-existing relations of the nominals. This approach achieved an Fl score of 82.19% and an ac­curacy of 77.92%. </abstract></header><body><section number="1" title="Introduction"><p>SemEval-2010 Task 8 evaluated the multi-way classification of semantic relations between nom­inals in a sentence (Hendrickx et al., 2010). Given two nominals embedded in a sentence, the task requires identifying which of the fol­lowing nine semantic relations holds between the nominals: <i>Cause-Effect, Instrument-Agency, Product-Producer, Content-Container, Entity-Origin, Entity-Destination, Component-Whole, Member-Collection, Message-Topic, </i>or <i>Other </i>if no other relation is appropriate. For instance, the following sentence provides an example of the <i>Entity-Destination </i>relation: <i>"A small [piece]</i><i>ei </i><i>of rock landed into the [trunk] </i><i>e2-"</i></p><p>The two nominals given for this sentence are Ei <i>(piece) </i>and e2 <i>(trunk). </i>This is an <i>Entity-Destination </i>relation because the piece of rock originated from outside of the trunk, but ended up there. Finally, the direction of the relation is (Ei,e2) because Ei, the <i>piece, </i>is the <i>Entity </i>and e2, the <i>trunk, </i>is the <i>Destination.</i></p><p>Analysis of the training data revealed three ma­jor classes of knowledge required for recognizing semantic relations: (i) examples that require back­ground knowledge of an existing relation between the nominals (e.g., example 5884 below), (ii) ex­amples using background knowledge regarding the typical role of one of the nominals (e.g., ex­ample 3402), and (iii) examples that require con­textual cues to disambiguate the role between the nominals (e.g., example 5710).</p><p><b>Example 5884 </b><i>"The Ca content in the [corn</i><i>]e\ </i><i>[flour]</i><i>e2 </i><i>has also a strong dependence on the pericarp thickness."</i></p><p><b>Example 3402 </b><i>"The [rootball</i><i>]e\ </i><i>was in a [crate]</i><i>e2 </i><i>the size of a refrigerator, and some of the arms were over 12 feet tall."</i></p><p><b>Example 5710 </b><i>"The seniors poured [flour</i><i>]e\ </i><i>into wax [paper] </i><i>e2 </i><i>and threw the items as projectiles on freshmen during a morning pep rally."</i></p><p>In example 5884, the background knowledge that flour is often made or derived from corn can directly lead to the classification of the example as containing an <i>Entity-Origin </i>relation. Likewise, knowing that crates often act as containers is a strong reason for believing that example 3402 is a <i>Content-Container </i>relation. However, in exam­ple 5710, neither the combination of the nominals nor their individual affiliations lead to an obvious semantic relation. After taking the context into account, it becomes clear that this is an <i>Entity-Destination </i>relation because Ei is going <i>into </i>e2.</p></section><section number="2" title="Approach"><p>We cast the task of determining a semantic re­lation and its direction as a classification task. Rather than classifying both pieces of informa­tion (relation and direction) simultaneously, one classifier is used to determine the relation type, and then, for each relation type, a separate clas­sifier determines the direction. We used a total of 45 feature types (henceforth: features), which were shared among all of the direction classi­fiers and the one relation classifier.<page local="2" global="257"/> These fea­ture types can be partitioned into 8 groups: lexical features, hypernyms from WordNet<footnote anchor="1"/>, dependency parse, PropBank parse, FrameNet parse, nominal-ization, predicates from TextRunner, and nomi­nal similarity derived from the Google N-Gram data set. All features were treated as feature-type:VALUE pairs which were then presented to the SVM<footnote anchor="2"/> classifier as a boolean feature (0 or 1).</p><p>We further group our features into the three classes described above: Contextual, Nominal af­filiation, and Pre-existing relations. Table 1 illus­trates sample feature values from example 117 of the training set.</p></section><section number="3" title="Contextual and Lexical Features"><p>The contextual features consist of lexical features and features based on dependency, PropBank, and FrameNet parses. For lexical features, we extract the words and parts of speech for Ei and e2, the words, parts of speech, and prefixes of length 5 for tokens between the nominals, and the words be­fore and single word after Ei and e2 respectively. The words between the nominals can be strong indicators for the type of relation. For example the words <i>into, produced, </i>and <i>caused </i>are likely to occur in <i>Entity-Destination, Product-Producer, </i>and <i>Cause-Effect </i>relations, respectively. Using the prefixes of length 5 for the words between the nominals provides a kind of stemming <i>(produced —&gt; produ, caused —&gt; cause).</i></p><p>Inspired by a feature from (Beamer et al., 2007), we extract a coarse-grained part of speech se­quence for the words between the nominals. This is accomplished by building a string using the first letter of each token's Treebank POS tag. This fea­ture is motivated by the fact that relations such as <i>Member-Collection </i>usually invoke prepositional phrases such as: <i>of, in the, </i>and <i>of various. </i>The corresponding POS sequences we extract are: "I", "LD", and "U". Finally, we also use the num­ber of words between the nominals as a feature because relations such as <i>Product-Producer </i>and <i>Entity-Origin </i>often have no intervening tokens (e.g., <i>organ builder </i>or <i>Coconut oil).</i></p><p>Syntactic and semantic parses capture long dis­tance relationships between phrases in a sentence. Instead of a traditional syntactic parser, we chose the Stanford dependency parser<footnote anchor="3"/> for the simpler syntactic structure it produces. Our dependency features are based on paths in the dependency tree of length 1 and length 2. The paths encode the de­pendencies and words those dependencies attach to. To generalize the paths, some of the features replace verbs in the path with their top-level Levin class, as determined by running a word sense dis­ambiguation system (Mihalcea and Csomai, 2005) followed by a lookup in VerbNet<footnote anchor="4"/>. One of the fea­tures for length 2 paths generalizes further by re­placing all words with their location relative to the nominals, either BEFORE, BETWEEN, or AFTER.</p><footnote label="1"> http://wordnet.princeton.edu/  2 We used Weka's SMO classifier http://www.cs.waikato.ac.nz/ml/weka/</footnote><p>Consider example 117 from Table 1. The length 2 dependency path (feature <i>depPathLen2VerbNet) </i>neatly captures the fact that Ei is the subject of a verb falling into Levin class 27, and e2 is the di­rect object. Levin class 27 is the class of engender verbs, such as <i>cause, spawn, </i>and <i>generate. </i>This path is indicative of a <i>Cause-Effect </i>relation.</p><p>Semantic parses such as ASSERT's PropBank parse<footnote anchor="5"/> and LTH's FrameNet parse<footnote anchor="6"/> identify predi­cates in text and their semantic roles. These parses go beyond the dependency parse and identify the specific role each nominal assumes for the pred­icates in the sentence, so the parses should be a more reliable indicator for the relation type be­tween nominals. We have features for the iden­tified predicates and for the roles assigned to each nominal. Several of the features are only triggered if both nominals are arguments for the same pred­icate. The values from Table 1 show that the fea­tures correctly determined that Ei and e2 are gov­erned by a verb of Levin class 27, and that the lex­ical unit is <i>cause, v.</i></p></section><section number="4" title="Nominal Role Affiliation Features"><p>Although context can be critical to identifying the semantic relation present in some examples, in others we must bring some background knowledge to bear regarding the types of nominals involved. Knowing that a <i>writer </i>is a person provides sup­porting evidence for that nominal taking part in a PRODUCER role. Additionally, <i>writer </i>nominal-izes the verb <i>write </i>which is classified by Levin (Levin, 1993) as an "Image creation" or "Creation and Transformation" verb. This provides further support for assigning <i>writer </i>to a PRODUCER role.</p><footnote label="3">http://nlp.stanford.edu/software/lex-parser.shtml  4 http://verbs.colorado.edu/mpalmer/projects/verbnet.html  5 http://cemantix.org/assert.html</footnote><footnote label="6">http://nlp.cs.lth.se/software/semantic_parsing:_framenet_frames/</footnote><page local="3" global="258"/><p>Table 1 : All of the feature types and values for example 117 from the training data. Despite the errors in disambiguation the system still correctly classifies this as Cause-Effect(Ei,e2)</p><p>We capture this background knowledge by lever­aging four sources of lexical and semantic knowl­edge: WordNet, NomLex-Plus<footnote anchor="7"/>, VerbNet, and the Google N-Gram data<footnote anchor="8"/>.</p><p>We utilize a word sense disambiguation sys­tem (Mihalcea and Csomai, 2005) to determine the best sense for each nominal and use all of the hy-pernyms as a feature. Hypernyms are also deter­mined for the words between the nominals, how­ever only the top three levels are used as a feature. Following (Beamer et al., 2007), we also incor­porate a nominalization feature for each nominal based on NomLex-Plus. Rather than use the agen­tial information as they did, we determine the verb being nominalized and retrieve the verb's top-level Levin class from VerbNet. This reduces the spar-sity problem for nominalizations while still cap­turing their semantics.</p><p>Our final role-affiliation features make use of the Google N-Gram data. Using the 5-grams we determined the top 1,000 words that occur most often in the context of each nominal. Nominals were then compared to each other using Jaccard similarity of their contexts and the 4 closest neigh­bors were retained. For each nominal, we have a feature containing the nominal itself and its 4 near­est neighbors from the training set. Additional fea­tures determine the most frequent role assigned to the neighbors. Examples of all these features can be seen in Table 1 in the row for NGrams. The neighbors for <i>motion </i>in the table show the diffi­culty this feature has with ambiguity, incorrectly picking up words similar to the sense meaning a proposal for action.</p><footnote label="7">http : //nip. cs . nyu.edu/meyers/NomB ank.html "Available from LDC as LDC2006T13</footnote></section><section number="5" title="Pre-existing Relation Features"><p>For some examples the context and the individ­ual nominal affiliations provide little help in de­termining the semantic relation, such as example 5884 from before (i.e., <i>corn flour). </i>These ex­amples require knowledge of the interaction be­tween the nominals and we cannot rely solely on determining the role of one nominal or the other. We turned to TextRunner (Yates et al., 2007) as a large source of background knowl­edge about pre-existing relations between nom­inals. TextRunner is a queryable database of noun-verb-noun triples extracted from a large corpus of webpages. For example, the phrases re­trieved from TextRunner for "corn _ flour" include: "is ground into", "to make", "to ob­tain", and "makes". Querying in the reverse direc­tion, for "flour_corn" returns phrases such as: "contain", "filled with", "comprises", and "is made from". We use the top ten phrases for the the "&lt;e2&gt;_&lt;Ei&gt;" results, forming two fea­tures. In addition, we include a feature that has all of the hypernyms for the content words in the verb phrases from the queries for the e1-e2 direction.</p><doubt alpha="65.8" length="38" tooSmall="False" monospace="0.0">"&lt;Ei&gt;_&lt;e2&gt;"query results, and also for</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Example 117: </b>Forward [motional of the vehicle through the air caused a [suction]^ on the road draft tube.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Feature Set</b></p></td><td class="cell"><p><b>Feature Values</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lexical</p></td><td class="cell"><p>elWord=motion, e2Word=suction, elOrE2Word={motion,suction}, wordsBetween={of, the, vehicle, through, the, air, caused, a}, posEl=NN, posE2=NN, posElorE2=NN posBetween=I_D_NJ_D_N_V_D, distance=8, wordsOutside={Forward, on}, preflx5Between={air, cause, a, of, the, vehic, throu, the}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dependency</p></td><td class="cell"><p>depPathLen 1={ caused^nsubj —&gt; &lt; E1 &gt;, caused^dobj —&gt; &lt; E2&gt;,...} depPathLenlVerbNet={vn:27^nsubj^&lt;El&gt;, vn:27^dobj^&lt;E2&gt;,...} depPathLen2VerbNet={ &lt; E1 &gt; ^nsubj &lt;- vn: 27^dobj -&gt; &lt; E2&gt; }, depPathLen2Location={ &lt; E1 &gt; ^nsubj <b><i>&lt;</i></b><b>—</b>between<b>—</b>&gt;dobj—&gt;&lt;E2&gt;}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PropBank</p></td><td class="cell"><p>pbPredStem=caus, pbVerbNet=27, pbElCoarseRole=ARGO, pbE2CoarseRole=ARGl, pbElorE2CoarseRole={ARG1,ARG2}, pbNumPredToks= 1, pbElorE2PredHyper = {cause#v#l, create#v#l}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>FrameNet</p></td><td class="cell"><p>fnAnyLU={cause.v,    vehicle.n,    road.n},    fnAnyTarget={cause,vehicle,road}, fnE2LU=cause.v, fnE 1 OrE2LU=cause. v</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Hypernym</p></td><td class="cell"><p>hyperEl={gesture#n#2,    communication#n#2,    entity#n#l,    ...},    hyperE2={suction#n#l, phe-nomenon#n#l, entity#n#l,...}, hyperElorE2={gesture#n#2, communication#n#2, entity#n#l, suc-tion#n#l, phenomenon#n#l, ...}, hyperBetween={quality#n#l, cause#v#l, create#v#l, ...}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NomLex-Plus</p></td><td class="cell"><p><i>Features did not fire</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NGrams</p></td><td class="cell"><p>knnEl={motion, amendment, action, appeal, decision}, knnE2={suction, hose, pump, vacuum, nozzle}, knnE 1 Role=Message, knnE2Role=Component</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TextRunner</p></td><td class="cell"><p>trEl_E2={may result from, to contact, created, moves, applies, causes, falls below, corresponds to which}, trE2_El={including, are moved under, will cause, according to, are effected by, repeats, can match}, trEl_E2Hyper={be#v#6, agree#v#3, cause#v#l, ensue#v#l, contact#v#l, apply#v#l,...}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="259"/></section><section number="6" title="Results"><p>Our system achieved the best overall score as mea­sured by macro-averaged Fl (for scoring details see (Hendrickx et al., 2010)) among the ten teams that participated in the semantic relation task at SemEval-2010. The results in Table 2 show the performance of the system on the test set for each relation type and the overall score.</p><p>The training data consisted of 8,000 annotated instances, including the numbered examples intro­duced earlier, and the test set contained 2,717 ex­amples. To assess the learning curve for this task we trained on sets of size 1000, 2000, 4000, and 8000, obtaining test scores of 73.08, 77.02, 79.93, and 82.19, respectively. These results indicate that more training data does help, but going from 1,000 training instances to 8,000 only boosts the score by about 9 points of F-measure.</p><p>Because our approach makes use of many dif­ferent features, we ran ablation tests on the 8 sets of features from Table 1 to determine which types of features contributed the most to classifying se­mantic relations. We evaluated all 256 (2s) combi­nations of the feature sets on the training data us­ing 10-fold cross validation. The results are shown in Table 3. The last lines of Tables 2 and 3 corre­spond to the system submitted for SemEval-2010 Task 8. The score on the training data is lower be­cause the data includes examples from SemEval-2007, which has more of the harder to classify <i>Other </i>relations<footnote anchor="9"/>.</p><p>These tests have shown that the NomLex-Plus feature likely did not help. Further, the depen­dency parse feature added little beyond PropBank and FrameNet. Given the high score for the lexical feature set we split it into smaller sets to see their contributions in the top portion of Table 3. This</p><footnote label="9">To confirm this we performed a 10 fold cross validation of examples 1-7109, adding examples 7110-8000 (the 2007 data) to each training set. This resulted in an Fl of 82.18</footnote><p>Feature Sets Fl</p><doubt alpha="62.5" length="16" tooSmall="False" monospace="0.0">EiandE2only 48.7</doubt><p>Words between only 64.0</p><doubt alpha="66.2" length="77" tooSmall="False" monospace="0.0">Ei, E2,and words between 72.5 All word features (incl. before and after) 73.1</doubt><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">TLexical 73~8</doubt><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">2 +Hypernym 77.8</doubt><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">3 +FrameNet 78.9</doubt><doubt alpha="42.9" length="14" tooSmall="False" monospace="0.0">4 +NGrams 79.7</doubt></section><section number="5" title="-FrameNet +PropBank +TextRunner 80.5"><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">6 +FrameNet 81.1</doubt><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">7 +Dependency 81.3</doubt><doubt alpha="52.6" length="19" tooSmall="False" monospace="0.0">8 +NomLex-Plus 81.3</doubt><p>Table 3: Scores obtained for various sets of fea­tures on the training set. The bottom portion of the table shows the best combination containing 1 to 8 feature sets reveals the best individual feature is for the words between the two nominals.</p></section><section number="7" title="Conclusion"><p>By combining various linguistic resources we were able to build a state of the art system for recognizing semantic relations in text. While the large training size available in SemEval-2010 Task 8 enables achieving high scores using only word-based features, richer linguistic and background-knowledge resources still provide additional aid in identifying semantic relations.</p></section><section title="Acknowledgments"><p>The authors would like to thank Kirk Roberts for providing code and insightful comments.</p><table caption="Table 2: Overall and individual relation scores on the test set, along with precision and recall" 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>Relation</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>Fl</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cause-Effect</p></td><td class="cell"><p>89.63</p></td><td class="cell"><p>89.63</p></td><td class="cell"><p>89.63</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Component-Whole</p></td><td class="cell"><p>74.34</p></td><td class="cell"><p>81.73</p></td><td class="cell"><p>77.86</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Content-Container</p></td><td class="cell"><p>84.62</p></td><td class="cell"><p>85.94</p></td><td class="cell"><p>85.27</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Entity-Destination</p></td><td class="cell"><p>88.22</p></td><td class="cell"><p>89.73</p></td><td class="cell"><p>88.96</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Entity-Origin</p></td><td class="cell"><p>83.87</p></td><td class="cell"><p>80.62</p></td><td class="cell"><p>82.21</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Instrument-Agency</p></td><td class="cell"><p>71.83</p></td><td class="cell"><p>65.38</p></td><td class="cell"><p>68.46</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Member-Collection</p></td><td class="cell"><p>84.30</p></td><td class="cell"><p>87.55</p></td><td class="cell"><p>85.89</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Message-Topic</p></td><td class="cell"><p>81.02</p></td><td class="cell"><p>85.06</p></td><td class="cell"><p>82.99</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Product-Producer</p></td><td class="cell"><p>82.38</p></td><td class="cell"><p>74.89</p></td><td class="cell"><p>78.46</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Other</p></td><td class="cell"><p>52.97</p></td><td class="cell"><p>51.10</p></td><td class="cell"><p>52.02</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overall</p></td><td class="cell"><p>82.25</p></td><td class="cell"><p>82.28</p></td><td class="cell"><p>82.19</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>B. Beamer, S. Bhat, B. Chee, A. Fister, A. Rozovskaya, and R. Girju. 2007. UIUC: a knowledge-rich approach to identifying semantic relations between nominals. In <i>ACL SemEval07 Workshop.</i></p><p>I. Hendrickx, S.N. Kim, Z. Kozareva, R Nakov, D. Ö Séaghdha, S. Padö, M. Pennacchiotti, L. Romano, and S. Szpakowicz. 2010. Semeval-2010 task 8: Multi-way classification of semantic relations be­tween pairs of nominals. In <i>Proceedings of the 5th SIGLEX Workshop on Semantic Evaluation, </i>Upp­sala, Sweden.</p><p>B. Levin. 1993. English verb classes and alternations: A preliminary investigation. <i>Chicago, </i><i>II.</i></p><p>R. Mihalcea and A. Csomai. 2005. SenseLearner: word sense disambiguation for all words in unre­stricted text. In <i>Proceedings of the ACL 2005 on Interactive poster and demonstration sessions. </i>ACL.</p><p>A. Yates, M. Cafarella, M. Banko, O. Etzioni, M. Broadhead, and S. Soderland. 2007. Text­Runner: open information extraction on the web. In <i>Proceedings ofHLT: NAACL: Demonstrations.</i></p></references></body></article>