<?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"/><title>Exploring Syntactic Relation Patterns for Question Answering</title><pubinfo>R. Dale et al. (Eds.): IJCNLP 2005, LNAI 3651, pp. 507 -518, 2005. © Springer-Verlag Berlin Heidelberg 2005</pubinfo><author surname="Shen" givenname="Dan"><org  name="Saarland University" country="Germany" city="Saarbrucken"/></author><author surname="Kruijff" givenname="Geert-Jan M."><org  name="Saarland University" country="Germany" city="Saarbrucken"/></author><author surname="Klakow" givenname="Dietrich"><org  name="Saarland University" country="Germany" city="Saarbrucken"/></author></firstpageheader><frontmatter><p><b>Exploring Syntactic Relation Patterns for Question Answering</b></p><p>Dan Shen1,2, Geert-Jan M. Kruijff \ and Dietrich Klakow<footnote anchor="2"/></p><p><footnote anchor="1"/> Department of Computational Linguistics, Saarland University, Building 17, Postfach 15 11 50, 66041 Saarbruecken, Germany (dshen, gj}@coli.uni-sb.de <footnote anchor="2"/> Lehrstuhl Sprach Signal Verarbeitung,Saarland University, Building 17, Postfach 15 11 50, 66041 Saarbruecken, Germany (dietrich.klakow}@lsv.uni-saarland.de</p></frontmatter><abstract><b>Abstract. </b>In this paper, we explore the syntactic relation patterns for open-domain factoid question answering. We propose a pattern extraction method to extract the various relations between the proper answers and different types of question words, including target words, head words, subject words and verbs, from syntactic trees. We further propose a QA-specific tree kernel to partially match the syntactic relation patterns. It makes the more tolerant matching be­tween two patterns and helps to solve the data sparseness problem. Lastly, we incorporate the patterns into a Maximum Entropy Model to rank the answer candidates. The experiment on TREC questions shows that the syntactic rela­tion patterns help to improve the performance by 6.91 MRR based on the com­mon features. </abstract></header><body><section number="1" title="Introduction"><p>Question answering is to find answers for open-domain natural language questions in a large document collection. A typical QA system usually consists of three basic modules: 1. Question Processing (QP) Module, which finds some useful information from questions, such as expected answer type and key words; 2. Information Retrieval (IR) Module, which searches a document collection to retrieve a set of relevant sen­tences using the key words; 3. Answer Extraction (AE) Module, which analyzes the relevant sentences using the information provided by the QP module and identify the proper answer. In this paper, we will focus on the AE module.</p><p>In order to find the answers, some evidences, such as expected answer types and surface text patterns, are extracted from answer sentences and incorporated in the AE module using a pipelined structure, a scoring function or some statistical-based meth­ods. However, the evidences extracted from plain texts are not sufficient to identify a proper answer. For examples, for <i>"Q1910: What are pennies made of?", </i>the expected answer type is unknown; for <i>"Q21: Who was the first American in space?", </i>the sur­face patterns may not detect the long-distance relations between the question key phrase "the <i>first American in space" </i>and the answer <i>"Alan Shepard" </i>in "... <i>that car­ried Alan Shepard on a 15 - minute suborbital flight in 1961 , making him the first</i> <i>American in space.</i><page local="2"/><i>" </i>To solve these problems, more evidences need to be extracted from the more complex data representations, such as parse trees.</p><p>In this paper, we explore the syntactic relation patterns (SRP) for the AE module. An SRP is defined as a kind of relation between a question word and an answer can­didate in the syntactic tree. Different from the textual patterns, the SRPs capture the relations based on the sentence syntactic structure rather than the sentence surface. Therefore, they may get the deeper understanding of the relations and capture the long range dependency between words regardless of their ordering and distance in the surface text. Based on the observation of the task, we find that the syntactic relations between different types of question words and answers vary a lot with each other. We classify the question words into four classes, including target words, head words, subject phrases and verbs, and generate the SRPs for them respectively. Firstly, we generate the SRPs from the training data and score them based on the support and confidence measures. Next, we propose a QA-specific tree kernel to calculate the similarity between two SRPs in order to match the patterns from the unseen data into the pattern set. The tree kernel makes the partial matching between two patterns and helps to solve the data sparseness problem. Lastly, we incorporate the SRPs into a Maximum Entropy Model along with some common features to classify the answer candidates. The experiment on TREC questions shows that the syntactic relation patterns improve the performance by 6.91 MRR based on the common features.</p><p>Although several syntactic relations, such as subject-verb and verb-object, have been also considered in some other systems, they are basically extracted using a small number of hand-built rules. As a result, they are limited and costly. In our task, we automatically extract the various relations between different question words and an­swers and more tolerantly match the relation patterns using the tree kernel.</p></section><section number="2" title="Related Work"><p>The relations between answers and question words have been explored by many suc­cessful QA systems based on certain sentence representations, such as word sequence, logic form, parse tree, etc.</p><p>In the simplest case, a sentence is represented as a sequence of words. It is as­sumed that, for certain type of questions, the proper answers always have certain surface relations with the question words. For example, <i>"Q: When was X born?", </i>the proper answers often have such relation "&lt;X&gt; <i>( &lt;Answer&gt;--" </i>with the question phrase <i>X </i>. [14] first used a predefined pattern set in QA and achieved a good per­formance at TREC10. [13] further developed a bootstrapping method to learn the surface patterns automatically. When testing, most of them make the partial matching using regular expression. However, such surface patterns strongly depend on the word ordering and distance in the text and are too specific to the question type.</p><p>LCC [9] explored the syntactic relations, such as subject, object, prepositional at­tachment and adjectival/adverbial adjuncts, based on the logic form transformation. Furthermore they used a logic prover to justify the answer candidates. The prover is accurate but costly.</p><p>Most of the QA systems explored the syntactic relations on the parse tree. Since such relations do not depend on the word ordering and distance in the sentence, they may cope with the various surface expressions of the sentence. ISI [7] extracted the<page local="3"/></p><doubt alpha="47.6" length="42" tooSmall="False" monospace="0.0">508       , G.-J.M. Kruijff, and D. Klakow</doubt><p>Exploring Syntactic Relation Patterns for Question Answering 509</p><p>relations, such as "subject-verb" and "verb-object", in the answer sentence tree and compared with those in the question tree. IBM's Maximum Entropy-based model [10] integrated a rich feature set, including words co-occurrence scores, named entity, dependency relations, etc. For the dependency relations, they considered some prede­fined relations in trees by partial matching. BBN [15] also considered the verb­argument relations.</p><p>However, most of the current QA systems only focus on certain relation types, such as verb-argument relations, and extract them from the syntactic tree using some heuristic rules. Therefore, extracting such relations is limited in a very local context of the answer node, such as its parent or sibling nodes, and does not involve long range dependencies. Furthermore, most of the current systems only concern the rela­tions to certain type of question words, such as verb. In fact, different types of ques­tion words may have different indicative relations with the proper answers. In this paper, we will automatically extract more comprehensive syntactic relation patterns for all types of question words, partially match them using a QA-specific tree kernel and evaluate their contributions by integrating them into a Maximum Entropy Model.</p></section><section number="3" title="Syntactic Relation Pattern Generating"><p>In this section, we will discuss how to extract the syntactic relation patterns. Firstly, we briefly introduce the question processing module which provides some necessary information to the answer extraction module. Secondly, we generate the dependency tree of the answer sentence and map the question words into the tree using a Modified Edit Distance (MED) algorithm. Thirdly, we define and extract the syntactic relation patterns in the mapped dependency tree. Lastly, we score and filter the patterns.</p><subsection number="3.1" title="Question Processing Module"><p>The key words are extracted from the questions. Considering that different key words may have different syntactic relations with the answers, we divide the key words into the following four types:</p><p>1. Target Words, which are extracted from <i>what / which </i>questions. Such words indi­cate the expected answer types, such as <i>"party" </i>in <i>"Q1967: What party led </i>.<i>..</i>?".</p><p>2. Head Words, which are extracted from <i>how </i>questions. Such words indicate the expected answer heads, such as "dog" in the <i>"Q210: How many dogs pull...?"</i></p><p>3. Subject Phrases, which are extracted from all types of questions. They are the base noun phrases of the questions except the target words and the head words.</p><p>4. Verbs, which are the main verbs extracted from non-definition questions.</p><p>The key words described above are identified and classified based on the question parse tree. We employ the Collins Parser [2] to parse the questions and the answer sentences.</p></subsection><subsection number="3.2" title="Question Key Words Mapping"><p>From this section, we start to introduce the AE module. Firstly, the answer sentences are tagged with named entities and parsed. Secondly, the parse trees are transformed to the dependency trees based on a set of rules.<page local="4" global="510"/> To simplify a dependency tree, some special rules are used to remove the non-useful nodes and dependency information. The rules include</p><p>1. Since the question key words are always NPs and verbs, only the syntactic rela­tions between NP and NP / NP and verb are considered.</p><p>2. The original form of Base Noun Phrase (BNP) is kept and the dependency relations within the BNPs are not considered, such as adjective-noun. A base noun phrase is defined as the smallest noun phrase in which there are no noun phrases embedded.</p><p>An example of the dependency tree is shown in Figure 1. We regard all BNP nodes and leaf nodes as answer candidates.</p><p>Q1916: What city did Duke Ellington live in?</p><p>A: Ellington lived in Washington until his early 20s.</p><p><b>dependency tree</b></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">live</doubt><p>BNP BNP NER_PER NER_LOC</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">/ /</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">BNP</doubt><p>NER_DAT I</p><p>Ellington Washington his early NNP 20s <b>tagged dependency tree</b></p><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">VER I</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">/</doubt><p>TGT_HYP: the hypernym of the target word of the question <b>Fig.</b><b> 1. </b>Dependency tree and Tagged dependency tree</p><p>Next, we map the question key words into the simplified dependency trees. We propose a weighted edit distance (WED) algorithm, which is to find the similarity between two phrases by computing the minimal cost of operations needed to transform one phrase into the other, where an operation is an insertion, deletion, or substitution.</p><p>Different from the commonly-used edit distance algorithm [11], the WED defines the more flexible cost function which incorporates the morphological and semantic alternations of the words. The morphological alternations indicate the inflections of noun/verb. For example, for <i>Q2149: How many Olympic gold medals did Carl Lewis win? </i>We map the verb <i>win </i>to the nominal <i>winner </i>in the answer sentence <i>"Carl Lewis, winner of nine Olympic gold medals, thinks that </i>The morphological alter­nations are found based on a stemming algorithm and the "derivationally related forms" in WordNet [8]. The semantic alternations consider the synonyms of the words. Some types of the semantic relations in WordNet enable the retrieval of syno­nyms, such as hypernym, hyponym, etc. For example, for <i>Q212: Who invented the electric guitar? </i>We may map the verb <i>invent </i>to its direct hypernym <i>create </i>in answer sentences. Based on the observation of the task, we set the substitution costs of the alternations as follows: Identical words have cost 0; Words with the same morpho­logical root have cost 0.2; Words with the hypernym or hyponym relations have cost<page local="5" global="511"/></p><doubt alpha="62.5" length="32" tooSmall="False" monospace="0.0">, G.-J.M. Kruijff, and D. Klakow</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BNP</p></td><td class="cell"><p>BNP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NER_PER</p></td><td class="cell"><p>NER_LOC</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>SUB</b></p></td><td class="cell"><p><b>TGT_HYP</b></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 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Ellington</p></td><td class="cell"><p>Washington</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VER: the verb of the question</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><td class="cell"></td></tr></table><p>Exploring Syntactic Relation Patterns for Question Answering 511</p><p>0.4; Words in the same SynSet have cost 0.6; Words with subsequence relations have cost 0.8; otherwise, words have cost 1. Figure 1 also shows an example of the tagged dependency tree.</p></subsection><subsection number="3.3" title="Syntactic Relation Pattern Extraction"><p>A syntactic relation pattern is defined as the smallest subtree which covers an answer candidate node and one question key word node in the dependency tree. To capture different relations between answer candidates and different types of question words, we generate four pattern sets, called <i>PSet_target, PSet_head, PSet_subject </i>and <i>PSet_verb, </i>for the answer candidates. The patterns are extracted from the training data. Some pattern examples are shown in Table 1. For a question Q, there are a set of relevant sentences <i>SentSet. </i>The extraction process is as follows:</p></subsection></section><section number="1." title="for each question Q in the training data"></section><section number="2." title="question processing model extract the key words of Q"></section><section number="3." title="for each sentence s in SentSet"><p>a) parse <i>s</i> b) map the question key words into the parse tree c) tag all BNP nodes in the parse tree as answer candidates.</p><p>d) for each answer candidate <i>(ac) </i>node for each question word <i>(qw) </i>node extract the syntactic relation pattern (srp) for <i>ac </i>and <i>qw </i>add <i>srp </i>to <i>PSetJarget, PSet_head, PSet_subject </i>or <i>PSet_verb </i>based on the types of qw.</p><p><b>Table 1. </b>Examples of the patterns in the four pattern sets</p><subsection number="3.4" title="Syntactic Relation Pattern Scoring"><p>The patterns extracted in section 3.3 are scored by support and confidence measures. Support and confidence measures are most commonly used to evaluate the association rules in the data mining area. The support of a rule is the proportion of times the rule applies. The confidence of a rule is the proportion of times the rule is correct. In our task, we score a pattern by measuring the strength of the association rule from the pattern to the proper answer (the pattern is matched =&gt; the answer is correct). Let <i>pi</i>be any pattern in the pattern set <i>PSet </i>, support(Pi ) the number of    in which <i>ac </i>is correct confidence^- )<page local="6" global="512"/></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>PatternSet</p></td><td class="cell"><p>Patterns</p></td><td class="cell"><p>Sup.</p></td><td class="cell"><p>Conf.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_target</p></td><td class="cell"><p>(NPB~AC~TGT)</p><p>(NPB~AC~null (NPB ~null~TGT)) (NPB~null~null (NPB~AC~null) (NPB ~null~TGT))</p></td><td class="cell"><p>0.55 0.08 0.02</p></td><td class="cell"><p>0.22 0.06 0.09</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_head</p></td><td class="cell"><p>(NPB~null~null (CD~AC~null) (NPB ~null~HEAD))</p></td><td class="cell"><p>0.59</p></td><td class="cell"><p>0.67</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_subject</p></td><td class="cell"><p>(VP~null~null    (NPB~null~SUB) (NPB~null~null (NPB~AC~null)))</p><p>(NPB~null~null (NPB~null~SUB) (NPB~AC~null))</p></td><td class="cell"><p>0.04 0.02</p></td><td class="cell"><p>0.33 0.18</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_verb</p></td><td class="cell"><p>(VP~null~VERB (NPB~AC~null))</p></td><td class="cell"><p>0.18</p></td><td class="cell"><p>0.16</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>the size of <i>PSet </i>the number of    in which <i>ac </i>is correct the number of</p><p>We score the patterns in the <i>PSetJarget, PSet_head, PSet_subject </i>and <i>PSet_verb </i>respectively.  If the support value is less than the threshold tsup or the confidence value is less than the threshold tconf, the pattern is removed from the set. In the ex­periment, we set <i>tsup </i>0.01 and <i>tconf </i>0.5. Table 1 lists the support and confidence of the patterns.</p></subsection></section><section number="4" title="Syntactic Relation Pattern Matching"><p>Since we build the pattern sets based on the training data in the current experiment, the pattern sets may not be large enough to cover all of the unseen cases. If we make the exact match between two patterns, we will suffer from the data sparseness prob­lem. So a partial matching method is required. In this section, we will propose a QA-specific tree kernel to match the patterns.</p><p>A kernel function <i>K</i>(<i>x1, </i>x2): <b>X </b>X <b>X </b>— [0, <b>R]</b>, is a similarity measure between two objects x1 and x2 with some constraints. It is the most important component of kernel methods [16]. Tree kernels are the structure-driven kernels used to calculate the similarity between two trees. They have been successfully accepted in the natural language processing applications, such as parsing [4], part of speech tagging and named entity extraction [3], and information extraction [5, 17]. To our knowledge, tree kernels have not been explored in answer extraction.</p><p>Suppose that a pattern is defined as a tree <i>T </i>with nodes {t0, t1,<i>tn</i>} and each node <i>ti </i>is attached with a set of attributes {a0, a1,..., <i>am</i>}, which represent the local charac­teristics of <i>ti </i>. In our task, the set of the attributes include Type attributes, Ortho­graphic attributes and Relation Role attributes, as shown in Table 2. Figure 2 shows an example of the pattern tree <i>T_ac#target.</i></p><p>The core idea of the tree kernel <i>K(T^,</i>is that the similarity between two trees <i>T1 </i>and <i>T2 </i>is the sum of the similarity between their subtrees. It can be calculated by dynamic programming and can capture the long-range relations between two nodes. The kernel we use is similar to [17] except that we define a task-specific matching function and similarity function, which are two primitive functions to calculate the similarity between two nodes in terms of their attributes.</p><p>Matching function</p><doubt alpha="66.7" length="39" tooSmall="False" monospace="0.0">Iift. type = t typeandt. role = t .role</doubt></section><section number="0" title="otherwise"><doubt alpha="62.5" length="32" tooSmall="False" monospace="0.0">, G.-J.M. Kruijff, and D. Klakow</doubt><page local="7" global="513"/></section><section number="0" title="otherwise"><doubt alpha="50.0" length="52" tooSmall="False" monospace="0.0">Similarity functions (t.,t.)=    ^    f (t. .a,t..a)</doubt><doubt alpha="30.8" length="13" tooSmall="False" monospace="0.0">a&amp;{a0,...,am}</doubt><doubt alpha="31.2" length="16" tooSmall="False" monospace="0.0">f (t .a, t .a)■■</doubt><p><b>Table 2. </b>Attributes of the nodes</p><p>Q1897: What is the name of the airport in Dallas Ft. Worth? S: Wednesday morning, the low temperature at the <b>Dallas-Fort Worth Inter­national Airport </b>was 81 degrees.</p><p><b>T_ac#target</b></p><p><i>Dallas-Fort </i>T: NNP O: CAPALL R1: false R2: false <i>Worth </i>T: NNP O: CAPALL R1: false R2: false <i>International </i>T: JJ <i>Airport </i>T: NNP O: CAPALL R1: false R2: true <b>Fig.</b><b> 2. </b>An example of the pattern tree T_ac#target</p><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">T: BNP O: null</doubt><doubt alpha="61.1" length="18" tooSmall="False" monospace="0.0">R1: true R2: false</doubt><doubt alpha="65.5" length="29" tooSmall="False" monospace="0.0">O: CAPALL R1: false R2: false</doubt></section><section number="5" title="ME-Based Answer Extraction"><p>In addition to the syntactic relation patterns, many other evidences, such as named entity tags, may help to detect the proper answers. Therefore, we use maximum en­tropy to integrate the syntactic relation patterns and the common features.</p><subsection number="5.1" title="Maximum Entropy Model"><p>[1] gave a good description of the core idea of maximum entropy model. In our task, we use the maximum entropy model to rank the answer candidates for a question,</p><p>where, <i>f (t. .a, t </i>.a) is a compatibility function between two feature values f 1  if f <i>.a = 11 .a </i> which is similar to [12].<page local="8" global="514"/> Given a question <i>q </i>and a set of possible answer candi­dates {aq, <i>ac2...acn</i>}, the model outputs the answer <i>ac </i>e <i>{ac1, ac2...acn</i>} with the maximal probability from the answer candidate set. We define M feature func­tions <i>fm </i><i>(ac,</i><i> {ac1</i>, ac2 ...acn}, q), m=1,...,M. The probability is modeled as</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Attributes</p></td><td class="cell"><p></p></td><td class="cell"><p>Examples</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Type</p></td><td class="cell"><p>POS tag</p></td><td class="cell"><p>CD, NNP, NN...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>syntactic tag</p></td><td class="cell"><p>NP, VP, ...</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Orthographic</p></td><td class="cell"><p>Is Digit?</p></td><td class="cell"><p>DIG, DIGALL</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Is Capitalized?</p></td><td class="cell"><p>CAP, CAPALL</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>length of phrase</p></td><td class="cell"><p>LNG1, LNG2#3, LNGgt3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Role1</p></td><td class="cell"><p>Is answer candidate?</p></td><td class="cell"><p>true, false</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Role2</p></td><td class="cell"><p>Is question key words?</p></td><td class="cell"><p>true, false</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="100.0" length="1" tooSmall="False" monospace="0.0">M</doubt><doubt alpha="54.5" length="33" tooSmall="False" monospace="0.0">exp[ ZÂmfm(ac,{aq,ac2...acn},q))]</doubt><doubt alpha="43.8" length="32" tooSmall="False" monospace="0.0">P(acI {ac1,ac2...acn}, q) =-m=M-</doubt><doubt alpha="52.8" length="36" tooSmall="False" monospace="0.0">Z exp[ ZAmfm(ac',{ac1,ac2...acn},q)]</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">ac' m=1</doubt><p>where, <i>Âm </i>(m=1,...,M) are the model parameters, which are trained with General­ized Iterative Scaling [6]. A Gaussian Prior is used to smooth the ME model.</p><p><b>Table 3. </b>Examples of the common features</p></subsection><subsection number="5.2" title="Features"><p>For the baseline maximum entropy model, we use four types of common features:</p><p>1. <b>Named Entity Features: </b>For certain question target, if the answer candidate is tagged as certain type of named entity, one feature fires.</p><p>2. <b>Orthographic Features: </b>They capture the surface format of the answer candi­dates, such as capitalizations, digits and lengths, etc.</p><p>3. <b>Syntactic Tag Features: </b>For certain question target, if the word in the answer candidate belongs to a certain syntactic / POS type, one feature fires.</p><p>4. <b>Triggers: </b>For some <i>how </i>questions, there are always some trigger words which are indicative for the answers. For example, for <i>"Q2156: How fast does Randy John­son throw?", </i>the word "mph" may help to identify the answer <i>"98-mph" </i>in <i>"John­son throws a 98-mph fastball."</i></p><p>Table 3 shows some examples of the common features. All of the features are the binary features. In addition, many other features, such as the answer candidate fre­quency, can be extracted based on the IR output and are thought as the indicative evidences for the answer extraction [10]. However, in this paper, we are to evaluate the answer extraction module independently, so we do not incorporate such features in the current model.</p><doubt alpha="62.5" length="32" tooSmall="False" monospace="0.0">, G.-J.M. Kruijff, and D. Klakow</doubt><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Features</p></td><td class="cell"><p>Examples</p></td><td class="cell"><p>Explanation</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NE</p></td><td class="cell"><p>NE#DAT_QT_DAT</p></td><td class="cell"><p>ac is NE (DATE) and qtarget is DATE</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>NE#PER_QW_WHO</p></td><td class="cell"><p>ac is NE (PERSON) and qword is WHO</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Ortho-</p></td><td class="cell"><p>SSEQ_Q</p></td><td class="cell"><p>ac is a subsequence of question</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>graphic</p></td><td class="cell"><p>CAP_QT_LOC</p></td><td class="cell"><p>ac is capitalized and qtarget is LOCATION</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>LNGlt3_QT_PER</p></td><td class="cell"><p>the length of ac &lt; 3 and qtarget is PERSON</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Syntactic Tag</p></td><td class="cell"><p>CD_QT_NUM</p></td><td class="cell"><p>syn. tag of ac is CD and qtarget is NUM</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NNP_QT_PER</p></td><td class="cell"><p>syn. tag of ac is NNP and qtarget is PERSON</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Triggers</p></td><td class="cell"><p>TRG_HOW_DIST</p></td><td class="cell"><p>ac matches the trigger words for HOW questions which ask for distance</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><page local="9" global="515"/><p>Exploring Syntactic Relation Patterns for Question Answering 515</p><p>In order to evaluate the effectiveness of the automatically generated syntactic rela­tion patterns, we also manually build some heuristic rules to extract the relation fea­tures from the trees and incorporate them into the baseline model. The baseline model uses 20 rules. Some examples of the <b>hand-extracted relation features </b>are listed as follows,• If the ac node is the same of the qtarget node, one feature fires.</p><p>• If the ac node is the sibling of the qtarget node, one feature fires.</p><p>• If the ac node is the child of the qsubject node, one feature fires.</p><p>• ...</p><p>Next, we will discuss the use of the <b>syntactic relation features. </b>Firstly, for each answer candidate, we extract the syntactic relations between it and all mapped ques­tion key words in the sentence tree. Then for each extracted relation, we match it in the pattern set <i>PSet_target, PSet_head, PSet_subject </i>or <i>PSet_verb. </i>A tree kernel discussed in Section 4 is used to calculate the similarity between two patterns. Fi­nally, if the maximal similarity is above a threshold <i>Â</i>, the pattern with the maximal similarity is chosen and the corresponding feature fires. The experiments will evalu­ate the performance and the coverage of the pattern sets based on different <i>Â </i>values.</p></subsection></section><section number="6" title="Experiment"><p>We apply the AE module to the TREC QA task. Since this paper focuses on the AE module alone, we only present those sentences containing the proper answers to the AE module based on the assumption that the IR module has got 100% precision. The AE module is to identify the proper answers from the given sentence collection.</p><p>We use the questions of TREC8, 9, 2001 and 2002 for training and the questions of TREC2003 for testing. The following steps are used to generate the data:</p><p>1. Retrieve the relevant documents for each question based on the TREC judgments.</p><p>2. Extract the sentences, which match both the proper answer and at least one ques­tion key word, from these documents.</p><p>3. Tag the proper answer in the sentences based on the TREC answer patterns.</p><p>In TREC 2003, there are 413 factoid questions in which 51 questions (NIL ques­tions) are not returned with the proper answers by TREC. According to our data generation process, we cannot provide data for those NIL questions because we can­not get the sentence collections. Therefore, the AE module will fail on all of the NIL questions and the number of the valid questions should be 362 (413 - 51). In the experiment, we still test the module on the whole question set (413 questions) to keep consistent with the other's work. The training set contains 1252 questions. The per­formance of our system is evaluated using the mean reciprocal rank (MRR). Fur­thermore, we also list the percentages of the correct answers respectively in terms of the top 5 answers and the top 1 answer returned. No post-processes are used to adjust the answers in the experiments.</p><p>In order to evaluate the effectiveness of the syntactic relation patterns in the answer extraction, we compare the modules based on different feature sets. The first ME module <i>ME1 </i>uses the common features including NE features, Orthographic features,<page local="10" global="516"/></p><p>Syntactic Tag features and Triggers. The second ME module <i>ME2 </i>uses the common features and some hand-extracted relation features, described in Section 5.2. The third module <i>ME3 </i>uses the common features and the syntactic relation patterns which are automatically extracted and partial matched with the methods proposed in Section 3 and 4. Table 4 shows the overall performance of the modules. Both <i>ME2 </i>and <i>ME3 </i>outperform <i>ME1 </i>by 3.15 MRR and 6.91 MRR respectively. This may indicate that the syntactic relations between the question words and the answers are useful for the answer extraction. Furthermore, <i>ME3 </i>got the higher performance (+3.76 MRR) than <i>ME2. </i>The probable reason may be that the relations extracted by some heuristic rules in <i>ME2 </i>are limited in the very local contexts of the nodes and they may not be suffi­cient. On the contrary, the pattern extraction methods we proposed can explore the larger relation space in the dependency trees.</p><p><b>Table 4. </b>Overall performance <b>Table 5.</b><b> </b>Performances for two pattern matching methods</p><p>Furthermore, we evaluate the effectiveness of the pattern matching method in Sec­tion 4. We compare two pattern matching methods: the exact matching <i>(ExactMatch) </i>and the partial matching <i>(PartialMatch) </i>using the tree kernel. Table 5 shows the performances for the two pattern matching methods. For <i>PartialMatch, </i>we also evaluate the effect of the parameter/ (described in Section 5.2) on the performance. In Table 5, the best <i>PartialMatch </i>(<i>/ </i>= 0.6) outperforms <i>ExactMatch </i>by 1.48 MRR. Since the pattern sets extracted from the training data is not large enough to cover the unseen cases, <i>ExactMatch </i>may have too low coverage and suffer with the data sparse-ness problem when testing, especially for <i>PSet_subject </i>(24.32% coverage using <i>Ex-actMatch </i>vs. 49.94% coverage using <i>PartialMatch). </i>In addition, even the model with <i>ExactMatch </i>is better than <i>ME2 </i>(common features + hand-extracted relations) by 2.28 MRR. It indicates that the relation patterns explored with the method proposed in Section 3 are more effective than the relations extracted by the heuristic rules.</p><p>Table 6 shows the size of the pattern sets <i>PSet_target, PSet_head, PSet_subject </i>and <i>PSet_verb </i>and their coverage for the test data based on different <i>/ </i>values. <i>PSet_verb </i>gets the low coverage (&lt;5% coverage). The probable reason is that the verbs in the answer sentences are often different from those in the questions, therefore only a few question verbs can be matched in the answer sentences. <i>PSet_head </i>also gets the relatively low coverage since the head words are only exacted from <i>how </i>questions and there are only 49/413 <i>how </i>questions with head words in the test data.</p><doubt alpha="47.6" length="42" tooSmall="False" monospace="0.0">516       , G.-J.M. Kruijff, and D. Klakow</doubt><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>ME1</p></td><td class="cell"><p>ME2</p></td><td class="cell"><p>ME3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top1</p></td><td class="cell"><p>44.06</p></td><td class="cell"><p>47.70</p></td><td class="cell"><p>51.81</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top5</p></td><td class="cell"><p>53.27</p></td><td class="cell"><p>55.45</p></td><td class="cell"><p>58.85</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MRR</p></td><td class="cell"><p>47.75</p></td><td class="cell"><p>50.90</p></td><td class="cell"><p>54.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><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><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>ExactMatch</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>PartialMatch</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></p></td><td class="cell"><p>U=1)</p></td><td class="cell"><p>/I =0.8</p></td><td class="cell"><p>//=0.6</p></td><td class="cell"><p>//=0.4</p></td><td class="cell"><p>//=0.2</p></td><td class="cell"><p>/ =0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top1</p></td><td class="cell"><p>50.12</p></td><td class="cell"><p>51.33</p></td><td class="cell"><p><b>51.81</b></p></td><td class="cell"><p>51.57</p></td><td class="cell"><p>50.12</p></td><td class="cell"><p>50.12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top5</p></td><td class="cell"><p>57.87</p></td><td class="cell"><p>58.37</p></td><td class="cell"><p><b>58.85</b></p></td><td class="cell"><p>58.60</p></td><td class="cell"><p>57.16</p></td><td class="cell"><p>57.16</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MRR</p></td><td class="cell"><p>53.18</p></td><td class="cell"><p>54.18</p></td><td class="cell"><p><b>54.66</b></p></td><td class="cell"><p>54.41</p></td><td class="cell"><p>52.97</p></td><td class="cell"><p>52.97</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><page local="11" global="517"/><p>Exploring Syntactic Relation Patterns for Question Answering 517 <b>Table 6.</b><b> </b>Size and coverage of the pattern sets</p><p>We further evaluate the contributions of different types of patterns. We respec­tively combine the pattern features in different pattern set and the common features. Some findings can be concluded from Table 7: All of the patterns have the positive effects based on the common features, which indicates that all of the four types of the relations are helpful for answer extraction. Furthermore, <i>P_target </i>(+4.21 MRR) and <i>P_subject </i>(+2.47 MRR) are more beneficial than <i>P_head </i>(+1.25 MRR) and <i>P_verb </i>(+0.19 MRR). This may be explained that the target and subject patterns may have the effect on the more test data than the head and verb patterns since <i>PSet_target </i>and <i>PSet_subject </i>have the higher coverage for the test data than <i>PSet_head </i>and <i>PSet_verb, </i>as shown in Table 6.</p><p><b>Table 7. </b>Performance on feature combination</p></section><section number="7" title="Conclusion"><p>In this paper, we study the syntactic relation patterns for question answering. We extract the various syntactic relations between the answers and different types of question words, including target words, head words, subject words and verbs and score the extracted relations based on support and confidence measures. We further propose a QA-specific tree kernel to partially match the relation patterns from the unseen data to the pattern sets. Lastly, we incorporate the patterns and some com­mon features into a Maximum Entropy Model to rank the answer candidates. The experiment shows that the syntactic relation patterns improve the performance by 6.91 MRR based on the common features. Moreover, the contributions of the pat­tern matching methods are evaluated. The results show that the tree kernel-based partial matching outperforms the exact matching by 1.48 MRR. In the future, we are to further explore the syntactic relations using the web data rather than the training data.</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><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>size</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>coverage (*%)</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></p></td><td class="cell"><p></p></td><td class="cell"><p>X=1</p></td><td class="cell"><p><i>X </i>=0.8</p></td><td class="cell"><p><i>X </i>=0.6</p></td><td class="cell"><p>X=0.4</p></td><td class="cell"><p>X=0.2</p></td><td class="cell"><p>X=0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_target</p></td><td class="cell"><p>45</p></td><td class="cell"><p>49.85</p></td><td class="cell"><p>53.73</p></td><td class="cell"><p>57.01</p></td><td class="cell"><p>58.14</p></td><td class="cell"><p>58.46</p></td><td class="cell"><p>58.46</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_head</p></td><td class="cell"><p>42</p></td><td class="cell"><p>5.82</p></td><td class="cell"><p>6.48</p></td><td class="cell"><p>6.69</p></td><td class="cell"><p>6.80</p></td><td class="cell"><p>6.80</p></td><td class="cell"><p>6.80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_subject</p></td><td class="cell"><p>123</p></td><td class="cell"><p>24.32</p></td><td class="cell"><p>44.82</p></td><td class="cell"><p>49.94</p></td><td class="cell"><p>51.29</p></td><td class="cell"><p>51.84</p></td><td class="cell"><p>51.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PSet_verb</p></td><td class="cell"><p>125</p></td><td class="cell"><p>2.21</p></td><td class="cell"><p>3.49</p></td><td class="cell"><p>3.58</p></td><td class="cell"><p>3.58</p></td><td class="cell"><p>3.58</p></td><td class="cell"><p>3.58</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><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Combination of features</p></td><td class="cell"><p>MRR</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>common features</p></td><td class="cell"><p>47.75</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>common features + P_target</p></td><td class="cell"><p>51.96</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>common features + P_head</p></td><td class="cell"><p>49.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>common features + P_subject</p></td><td class="cell"><p>50.22</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>common features + P_verb</p></td><td class="cell"><p>47.94</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><page local="12" global="518"/></section><references><doubt alpha="65.9" length="170" tooSmall="False" monospace="0.0">1. Berger, A., Della Pietra, S., Della Pietra, V.: A maximum entropy approach to natural lan­guage processing. Computational Linguistics (1996), vol. 22, no. 1, pp. 39-71</doubt><doubt alpha="65.8" length="120" tooSmall="False" monospace="0.0">2. Collins, M.: A New Statistical Parser Based on Bigram Lexical Dependencies. In: Pro­ceedings of ACL-96 (1996) 184-191</doubt><p>3. Collins, M.: New Ranking Algorithms for Parsing and Tagging: Kernel over Discrete Structures, and the Voted Perceptron. In: Proceeings of ACL-2002 (2002).</p><p>4. Collins, M., Duffy, N.: Convolution Kernels for Natural Language. Advances in Neural Information Processing Systems 14, Cambridge, MA. MIT Press (2002)</p><p>5. Culotta, A., Sorensen, J.: Dependency Tree Kernels for Relation Extraction. In: Proceed­ings of ACL-2004 (2004)</p><doubt alpha="66.4" length="152" tooSmall="False" monospace="0.0">6. Darroch, J., Ratcliff, D.: Generalized iterative scaling for log-linear models. The annuals of Mathematical Statistics (1972), vol. 43, pp. 1470-1480</doubt><p>7. Echihabi, A., Hermjakob, U., Hovy, E., Marcu, D., Melz, E., Ravichandran, D.: Multiple-Engine Question Answering in TextMap. In: Proceedings of the TREC-2003 Conference, 8. Fellbaum, C.: WordNet - An Electronic Lexical Database. MIT Press, Cambridge, MA</p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">NIST (2003)</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(1998)</doubt><p>9. Harabagiu, S., Moldovan, D., Clark, C., Bowden, M., Williams, J., Bensley, J.: Answer Mining by Combining Extraction Techniques with Abductive Reasoning. In: Proceedings 10. Ittycheriah, A., Roukos, S.: IBM's Statistical Question Answering System - TREC 11. In:</p><doubt alpha="57.5" length="40" tooSmall="False" monospace="0.0">of the TREC-2003 Conference, NIST (2003)</doubt><doubt alpha="65.4" length="52" tooSmall="False" monospace="0.0">Proceedings of the TREC-2002 Conference, NIST (2002)</doubt><p>11. Levenshtein, V. I.: Binary Codes Capable of Correcting Deletions, Insertions and Rever­sals. Doklady Akademii Nauk SSSR 163(4) (1965) 845-848</p><p>12. Ravichandran, D., Hovy, E., Och, F. J.: Statistical QA - Classifier vs. Re-ranker: What's the difference? In: Proceedings of Workshop on Multilingual Summarization and Question</p><doubt alpha="57.1" length="21" tooSmall="False" monospace="0.0">Answering, ACL (2003)</doubt><doubt alpha="66.2" length="136" tooSmall="False" monospace="0.0">13. Ravichandran, D., Hovy, E.: Learning Surface Text Patterns for a Question Answering System. In: Proceedings of ACL-2002 (2002) 41-47</doubt><p>14. Soubbotin, M. M., Soubbotin, S. M.: Patterns of Potential Answer Expressions as Clues to the Right Answer. In: Proceedings of the TREC-10 Conference, NIST (2001)</p><p>15. Xu, J., Licuanan, A., May, J., Miller, S., Weischedel, R.: TREC 2002 QA at BBN: Answer Selection and Confidence Estimation. In: Proceedings of the TREC-2002 Conference, 16. Vapnik, V.: Statistical Learning Theory, John Wiley, NY, (1998) 732.</p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">NIST (2002)</doubt><p>17. Zelenko, D., Aone, C., Richardella, A.: Kernel Methods for Relation Extraction. Journal of Machine Learning Research (2003) 1083-1106.</p><doubt alpha="62.5" length="32" tooSmall="False" monospace="0.0">, G.-J.M. Kruijff, and D. Klakow</doubt></references></body></article>