<?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="129"/><title>CU-TMP: Temporal Relation Classification Using Syntactic and Semantic Features</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 129-132, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Bethard" givenname="Steven"><org  name="University of Colorado at Boulder" country="USA" city="Boulder"/></author><author surname="Martin" givenname="James H."><org  name="University of Colorado at Boulder" country="USA" city="Boulder"/></author></firstpageheader><frontmatter><p><b>CU-TMP:</b></p><p><b>Temporal Relation Classification Using Syntactic and Semantic Features</b></p><p><b>Steven Bethard </b>and <b>James H. Martin</b></p><p>Department of Computer Science University of Colorado at Boulder 430 UCB, Boulder, CO 80309, USA (bethard,martin}@colorado.edu</p></frontmatter><abstract>We approached the temporal relation identi­fication tasks of TempEval 2007 as pair-wise classification tasks. We introduced a va­riety of syntactically and semantically mo­tivated features, including temporal-logic-based features derived from running our Task B system on the Task A and C data. We trained support vector machine models and achieved the second highest accuracies on the tasks: 61% on Task A, 75% on Task B and 54% on Task C. </abstract></header><body><section number="1" title="Introduction"><p>In recent years, the temporal structure of text has be­come a popular area of natural language processing research. Consider a sentence like:</p><p>(1) The top commander of a Cambodian resistance force said Thursday he has sent a team to recover the remains of a British mine removal expert kidnapped and presumed killed by Khmer Rouge guerrillas almost two years ago.</p><p>English speakers immediately recognize that <i>kid­napping </i>came first, then <i>sending, </i>and finally <i>saying, </i>even though <i>before </i>and <i>after </i>never appeared in the text. How can machines learn to do the same?</p><p>The 2007 TempEval competition tries to address this question by establishing a common corpus on which research systems can compete to find tempo­ral relations (Verhagen et al., 2007). TempEval con­siders the following types of event-time temporal re­lations:</p><p><b>Task A </b>Events<footnote anchor="1"/>and times within the same sentence <b>Task B </b>Events<footnote anchor="1"/> and document times <b>Task C </b>Matrix verb events in adjacent sentences</p><p>In each of these tasks, systems attempt to annotate pairs with one of the following relations: b efor e,</p><p>before-or-overlap, overlap, overlap-ofafter, after or vague. Competing systems are instructed to find all temporal relations of these types in a corpus of newswire documents.</p><p>We approach these tasks as pair-wise classifi­cation problems, where each event/time pair is assigned one of the TempEval relation classes (before, after, etc.). Event/time pairs are en­coded using syntactically and semantically moti­vated features, and then used to train support vector machine (SVM) classifiers.</p><p>The remainder of this paper is structured as fol­lows. Section 2 describes the features used to char­acterize event/time relations. Section 3 explains how we used these features to train SVM models for each task. Section 4 discusses the performance of our models on the TempEval data, and Section 5 sum­marizes the lessons learned and future directions.</p></section><section number="2" title="Features"><p>We used a variety of lexical, syntactic and semantic features to characterize the different types oftempo-ral relations. In each task, the events and times were characterized using the features:</p><p><b>word </b>The text of the event or time words<page local="2" global="130"/></p><footnote label="1">TempEval only considers events that occurred at least 20 times in the TimeBank (Pustejovsky et al., 2003) corpus for these tasks</footnote><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">S*</doubt><p><i>hlMEthe quarter]     </i>VBN NP</p><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">ended[TIME^ept 50]</doubt><figure caption="Figure 1: A syntactic tree. The path betweenpostedandthe quarterisvbd-vp-s-pp-np-np"></figure><p><b>pos </b>The parts of speech<footnote anchor="2"/>of the words, e.g. <i>this cru­cial moment </i>has the parts of speech dt-jj-nn.</p><p><b>gov-prep </b>Any prepositions governing the event or time, e.g. in <i>during the Iran-Iraq war, </i>the preposition <i>during </i>governs the event <i>war, </i>and in <i>after ten years, </i>the preposition <i>after </i>governs the time <i>ten years.</i></p><p><b>gov-verb </b>The verb that governs the event or time, e.g. in <i>rejected in peace talks, </i>the verb <i>rejected </i>governs the event <i>talks, </i>and in <i>withdrawing on Friday, </i>the verb <i>withdrawing </i>governs the time <i>Friday. </i>For events that are verbs, this feature is just the event itself.</p><p><b>gov-verb-pos </b>The part of speech<footnote anchor="2"/> of the governing verb, e.g. <i>withdrawing </i>has the part of speech VBG.</p><p><b>aux </b>Any auxiliary verbs and adverbs modifying the governing verb, e.g. in <i>could not come, </i>the words <i>could </i>and <i>not </i>are considered auxiliaries for the event <i>come, </i>and in <i>will begin withdraw­ing on Friday, </i>the words <i>will </i>and <i>begin </i>are con­sidered auxiliaries for the time <i>Friday.</i></p><p>Events were further characterized using the features (the last six use gold-standard TempEval markup):</p><p><b>modal </b>Whether or not the event has one ofthe aux­iliaries, <i>can, will, shall, may, </i>or any of their variants <i>(could, would, </i>etc.).</p><p><b>gold-stem </b>The stem, e.g. the stem of <i>fallen </i>is <i>fall.</i></p><p><b>gold-pos </b>The part-of-speech, e.g. noun or verb.</p><p><b>gold-class </b>The semantic class, e.g. reporting.</p><p><b>gold-tense </b>The tense, e.g. past or present.</p><p><b>gold-aspect </b>The aspect, e.g. perfective.</p><p><b>gold-polarity </b>The polarity, e.g. pos or neg.</p><p>Times were further characterized using the follow­ing gold-standard TempEval features:</p><footnote label="2">From MXPOST ( ftp.cis.upenn.edu/pub/adwait/jmx/ )</footnote><p><b>gold-type </b>The type, e.g. date or time. <b>gold-value </b>The value, e.g. past_ref or 1990-09. <b>gold-func </b>The temporal function, e.g. true.</p><p>These gold-standard event and time features are sim­ilar to those used by Mani and colleagues (2006).</p><p>The features above don't capture much of the dif­ferences between the tasks, so we introduced some task-specific features. Task A included the features:</p><p><b>inter-time </b>The count of time expressions between the event and time, e.g. in Figure 1, there is one time expression, <i>Sept 50, </i>between the event <i>posted </i>and the time <i>the quarter.</i></p><p><b>inter-path </b>The syntactic path between the event and the time, e.g. in Figure 1 the path between <i>posted </i>and <i>the quarter </i>is vbd&gt;vp&gt;s&lt;pp&lt;np&lt;np.</p><p><b>inter-path-parts </b>The path, broken into three parts: the tags from the event to the lowest common ancestor (LCA), the LCA, and the tags from the LCA to the time, e.g. in Figure 1 the parts are vbd&gt;vp, s and pp&lt;np&lt;np.</p><p><b>inter-clause </b>The number of clause nodes along the syntactic path, e.g. in Figure 1 there is one clause node along the path, the top s node.</p><p>Our syntactic features were derived from a syntactic tree, though Boguraev and Ando (2005) suggest that some could be derived from finite state grammars. For Task C we included the following feature:</p><p><b>tense-rules </b>The relation predicted by a set of tense rules, where past tense events come before present tense events, present tense events come b efore future tense events, etc. In the text:</p><p>(2) Finally today, we [event <i>learned] </i>that the space agency has taken a giant leap forward. Collins will be [event <i>named] </i>commander of Space Shuttle Columbia.</p><page local="3" global="131"/><p>Since <i>learned </i>is in past tense and <i>named </i>is in future, the relation is <i>(learned </i>before <i>named).</i></p><p>In preliminary experiments, the Task B system had the best performance, so we ran this system on the data for Tasks A and C, and used the output to add the following feature for both tasks:</p><p><b>task-b-rel </b>The relation predicted by combining the output of the Task B system with temporal logic. For example, consider the text:</p><p>(3)  [time <i>08-15-90 (=1990-08-15)] </i>Iraq's Saddam Hussein [time <i>today (=1990-08-15)] </i>sought peace on another front by promising to release soldiers captured during the Iran-Iraq [event <i>war].</i></p><p>If Task B said (war BEFORE <i>08-15-90) </i>then since <i>08-15-90=1990-08-15=today, </i>the relation (war BEFORE <i>today) </i>must hold.</p></section><section number="3" title="Models"><p>Using the features described in the previous section, each temporal relation — an event paired with a time or another event — was translated into a set of fea­ture values. Pairing those feature values with the TempEval labels (before, after, etc.) we trained a statistical classifier for each task. We chose sup­port vector machines<footnote anchor="3"/> (SVMs) for our classifiers as they have shown good performance on a variety of natural language processing tasks (Kudo and Mat-sumoto, 2001; Pradhan et al., 2005).</p><p>Using cross-validations on the training data, we performed a simple feature selection where any fea­ture whose removal improved the cross-validation F-score was discarded. The resulting features for each task are listed in Table 1. After feature selec­tion, we set the SVM free parameters, e.g. the ker­nel degree and cost of misclassification, by perform­ing additional cross-validations on the training data, and selecting the model parameters which yielded the highest F-score for each task<footnote anchor="4"/>.</p><footnote label="3">We used the TinySVM implementation from http://chasen.org/%7Etaku/software/TinySVM/ and trained one-vs-rest classifiers.</footnote><footnote label="4">We only experimented with polynomial kernels.</footnote><p>Table 1: Features used in each task. An X indicates that the feature was used for that task. For Task C, 1 indicates that the feature was used only for the first event and not the second, and 2 indicates the reverse.</p><p>Table 2: (P)recision, (R)ecall and (F)-measure of the models on each task. Precision, recall and F-measure are all equivalent to classification accuracy.</p></section><section number="4" title="Results"><p>We evaluated our classifers on the TempEval test data. Because the Task A and C models derived fea­tures from the Task B temporal relations, we first ran the Task B classifer over all the data, and then ran the Task A and Task C classifiers over their individual data. The resulting temporal relation classifications were evalutated using the standard TempEval scor­ing script. Table 2 summarizes these results.</p><p>Our models achieved an accuracy of 61% on second highest scores on all these tasks. The Temp-<page local="4" global="132"/></p><doubt alpha="56.8" length="44" tooSmall="False" monospace="0.0">Task A, 75% on Task B and 54% on Task C, the</doubt><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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Feature</p></td><td class="cell"><p>Task a</p></td><td class="cell"><p>TaskB</p></td><td class="cell"><p>TaskC</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>event-word</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>event-pos</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>event-gov-prep</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>event-gov-verb</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>event-gov-verb-pos</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p>2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>event-aux</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>modal</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-stem</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-pos</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-class</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-tense</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-aspect</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-polarity</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>time-word</p></td><td class="cell"><p>X</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>time-pos</p></td><td class="cell"><p>X</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>time-gov-prep</p></td><td class="cell"><p>X</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>time-gov-verb</p></td><td class="cell"><p>X</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>time-gov-verb-pos</p></td><td class="cell"><p>X</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>time-aux</p></td><td class="cell"><p>X</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>gold-type</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>gold-value</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gold-func</p></td><td class="cell"><p>X</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>inter-time</p></td><td class="cell"><p>X</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>inter-path</p></td><td class="cell"><p>X</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>inter-path-parts</p></td><td class="cell"><p>X</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>inter-clause</p></td><td class="cell"><p>X</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>tense-rules</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>task-b-rel</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</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><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><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>Strict</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Relaxed</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Task</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>F</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>F</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>a</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.61</p></td><td class="cell"><p>0.63</p></td><td class="cell"><p>0.63</p></td><td class="cell"><p>0.63</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>B</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.76</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>C</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p>0.60</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">B</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">C</doubt><p>Task    Feature Removed</p><p>Model Accuracy time-gov-prep gold-value polarity task-b-rel event-aux gold-stem gold-class event-gov-verb-2 event-aux-2 gold-class-1 gold-class-2 event-pos-2, task-b-rel</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">A</doubt><doubt alpha="0.0" length="29" tooSmall="False" monospace="0.0">0.663 0.650 0.652 0.655 0.656</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">0.809</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0.780 0.784 0.794</doubt><doubt alpha="0.0" length="35" tooSmall="False" monospace="0.0">0.534 0.522 0.525 0.526 0.527 0.529</doubt><table caption="Table 3: Feature analysis. The '-' lines show the accuracy of the model with all features."></table><p>Eval scoring script also reported a relaxed measure where for example, systems could get partial credit for matching a gold standard label like OVERLAP-OR-AFTER with OVERLAP or AFTER. Under this measure, our models achieved an accuracy of 63% on Task A, 76% on Task B and 60% on Task C, again the second highest scores in the competition.</p><p>We performed a basic feature analysis where, for each feature in a task, a model was trained with that feature removed and all other features retained. We evaluated the performance of the resulting models using cross-validations on the training data<footnote anchor="5"/>. Fea­tures whose removal resulted in the largest drops in model performance are listed in Table 3.</p><p>For Task A, the most important features were the preposition governing the time and the time's nor­malized value. For Task B, the most important fea­tures were the auxiliaries governing the event, and the event's stem. For Task C, the most important features were the verb and auxiliaries governing the second event. For both Tasks A and C, the features based on the Task B relations were one of the top six features. In general however, no single feature dominated any one task — the greatest drop in per­formance from removing a feature was only 2.9%.</p></section><section number="5" title="Conclusions"><p>TempEval 2007 introduced a common dataset for work on identifying temporal relations. We framed the TempEval tasks as pair-wise classification prob­lems where pairs of events and times were assigned a temporal relation class. We introduced a variety of syntactic and semantic features, including paths be­tween constituents in a syntactic tree, and temporal relations deduced by running our Task B system on the Task A and C data. Our models achieved an ac­curacy of 61% on Task A, 75% on Task B and 54% on Task C. Analysis of these models indicated that no single feature dominated any given task, and sug­gested that future work should focus on new features to better characterize temporal relations.</p><footnote label="5">We used cross-validations on the training data to preserve the validity of the TempEval test data for future research</footnote></section><section number="6" title="Acknowledgments"><p>This research was performed under an appointment of the first author to the DHS Scholarship and Fellowship Program, administered by the ORISE through an interagency agreement between DOE and DHS. ORISE is managed by ORAU under DOE contract number DE-AC05-06OR23100. All opin­ions expressed in this paper are the author's and do not necessarily reflect the policies and views of DHS, DOE, or ORAU/ORISE.</p></section><references><p>B. Boguraev and R. K. Ando. 2005. Timebank-driven timeml analysis. In Graham Katz, James Pustejovsky, and Frank Schilder, editors, <i>Annotating, Extracting and Reasoning about Time and Events, </i>Dagstuhl Sem­inars. German Research Foundation.</p><p>T. Kudo and Y. Matsumoto. 2001. Chunking with sup­port vector machines. In <i>NAACL.</i></p><p>I. Mani, M. Verhagen, B. Wellner, C. M. Lee, and J. Pustejovsky. 2006. Machine learning of temporal relations. In <i>COLING/ACL.</i></p><p>S. Pradhan, K. Hacioglu, V. Krugler, W. Ward, J. H. Mar­tin, andD. Jurafsky. 2005. Support vector learning for semantic argument classification. <i>Machine Learning, </i>60(1):11-39.</p><p>J. Pustejovsky, P. Hanks, R. Saur, A. See, R. Gaizauskas, A. Setzer, D. Radev, B. Sundheim, D. Day, L. Ferro, andM. Lazo. 2003. The timebank corpus. In <i>Corpus Linguistics, </i>pages 647-656.</p><p>M. Verhagen, R. Gaizauskas, F. Schilder, M. Hepple, and eval temporal relation identification. In <i>SemEval-2007: 4th International Workshop on Semantic Evalu­ations.</i></p><doubt alpha="55.1" length="49" tooSmall="False" monospace="0.0">J. Pustejovsky. 2007. Semeval-2007 task 15: Temp-</doubt></references></body></article>