<?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="121"/><title>CMU-AT: Semantic Distance and Background Knowledge for Identifying Semantic Relations</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 121-124, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Tribble" givenname="Alicia"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Fahlman" givenname="Scott E."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>CMU-AT: Semantic Distance and Background Knowledge for Identify­ing Semantic Relations</b></p><p><b>Alicia Tribble Scott E. Fahlman</b></p><p>Language Technologies Institute Language Technologies Institute Carnegie Mellon University Carnegie Mellon University</p><p>Pittsburgh, PA, USA Pittsburgh, PA, USA</p><p>atribble@cs.cmu.edu sef@cs.cmu.edu</p></frontmatter><abstract>This system uses a background knowledge base to identify semantic relations between base noun phrases in English text, as eva­luated in SemEval 2007, Task 4. Training data for each relation is converted to state­ments in the Scone Knowledge Representa­tion Language. At testing time a new Scone statement is created for the sentence under scrutiny, and presence or absence of a relation is calculated by comparing the total semantic distance between the new statement and all positive examples to the total distance between the new statement and all negative examples. </abstract></header><body><section number="1" title="Introduction"><p>This paper introduces a knowledge-based approach to the task of semantic relation classification, as evaluated in SemEval 2007, Task 4: "Classifying Relations Between Nominals". In Task 4, a full sentence is presented to the system, along with the WordNet sense keys for two noun phrases which appear there and the name of a semantic relation (e.g. "cause-effect"). The system should return "true" if a person reading the sentence would con­clude that the relation holds between the two la­beled noun phrases.</p><p>Our system represents a test sentence with a se­mantic graph, including the relation being tested and both of its proposed arguments. Semantic dis­tance is calculated between this graph and a set of graphs representing the training examples relevant to the test sentence. A near-match between a test sentence and a positive training example is evi­dence that the same relation which holds in the example also holds in the test. We compute se­mantic distances to negative training examples as well, comparing the total positive and negative scores in order to decide whether a relation is true or false in the test sentence.</p></section><section number="2" title="Motivation"><p>Many systems which perform well on related tasks use syntactic features of the input sentence, coupled with classification by machine learning. This approach has been applied to problems like compound noun interpretation (Rosario and Hearst 2001) and semantic role labeling (Gildea and Jurafsky 2002).</p><p>In preparing our system for Task 4, we started by applying a similar syntax-based feature analysis to the trial data: 140 labeled examples of the rela­tion "content-container". In 10-fold cross-validation with this data we achieved an average f-score of 70.6, based on features similar to the sub­set trees used for semantic role labeling in (Mo-schitti 2004). For classification we applied the up­dated tree-kernel package (Moschitti 2006), distri­buted with the svm-light tool (Joachims 1999) for learning Support Vector Machines (SVMs).</p><p>Training data for Task 4 is small, compared to other tasks where machine learning is commonly applied. We had difficulty finding a combination of features which gave good performance in cross-validation, but which did not result in a separate support vector being stored for every training sen­tence - a possible indicator of overfitting. As an example, the ratio of support vectors to training examples for the experiment described above was .<page local="2" global="122"/>97, nearly 1-to-1.</p><p>As a result of this analysis we started work on our knowledge-based system, with the goal of us­ing the two approaches together. We were also motivated by an interest in using relation defini­tions and background knowledge from WordNet to greater advantage. The algorithm we used in our final submission is similar to recent systems which discover textual entailment relationships (Haghig-hi, Ng et al. 2005; Zanzotto and Moschitti 2006). It gives us a way to encode information from the relation definitions directly, in the form of state­ments in a knowledge representation language. The inference rules that are learned by this system from training examples are also easier to interpret than the models generated by an SVM. In small-data applications this can be an advantage.</p></section><section number="3" title="System Description: A Walk-Through"><p>The example sentence below is taken (in abbre­viated form) from the training data for Task 4, Re­lation 7 "Content-Container" (Girju, Hearst et al.</p><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">2007):</doubt><p>The <i>kitchen </i>holds a <i>cooker.</i></p><p>We convert this positive example into a semantic graph by creating a new instance of the relation Contains and linking that instance to the WordNet term for each labeled argument ("kitch-en%1:06:00::", "cooker%1:06:00::"). The result is shown in Figure 1. WordNet sense keys (Fellbaum 1998) have been mapped to a term, a part of speech (pos), and a sense number.</p><p>Figure 1. Semantic graph for the training example "The <i>kitchen </i>holds a <i>cooker". </i>Arguments are represented by a WordNet term, part of speech, and sense number.</p><p>This graph is instantiated as a statement using the Scone Knowledge Representation System, or</p><doubt alpha="64.4" length="163" tooSmall="False" monospace="0.0">(new-statement {kitchen_n_1} {contains} {cooker_n_1}) (new-statement {artifact_n_1} {contains} {artifact_n_1}) (new-statement {whole_n_1}   {contains} {whole_n_1})</doubt><p>Figure 2. Statements in Scone KR syntax, based on generalizing the training example "The <i>kitchen </i>holds a <i>cooker".</i></p><p>"Scone" (Fahlman 2005). Scone gives us a way to store, search, and perform inference on graphs like the one shown above. After instantiating the graph we generalize it using hypernym information from WordNet. This generates additional Scone state­ments which are stored in a knowledge base (KB), shown in Figure 2. The first statement in the fig­ure was generated verbatim from our training sen­tence. The remaining statements contain hyper-nyms of the original arguments.</p><p>For each argument seen in training, we also ex­tract hypernyms and siblings from WordNet. For the argument kitchen, we extract 101 ancestors (artifact, whole, object, etc.) and siblings (struc­ture, excavation, facility, etc.). A similar set of WordNet entities is extracted for the argument cooker. These entities, with repetitions removed, are encoded in a second Scone knowledge base, preserving the hierarchical (IS-A) links that come from WordNet. The hierarchy is manually linked at the top level into an existing background Scone KB where entities like animate, inanimate, person, location, and quantity are already defined.</p><p>After using the training data to create these two KBs, the system is ready for a test sentence. The following example is also adapted from SemEval Task 4 training data:</p><p><i>Equipment </i>was carried in a <i>box.</i></p><p>First we convert the sentence to a semantic graph, using the same technique as the one de­scribed above. The graph is implemented as a new Scone statement which includes the WordNet pos and sense number for each of the arguments: "box_n_1 contains equipment_n_1".</p><p>Next, using inference operations in Scone, the system verifies that the statement conforms to high-level constraints imposed by the relation defi­nition. If it does, we calculate semantic distances between the argument nodes of our test statement and the analogous nodes in relevant training state­ments. A training statement is relevant if both of its arguments are ancestors of the appropriate arguments of the test sentence.<page local="3" global="123"/> In our example, only two of the three KB statements from Figure 2 are relevant to the test statement "box contains equip­ment": "whole contains whole" and "artifact con­tains artifact". The first statement, "kitchen con­tains cooker" fails to apply because kitchen is not an ancestor of box, and also because cooker is not an ancestor of equipment.</p><p>Figure 3 illustrates the distance from <i>"box </i>con­tains <i>equipment" </i>to <i>"whole </i>contains <i>whole", </i>calcu­lated as the sum of the distances between <i>box-whole </i>and <i>equipment-whole</i>.</p><p>Figure 3. Calculating the distance through the knowledge base between <i>"equipment </i>contains <i>box" </i>and <i>"whole </i>contains <i>whole". </i>Dashed lines indicate IS-A links in the knowledge base.</p><p>The total number of these relevant, positive training statements is an indicator of "support" for the test sentence throughout the training data. The distance between one such statement and the test sentence is a measure of the strength of support. To reach a verdict, we sum over the inverse dis­tances to all arguments from positive relevant ex­amples: in Figure 3, the test statement "box con­tains equipment" receives a support score of (V + <i>V</i><b><i>i </i></b>+ 1 + 1), or 3.</p><p>Counter-evidence for a test sentence can be cal­culated in the same way, using relevant negative statements. In our example there are no negative training statements, so the total positive support score (3) is greater than the counter-evidence score (0), and the system verdict is "true".</p></section><section number="4" title="System Components in Detail"><p>As the detailed example above shows, this system is designed around its knowledge bases. The KBs provide a consistent framework for representing knowledge from a variety of sources as well as for calculating semantic distance.</p><subsection number="4.1" title="Background knowledge"><p>WordNet-extracted knowledge bases of the type described in Section 3 are generated separately for each relation. Average depth of these hierarchies is 4; we store only hypernyms of WordNet depth 7 and above, based on experiments in the literature by Nastase, et al. (2003; 2006).</p><p>Relation-specific and task-specific knowledge is encoded by hand. For each relation, we examine the relation definition and create a set of con­straints in Scone formalism. For example, the de­finition of "container-contains" includes the fol­lowing restriction (taken from training data for Task 4): <i>There is strong preference against treat­ing legal entities (people and institutions) as con­tent.</i></p><p>In Scone, we encode this preference as a type restriction on the container role of any Contains relation: (new-is-not-a {container} {potential agent})</p><p>During testing, before calculating semantic dis­tances, the system checks whether the test state­ment conforms to all such constraints.</p></subsection><subsection number="4.2" title="Calculating semantic distance"><p>Semantic distances are calculated between con­cepts in the knowledge base, rather than through WordNet directly. Distance between two KB en­tites is calculated by counting the edges along the shortest path between them, as illustrated in Figure 3. In the current implementation, only ancestors in the IS-A hierarchy are considered relevant, so this calculation amounts to counting the number of an­cestors between an argument from the test sentence and an argument from a training example. Quick type-checking features which are built into Scone allow us to skip the distance calculation for non­relevant training examples.</p></subsection></section><section number="5" title="Results &amp; Conclusions"><p>This system performed reasonably well for relation 3, Product-Producer, outperforming the baseline (baseline guesses "true" for every test sentence). Performance for this relation was also higher than the average F-score for all comparable groups in Task 4 (all groups in class "B4"). Average recall for this system over all relations was mid-range, compared to other participating groups.<page local="4" global="124"/> Average precision and average f-score fell below the base­line and below the average for all comparable groups. These scores are given in Table 1.</p><p>Table 1. Recall, Precision, and F-scores, separated by relation type. Baseline score is calculated by guessing "true" for all test setences.</p><p>Analysis of the training data reveals that relation 3 is the class where target nouns occur most often together in nominal compounds and base NPs, with little additional syntax to connect them. While other relations included sentences where the targets were covered by a single VP, Product-Producer did not. It seems that background knowledge plays a larger role in identifying the Producer-Produces relationship than it does for other relations. How­ever this conclusion is softened by the fact that we also spent more time in development and cross-evaluation for relations 3 and 7, our two best per­forming relations.</p><p>This system demonstrates a knowledge-based framework that performs very well for certain re­lations. Importantly, the system we submitted for evaluation did not make use of syntactic features, which are almost certainly relevant to this task. We are already exploring methods for combining the knowledge-based decision process with one that uses syntactic evidence as well as corpus sta­tistics, described in Section 2.</p><p><b>Acknowledgement</b></p><p>This work was supported by a generous research grant from Cisco Systems, and by the Defense Ad­vanced Research Projects Agency (DARPA) under contract number NBCHD030010.</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><b>Relation</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>F</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1. Cause-Effect</p></td><td class="cell"><p>73.2</p></td><td class="cell"><p>54.5</p></td><td class="cell"><p>62.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2. Instrument-Agency</p></td><td class="cell"><p>76.3</p></td><td class="cell"><p>50.9</p></td><td class="cell"><p>61.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3. Product-Producer</p></td><td class="cell"><p>79.0</p></td><td class="cell"><p>71.0</p></td><td class="cell"><p>74.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4. Origin-Entity</p></td><td class="cell"><p>63.9</p></td><td class="cell"><p>54.8</p></td><td class="cell"><p>59.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5. Theme-Tool</p></td><td class="cell"><p>48.3</p></td><td class="cell"><p>53.8</p></td><td class="cell"><p>50.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6. Part-Whole</p></td><td class="cell"><p>57.7</p></td><td class="cell"><p>45.5</p></td><td class="cell"><p>50.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7. Content-Container</p></td><td class="cell"><p>68.4</p></td><td class="cell"><p>59.1</p></td><td class="cell"><p>63.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Whole test set, not</p></td><td class="cell"><p>57.1</p></td><td class="cell"><p>68.9</p></td><td class="cell"><p>62.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>divided by relation</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>Average for CMU-AT</p></td><td class="cell"><p>66.7</p></td><td class="cell"><p>55.7</p></td><td class="cell"><p>60.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Average for all B4</p></td><td class="cell"><p><b>64.4</b></p></td><td class="cell"><p>65.3</p></td><td class="cell"><p>63.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>systems</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>Baseline: "alltrue"</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>48.5</p></td><td class="cell"><p>64.8</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>Fahlman, S. E. (2005). Scone User's Manual.</p><p>Fellbaum, C. (1998). WordNet An Electronic Lexical Database, Bradford Books.</p><p>Gildea, D. and D. Jurafsky (2002). "Automatic labeling of semantic roles." Computational Linguistics 28(3):</p><p>245-288.</p><p>Girju, R., M. Hearst, et al. (2007). Classification of Se­mantic Relations between Nominals: Dataset for Task 4. SemEval 2007, 4th International Workshop on Semantic Evaluations, Prague, Czech Republic.</p><p>Haghighi, A., A. Ng, et al. (2005). Robust Textual Infe­rence via Graph Matching. Human Language Tech­nology Conference and Conference on Empirical Methods in Natural Language Processing, Vancou­ver, British Columbia, Canada.</p><p>Joachims, T. (1999). Making large-scale SVM learning practical. Advances in Kernel Methods - Support Vector Learning. B. Schölkopf, C. Burges and A. Smola.</p><p>Moschitti, A. (2004). A study on Convolution Kernel for Shallow Semantic Parsing. proceedings of the 42nd Conference of the Association for Computa­tional Linguistics (ACL-2004). Barcelona, Spain.</p><p>Moschitti, A. (2006). Making tree kernels practical for natural language learning. Eleventh International Conference on European Association for Computa­tional Linguistics, Trento, Italy.</p><p>Nastase, V., J. S. Shirabad, et al. (2006). Learning noun-modifier semantic relations with corpus-based and Wordnet-based features. 21st National Conference on Artificial Intelligence (AAAI-06), Boston, Massa­chusetts.</p><p>Nastase, V. and S. Szpakowicz (2003). Exploring noun-modifier semantic relations. IWCS 2003.</p><p>Rosario, B. and M. Hearst (2001). Classifying the se­mantic relations in Noun Compounds. 2001 Confe­rence on Empirical Methods in Natural Language Processing.</p><p>Zanzotto, F. M. and A. Moschitti (2006). Automatic Learning of Textual Entailments with Cross-Pair Si­milarities. the 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics (ACL), Sydney, Austrailia.</p></references></body></article>