<?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="438"/><title>USFD: Preliminary Exploration of Features and Classifiers for the TempEval-2007 Task</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 438-441, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Hepple" givenname="Mark"><org  name="University of Sheffield" country="United Kingdom" city="Sheffield"/></author><author surname="Setzer" givenname="Andrea"><org  name="University of Sheffield" country="United Kingdom" city="Sheffield"/></author><author surname="Gaizauskas" givenname="Robert"><org  name="University of Sheffield" country="United Kingdom" city="Sheffield"/></author></firstpageheader><frontmatter><p><b>USFD: Preliminary Exploration of Features and Classifiers for the TempEval-2007 Tasks</b></p><p><b>Mark Hepple</b></p><p>Dept of Computer Science University of Sheffield</p><p>Regent Court 211 Portobello Street Sheffield S1 4DP, UK</p><p>hepple@dcs.shef.ac.uk</p><p><b>Andrea Setzer</b></p><p>Dept of Computer Science University of Sheffield Regent Court</p><p>211 Portobello Street</p><p>Sheffield S1 4DP, UK</p><p>andrea@dcs.shef.ac.uk</p><p><b>Rob Gaizauskas</b></p><p>robertg@dcs.shef.ac.uk</p></frontmatter><abstract>We describe the Sheffield system used in TempEval-2007. Our system takes a machine-learning (ML) based approach, treating temporal relation assignment as a simple classification task and using features easily derived from the TempEval data, i.e. which do not require 'deeper' NLP analy­sis. We aimed to explore three questions: (1) How well would a 'lite' approach of this kind perform? (2) Which features con­tribute positively to system performance? (3) Which ML algorithm is better suited for the TempEval tasks? We used the Weka ML workbench to facilitate experimenting with different ML algorithms. The paper de­scribes our system and supplies preliminary answers to the above questions. </abstract></header><body><section number="1" title="Introduction"><p>The Sheffield team were involved in TempEval as co-proposers/co-organisers of the task.<footnote anchor="1"/> Forourpar-ticipation in the task, we decided to pursue an ML-based approach, the benefits of which have been ex­plored elsewhere (Boguraev and Ando, 2005; Mani et al., 2006). For the TempEval tasks, this is easily done by treating the assignment of temporal relation types as a simple classification task, using readily available information for the instance features. More specifically, the features used were ones provided as attributes in the TempEval data annotation for the events/times being related, plus some additional fea­tures that could be straightforwardly computed from documents, i.e. without the use of more heavily 'en­gineered' NLP components. The aims of this work were three-fold. First, we wanted to see whether a 'lite' approach of this kind could yield reasonable performance, before pursuing possibilities that re­lied on using 'deeper' NLP analysis methods. Sec­ondly, we were interested to see which of the fea­tures considered would contribute positively to sys­tem performance. Thirdly, rather than selecting a single ML approach (e.g. one of those currently in vogue within NLP), we wanted to look across ML algorithms to see if any approach was better suited to the TempEval tasks than any other, and conse­quently we used the Weka workbench (Witten and Frank, 2005) in our ML experiments.</p><footnote label="1">We maintained a strict separation between persons assisting in annotation of the test corpus and those involved in system development.</footnote><p>In what follows, we will first describe how our system was constructed, before going on to discuss our main observations around the key aims men­tioned above. For example, in regard to our 'lite' ap­proach, we would observe (c.f. the results reported in the Task Description paper) that although some other systems scored more highly, the score differ­ences were relatively small. Regarding features, we found for example that the system performed better for Task A when, surprisingly, the tense attribute of events was <i>excluded. </i>Regarding ML algo­rithms, we found not only that there was substantial variation between the effectiveness of different algo­rithms for assigning relations (as one might expect), but also that there was considerable differences in the relative effectiveness of algorithms <i>across </i>tasks, i.e. so that an algorithm performing well on one task (compared to the alternatives), might perform rather poorly on another task.<page local="2" global="439"/> The paper closes with some comments about future research directions.</p></section><section number="2" title="System Description"><p>The TempEval training and test data is marked up to identify all event and time expressions occurring within documents, and also to record the TLINK re­lations that are relevant for each task (except that TLINK relation types are absent in the test data). These annotations provide additional information about these entities in the form of XML attributes, e.g. for event annotations we find attributes such as tense, aspect, part-of-speech and so on.</p><p>Our system consists of a suite of Perl scripts that create the input files required for Weka, and handle its output. These include firstly an 'ex­traction' script, which extracts information about event, TiMEXs and tlinks from the data files, and secondly a 'feature selection/reformatting' script, which allows the information that is to be supplied to Weka to be selected, and recasts it into the format that Weka requires for its training/test files. A final script takes Weka's output over the test files and con­nects it back to the original test documents to pro­duce the final output files required for scoring.</p><p>The information that the first extraction script ex­tracts for each event, timex and tlink largely corresponds to attributes/values associated with the annotations of these items in the initial data files (although not all such attributes are of use for ma­chine learning purposes). In addition, the script de­termines for each event expression whether it is one deemed relevant by the Event Target List (ETL) for Tasks A and B. This script also maps events and TiMEXs into sequential order - intra-sentential order for task A and inter-sentential order for task C. This information can be used to compute various 'order' features, such as:</p><p>event-first: do a related event and timex (for Task A) appear with the event before or after the timex?</p><p>adjacent: do a related event and timex (again for Task A) appear adjacently in the sequence of temporal entities or not? (Note that this allows an event and timex to be adjacent if there tokens</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Task</doubt><p>that intervene, but not any other temporal entities.) event-between:   for a related event/timex</p><p>pair, do any other events appear between them? timex-between:   for a related event/timex pair, do any other timexes appear between them?</p><p>Table 1 lists all the features that we tried using for any of the three tasks. Aside from the OR­DER features (as designated in the leftmost col­umn), which were computed as just described, and the EVENT string feature (which is the literal tagged expression from the text), all other features correspond to annotation attributes. Note that the TLiNK reltype is extracted from the training data to provide the target attribute for training (a dummy value is provided for this in test data).</p><p>The output of the extraction script is converted to a format suitable for use by Weka by a second script. This script also allows a manual selection to be made as to the features that are included. For each of the three tasks, a rough-and-ready process was followed to find a 'good' set of features for use with that task, which proceeded as follows. Firstly, the maxi­mal set of features considered for the task was tried with a few ML algorithms in Weka (using a 10-fold cross-validation over the training data) to find one that seemed to work quite well for the task. Then using only that algorithm, we checked whether the string feature could be dropped (since this feature's value set was always of quite high cardinality), i.e. if its omission improved performance, which for all three tasks was the case.<page local="3" global="440"/> Next, we tried dropping each of the remaining features in turn, to identify those whose exclusion improved performance, and then for those features so identified, tried dropping them in combination to arrive at a final 'optimal' fea­ture set. Table 1 shows for each of the tasks which of the features were considered for inclusion (those marked N/A were <i>not), </i>and which of these remained in the final optimal feature set (/).</p><table caption="Table 1: Features" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Type</p></td><td class="cell"><p>Attribute</p></td><td class="cell"><p>A</p></td><td class="cell"><p>B</p></td><td class="cell"><p>c</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>EVENT</p></td><td class="cell"><p>aspect</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</p></td><td class="cell"><p>polarity</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>EVENT</p></td><td class="cell"><p>POS</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</p></td><td class="cell"><p>stem</p></td><td class="cell"><p>/</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>EVENT</p></td><td class="cell"><p>string</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>EVENT</p></td><td class="cell"><p>class</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>EVENT</p></td><td class="cell"><p>tense</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>ORDER</p></td><td class="cell"><p>adjacent</p></td><td class="cell"><p>/</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ORDER</p></td><td class="cell"><p>event-first</p></td><td class="cell"><p>/</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ORDER</p></td><td class="cell"><p>event-between</p></td><td class="cell"><p>X</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ORDER</p></td><td class="cell"><p>timex-between</p></td><td class="cell"><p>X</p></td><td class="cell"><p>N/A</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TiMEX3</p></td><td class="cell"><p>mod</p></td><td class="cell"><p>/</p></td><td class="cell"><p>X</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TiMEX3</p></td><td class="cell"><p>type</p></td><td class="cell"><p>/</p></td><td class="cell"><p>X</p></td><td class="cell"><p>N/A</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TLiNK</p></td><td class="cell"><p>reltype</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"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Having determined the set of features for use with each task, we tried out a range of ML algorithms (again with a 10-fold cross-validation over the train­ing data), to arrive at the final feature-set/ML algo­rithm combination that was used for the task in the competitive evaluation. This was trained over the entire training data and applied to the test data to produce the final submitted results.</p></section><section number="3" title="Discussion"><p>Looking to Table 1, and the features that were con­sidered for each task and then included in the final set, various observations can be made. First, note that the string feature was omitted for all tasks, which is perhaps not surprising, since its values will be sparsely distributed, so that there will be very few training instances for most of its individual values. However, the stem feature was found to be use­ful for Task A, which can be interpreted as evidence for a 'lexical effect' on local event-timex relations, e.g. perhaps with different verbs displaying different trends in how they relate to timexes. No correspond­ing effects were observed for Tasks B and C.</p><p>The use of ORDER features for Task A <i>was </i>found to be useful - specifically the features indicating whether the event or timex appeared linearly first in the sentence and whether the two were adjacent or not. The more elaborate ORDER features, address­ing more specific cases of what might intervene be­tween the related timex and event expression, were not found to be helpful.</p><p>Perhaps the most striking observation to be made regarding the table is that it was found beneficial to exclude the feature tense for Task A, whilst the feature aspect was retained. We have no expla­nation to offer for this result. Likewise, the event</p><p>class feature, which distinguishes e.g. perception vs. reporting vs. aspectual etc verbs, was excluded for Task A, although it was retained for Task B.</p><p>In regard to the use of different ML algorithms for the classification tasks addressed in TempEval, we observed considerable variation between algorithms as to their performance, and this was not unexpected. However, given the seemingly high similarity of the three tasks, we were rather more surprised to see that there was considerable variation between the perfor­mance of algorithms <i>across </i>tasks, i.e. so that an al­gorithm performing well on one task (compared to the alternatives), might perform rather poorly on an­other task. This is illustrated by the results in Table 2 for a selected subset of the algorithms considered, which shows %-accuracy scores that were computed by cross-validation over the training data, using the feature set chosen as 'optimal' for each task.<footnote anchor="2"/> The algorithm names in the left-hand column are the ones used in WEKA (of which functions . SMO is the WEKA implementation of support-vector ma­chines or SVM). The first row of results give a 'base­line' for performance, corresponding to the assign­ment of the most common label for the task. (These were produced using WEKA's rules . ZeroR al­gorithm, which does exactly that.)</p><p>The best results observed for each task are shown in bold in the table. These best performing al­gorithms were used for the corresponding tasks in the competition.  Observe that the lazy.KStar<page local="4" global="441"/></p><footnote label="2">These scores are computed under the 'strict' requirement that key and response labels should be identical. The TempE-val competition also uses a 'relaxed' metric which gives par­tial credit when one (or both) label is disjunctive and there is a partial match, e.g. between labels AFTER and OVERLAP-OR-AFTER. See (Verhagen et al., 2007) for details.</footnote><table caption="Table 2: Comparing different algorithms (%-acc. scores, from cross-validation over training data)" 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>Algorithm</p></td><td class="cell"><p>A</p></td><td class="cell"><p>Task B</p></td><td class="cell"><p>C</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline</p></td><td class="cell"><p>49.8</p></td><td class="cell"><p>62.1</p></td><td class="cell"><p>42.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lazy.KStar</p></td><td class="cell"><p><b>58.2</b></p></td><td class="cell"><p>76.7</p></td><td class="cell"><p>54.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rules.DecisionTable</p></td><td class="cell"><p>53.3</p></td><td class="cell"><p><b>79.0</b></p></td><td class="cell"><p>52.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>functions . SMO (svm)</p></td><td class="cell"><p>55.1</p></td><td class="cell"><p>78.1</p></td><td class="cell"><p><b>55.5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rules.JRip</p></td><td class="cell"><p>50.7</p></td><td class="cell"><p>78.6</p></td><td class="cell"><p>53.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>bayes.NaiveBayes</p></td><td class="cell"><p>56.3</p></td><td class="cell"><p>76.2</p></td><td class="cell"><p>50.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Table 3: Competition task scores for Sheffield sys­tem (USFD), plus average/max scores across all competing systems method, which gives the best performance for Task</p><p>A, gives a rather 'middling' performance for Task</p><p>B. Similarly, the SVM method that gives the best results for Task C falls quite a way below the per­formance of KStar on Task A. A more extreme case is seen with the results for rules.JRip (Weka's implementation of the RIPPER algorithm), whose score for Task B is close to that of the best-performing system, but which scores only slightly above baseline on Task A.</p><p>The competition scores for our system are given in Table 3, shown as (harmonic) F-measures under both strict (FS) and relaxed (FR) metrics (see foot­note 2). The table also shows the average score for each task/metric across all systems taking part in the competition, as well as the maximum score returned by any system. See (Verhagen et al., 2007) for a full tabulation of results for all systems.<footnote anchor="3"/></p></section><section number="4" title="Future Directions"><p>SIGNALs and SLINKs are possible candidates as additional features - signals obviously so, whereas the benefits of exploiting subordination information are less clear. Our initial exploratory efforts in this direction involved pulling information regard­ing SIGNALs and SLINKs across from TimeBank<footnote anchor="4"/>(Pustejovsky et al., 2003) so as to make this available for use with the TempEval tasks, in the hope that this would allow us to determine if this informa­tion would be useful without first facing the cost of developing SIGNAL and SLINK recognisers. Re­garding SIGNALs, however, we ran into the prob­lem that there are many TLINKs in the TempEval data for which no corresponding TLINK appears in TimeBank, and hence for which SIGNAL infor­mation could not be imported. We were unable to progress this work sufficiently in the time available for there to be any useful results to report here.</p><footnote label="3">The TempEval test data identifies precisely the temporal entity pairs to which a relation label must be assigned. When a fixed set of items is classified, the scores for precision, recall and F-measure will be identical, being the same as the score for simple accuracy. However, not all the participating systems fol­low this pattern of assigning labels to 'all and only' the entity pairs identified in the test data, i.e. some systems decide which entity pairs to label, as well as which label to assign. Accord­ingly, the performance results given in (Verhagen et al., 2007) are reported using metrics of precision, recall and F-measure.</footnote><footnote label="4">This was possible because both the trial and training data were derived from TimeBank.</footnote></section><section number="5" title="Conclusion"><p>We have explored using a ML-based approach to the TempEval tasks, which does not rely on the use of deeper NLP-analysis components. We observe that although some other systems in the competi­tion have produced higher scores for the tasks, the score differences are relatively small. In the course of this work, we have made some interesting ob­servations regarding the performance variability of different ML algorithms when applied to the diffent TempEval tasks, and regarding the features that con­tribute to the system's performance.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Task A</p></td><td class="cell"><p>TaskB</p></td><td class="cell"><p>Task C</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>F s Fß</p></td><td class="cell"><p>F s Fß</p></td><td class="cell"><p>F s F#</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>USFD</p></td><td class="cell"><p>0.59 0.60</p></td><td class="cell"><p>0.73 0.74</p></td><td class="cell"><p>0.54 0.59</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ave.</p></td><td class="cell"><p>0.56 0.59</p></td><td class="cell"><p>0.74 0.75</p></td><td class="cell"><p>0.51 0.60</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>max.</p></td><td class="cell"><p>0.62 0.64</p></td><td class="cell"><p>0.80 0.81</p></td><td class="cell"><p>0.55 0.66</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. Boguraev and R. Kubota Ando. 2005. TimeML-Compliant Text Analysis for Temporal Reasoning. In <i>Proceedings ofIJCAI-05, </i>pages 997-1003.</p><p>Inderjeet Mani, Marc Verhagen, Ben Wellner, Chong Min Lee, and James Pustejovsky. 2006. Machine Learning of Temporal Relations. In <i>ACL '06: Proceedings of the 21st International Conference on Computational Linguistics and the 44th annual meeting of the ACL, </i>pages 753-760, Morristown, NJ, USA. Associationfor Computational Linguistics.</p><doubt alpha="63.6" length="110" tooSmall="False" monospace="0.0">J. Pustejovsky, D. Day, L. Ferro, R. Gaizauskas, P. Hanks, M. Lazo, D. Radev, R. Sauri, A. See, A. Setzer, and</doubt><doubt alpha="66.7" length="42" tooSmall="False" monospace="0.0">B. Sundheim. 2003. The TIMEBANK Corpus. In</doubt><p><i>Proceedings of Corpus Linguistics 2003, </i>pages 647­656, Lancaster, March.</p><p>M. Verhagen, R. Gaizauskas, F. Schilder, M. Hepple,</p><doubt alpha="57.4" length="47" tooSmall="False" monospace="0.0">G. Katz, and J. Pustejovsky. 2007. SemEval-2007</doubt><p>Task 15: TempEval Temporal Relation Identification.</p><p>In <i>Proceedings of SemEval-2007: 4th International Workshop on Semantic Evaluations.</i></p><p>I.H. Witten and E. Frank, editors. 2005. <i>Data Mining: Practical Machine Learning Tools and Techniques. </i>Morgan Kaufmann, San Francisco, second edition.</p></references></body></article>