<?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="15"/><title>Learning of Graph Rules for Question Answering</title><pubinfo>Proceedings of the Australasian Language Technology Workshop 2005,pages 15-23, Sydney, Australia, December 2005.</pubinfo><author surname="Molla" givenname="Diego"><org  name="Macquarie University" country="Australia" city="Sydney"/></author><author surname="van Zaanen" givenname="Menno"><org  name="Mie University" country="Japan" city="Mie"/></author></firstpageheader><frontmatter><p><b>Learning of Graph Rules for Question Answering</b></p><p><b>Diego MOLLA </b>and <b>Menno VAN ZAANEN</b></p><p>Centre for Language Technology, Macquarie University</p><p>Sydiiey, Australia, {diego,menno}@ics.mq.edu.au</p></frontmatter><abstract>AnswerFinder is a framework for the devel­opment of question-answering systems. An­swerFinder is currently being used to test the applicability of graph representations for the de­tection and extraction of answers. In this paper we briefly describe AnswerFinder and introduce our method to learn graph patterns that link questions with their corresponding answers in arbitrary sentences. The method is based on the translation of the logical forms of questions and answer sentences into graphs, and the ap­plication of operations based on graph overlaps and the construction of paths within graphs. The method is general and can be applied to any graph-based representation of the contents of questions and answers. </abstract></header><body><section number="1" title="Introduction"><p>Text-based question answering (henceforth QA) is the process whereby an answer to an arbi­trary question formulated in plain English is found by searching through unedited text doc­uments and returned to the user. The current availability of increasingly large volumes of text for human consumption has prompted an inten­sive research in QA. A well-known forum for the evaluation of QA systems is the question-answering track of the Text REtrieval Confer-ence<footnote anchor="1"/> (Voorhees, 2001), where systems devel­oped by some of the most active researchers in the area are compared within the context of a common task. In addition, QA technology is being deployed in practical applications. For example, several Web-based question-answering systems are currently available (e.g. START<footnote anchor="2"/>, AnswerBus<footnote anchor="3"/>), and recently popular Web search engines have started incorporating automated question-answering techniques (e.g. Google<footnote anchor="4"/>, as for September 2005).</p><footnote label="1">http://trec.nist.gov</footnote><footnote label="2"> http://www.ai.mit.edu/ pro jects/infolab/ 3 http://www.answerbus.com/index.shtml</footnote><p>The development of successful QA technol­ogy requires solid foundations both in the ar­eas of software engineering and natural lan­guage processing. The nature of text-based question answering requires the use of a wide range of techniques, some of which are described in (Hirschman and Gaizauskas, 2001; Voorhees, 2001). For example, traditional document re­trieval techniques are typically used to prese­lect the documents or document fragments that may contain the answer to the question. In addition, information extraction techniques are commonly used to extract all the named enti­ties in the question and the preselected text, on the ground that fact-based questions typi­cally expect one of these named entities as an answer. To analyse the questions, techniques range from the use of regular expressions to the use of machine-learning techniques that classify the questions according to the type of the ex­pected answer. Finally, to find the answer, tech­niques may vary from a bag of words compar­ison of keywords used in the question and the answer sentence, to the use of full parsers and logical proof tools such as OTTER<footnote anchor="5"/>. Additional resources are typically used, notably the Word­Net lexical resource.<footnote anchor="6"/> Consequently, the most successful QA systems are complex pieces of en­gineering that require frequent development and testing, such as (Moldovan et al., 2003). An un­welcome side-effect of this is that much of the effort spent in developing a QA system is spent, not in the developing of QA methodologies, but in defining the optimal parameters of a system.</p><p>On the other hand, QA presents challenging theoretical issues. One of the most salient the­oretical challenges is related to the problem of paraphrasing.<page local="2" global="16"/> There are many ways of express­ing the same piece of information. For example, the simple question <i>Where was Peter born? </i>can be similarly asked as:</p><footnote label="4">http://www.google.com</footnote><footnote label="5">http://www-unix.mcs.anl.gov/AR/otter/</footnote><footnote label="6">http://wordnet.princeton.edu/</footnote></section><section number="1." title="In what city was Peter born?"></section><section number="2." title="What is Peter's birthplace?"></section><section number="3." title="What is the birthplace of Peter?"></section><section number="4." title="Name Peter's birthplace"><p>Whereas it may not be difficult to manually devise rules that account for the most popular ways of rephrase a question, variations in the sentences containing the answer are much less predictable. A human would not have any prob­lem to find the answer to the above questions in the following examples:</p><p>1. <i>Peter was born in Paris.</i></p><p>2. <i>Paris is Peter's birthplace.</i></p><p>3. <i>Paris,  Peter's birthplace,   is located in France.</i></p><p>4. <i>Mrs Smith gave birth to Peter in Paris.</i></p><p>However, a machine would need to have ac­cess to lexical, syntactic, and world knowledge information if it is to find the answer.</p><p>The above are simple constructed examples. Real text with much more complex examples abounds, but the examples above suffice to il­lustrate the problem encountered by any text-based question-answering system. For fur­ther details about the problem of paraphrasing within the context of QA, see (Rinaldi et al., 2003).</p><p>Some systems have attempted to systemat­ically build rules that link questions with an­swer sentences. For example, (Soubbotin, 2001) used a complex hierarchy of rules on surface strings. Other systems, such as (Echihabi et al., 2004), use a method for the automatic learn­ing of surface-level rules. Other systems, such as (Bouma et al., 2005), use hand-crafted rules based on syntactic information.</p><p>Our hypothesis is that the accuracy of question-answering systems would improve if these rules are based on linguistic features lo­cated at a deeper level. Furthermore, to handle the problem of paraphrasing, the rules must be automatically learnt based on a representative corpus of questions and answers. In this paper we present our current work for developing and testing this hypothesis. Our work is being inte­grated in the AnswerFinder QA system, which is briefly described in Section 2. Section 3 de­scribes the Logical Graph notation that we use to represent the logical contents of questions and answer sentences. Section 4 presents the rules based on Logical Graphs, and how they are automatically learnt from a corpus of ques­tion/answer pairs. Section 5 shows the use of these rules to find the exact answer to a ques­tion, and Section 6 shows the results of our evaluations. Sections 7 and 8 point to related research and give the final conclusions, respec­tively.</p></section><section number="2" title="AnswerFinder, a Framework for Question Answering"><p>Our solution to the need to use software engi­neering techniques for the development of prac­tical QA systems is AnswerFinder. Initially de­signed as a simple QA prototype, AnswerFinder is currently being redesigned to allow the rapid development and test of QA techniques. Its primary application is the TREC Question An­swering track,<footnote anchor="7"/> but we also envisage its use, di­rectly or indirectly, in other evaluation frame­works such as CLEF,<footnote anchor="8"/> DUC,<footnote anchor="9"/> and the PASCAL Recognising Text Entailment challenge.<footnote anchor="10"/> For this reason, AnswerFinder's architecture is flex­ible and configurable, allowing to plug and test various modules easily.</p><p>The design of the system is functional and object-oriented. Focusing on function (instead of data) makes it easier to replace functions of the system with others. The system is imple­mented in C++. C++ was selected because it is a high-level language on the one hand, but can also be used in a more low-level way. It in­terfaces well with C, which allows for easy inte­gration of many external systems. Furthermore, the resulting executable is relatively fast.</p><p>AnswerFinder consists of two main compo­nents, the client and the server. The client can get information from the server about the al­gorithms and files/document collections it pro­vides to clients. The client can also send in­formation to the server requesting question(s) to be processed using specific algorithms and data collections. The server can be fully config­ured via XML. For example, if the client calls the server without any configuration informa­tion, the server replies with an XML document listing all the available services.<page local="3" global="17"/> The client can then call the server with an XML file containing all the configuration information.</p><footnote label="7">http://trec.nist.gov  8 http://www.clef-campaign.org/  9 http://www-nlpir.nist.gov/projects/duc/  10 http://www.pascal-network.org/Challenges/RTE/</footnote><p>The request the server receives from the client contains all information needed to process the question(s). It specifies the document collection and the algorithms that should be used. The server then runs the required services by creat­ing algorithm objects. An algorithm defines the full question-answering process, and it may use sub-algorithms for specific phases (such as ques­tion classification, document preselection, etc). The sub-algorithms are designed so that they can be called by any algorithm. Thus, different ways of trying QA techniques can be easily im­plemented by defining new algorithms that call the specific sub-algorithms with specific param­eters.</p><p>The following sub-algorithms are currently defined in AnswerFinder. They are classified by the question-answering phase in which they are used:</p><p><b>Document Selection. </b>Sub-algorithms in this phase are used to preselect the candidate documents.</p><p><b>• NIST Doc Selection: </b>This sub-algorithm returns the documents provided by NIST for the TREC QA task.</p><p><b>Question Classification. </b>Sub-algorithms in this phase are used to analyse and classify the question.</p><p><b>• Regexp Q Classification: </b>This is a set of regular expressions that determines the type of the expected answer according to a simple hierarchy of types.</p><p><b>Sentence Selection. </b>Sub-algorithms in this phase are used to determine what sentences are likely to contain an answer. These sub-algorithms can be cascaded to provide the final ranking of sentences.</p><p><b>• Word Overlap: </b>Count the number of words in common between the question and the answer sentence. This sub-algorithm allows the use of a list of stop words that are not considered in the overlap.</p><p><b>• Grammatical     Relations Overlap:</b></p><p>Count the number of grammatical rela­tions in common. We used a subset of the grammatical relations defined by (Carroll et al., 1998).</p><p><b>• Logical Form Rules: </b>Count the num­ber of logical form predicates in common, after applying a set of logical form rules. The process is explained in (Mollâ and Gar­diner, 2004).</p><p><b>• Logical Graph Rules: </b>Count the graph overlap between the question and the an­swer after applying graph transformation rules. This process is explained in the re­mainder of this paper.</p><p><b>Named Entity. </b>sub-algorithms in this phase are used to detect all named entities in the text (person and organisation names, locations, etc).</p><p><b>• LingPipe:   </b>This sub-algorithm uses the Alias-i LingPipe named entity recogniser.<footnote anchor="11"/></p></section><section number="3" title="Logical Graphs"><p>We are developing a graph notation for the expression of the logical contents of questions and answer sentences. Our Logical Graphs are inspired on Conceptual Graphs (Sowa, 1979), though our graphs do not attempt to encode the full semantics of a sentence. Instead, the fo­cus of our Logical Graphs is on robustness and practicability.</p><p><b>Robustness. </b>It should be possible to auto­matically produce the Logical Graph of any sen­tence, even of those sentences that are not fully grammatical. The importance of this feature becomes obvious once one looks at the quality of the English used in typical corpora used for</p><p>QA.</p><p><b>Practicability. </b>The Logical Graphs should be automatically constructed in relatively short run time. The operations with the graphs should be computable within relatively short time.</p><p>Like Sowa's Conceptual Graphs, our Logical Graphs are directed, bipartite graphs with two types of vertices, concepts and relations:</p><p><b>Concepts. </b>Examples of concepts are objects <i>dog, table, </i>events and states <i>run, love, </i>and prop­erties <i>red, quick. </i>Concepts may be arranged in a network of word relations (such as ontologies), though our method does not yet exploit this possibility in full.</p><footnote label="11">http://alias-i.com/lingpipe/</footnote><page local="4" global="18"/><p><b>Relations. </b>Relations act as links between concepts. Traditional examples of relations are grammatical roles and prepositions. How­ever, to facilitate the production of the Logical Graphs we have decided to use a labelling of relations which is relatively close to the syntac­tic level of linguistic information. For example, instead of using the usual thematic roles <i>agent, patient, </i>and so forth, we use syntactic roles <i>sub­ject, object, </i>etc. For convenience, and to avoid entering into a debate about the possible names of the syntactic roles, we have decided to use numbers. Thus, the relation <i>1 </i>indicates the link to the first argument of a verb (that is, what is usually a subject). The relation <i>2 </i>indicates the link to the second argument of a verb (usually the direct object), and so forth.</p><p>Figure 1 shows various examples of Logical Graphs. The first example shows the use of a relation <i>1 </i>to express the subject of the <i>go </i>event, and two relations, <i>to </i>and <i>by, </i>that represent two prepositions. The second example shows the use of lattice structures to represent complex enti­ties (such as the ones formed when a conjunc­tion is used). This use of lattices is inspired from the treatment of plurals and complex events (Link, 1983; Molka, 1997). Finally, the third ex­ample shows the expression of clauses and con­trol verbs. These examples only cover a few of the linguistic features but we hope they will suf­fice to show the expressive power of our Logical Graphs.</p><p>The Logical Graphs are constructed auto­matically from the output of the Conexor dependency-based parser (Tapanainen and Järvinen, 1997). The choice of the parser was arbitrary, and it would be easy to produce the same or similar graphs from the output of any dependency-based parser. It would be also pos­sible to use the output of a constituency-based parser by applying well-known methods to con­vert from constituency structures to depen­dency structures like those described by Schnei­der (1998), or practical methods like the one described by Harabagiu et al. (2000).</p></section><section number="4" title="Logical Graph Rules"><p>The Logical Graph rules used by AnswerFinder are based on the concepts of <i>graph overlap </i>and <i>path </i>between two subgraphs in a graph.</p><p>The <i>graph overlap </i>between two sentences is the overlap of the Logical Graphs of the two sentences. A naïve definition of the overlap be­tween two graphs would be the graph consisting of all the common concepts and relations. The actual definition of an overlap, however, must be made more complicated on the light of the exis­tence of repeated vertex labels. The third exam­ple of Figure 1, for example, shows that the re­lations named <i>1 </i>and <i>2 </i>appear twice in the same graph. Concept labels can also be repeated in a graph if the sentence uses the same word to ex­press two different concepts. For example, the sentence <i>John bought a book and Mary bought a magazine </i>describes two distinct events of buy­ing.</p><p>Graph overlaps must therefore be defined on the basis of a <i>correspondence relation </i>so that each vertex (edge) of a graph correlates with one and only one vertex (edge) in the other graph (Montes-y-Gomez et al., 2001). Thus, there is a projection from the graph overlap to a subgraph of each of the original graphs, such that there is a correspondence from every vertex (or edge) of the graph overlap to a vertex (or edge) of the projected subgraphs. Figure 2 shows an exam­ple of two graph overlaps and their projections to subgraphs in the original graphs.</p><p>There could be several overlaps between two graphs. Of these, the most useful ones are the <i>maximal overlaps, </i>that is, the overlaps that are not subgraphs of any other overlaps. There could still exist several maximal overlaps between two graphs. For example, Figure 2 shows two different maximal overlaps between the Logical Graphs of two sentences.</p><p>A <i>path </i>between two subgraphs in a graph G is a subgraph of G that connects the two sub­graphs. As is the case with graph overlaps, there may be several paths between two sub­graphs, especially when the graphs have a high density of edges.</p><p>Each rule r will contain three components. For the sake of completion the components are listed here but their use will be described in detail in Section 5.</p><p><i>ro </i>An overlap between a question and its an­swer sentence. This overlap is used to de­termine when the rule should trigger.</p><p><i>rp </i>A path between the overlap and the actual answer in the answer sentence. This path is used to find the location of the exact an­swer.</p><p><i>ra </i>A graph representation of the exact answer.</p><page local="5" global="19"/><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">bus</doubt><p><i>John is going to Boston by bus</i></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">hard</doubt><p>I person L</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">be</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">between</doubt><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">rockh~</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">place</doubt><p><i>A person is between a rock and a hard place</i></p><p><i>Tom believes that Mary wants to marry a sailor </i>Figure 1: Examples of logical graphs</p><doubt alpha="31.6" length="19" tooSmall="False" monospace="0.0">—(^an^- -•"C^and^)—</doubt><doubt alpha="38.3" length="60" tooSmall="False" monospace="0.0">john I*—(T^&gt;»—I   see~|—*\ book |      | mary ^-(^"^*\ table</doubt><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">john see —►^^^-►[</doubt><doubt alpha="62.5" length="24" tooSmall="False" monospace="0.0">L4-CXy*-see-t-Çz)-*table</doubt><p>john see —K^J/*" table</p><p>Figure 2: Graph overlaps of sentences <i>John saw a book and Mary saw a table </i>and <i>John saw a table. </i>The two overlaps are shown in thick lines. The dashed lines show the correspondence relation from the graph vertices of each overlap and the projected subgraphs in the original graphs (the correspondence relation from the edges is not shown to improve readability).</p><subsection number="4.1" title="Learning of Logical Graph Rules"><p>With the help of a training set of questions and sentences containing the answers, a set of Log­ical Graph rules can be learnt. Figure 3 shows an example of a rule learnt between two sen­tences. The graph notation has been simplified by replacing the relation vertices with labelled edges.</p><p>The algorithm for learning rules is fairly straightforward and is shown in Figure 4. Rules learnt with this algorithm are very specific to the question/answer pair.   For example, the <i>Q:</i><i>Where was Peter born?</i></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">bear</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">peter</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">prop</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">-&gt; where</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">peter *</doubt><p>genitiver birthplace -— be —* paris</p><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">-111-121-</doubt><p>A:<i>Peter's birthplace was </i><b><i>Paris</i></b></p><p>genitive 1 2</p><doubt alpha="57.1" length="42" tooSmall="False" monospace="0.0">peter•»-------j birthplace\*-hbe[-■*■paris</doubt><p>The Rule (ro in regular lines, <i>rp </i>in dashed lines, <i>ra </i>in thick lines)<page local="6" global="20"/></p><figure caption="Figure 3: A logical graph rule"></figure><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><p>FOR every question/answerSentence pair Gq = the graph of the question <i>Gs </i>= the graph of the answer sentence <i>G </i><i>a </i>= the graph of the exact answer FOR every overlap O between Gq and GsFOR every path P between O and <i>Ga</i>Build a rule    of the form rule in Figure 3 would only trigger for ques­tions about Peter and it would not trigger, say, for the question <i>Where was Mary born?</i><i>. </i>The rule needs to be generalised. Our generalisation method is very simple: relations do not gener­alise (relations express syntactic or semantic re­lations and it is not advisable to over-generalise them), and concepts generalise to "_" (that is, concepts that would unify with anything). The generalisation process applies to every concept except those that belong to a specific list of "stop concepts" (in analogy to the idea of stop words in Information Retrieval). The current list of stop concepts is:</p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">Rp =</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">a</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">O</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">P</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Ga</doubt><figure caption="Figure 4: Learning of graph rules"></figure><p>and, or, <i>not, nor, if, otherwise, have, be, become, do, make</i></p><p>The resulting generalised rules may then over-generalise and therefore they must be weighted according to their ability to detect the correct answer in the training corpus. The weight <i>W(r)</i><i> </i>of a rule r is computed following the formula:</p><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">W(r) =</doubt><p># correct answers found # answers found</p></subsection></section><section number="5" title="Graph-based Question Answering"><p>Given a question q with graph Q and a sen­tence <i>s </i>with graph S, the process to find the answer iterates over all the rules. A rule r trig­gers if the overlap component of the rule <i>r</i><i>o </i>is a subgraph of <i>Q </i>(which can be easily determined by checking that <i>ovl(ro,Q) </i>= ro). When that happens, the graph of the question is expanded with the rule path <i>r</i><i>p,</i><i> </i>producing a new graph <i>Qrp</i>. The resulting graph is more likely to pro­duce a large overlap with an answer sentence similar to the one that generated the rule and, most importantly, the graph contains an indi­cation of where the answer is located.</p><p>Once the graph of the question has been ex­panded with the path, one only needs to com­pute the overlap between this expanded graph and that of the answer sentence <i>ovl(Qrp</i>,S). If the overlap retains part of the exact answer that was marked up by the graph rule, then we have found a possible answer.</p><p>The above method will cover simple cases, but it needs to be extended to cover two spe­cial cases that arise from the fact that the ques­tion/sentence pairs that generated the rule are likely to be different from the actual question and sentence being tested. First of all, a ques­tion may trigger several rules, and each rule may extract a different answer from the answer sen­tence. And second, it is possible that the over­lap between the expanded graph and the sen­tence does not contain the complete answer but part of it. We will explain how to handle these two cases below.</p><p>To identify the correct answer among a set of possible answers it is necessary to establish a measure of "answerhood" so that the correct answer has a higher score than the score of other candidates. The rule weight gives an indication of the quality of the answer extracted, but we also need to keep in account the similarity (or otherwise) between the text originating the rule and the text being tested. Given that the graph of the question has been expanded with the path linking the question and the exact answer deter­mined in the training corpus, then the size of the overlap between the expanded graph of the test question and the graph of the test answer can be used as an estimation. Thus, the measure of answerhood <i>A</i><i>(pa)</i><i> </i>of a possible answer <i>pa </i>is the product of the weight of the rule used <i>r,</i><i> </i>and the size of the best overlap between the graph of the question sentence expanded with the rule path and the graph <i>S </i>of the answer sentence:</p><doubt alpha="57.1" length="28" tooSmall="False" monospace="0.0">A(a)= W(r) xsize(ovl(Qrp,S))</doubt><p>The size of a graph is computed as the weighted sum of all concepts and relations in the path. The formula to determine the weight of each concept and relation is inspired on the use of the Inverse Document Frequency (IDF) measure used in Document Retrieval. The ac­tual formula that we use is:</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">1N</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">-log —</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">log N n</doubt><page local="7" global="21"/><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">35.1</doubt><p><b>When did Jack Welch become chairman of General Electric? Jack Welch took over GE in &lt;answ&gt;1981&lt;/answ&gt;. Welch became GE's chief executive in April &lt;answ&gt;1981&lt;/answ&gt;. Welch was named chief executive in &lt;answ&gt;1981&lt;/answ&gt;.</b></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">35.4</doubt><p><b>How many people did he fire from GE?</b></p><p><b>He sold off underperforming divisions and fired about &lt;answ&gt;100,000&lt;/answ&gt; people. More than &lt;answ&gt;100,000&lt;/answ&gt; GE jobs have been axed under Welch.</b></p><figure caption="Figure 5: Extract of the training corpus"></figure><p>n = total number of sentences using the concept (or relation) i <i>N </i>= total number of sentences</p><p>The formula includes the constant factor 1/ log N to ensure that the values range between 0 and 1.</p></section><section number="6" title="Evaluation and Results"><p>We have conducted an initial evaluation of the use of these rules within the task of ques­tion answering. For this evaluation we cre­ated a training and testing corpus based on the first 111 questions of the question-answering track of TREC 2004 (Voorhees, 2004). For each question, we applied Ken Litkowsky's pat­terns<footnote anchor="12"/> to automatically extract sentences in the AQUAINT corpus containing possible an­swers. These sentences were checked manually, and only sentences containing the answer and a justification were selected. As a result we ob­tained about 560 question/answer pairs. The exact answers in the answer sentences of the training corpus were manually marked up to en­sure a corpus without wrong answers. Figure 5 shows an extract of the training corpus.</p><p>The question/answer training corpus was split in 5 sets, and a 5-fold cross-validation was performed. Table 1 shows the results. In this table, the accuracy indicates the percentage of questions that are answered correctly. The MRR measure is as used in the TREC eval­uations (Voorhees, 2001), and it measures the mean reciprocal rank for ranks from 1 to 5. For example, if the correct answer was ranked 3 (i.e. the system ranked two wrong answers higher than the correct answer), then the reciprocal rank is 1/3. If the correct answer was ranked beyond 5, then the reciprocal rank is 0. The MRR is the mean of the reciprocal ranks across all questions. Given that the results indicate an MRR with value higher than the accuracy, we can deduce that the system sometimes finds the correct answer but it does not assign it the top rank.</p><footnote label="12">Ken Litkowsky's patterns are available from the TREC website ( http://trec.nist.gov ).</footnote><p>Table 1: Graph-based question answering re­sults. The accuracy is the percentage of ques­tions that are correctly answered. The MRR measure is as used in the TREC evaluations (see text).</p><p>Figure 6 shows the distribution of weights among the rules learnt (this is the sum of all the rules produced in all the five runs). To avoid computational overhead of handling rules with low weight we decided to set a threshold of 0.5. Any rules with weight below 0.5 were discarded. The figure indicates two clear regions, one with rules of weight lower than 0.6 and one with rules of weight above 0.9. It is probably desirable to set a threshold of 0.9 for a larger training cor­pus to ensure that only good quality rules are used. We refrained from doing so with our small corpus to avoid ending up with too few rules.</p><p>It is difficult to compare the above results with those of existing evaluations for various reasons. First of all, the system used in our evaluation did not have the usual modules of a full-blown QA system as described in Section 1. Second, the task is a simplification of a real QA task in that the answer is known to exist in the answer candidate.<page local="8" global="22"/> An area of further work is therefore to integrate this method into the An­swerFinder QA system and to evaluate the sys­tem in a task such as the QA track of TREC.</p><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></p></td><td class="cell"><p><i>Accuracy</i></p></td><td class="cell"><p><i>MRR</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Test 1</i></p></td><td class="cell"><p>25.76%</p></td><td class="cell"><p>28.91%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Test 2</i></p></td><td class="cell"><p>26.92%</p></td><td class="cell"><p>31.09%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Test 3</i></p></td><td class="cell"><p>9.21%</p></td><td class="cell"><p>16.56%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Test 4</i></p></td><td class="cell"><p>26.47%</p></td><td class="cell"><p>29.78%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Test 5</i></p></td><td class="cell"><p>18.82%</p></td><td class="cell"><p>23.53%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Average</i></p></td><td class="cell"><p><i>21.44%</i></p></td><td class="cell"><p><i>25</i><i>.97%</i></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="0.0" length="15" tooSmall="False" monospace="0.0">400 300 200 100</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">360</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">240</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">64</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">76 76</doubt><doubt alpha="0.0" length="39" tooSmall="False" monospace="0.0">0.5     0.6     0.7     0.8     0.9 1.0</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Weight</doubt><figure caption="Figure 6: Distribution of weights among the rules learnt"></figure></section><section number="7" title="Related Work"><p>There have been several attempts to automati­cally learn the correspondence between a ques­tion and an answer. For example, (Echihabi et al., 2004) describes three approaches to use question/answer rules, two of which use ma­chine learning methods. In one approach, the system uses a methodical series of web searches containing a question phrase and the answer to collect a corpus of substrings linking the question phrase with the answer. The other machine-learning method described by Echich-abi et <i>al. </i>uses techniques based on statistical machine translation to automatically learn the "translation" between a question and an an­swer.</p><p>A system that uses syntactic information in machine learning for QA has been recently pub­lished by Shen et al. (2005). This system is based on the extraction of dependency chains connecting a question word with an answer. The information is combined with other statis­tical features and fed to a Maximum Entropy model that ranks the answer candidates. The use of dependency chains in this system is sim­ilar in principle with our use of graph paths in that it provides a way to connect a question with its answer. We have not had time however to study this system in detail.</p><p>Another system that uses syntactic informa­tion to develop patterns is described by Bouma et al. (2005). Their system uses the output of a dependency parser combined with a set of equivalence rules between sets of dependency re­lations that paraphrase each other. In contrast with our method, however, the rules were de­veloped manually and there were no indications in the paper about how to develop a method to automatically learn the rules. A method to discover similar sets of dependencies has been described by Lin and Pantel (2001), so in prin­ciple it is feasible to learn paraphrase rules and apply them to QA. However, the paraphrase rules described by these two systems do not at­tempt to connect a question with an answer, as we do.</p><p>The only system using logical-form rules that we are aware of is AnswerFinder at the time of participation in TREC 2004 (Mollâ and Gar­diner, 2004). The rules were based on An-swerFinder's minimal logical forms, and they were built manually. The system presented in our paper is a continuation of this research. Other than AnswerFinder, we are not aware of any QA system that attempts to learn rules based on logical forms.</p><p>There is some work on the use of concep­tual graphs for information retrieval (Montes-y-Gomez et al., 2000; Mishne, 2004). However, we are not aware of any publication about the use of conceptual graphs (or any other form of graph representation) for question answering other than our own.</p></section><section number="8" title="Conclusions and Further Work"><p>We have introduced a methodology for the learning of graph patterns between questions and answers. Rules are learnt on the basis of two graph concepts: graph overlap, and paths between two subgraphs in a graph.</p><p>The techniques presented here use graph rep­resentations of the logical contents between questions and answer sentences. These tech­niques are being tested in AnswerFinder, a framework for the development of question-answering techniques that is easily configurable.</p><p>We believe that our method can generalise to any graph representation of questions and an­swer sentences. Further work will include the use of alternative graph representations, includ­ing the output of a dependency-based parser.</p><p>Finally, we plan to continue our evaluation of the method by integrating it into the An­swerFinder system and other QA systems to fully assess its potential.</p><page local="9" global="23"/></section><section number="9" title="Acknowledgements"><p>This research is funded by the Australian Research Council, ARC Discovery Grant no DP0450750.</p></section><references><p>Gosse Bouma, Jori Mur, and Gertjan van No-ord. 2005. Reasoning over dependency rela­tions for qa. In <i>Proc. IJCAI-05 Workshop on Knowledge and Reasoning for Answering Questions, </i>pages 15-20.</p><p>John Carroll, Ted Briscoe, and Antonio Sanfil-ippo. 1998. Parser evaluation: a survey and a new proposal. In <i>Proc. LREC98.</i></p><p>Abdessamad Echihabi, Ulf Hermjakob, Eduard Hovy, Daniel Marcu, Eric Melz, and Deepak Ravichandran. 2004. How to select an an­swer string? In Tomek Strzalkowski and Sanda Harabagiu, editors, <i>Advances in Tex­tual Question Answering. </i>Kluwer.</p><p>Sanda Harabagiu, Dan Moldovan, Marius Pasca, Rada Mihalcea, Mihai Surdeanu, Razvan Bunescu, Roxana Glrju, Vasile Rus, and Paul Morärescu. 2000. Falcon: Boosting knowledge for answer engines. In Ellen M. Voorhees and Donna K. Harman, editors, <i>Proc.</i><i> TREC-9, </i>number 500-249 in NIST Spe­cial Publication, pages 479-488. NIST.</p><p>Lynette Hirschman and Rob Gaizauskas. 2001. Natural language question answering: The view from here. <i>Natural Language Engineer­</i>ing, 7(4):275-300.</p><p>Dekang Lin and Patrick Pantel. 2001. Discov­ery of inference rules for question-answering. <i>Natural Language Engineering, </i>7(4):343-360.</p><p>Godehard Link. 1983. The logical analysis of plurals and mass terms: a lattice-theoretical approach. In Rainer Bauerle, Christoph Schwarze, and Arnim von Stechov, editors, <i>Meaning, Use and Interpretation of Lan­guage, </i>pages 250-209. de Gruyter, Berlin.</p><p>Gilad Mishne. 2004. Source code retrieval us­ing conceptual graphs. Master's thesis, Uni­versity of Amsterdam.</p><p>Dan Moldovan, Marius Pas ca, Sanda Harabagiu, and Mihai Surdeanu. 2003. Performance issues and error analysis in an open-domain question answering system. <i>ACM Transactions on Information Systems,</i> 21(2):133-154.</p><p>Diego Mollâ and Mary Gardiner. 2004. An­swerfinder - question answering by combining lexical, syntactic and semantic information. In Ash Asudeh, Câecile Paris, and Stephen</p><p>Wan, editors, <i>Proc. ALTW 2004, </i>pages 9-16, Sydney, Australia. Macquarie University.</p><p>Diego Mollâ. 1997. <i>Aspectual Composition and Sentence Interpretation: a formal approach. </i>Ph.D. thesis, University of Edinburgh.</p><p>Manuel Montes-y-Gâomez, Aurelio Loâpez-Lâopez, and Alexander Gelbukh. 2000. Information retrieval with conceptual graph matching. In</p><p><i>Proc. DEXA-2000, </i>number 1873 in Lecture Notes in Computer Science, pages 312-321. Springer-Verlag.</p><p>Manuel Montes-y-Goâmez, Alexander Gelbukh, and Ricardo Baeza-Yates. 2001. Flexi­ble comparison of conceptual graphs. In <i>Proc. DEXA-2001, </i>number 2113 in Lecture Notes in Computer Science, pages 102-111. Springer-Verlag.</p><p>Fabio Rinaldi, James Dowdall, Kaarel Kalju-rand, Michael Hess, and Diego Mollaâ. 2003. Exploiting paraphrases in a question answer­ing system. In <i>Proc. Workshop in Paraphras­ing at ACL2003, </i>Sapporo, Japan.</p><p>Gerold Schneider. 1998. A linguistic compar­ison of constituency, dependency and link grammar. Master's thesis, University of Zurich. Unpublished.</p><p>Dan Shen, Geert-Jan M. Kruijff, and Dietrich Klakow. 2005. Exploring syntactic relation patterns for question answering. In Robert Dale, Kam-Fai Wong, Jian Su, and Oi Yee Kwong, editors, <i>Natural Language Processing IJCNLP 2005: Second International Joint Conference, Jeju Island, Korea, October 11­13, 2005. Proceedings. </i>Springer-Verlag.</p><p>M. M. Soubbotin. 2001. Patterns of potential answer expression as clues to the right an­swers. In Ellen M. Voorhees and Donna K. Harman, editors, <i>Proc. TREC 2001, </i>number 500-250 in NIST Special Publication. NIST.</p><p>John F. Sowa. 1979. Semantics of conceptual graphs. In <i>Proc. ACL 1979, </i>pages 39-44.</p><p>Pasi Tapanainen and Timo Järvinen. 1997. A non-projective dependency parser. In <i>Proc.</i></p><doubt alpha="65.5" length="55" tooSmall="False" monospace="0.0">ANLP-97.ACL. Ellen M. Voorhees. 2001. The TREC question</doubt><p>answering track. <i>Natural Language Engineer­ing, </i>7(4):361-378.</p><p>Ellen M. Voorhees. 2004. Overview of the trec 2004 question answering track. In Ellen M. Voorhees and Lori P. Buckland, editors, <i>Proc.</i></p><p><i>TREC 2004, </i>number 500-261 in NIST Special Publication. NIST.</p></references></body></article>