<?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="141"/><title>FBK-IRST: Kernel Methods for Semantic Relation Extraction</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 141-144, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Giuliano" givenname="Claudio"><org  name="Istituto la Ricerca Scientifica e Tecnologica I" country="per"/></author><author surname="Lavelli" givenname="Alberto"><org  name="Istituto la Ricerca Scientifica e Tecnologica I" country="per"/></author><author surname="Pighin" givenname="Daniele"><org  name="Istituto la Ricerca Scientifica e Tecnologica I" country="per"/></author><author surname="Romano" givenname="Lorenza"><org  name="Istituto la Ricerca Scientifica e Tecnologica I" country="per"/></author></firstpageheader><frontmatter><p><b>FBK-IRST: Kernel Methods for Semantic Relation Extraction</b></p><p><b>Claudio Giuliano </b>and <b>Alberto Lavelli </b>and <b>Daniele Pighin </b>and <b>Lorenza Romano</b></p><p>FBK-IRST, Istituto per la Ricerca Scientifica e Tecnologica</p><p>I-38050, Povo (TN), ITALY (giuliano,lavelli,pighin,romano}@itc.it</p></frontmatter><abstract>We present an approach for semantic rela­tion extraction between nominals that com­bines shallow and deep syntactic processing and semantic information using kernel meth­ods. Two information sources are consid­ered: (i) the whole sentence where the re­lation appears, and (ii) WordNet synsets and hypernymy relations of the candidate nom-inals. Each source of information is rep­resented by kernel functions. In particu­lar, five basic kernel functions are linearly combined and weighted under different con­ditions. The experiments were carried out using support vector machines as classifier. The system achieves an overall F1 of 71.8% on the Classification of Semantic Relations between Nominals task at SemEval-2007. </abstract></header><body><section number="1" title="Introduction"><p>The starting point of our research is an approach for identifying relations between named entities ex­ploiting only shallow linguistic information, such as tokenization, sentence splitting, part-of-speech tag­ging and lemmatization (Giuliano et al., 2006). A combination of kernel functions is used to represent two distinct information sources: (i) the global con­text where entities appear and (ii) their local con­texts. The whole sentence where the entities appear <i>(global context) </i>is used to discover the presence of a relation between two entities. Windows of limited size around the entities <i>(local contexts) </i>provide use­ful clues to identify the roles played by the entities within a relation (e.g., agent and target of a gene in­teraction). In the task of detecting <i>protein-protein </i>interactions, we obtained state-of-the-art results on two biomedical data sets. In addition, promising re­sults have been recently obtained for relations such as <i>work for </i>and <i>org based in </i>in the news domain<footnote anchor="1"/>.</p><p>In this paper, we investigate the use of the above approach to discover semantic relations between nominals. In addition to the original feature rep­resentation, we have integrated deep syntactic pro­cessing of the global context and semantic informa­tion for each candidate nominals using WordNet as external knowledge source. Each source of informa­tion is represented by kernel functions. A tree kernel (Moschitti, 2004) is used to exploit the deep syn­tactic processing obtained using the Charniak parser (Charniak, 2000). On the other hand, bag of syn­onyms and hypernyms is used to enhance the repre­sentation of the candidate nominals. The final sys­tem is based on five basic kernel functions (bag-of-words kernel, global context kernel, tree kernel, su­persense kernel, bag of synonyms and hypernyms kernel) linearly combined and weighted under dif­ferent conditions. The experiments were carried out using support vector machines (Vapnik, 1998) as classifier.</p><p>We present results on the Classification of Seman­tic Relations between Nominals task at SemEval-2007, in which sentences containing ordered pairs of marked nominals, possibly semantically related, have to be classified. On this task, we achieve an overall Fi of 71.8% (B category evaluation), largely outperforming all the baselines.</p><footnote label="1">These results appear in a paper currently under revision.</footnote><page local="2" global="142"/></section><section number="2" title="Kernel Methods for Relation Extraction"><p>In order to implement the approach based on syntac­tic and semantic information, we employed a linear weighted combination of kernels, using support vec­tor machines as classifier. We designed two families of basic kernels: syntactic kernels and semantic ker­nels. These basic kernels are combined by exploit­ing the closure properties of kernels. We define our composite kernel <i>KC </i><i>(x1</i><i> </i><i>,x2)</i><i> </i>as follows where each basic kernel <i>Ki </i>is normalized and wi G (0,1} is the kernel weight. The normalization factor plays an important role in allowing us to integrate in­formation from heterogeneous knowledge sources.</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">a)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=1</doubt><doubt alpha="51.7" length="29" tooSmall="False" monospace="0.0">Kj(xi,x2)\/Ki(xi,xi)Ki(x2,x2)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>All basic kernels, but the tree kernel (see Section 2.1.3), are explicitly calculated as follows where &lt;/&gt;(•) is the embedding vector. Even though the resulting feature space has high dimensionality, an efficient computation of Equation 2 can be carried out explicitly since the input representations defined below are extremely sparse.</p><doubt alpha="32.0" length="25" tooSmall="False" monospace="0.0">Ki(xi,X2)= (0(Xi),0(X2)),</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><subsection number="2.1" title="Syntactic Kernels"><p>Syntactic kernels are defined over the whole sen­tence where the candidate nominals appear.</p><subsubsection number="2.1.1" title="Global Context Kernel"><p>Bunescu and Mooney (2005) and Giuliano et al. (2006) successfully exploited the fact that relations between named entities are generally expressed us­ing only words that appear simultaneously in one of the following three contexts.</p><p><b>Fore-Between </b>Tokens before and between the two entities, e.g. <i>"the head of </i><i>[ORG],</i><i> Dr. </i><i>[PER]".</i></p><p><b>Between </b>Only tokens between the two entities, e.g. <i>"[ORG]</i><i> spokesman </i><i>[PER]</i><i> </i><i>".</i></p><p><b>Between-After </b>Tokens between and after the two entities, e.g. <i>"[PER],</i><i> a </i>[ORG] <i>professor".</i></p><p>Here, we investigate whether this assumption is also correct for semantic relations between nomi-nals. Our global context kernel operates on the con­texts defined above, where each context is repre­sented using a <i>bag-of-words. </i>More formally, given</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">NP</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">1</doubt><p>PRP VBD <i>I found</i> <i>my underwear</i></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">VP</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">NN</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">b)</doubt><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">VBD NP</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">I</doubt><p><i>found </i>NNS <i>—agent—</i> <i>—target-</i></p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">PP</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">/ \IN NP</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">inNN</doubt><p>Figure 1: A <i>content-container </i>relation test sentence parse tree (a) and the corresponding RT structure (b) a relation example R, we represent a context C as a row vector where the function <i>tf</i><i> </i><i>(ti,</i><i> </i><i>C)</i><i> </i>records how many times a particular token ti is used in C. Note that this approach differs from the standard bag-of-words as punctuation and stop words are included in &lt;/&gt;c, while the nominals are not. To improve the classi­fication performance, we have further extended &lt;/&gt;c to embed n-grams of (contiguous) tokens (up to <i>n = </i>3). By substituting &lt;/&gt;c into Equation 2, we obtain the n-gram kernel <i>Kn</i>, which counts uni-grams, bi-grams, . . . , n-grams that two patterns have in com-mon<footnote anchor="2"/>. The <i>Global Context </i>kernel <i>Kgc</i><i>(Ri,</i><i> </i><i>R2)</i><i> </i>is then defined as where KFB, KB and <i>Kba </i>are n-gram kernels that operate on the Fore-Between, Between and Between-After patterns respectively.</p><doubt alpha="35.3" length="51" tooSmall="False" monospace="0.0">0c(R)= (tf(ti, C),tf(t2,C),...,tf (ti, C)) €Rl, (3)</doubt><doubt alpha="47.2" length="36" tooSmall="False" monospace="0.0">Kfb(Ri,R2)+Kb(Ri,R2) +Kba(Ri,R2),(4)</doubt></subsubsection><subsubsection number="2.1.2" title="Bag-of-Words Kernel"><p>The bag-of-words kernel is defined as the previ­ous kernel but it operates on the whole sentence.</p></subsubsection><subsubsection number="2.1.3" title="Tree Kernel"><p>Tree kernels can trigger automatic feature selec­tion and represent a viable alternative to the manual design ofattribute-value syntactic features (Mos-chitti, 2004).<page local="3" global="143"/> A tree kernel KT(t1 ,t2) evaluates the similarity between two trees <i>t</i>i and <i>t</i>2 in terms of the number of fragments they have in common. Let <i>Nt </i>be the set of nodes of a tree t and <i>F = </i><i>(f1,f2,---,f</i><b><i>\F\</i></b><i>}</i><i> </i>be the fragment space of t1 and <i>t</i>2. Then where <i>A(m,nj</i><i>) = </i><i>Y,</i><i>k=1 Ik</i><i>(ni)</i><i> </i><i>x</i><i> </i><i>Ik</i><i>(nj)</i><i> </i>and <i>Ik </i><i>(n)</i><i> </i>= 1 if <i>k</i><i> </i>is rooted in n, 0 otherwise.</p><footnote label="2">In the literature, it is also called n-spectrum kernel.</footnote><table 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>S1</p><p>1</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>S</p><p>VP</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>NP</p></td><td class="cell"><p></p></td><td class="cell"><p>PP \</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NN</p><p><b>1</b></p></td><td class="cell"><p>IN</p></td><td class="cell"><p>NP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>1</b></p><p><i>ie cancfy</i></p></td><td class="cell"><p><i>in</i></p></td><td class="cell"><p>PRP$</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="47.2" length="36" tooSmall="False" monospace="0.0">kt(ti,t2)=E„i6Nt1E„36Nt2A(ni;nj),(5)</doubt><p>For this task, we defined an <i>ad-hoc </i>class of struc­tured features (Moschitti et al., 2006), the Reduced Tree (RT), which can be derived from a sentence parse tree <i>t </i>by the following steps: (1) remove all the terminal nodes but those labeled as relation entities and those POS tagged as verbs, auxiliaries, prepo­sitions, modals or adverbs; (2) remove all the in­ternal nodes not covering any remaining terminal; (3) replace the entity words with placeholders that indicate the direction in which the relation should hold. Figure 1 shows a parse tree and the resulting RT structure.</p></subsubsection></subsection><subsection number="2.2" title="Semantic Kernels"><p>In (Giuliano et al., 2006), we used the local context kernel to infer semantic information on the candi­date entities (i.e., roles played by the entities). As the task organizers provide the WordNet sense and role for each nominal, we directly use this informa­tion to enrich the feature space and do not include the local context kernel in the combination.</p><subsubsection number="2.2.1" title="Bag of Synonyms and Hypernyms Kernel"><p>By using the WordNet sense key provided, each nominal is represented by the bag of its synonyms and hypernyms (direct and inherited hypernyms). Formally, given a relation example <i>R, </i>each nominal <i>N </i>is represented as a row vector where the binary function <i>f(ti,</i><i> </i><i>N)</i><i> </i>records if a par­ticular lemma <i>ti </i>is contained into the bag of syn­onyms and hypernyms of N. The <i>bag </i><i>ofsynonyms</i><i> and hypernyms </i>kernel <i>KS&amp;H </i><i>(R1,</i><i> R2) </i>is defined as where <i>Ktarget </i>and <i>Kagent </i>are defined by substitut­ing the embedding of the target and agent nominals into Equation 2 respectively.</p><doubt alpha="33.3" length="45" tooSmall="False" monospace="0.0">0n(R) = (f(ti,N),f(t2,N),...,f(ti,N)) €Rl,(6)</doubt><doubt alpha="47.5" length="40" tooSmall="False" monospace="0.0">Ktarget(Ri , R2) + K agent (Ri, R2 ),(7)</doubt></subsubsection><subsubsection number="2.2.2" title="Supersense Kernel"><p>WordNet synsets are organized into 45 lexicogra­pher files, based on syntactic category and logical groupings. E.g., <i>noun.artifact </i>is for nouns denoting man-made objects, <i>noun.attribute </i>for nouns denot­ing attributes for people and objects etc. The <i>super­sense </i>kernel <i>KSS</i><i> </i><i>(R1,</i><i> R2) </i>is a variant of the previ­ous kernel that uses the names of the lexicographer files (i.e., the supersense) to index the feature space.</p></subsubsection></subsection></section><section number="3" title="Experimental Setup and Results"><p>Sentences have been tokenized, lemmatized, and POS tagged with TextPro<footnote anchor="3"/>. We considered each re­lation as a different binary classification task, and each sentence in the data set is a positive or negative example for the relation. The direction of the rela­tion is considered labelling the first argument of the relation as agent and the second as target.</p><p>All the experiments were performed using the SVM package SVMLight-TK<footnote anchor="4"/>, customized to em­bed our own kernels. We optimized the linear com­bination weights <i>wi </i>and regularization parameter <i>c </i>using 10-fold cross-validation on the training set. We set the cost-factor <i>j </i>to be the ratio between the number of negative and positive examples.</p><p>Table 1 shows the performance on the test set. We achieve an overall <i>F1 </i>of 71.8% (B category evalua­tion), largely outperforming all the baselines, rang­ing from 48.5% to 57.0%. The average training plus test running time for a relation is about 10 seconds on a Intel Pentium M755 2.0 GHz. Figure 2 shows the learning curves on the test set. For all relations but <i>theme-tool, </i>accurate classifiers can be learned using a small fraction of training.</p></section><section number="4" title="Discussion and Conclusion"><p>Experimental results show that our kernel-based ap­proach is appropriate also to detect semantic rela­tions between nominals. However, differently from relation extraction between named entities, there is not a common kernel setup for all relations. E.g.,<page local="4" global="144"/></p><footnote label="3">http://tcc.itc.it/projects/textpro/  http://ai -nlp.info.uniroma2.it/moschitti/</footnote><p>Learning Curve</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">30</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">40</doubt><doubt alpha="58.8" length="34" tooSmall="False" monospace="0.0">50 60 70 80 Percentage of Training</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">90</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">100</doubt><figure caption="Figure 2: Learning curves on the test set."></figure><p>for <i>content-container </i>we obtain the best perfor­mance combining the tree kernel and the bag of syn­onyms and hypernyms kernel; on the other hand, for <i>instrument-agency </i>the best performance is obtained by combining the global kernel and the supersense kernel. Surprisingly, the supersense kernel alone works quite well and obtains results comparable to the bag of synonyms and hypernyms kernel. This result is particularly interesting as a supersense tag­ger can easily provide a satisfactory accuracy (Cia­ramita and Altun, 2006). On the other hand, ob­taining an acceptable accuracy in word sense disam­biguation (required for a realistic application of the bag of synonyms and hypernyms kernel) is imprac­tical as a sufficient amount of training for at least all nouns is currently not available. Hence, the super­sense could play a crucial role to improve the perfor­mance when approaching this task without the nomi-nals disambiguated. To model the global context us­ing the Fore-Between, Between and Between-After contexts did not produce a significant improvement with respect to the bag-of-words model. This is mainly due to the fact that examples have been collected from the Web using heuristic patterns/queries, most of which implying Between patterns/contexts (e.g., for the <i>cause-effect </i>relation "* comes from *", "* out of *" etc.).</p></section><section number="5" title="Acknowledgements"><p>Claudio Giuliano, Alberto Lavelli and Lorenza Ro­mano are supported by the X-Media project (http : //www.x-media-project .org), sponsored by the European Commission as part of the Infor­mation Society Technologies (IST) programme un­der EC grant number IST-FP6-026978.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>-              . _ .</b></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>........</b><b>-</b><b>..........................</b><b>""""" _</b><b>.............</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>-</b></p></td><td class="cell"><p>Cause-Effect —i—</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>-</b></p></td><td class="cell"><p>Instrument-Agency —*— -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>' Product-Producer</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Origin-Entity    «- -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Theme-Tool »</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Part-Whole -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Content-Container •</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><table caption="Table 1: Results on the test set." 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>Relation</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>fi</p></td><td class="cell"><p>Acc</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>67.3</p></td><td class="cell"><p>90.2</p></td><td class="cell"><p>77.1</p></td><td class="cell"><p>72.5</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>76.9</p></td><td class="cell"><p>78.9</p></td><td class="cell"><p>77.9</p></td><td class="cell"><p>78.2</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>76.2</p></td><td class="cell"><p>77.4</p></td><td class="cell"><p>76.8</p></td><td class="cell"><p>68.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Origin-Entity</p></td><td class="cell"><p>62.2</p></td><td class="cell"><p>63.9</p></td><td class="cell"><p>63.0</p></td><td class="cell"><p>66.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Theme-Tool</p></td><td class="cell"><p>69.2</p></td><td class="cell"><p>62.1</p></td><td class="cell"><p>65.5</p></td><td class="cell"><p>73.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Part-Whole</p></td><td class="cell"><p>65.5</p></td><td class="cell"><p>73.1</p></td><td class="cell"><p>69.1</p></td><td class="cell"><p>76.4</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>78.8</p></td><td class="cell"><p>68.4</p></td><td class="cell"><p>73.2</p></td><td class="cell"><p>74.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Avg</p></td><td class="cell"><p>70.9</p></td><td class="cell"><p>73.4</p></td><td class="cell"><p>71.8</p></td><td class="cell"><p>72.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></tr></table></section><references><p>Razvan Bunescu and Raymond J. Mooney. 2005. Subse­quence kernels for relation extraction. In <i>Proceedings of the 19th Conference on Neural Information Pro­cessing Systems, </i>Vancouver, British Columbia.</p><p>Eugene Charniak. 2000. A maximum-entropy-inspired parser. In <i>Proceedings of the First Meeting of the North American Chapter of the Association for Com­putational Linguistics, </i>pages 132-139, San Francisco, CA, USA. Morgan Kaufmann Publishers Inc.</p><p>Massimiliano Ciaramita and Yasemin Altun. 2006. Broad-coverage sense disambiguation and information extraction with a supersense sequence tagger. In <i>Pro­ceedings of the 2006 Conference on Empirical Meth­ods in Natural Language Processing, </i>pages 59 -602, Sydney, Australia, July.</p><p>Claudio Giuliano, Alberto Lavelli, and Lorenza Romano. 2006. Exploiting shallow linguistic information for re­lation extraction from biomedical literature. In <i>Pro­ceedings of the Eleventh Conference of the European Chapter ofthe Association for Computational Linguis­tics (EACL-2006), </i>Trento, Italy, 5-7 April.</p><p>Alessandro Moschitti, Daniele Pighin, and Roberto Basili. 2006. Semantic role labeling via tree kernel joint inference. In <i>Proceedings of the Tenth Confer­ence on Computational Natural Language Learning, CoNLL-X.</i></p><p>Alessandro Moschitti. 200 . A study on convolution kernels for shallow statistic parsing. In <i>Proceedings of the 42nd Meeting of the Association for Computa­tional Linguistics (ACL'04), Main Volume, </i>pages 335­3 2, Barcelona, Spain, July.</p><p>Vladimir Vapnik. 1998. <i>Statistical Learning Theory. </i>John Wiley and Sons, New York, NY.</p></references></body></article>