File Information

File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/metho/04/n04-1008_metho.xml

Size: 27,763 bytes

Last Modified: 2025-10-06 14:08:52

<?xml version="1.0" standalone="yes"?>
<Paper uid="N04-1008">
  <Title>Automatic Question Answering: Beyond the Factoid</Title>
  <Section position="3" start_page="0" end_page="0" type="metho">
    <SectionTitle>
2 Beyond Factoid Question Answering
</SectionTitle>
    <Paragraph position="0"> One of the first challenges to be faced in automatic question answering is the lexical and stylistic gap between the question string and the answer string. For factoid questions, these gaps are usually bridged by question reformulations, from simple rewrites (Brill et al., 2001), to more sophisticated paraphrases (Hermjakob et al., 2001), to question-to-answer translations (Radev et al., 2001). We ran several preliminary trials using various question reformulation techniques. We found out that in general, when complex questions are involved, reformulating the question (using either simple rewrites or question-answer term translations) more often hurts the performance than improves on it.</Paragraph>
    <Paragraph position="1"> Another widely used technique in factoid QA is sentence parsing, along with question-type determination. As mentioned by Hovy et al. (2001), their hierarchical QA typology contains 79 nodes, which in many cases can be even further differentiated. While we acknowledge that QA typologies and hierarchical question types have the potential to be extremely useful beyond factoid QA, the volume of work involved is likely to exceed by orders of magnitude the one involved in the existing factoid QA typologies. We postpone such work for future endeavors.</Paragraph>
    <Paragraph position="2"> The techniques we propose for handling our extended QA task are less linguistically motivated and more statistically driven. In order to have access to the right statistics, we first build a question-answer pair training corpus by mining FAQ pages from the Web, as described in Section 3. Instead of sentence parsing, we devise a statistical chunker that is used to transform a question into a phrase-based query (see Section 4). After a search engine uses the formulated query to return the N most relevant documents from the Web, an answer to the given question is found by computing an answer language model probability (indicating how similar the proposed answer is to answers seen in the training corpus), and an answer/question translation model probability (indicating how similar the proposed answer/question pair is to pairs seen in the training corpus). In Section 5 we describe the evaluations we performed in order to assess our system's performance, while in Section 6 we analyze some of the issues that negatively affected our system's performance.</Paragraph>
  </Section>
  <Section position="4" start_page="0" end_page="0" type="metho">
    <SectionTitle>
3 A Question-Answer Corpus for FAQs
</SectionTitle>
    <Paragraph position="0"> In order to employ the learning mechanisms described in the previous section, we first need to build a large training corpus consisting of question-answer pairs of a broad lexical coverage. Previous work using FAQs as a source for finding an appropriate answer (Burke et al., 1996) or for learning lexical correlations (Berger et al., 2000) focused on using the publicly available Usenet FAQ collection and other non-public FAQ collections, and reportedly worked with an order of thousands of question-answer pairs.</Paragraph>
    <Paragraph position="1"> Our approach to question/answer pair collection takes a different path. If one poses the simple query &amp;quot;FAQ&amp;quot; to an existing search engine, one can observe that roughly 85% of the returned URL strings corresponding to genuine FAQ pages contain the substring &amp;quot;faq&amp;quot;, while virtually all of the URLs that contain the substring &amp;quot;faq&amp;quot; are genuine FAQ pages. It follows that, if one has access to a large collection of the Web's existent URLs, a simple pattern-matching for &amp;quot;faq&amp;quot; on these URLs will have a recall close to 85% and precision close to 100% on returning FAQ URLs from those available in the collection. Our URL collection contains approximately 1 billion URLs, and using this technique we extracted roughly 2.7 million URLs containing the (uncased) string &amp;quot;faq&amp;quot;, which amounts to roughly 2.3 million FAQ URLs to be used for collecting question/answer pairs.</Paragraph>
    <Paragraph position="2"> The collected FAQ pages displayed a variety of formats and presentations. It seems that the variety of ways questions and answers are usually listed in FAQ pages does not allow for a simple high-precision high-recall solution for extracting question/answer pairs: if one assumes that only certain templates are used when presenting FAQ lists, one can obtain clean question/answer pairs at the cost of losing many other such pairs (which happen to be presented in different templates); on the other hand, assuming very loose constraints on the way information is presented on such pages, one can obtain a bountiful set of question/answer pairs, plus other pairs that do not qualify as such. We settled for a two-step approach: a first recall-oriented pass based on universal indicators such as punctuation and lexical cues allowed us to retrieve most of the question/answer pairs, along with other noise data; a second precision-oriented pass used several filters, such as language identification, length constrains, and lexical cues to reduce the level of noise of the question/answer pair corpus. Using this method, we were able to collect a total of roughly 1 million question/answer pairs, exceeding by orders of magnitude the amount of data previously used for learning question/answer statistics.</Paragraph>
  </Section>
  <Section position="5" start_page="0" end_page="11" type="metho">
    <SectionTitle>
4 A QA System Architecture
</SectionTitle>
    <Paragraph position="0"> The architecure of our QA system is presented in Figure 1. There are 4 separate modules that handle various stages in the system's pipeline: the first module is called Question2Query, in which questions posed in natural language are transformed into phrase-based queries before being handed down to the SearchEngine module.</Paragraph>
    <Paragraph position="1"> The second module is an Information Retrieval engine which takes a query as input and returns a list of documents deemed to be relevant to the query in a sorted manner. A third module, called Filter, is in charge of filtering out the returned list of documents, in order to provide acceptable input to the next module. The forth module, AnswerExtraction, analyzes the content presented and chooses the text fragment deemed to be the best answer to the posed question.</Paragraph>
    <Paragraph position="2">  This architecture allows us to flexibly test for various changes in the pipeline and evaluate their overall effect. We present next detailed descriptions of how each module works, and outline several choices that present themselves as acceptable options to be evaluated.</Paragraph>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
4.1 The Question2Query Module
</SectionTitle>
      <Paragraph position="0"> A query is defined to be a keyword-based string that users are expected to feed as input to a search engine.</Paragraph>
      <Paragraph position="1"> Such a string is often thought of as a representation for a user's &amp;quot;information need&amp;quot;, and being proficient in expressing one's &amp;quot;need&amp;quot; in such terms is one of the key points in successfully using a search engine. A natural language-posed question can be thought of as such a query. It has the advantage that it forces the user to pay more attention to formulating the &amp;quot;information need&amp;quot; (and not typing the first keywords that come to mind). It has the disadvantage that it contains not only the key-words a search engine normally expects, but also a lot of extraneous &amp;quot;details&amp;quot; as part of its syntactic and discourse constraints, plus an inherently underspecified unitsegmentation problem, which can all confuse the search engine.</Paragraph>
      <Paragraph position="2"> To counterbalance some of these disadvantages, we build a statistical chunker that uses a dynamic programming algorithm to chunk the question into chunks/phrases. The chunker is trained on the answer side of the Training corpus in order to learn 2 and 3word collocations, defined using the likelihood ratio of Dunning (1993). Note that we are chunking the question using answer-side statistics, precisely as a measure for bridging the stylistic gap between questions and answers.</Paragraph>
      <Paragraph position="3"> Our chunker uses the extracted collocation statistics to make an optimal chunking using a Dijkstra-style dynamic programming algorithm. In Figure 2 we present an example of the results returned by our statistical chunker. Important cues such as &amp;quot;differ from&amp;quot; and &amp;quot;herbal medications&amp;quot; are presented as phrases to the search engine, therefore increasing the recall of the search. Note that, unlike a segmentation offered by a parser (Hermjakob et al., 2001), our phrases are not necessarily syntactic constituents. A statistics-based chunker also has the advantage that it can be used &amp;quot;as-is&amp;quot; for question segmentation in languages other than English, provided training data (i.e., plain written text) is avail-</Paragraph>
    </Section>
    <Section position="2" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
4.2 The SearchEngine Module
</SectionTitle>
      <Paragraph position="0"> This module consists of a configurable interface with available off-the-shelf search engines. It currently supports MSNSearch and Google. Switching from one search engine to another allowed us to measure the impact of the IR engine on the QA task.</Paragraph>
    </Section>
    <Section position="3" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
4.3 The Filter Module
</SectionTitle>
      <Paragraph position="0"> This module is in charge of providing the AnswerExtraction module with the content of the pages returned by the search engine, after certain filtering steps. One first step is to reduce the volume of pages returned to only a manageable amount. We implement this step as choosing to return the first N hits provided by the search engine.</Paragraph>
      <Paragraph position="1"> Other filtering steps performed by the Filter Module include tokenization and segmentation of text into sentences. null One more filtering step was needed for evaluation purposes only: because both our training and test data were collected from the Web (using the procedure described in Section 3), there was a good chance that asking a question previously collected returned its already available answer, thus optimistically biasing our evaluation. The Filter Module therefore had access to the reference answers for the test questions as well, and ensured that, if the reference answer matched a string in some retrieved page, that page was discarded. Moreover, we found that slight variations of the same answer could defeat the purpose of the string-matching check. For the purpose of our evaluation, we considered that if the question/reference answer pair had a string of 10 words or more identical with a string in some retrieved page, that page was discarded as well. Note that, outside the  How do herbal medications differ from conventional drugs? &amp;quot;How do&amp;quot; &amp;quot;herbal medications&amp;quot; &amp;quot;differ from&amp;quot; &amp;quot;conventional&amp;quot; &amp;quot;drugs&amp;quot; evaluation procedure, the string-matching filtering step is not needed, and our system's performance can only increase by removing it.</Paragraph>
    </Section>
    <Section position="4" start_page="0" end_page="11" type="sub_section">
      <SectionTitle>
4.4 The AnswerExtraction Module
</SectionTitle>
      <Paragraph position="0"> Authors of previous work on statistical approaches to answer finding (Berger et al., 2000) emphasized the need to &amp;quot;bridge the lexical chasm&amp;quot; between the question terms and the answer terms. Berger et al. showed that techniques that did not bridge the lexical chasm were likely to perform worse than techniques that did.</Paragraph>
      <Paragraph position="1"> For comparison purposes, we consider two different algorithms for our AnswerExtraction module: one that does not bridge the lexical chasm, based on N-gram co-occurrences between the question terms and the answer terms; and one that attempts to bridge the lexical chasm using Statistical Machine Translation inspired techniques (Brown et al., 1993) in order to find the best answer for a given question.</Paragraph>
      <Paragraph position="2"> For both algorithms, each 3 consecutive sentences from the documents provided by the Filter module form a potential answer. The choice of 3 sentences comes from the average number of sentences in the answers from our training corpus. The choice of consecutiveness comes from the empirical observation that answers built up from consecutive sentences tend to be more coherent and contain more non-redundant information than answers built up from non-consecutive sentences.</Paragraph>
      <Paragraph position="3">  N-gram co-occurrence statistics have been successfully used in automatic evaluation (Papineni et al. 2002, Lin and Hovy 2003), and more recently as training criteria in statistical machine translation (Och 2003).</Paragraph>
      <Paragraph position="4"> We implemented an answer extraction algorithm using the BLEU score of Papineni et al. (2002) as a means of assessing the overlap between the question and the proposed answers. For each potential answer, the overlap with the question was assessed with BLEU (with the brevity penalty set to penalize answers shorter than 3 times the length of the question). The best scoring potential answer was presented by the AnswerExtraction Module as the answer to the question.</Paragraph>
      <Paragraph position="5">  As proposed by Berger et al. (2000), the lexical gap between questions and answers can be bridged by a statistical translation model between answer terms and question terms. Their model, however, uses only an Answer/Question translation model (see Figure 3) as a means to find the answer.</Paragraph>
      <Paragraph position="6"> A more complete model for answer extraction can be formulated in terms of a noisy channel, along the lines of Berger and Lafferty (2000) for the Information Retrieval task, as illustrated in Figure 3: an answer generation model proposes an answer A according to an answer generation probability distribution; answer A is further transformed into question Q by an answer/question translation model according to a questiongiven-answer conditional probability distribution. The task of the AnswerExtraction algorithm is to take the given question q and find an answer a in the potential answer list that is most likely both an appropriate and  The AnswerExtraction procedure employed depends on the task T we want it to accomplish. Let the task T be defined as &amp;quot;find a 3-sentence answer for a given question&amp;quot;. Then we can formulate the algorithm as finding the a-posteriori most likely answer given question and task, and write it as p(a|q,T). We can use Bayes' law to write this as:</Paragraph>
      <Paragraph position="8"> Because the denominator is fixed given question and task, we can ignore it and find the answer that maximizes the probability of being both a well-formed and an appropriate answer as:  The decomposition of the formula into a questionindependent term and a question-dependent term allows us to separately model the quality of a proposed answer a with respect to task T, and to determine the appropriateness of the proposed answer a with respect to question q to be answered in the context of task T.</Paragraph>
      <Paragraph position="9"> Because task T fits the characteristics of the question-answer pair corpus described in Section 3, we can use the answer side of this corpus to compute the prior probability p(a|T). The role of the prior is to help downgrading those answers that are too long or too short, or are otherwise not well-formed. We use a standard tri-gram language model to compute the probability distribution p(*|T).</Paragraph>
      <Paragraph position="10"> The mapping of answer terms to question terms is modeled using Black et al.'s (1993) simplest model, called IBM Model 1. For this reason, we call our model  Model 1 as well. Under this model, a question is generated from an answer a of length n according to the following steps: first, a length m is chosen for the question, according to the distribution ps(m|n) (we assume this distribution is uniform); then, for each position j in q, a position i in a is chosen from which q j is generated, according to the distribution t(* |a</Paragraph>
      <Paragraph position="12"> ). The answer is assumed to include a NULL word, whose purpose is to generate the content-free words in the question (such as in &amp;quot;Can you please tell me...?&amp;quot;). The correspondence between the answer terms and the question terms is called an alignment, and the probability p(q|a) is computed as the sum over all possible alignments. We express this probability using the following formula:</Paragraph>
      <Paragraph position="14"> ) are the probabilities of &amp;quot;translating&amp;quot; answer terms into question terms, and c(a</Paragraph>
      <Paragraph position="16"> |a) are the relative counts of the answer terms. Our parallel corpus of questions and answers can be used to compute the translation table t(q</Paragraph>
      <Paragraph position="18"> ) using the EM algorithm, as described by Brown et al. (1993). Note that, similarly with the statistical machine translation framework, we deal here with &amp;quot;inverse&amp;quot; probabilities, i.e. the probability of a question term given an answer, and not the more intuitive probability of answer term given question.</Paragraph>
      <Paragraph position="19"> Following Berger and Lafferty (2000), an even simpler model than Model 1 can be devised by skewing the translation distribution t(* |a</Paragraph>
      <Paragraph position="21"> ) such that all the probability mass goes to the term a</Paragraph>
      <Paragraph position="23"> . This simpler model is called Model 0. In Section 5 we evaluate the proficiency of both Model 1 and Model 0 in the answer extraction task.</Paragraph>
    </Section>
  </Section>
  <Section position="6" start_page="11" end_page="11" type="metho">
    <SectionTitle>
5 Evaluations and Discussions
</SectionTitle>
    <Paragraph position="0"> We evaluated our QA system systematically for each module, in order to assess the impact of various algorithms on the overall performance of the system. The evaluation was done by a human judge on a set of 115 Test questions, which contained a large variety of non-factoid questions. Each answer was rated as either correct(C), somehow related(S), wrong(W), or cannot tell(N). The somehow related option allowed the judge to indicate the fact that the answer was only partially correct (for example, because of missing information, or because the answer was more general/specific than required by the question, etc.). The cannot tell option was used in those cases when the validity of the answer could not be assessed. Note that the judge did not have access to any reference answers in order to asses the quality of a proposed answer. Only general knowledge and human judgment were involved when assessing the validity of the proposed answers. Also note that, mainly because our system's answers were restricted to a maximum of 3 sentences, the evaluation guidelines stated that answers that contained the right information plus other extraneous information were to be rated correct.</Paragraph>
    <Paragraph position="1"> For the given set of Test questions, we estimated the performance of the system using the formula (|C|+.5|S|)/(|C|+|S|+|W|). This formula gives a score of 1 if the questions that are not &amp;quot;N&amp;quot; rated are all considered correct, and a score of 0 if they are all considered wrong.</Paragraph>
    <Paragraph position="2"> A score of 0.5 means that, in average, 1 out of 2 questions is answered correctly.</Paragraph>
    <Section position="1" start_page="11" end_page="11" type="sub_section">
      <SectionTitle>
5.1 Question2Query Module Evaluation
</SectionTitle>
      <Paragraph position="0"> We evaluated the Question2Query module while keeping fixed the configuration of the other modules (MSNSearch as the search engine, the top 10 hits in the Filter module), except for the AnswerExtraction module, for which we tested both the N-gram co-occurrence based algorithm (NG-AE) and a Model 1 based algorithm (M1e-AE, see Section 5.4).</Paragraph>
      <Paragraph position="1"> The evaluation assessed the impact of the statistical chunker used to transform questions into queries, against the baseline strategy of submitting the question as-is to the search engine. As illustrated in Figure 4, the overall performance of the QA system significantly increased when the question was segmented before being submitted to the SearchEngine module, for both AnswerExtraction algorithms. The score increased from 0.18 to 0.23 when using the NG-AE algorithm, and from 0.34 to 0.38 when using the M1e-AE algorithm.</Paragraph>
    </Section>
    <Section position="2" start_page="11" end_page="11" type="sub_section">
      <SectionTitle>
5.2 SearchEngine Module Evaluation
</SectionTitle>
      <Paragraph position="0"> The evaluation of the SearchEngine module assessed the impact of different search engines on the overall system performance. We fixed the configurations of the other modules (segmented question for the Question2Query module, top 10 hits in the Filter module), except for the AnswerExtraction module, for which we tested the performance while using for answer extraction the NG-AE, M1e-AE, and ONG-AE algorithms. The later algorithm works exactly like NG-AE, with the exception that the potential answers are compared with a reference answer available to an Oracle, rather than against the question.</Paragraph>
      <Paragraph position="1"> The performance obtained using the ONG-AE algorithm can be thought of as indicative of the ceiling in the performance that can be achieved by an AE algorithm given the potential answers available.</Paragraph>
      <Paragraph position="2"> As illustrated in Figure 5, both the MSNSearch and Google search engines achieved comparable performance accuracy. The scores were 0.23 and 0.24 when using the NG-AE algorithm, 0.38 and 0.37 when using the M1e-AE algorithm, and 0.46 and 0.46 when using the ONG-AE algorithm, for MSNSearch and Google, respectively. As a side note, it is worth mentioning that only 5% of the URLs returned by the two search engines for the entire Test set of questions overlapped. Therefore, the comparable performance accuracy was not due to the fact that the AnswerExtraction module had access to the same set of potential answers, but rather to the fact that the 10 best hits of both search engines provide similar answering options.</Paragraph>
    </Section>
    <Section position="3" start_page="11" end_page="11" type="sub_section">
      <SectionTitle>
5.3 Filter Module Evaluation
</SectionTitle>
      <Paragraph position="0"> As mentioned in Section 4, the Filter module filters out the low score documents returned by the search engine and provides a set of potential answers extracted from the N-best list of documents. The evaluation of the Filter module therefore assessed the trade-off between computation time and accuracy of the overall system: the size of the set of potential answers directly influences the accuracy of the system while increasing the computation time of the AnswerExtraction module. The ONG-AE algorithm gives an accurate estimate of the performance ceiling induced by the set of potential answers available to the AnswerExtraction Module.</Paragraph>
      <Paragraph position="1"> As illustrated in Figure 6, there is a significant performance ceiling increase from considering only the document returned as the first hit (0.36) to considering the first 10 hits (0.46). There is only a slight increase in performance ceiling, however, from considering the first  answer extraction algorithm for various N-best lists</Paragraph>
    </Section>
    <Section position="4" start_page="11" end_page="11" type="sub_section">
      <SectionTitle>
5.4 AnswerExtraction Module Evaluation
</SectionTitle>
      <Paragraph position="0"> The Answer-Extraction module was evaluated while fixing all the other module configurations (segmented question for the Question2Query module, MSNSearch as the search engine, and top 10 hits in the Filter module).</Paragraph>
      <Paragraph position="1"> The algorithm based on the BLEU score, NG-AE, and its Oracle-informed variant ONG-AE, do not depend on the amount of training data available, and therefore they performed uniformly at 0.23 and 0.46, respectively (Figure 7). The score of 0.46 can be interpreted as a performance ceiling of the AE algorithms given the available set of potential answers.</Paragraph>
      <Paragraph position="2"> The algorithms based on the noisy-channel architecture displayed increased performance with the increase in the amount of available training data, reaching as high as 0.38. An interesting observation is that the extraction algorithm using Model 1 (M1-AE) performed poorer than the extraction algorithm using Model 0 (M0-AE), for the available training data. Our explanation is that the probability distribution of question terms given answer terms learnt by Model 1 is well informed (many mappings are allowed) but badly distributed, whereas the probability distribution learnt by Model 0 is poorly informed (indeed, only one mapping is allowed), but better distributed. Note the steep learning curve of Model 1, whose performance gets increasingly better as the distribution probabilities of various answer terms (including the NULL word) become more informed (more mappings are learnt), compared to the gentle learning curve of Model 0, whose performance increases slightly only as more words become known as self-translations to the system (and the distribution of the NULL word gets better approximated).</Paragraph>
      <Paragraph position="3"> From the above analysis, it follows that a model whose probability distribution of question terms given answer terms is both well informed and well distributed is likely to outperform both M1-AE and M0-AE. Such a model was obtained when Model 1 was trained on both the question/answer parallel corpus from Section 3 and an artificially created parallel corpus in which each question had itself as its &amp;quot;translation&amp;quot;. This training regime allowed the model to assign high probabilities to identity mappings (and therefore be better distributed), while also distributing some probability mass to other question-answer term pairs (and therefore be well informed). We call the extraction algorithm that uses this model M1e-AE, and the top score of 0.38 was obtained by M1e-AE when trained on 1 million question/answer pairs. Note that the learning curve of algorithm M1e-AE in Figure 7 indeed indicates that this answer extraction procedure is well informed about the distribution probabilities of various answer terms (it has the same steepness in the learning curve as for M1-AE), while at the same time uses a better distribution of the probability mass for each answer term compared to M1-AE (it outperforms M1-AE by roughly a constant amount for each training set size in the evaluation).</Paragraph>
      <Paragraph position="4">  various answer extraction algorithms and different training set sizes</Paragraph>
    </Section>
  </Section>
class="xml-element"></Paper>
Download Original XML