<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Graph-based Word Clustering Applied to Question Answering and Reading Comprehension Tests</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Juan Martinez-Romo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lourdes Araujo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>NLP &amp; IR Group at UNED, ETSI Informatica UNED c/ Juan del Rosal</institution>
          ,
          <addr-line>16. E-28040 Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper describes our participation in the QA4MRE 2011 task, targeted at reading comprehension tests and multiple choice question answering. Our system constructs a co-occurrence graph with words that are common or proper nouns and verbs extracted from each document. The documents are pre-selected through an information retrieval process for recovering only those that are most relevant to a particular question. An algorithm to detect communities of words with signi cant co-occurrence is applied to the co-occurrence graph. Each of the detected communities are treated as di erent contexts of a question in the corpus, and these contexts are used to nd the most suitable answer. Our evaluation results suggest that, the number of retrieved documents is an important factor in the results.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Participants are provided with questions from three topics. Associated with each
topic, a reference corpus is available consisting of about 30,000 un-annotated
documents related to the topic. Documents in the corpus are used to acquire the
background knowledge needed to answer a test on the topic.</p>
      <p>Each topic is composed by several tests and each test consists of one single
document and a set of multiple choice questions having ve options each.
Participants have the option of not answering the question or to answer the question
by choosing one answer in each case. Our approach makes some assumptions
that will be tested in the following sections, namely:
1. The documents included in the reference collection deal with issues related
the topic they are associated.
2. It is possible to nd enough information in the Web to compile a background
knowledge similar to that provided by organizers.
3. There may be a vocabulary gap between the questions and the answers, so
the document from the test and the background can be used to bridge this
gap.
4. It is better not to answer a question whose answer is uncertain than to
provide a wrong answer.
5. Documents translated to di erent languages tend to contain redundant
information. This assumption avoids the management of multilingual texts
that would require additional processing time and linguistic resources.
3</p>
    </sec>
    <sec id="sec-2">
      <title>System architecture</title>
      <p>In this section we present the system developed for the QA4MRE 2011 task.
Our graph-based approach is speci cally designed to build a co-occurrence graph
and uses the detected communities to nd the correct answer to each question
proposed.
3.1</p>
      <sec id="sec-2-1">
        <title>Background Preprocessing</title>
        <p>The background knowledge on which we work in this paper is a reference corpus
consisting of about 30,000 un-annotated documents related to the topic.</p>
        <p>Corpus preprocessing aims to create a structure of documents where every
word is marked up as corresponding to a particular part of speech. All documents
are lemmatised and PoS tagged using the GENIA tagger 1. Instead of using all
words to construct the graph, only nouns and verbs are used, since they are more
discriminative than adverbs and adjectives. Accordingly, only nouns and verbs
are kept and lemmatised.
3.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Co-occurrence Graph</title>
        <p>We consider a document to be a coherent piece of meaning, so that it is natural
to make the basic assumption that all words appearing in the same document
1 www-tsujii.is.s.u-tokyo.ac.jp/GENIA/tagger
share a common meaning. Our aim is to create a link joining every two words
sharing a common meaning, so co-occurrence in the same document will be taken
as a proxy for this.</p>
        <p>In order to construct the graph our algorithm extracts from each document
the words that are common or proper nouns and verbs. The rest of the words
are considered too common to discriminate the meaning.</p>
        <p>
          The extracted words are then applied a stemming process, reducing them to
their stem with the aim of increasing the signi cance of the number of
occurrences. This is done applying the Porter algorithm [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. After these usual
preprocessing steps, the algorithm considers each pair of words (stems) and computes
the corresponding link between each pair of words.
3.3
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Detecting Communities</title>
        <p>The weighted graph we have built contains the relationships between di erent
words in the corpus. We apply an algorithm to detect communities of words with
signi cant co-occurrence.</p>
        <p>
          We have used the WalkTrap [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] program to compute communities in large
networks using random walks. This software measures the similarities between
vertices based on random walks.
        </p>
        <p>The algorithm starts from a partition of the graph into n communities
corresponding to the vertices and merges communities in order to optimize a function
called modularity which measures the quality of a partition. Distances between
all adjacent vertices are computed and this partition evolves by means of an
iterative process. Each iteration de nes a community merging which gives a
hierarchical structure of communities called dendrogram. The algorithm merges
the di erent communities taking into account the distances between adjacent
vertices. The quality of the communities generated at each step is used to choose
the optimal partition.
3.4</p>
      </sec>
      <sec id="sec-2-4">
        <title>Question Answering</title>
        <p>Each of the detected communities are treated as di erent contexts of a question
in the corpus. In this way, the text of the question is assigned to a community
and that community is considered the context of the question.</p>
        <p>Each question is assigned to a community based on their similarity. The
similarity between a question and each community is the co-occurrence of words
in the text of the question and the community.</p>
        <p>In the case of the answers the process is similar. First, each response is
assigned to a community. Then, the response that has the highest similarity to
the context of the question, is selected as the correct answer.</p>
        <p>In some cases, it is not possible to assign the text of the question to just a
community. Similarly, sometimes several answers get the highest similarity. In
these cases the question is not answered.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>System Scenarios</title>
      <p>In this section we present two background collections used for the QA4MRE
2011 task. In addition, the main tuning parameters are described in the next
sections.
4.1</p>
      <sec id="sec-3-1">
        <title>First variant: QA4MRE-2011-EN corpus</title>
        <p>Participants were allowed to submit a maximum of 10 runs. Also, rst runs
must have been produced using nothing more than the knowledge provided in
the reference collection. For that reason, our rst submitted runs use only the
information provided in the QA4MRE-2011-EN corpus. However, additional runs
could include other sources of information. Accordingly, the next section describe
the other corpus used in the task.</p>
        <p>In order to reduce the computation time, we have not used the whole reference
collection in the experiments, but we have carried out a selection of the most
relevant documents in the corpus to build the co-occurrence graph. We have
created an index with the documents in the reference collection to retrieve and
use only those that are most relevant to a particular question. The most relevant
documents are obtained from the similarity measure used by the search engine
implemented. The score of query q for document d correlates to the
cosinedistance between the document and the query vectors in a vector space model
(VSM) of information retrieval. A document whose vector is closer to the query
vector in that model is scored higher.</p>
        <p>
          Accordingly, we have carried out an indexing process where every document
of the considered topics has been indexed by ltering stopwords extracted from
a public list in the University of Glasgow2. For indexing tasks we used Lucene[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ],
which is a source information retrieval library. In addition, we have decided to
analyze the impact on the results of using stemming[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. For that, we have used
the Stemming algorithm by Porter, which is available at the Snowball Web site3.
        </p>
        <p>Finally, the system has three di erent indices for each of the documents
divided by topic. For each question, several queries are submitted to the index
by retrieving a variable number of documents in each query. The number of
documents retrieved in each case is a system parameter. Documents retrieved in
each case are used to build the co-occurrence graph.
4.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Second variant: IR process to build a new adapted corpus</title>
        <p>
          The second variant is a slight modi cation of our original proposal. In this case,
documents used to build the co-occurrence graph are retrieved from a commercial
search engine. For that, we have used the open search web services platform of
Yahoo! (BOSS4). Documents are obtained by submitting several queries to the
2 http://ir.dcs.gla.ac.uk/resources/linguistic utils/
3 http://snowball.tartarus.org/
4 http://developer.yahoo.com/search/boss/
search engine composed of terms extracted from the di erent sources (text of the
question, answers, topic). Our system performs a form of query expansion[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], a
well-known method to improve the performance of information retrieval systems.
In this method the expansion terms have to be very carefully selected to avoid
worsening the query performance. The way in which terms are extracted and
query expansion process is carried out is described in [
          <xref ref-type="bibr" rid="ref4 ref5">5, 4</xref>
          ].
4.3
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>Tuning parameters</title>
        <p>The experiments generated for the task have been carried out considering
different parameters in their con guration. First, we have used two reference
collections; the collection provided by the organizers and another one built from a
set of queries submitted to a search engine. Second, the number of documents
retrieved for each query is an important factor a ecting the size of the graph.
Thus, several values were taken to analyze their in uence on the results. Finally,
in some cases the documents have been indexed by ltering stopwords and in
other cases we have not used any lter.</p>
        <p>The con guration of the di erent runs can be seen in Table 1.</p>
        <p>Run Collection
uned1101enen QA4MRE-2011-EN
uned1102enen QA4MRE-2011-EN
uned1103enen QA4MRE-2011-EN
uned1104enen QA4MRE-2011-EN
uned1105enen QA4MRE-2011-EN
uned1106enen QA4MRE-2011-EN
uned1107enen QA4MRE-2011-EN
uned1108enen QA4MRE-2011-EN
uned1109enen API Yahoo! BOSS
# Docs Filter
100 No Filter
75 Stopwords
75 No Filter
50 Stopwords
50 No Filter
40 Stopwords
40 No Filter
20 Stopwords
20 Stopwords
Table 2 shows the results for the submitted runs, including answered questions,
unanswered, answered right, answered wrong, unanswered right, unanswered
wrong, unanswered empty, and c@1 measure.</p>
        <p>Figure 1 illustrates the results for submitted runs per topic. Topic 3 that
corresponds to Music and society obtains the best average results with respect</p>
        <p>Run Ans. Unans. A.R. A.W. U.R. U.W. U.E. Overall c@1
uned1101enen 77 43 24 53 0 0 43 0.27
uned1102enen 63 57 17 46 0 0 57 0.21
uned1103enen 60 60 16 44 0 0 60 0.20
uned1104enen 53 67 12 41 0 0 67 0.16
uned1105enen 50 70 13 37 0 0 70 0.17
uned1106enen 45 75 11 34 0 0 75 0.15
uned1107enen 39 81 10 29 0 0 81 0.14
uned1108enen 16 104 2 14 0 0 104 0.03
uned1109enen 67 53 20 47 0 0 53 0.24
to each run submitted, it even improves results of the overall. Topic 2, that
corresponds to 'Climate Change', gets the best c@1 measure, and far exceeds
the runs 1 and 9 the overall measure. Topic 1 (AIDS) in almost all cases has
obtained a c1 measure lower than overall.
6</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>Analyzing the results, it can be said that the in uence of the collection is a
very important factor in the quality of the results. Although only one run
(uned1109enen) has been submitted using the collection built from queries in
a search engine, the di erence is clear when compared with the equivalent run
generated from the reference collection (uned1108enen). First, the number of
answered questions is four times greater (67 vs 16) than with the collection
provided by the organizers. Second, the c@1 measure is eight times higher (0.24 vs
0.03). This di erence is surprising since the collection provided by the organizers
should have only documents of a given topic, while queries in a search engine
are performed on the whole Web.</p>
      <p>The number of retrieved documents is also an important factor in the results.
In the case of retrieving 20 documents for each query, the c@1 measure obtained
is more than 9 times (0.03 vs. 0.27) than retrieving 100 documents.</p>
      <p>Finally, it was probed that ltering stopwords has not produced a clear
effect on the results, although in previous experiments that ltering provided a
signi cant di erence as to compare the results.
7</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work has been partially supported by the Spanish Ministry of Science and
Innovation within the project Holopedia (TIN2010-21128-C02-01) and the
Regional Government of Madrid under the Research Network MA2VICMR
(S2009/TIC1542).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>E. N.</given-names>
            <surname>Efthimiadis</surname>
          </string-name>
          .
          <article-title>Query expansion</article-title>
          .
          <source>Annual Review of Information Systems and Technology</source>
          ,
          <volume>31</volume>
          :
          <fpage>121</fpage>
          {
          <fpage>187</fpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Otis</given-names>
            <surname>Gospodnetic</surname>
          </string-name>
          and
          <string-name>
            <given-names>Erik</given-names>
            <surname>Hatcher</surname>
          </string-name>
          . Lucene in Action. Manning,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Christopher</surname>
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Manning</surname>
          </string-name>
          , Prabhakar Raghavan, and Hinrich Schutze. Introduction to Information Retrieval. Cambridge University Press,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Juan</surname>
            Martinez-Romo and
            <given-names>Lourdes</given-names>
          </string-name>
          <string-name>
            <surname>Araujo</surname>
          </string-name>
          .
          <article-title>Web spam identi cation through language model analysis</article-title>
          .
          <source>In AIRWeb</source>
          , pages
          <volume>21</volume>
          {
          <fpage>28</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Juan</surname>
            Martinez-Romo and
            <given-names>Lourdes</given-names>
          </string-name>
          <string-name>
            <surname>Araujo</surname>
          </string-name>
          .
          <article-title>Analyzing information retrieval methods to recover broken web links</article-title>
          .
          <source>In Advances in Information Retrieval</source>
          , volume
          <volume>5993</volume>
          of Lecture Notes in Computer Science, pages
          <volume>26</volume>
          {
          <fpage>37</fpage>
          . Springer Berlin / Heidelberg,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Pascal</given-names>
            <surname>Pons</surname>
          </string-name>
          and
          <string-name>
            <given-names>Matthieu</given-names>
            <surname>Latapy</surname>
          </string-name>
          .
          <article-title>Computing communities in large networks using random walks</article-title>
          .
          <source>In Computer and Information Sciences - ISCIS</source>
          <year>2005</year>
          , volume
          <volume>3733</volume>
          of Lecture Notes in Computer Science, pages
          <volume>284</volume>
          {
          <fpage>293</fpage>
          . Springer Berlin - Heidelberg,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Porter</surname>
          </string-name>
          .
          <article-title>An algorithm for su x stripping</article-title>
          .
          <source>Program</source>
          ,
          <volume>14</volume>
          (
          <issue>3</issue>
          ):
          <volume>130</volume>
          {
          <fpage>137</fpage>
          ,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>