<!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>A Shallow Approach for Answer Selection based on Dependency Trees and Term Density</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Manuel Pérez-Coutiño</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Manuel Montes-y-Gómez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aurelio López-López</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luis Villaseñor-Pineda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aarón Pancardo-Rodríguez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Measurement, Performance, Experimentation</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Luis Enrique Erro No.</institution>
          <addr-line>1, CP 72840, Sta. Ma. Tonantzintla, Pue.</addr-line>
          ,
          <country country="MX">México</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Vanguard Engineering Puebla (VEng) Recta a Cholula 308-4, CP 72810, San Andrés Cholula</institution>
          ,
          <addr-line>Pue.</addr-line>
          ,
          <country country="MX">México</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2004</year>
      </pub-date>
      <abstract>
        <p>This paper describes the experiments performed for the QA@CLEF-2006 within the joint participation of the eLing Division at VEng and the Language Technologies Laboratory at INAOE. This year our laboratories have participated in the Spanish monolingual task, continue with their previous work described in [Pérez-Coutiño et al., 2005]. The aim of these experiments was to observe and quantify the possible improvement at the final step of the Question Answering prototype when some syntactic features were taken into the decision process. In order to reach this goal, a shallow approach to answer ranking based on the term density measure has been included. This measure weighs the number of question terms which have a syntactic dependency to one candidate answer within a relevant passage to the given question. Once the term density has been computed for each candidate answer, their weights along to the weights gathered in the previous steps are merged by a lineal combination to gather the final weight for each candidate answer. Finally, the answer selection process arranges candidate answers based on their weights, selecting the top-n as the Question Answering system answers. The approach described has shown a small but interesting improvement against the same Question Answering prototype without this module. Nevertheless, there are many variables to consider for a substantial improvement of the whole Question Answering system, and particularly at the initial steps, where passage retrieval and candidate answer selection are determinant for the improvement of system's recall.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Over the last years, the research of Question Answering (QA) systems for European languages has shown an
incremental growing both in interest as well as in complexity. Particularly, QAs for Spanish has been formally
evaluated within the CLEF initiative since 2003 [Magnini et al., 2003] when just one QA system for Spanish was
proposed. In QA@CLEF-2004 [Magnini et al., 2004], there were a total number of five proposed QA systems
for Spanish developed by four research groups from Spain and the one developed by INAOE (Mexico). Finally
in QA@CLEF-2005 [Vallin et al., 2005], the total number of proposed QAs arose to seven, developed by six
research groups from Spain, one developed by INAOE, and the joint participation between INAOE and the
Polytechnic University of Valencia (Spain). Those QA systems have explored different approaches to cope with the
whole QA problem, analyzing several methodologies from purely data-driven [Vicedo et al., 2003;
Montes-yGómez et al., 2005] to in-depth natural language processing (NLP) [Ferrés et al., 2005]. Despite the methods
used within some particular QA approach, the improvement of factoid questions resolution has been measured.</p>
      <p>Starting on 2003, the QA research interests within the Language Technologies laboratory at INAOE have
been directed in two main lines, on one hand, the development of QA systems for Spanish applying shallow NLP
techniques in order to gather information models from which the system is able to extract answers to factoid
questions. On the other hand, the development of full data-driven approaches to cope with the extraction of
answers for both, factoid and definition questions. Those approaches have obtained encouraging results within
CLEF campaigns, including the best overall accuracy for Spanish monolingual task at QA@CLEF-2005
[PerezCoutiño et al., 2005].</p>
      <p>This paper shows the prototype developed as a shared effort between the recently formed eLing Division at
VEng1 and the Language Technologies laboratory at INAOE. This approach continues with the previous work of
the authors [Perez-Coutiño et al., 2005] to cope with factoid questions resolution. The aim of these experiments
was to observe and quantify the possible improvement at the final step of a Question Answering prototype (i.e. at
the answer selection step), as a consequence of introducing some syntactic features to the decision process. In
order to reach this goal, the following key points have been included in the QA prototype: i) A syntactic parser
based on dependency grammars for offline processing; ii) a shallow technique to weigh the number of question
terms which have a syntactic dependency to one candidate answer within a relevant passage to the given
question (aka term density); iii) a lineal combination for merging the term density of each candidate answer along to
the weights gathered in the previous steps to obtain its final weight. Once all these values are computed, the
answer selection process arranges candidate answers based on their weights, selecting the top-n as the Question
Answering system answers. The approach described in this document has shown a small but interesting
improvement up to 15% against the same Question Answering prototype without this module. Nevertheless, there
are many variables to consider for a substantial improvement of the whole Question Answering system, and
particularly at the initial steps, where passage retrieval and candidate answer selection are determinant for the
improvement of system’s recall.</p>
      <p>The rest of the paper is organized as follows, section two summarizes the architecture of the prototype;
section three exposes the details of the new elements within the prototype architecture; section four discusses
training and official results achieved by the system at QA@CLEF-2006. Finally section five draws the preliminary
conclusions of these experiments and discusses further work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Prototype Architecture</title>
      <p>As stated before, the system developed is based on the previous works of the authors [Pérez-Coutiño et al.,
2005], where the most important modification relies on the inclusion of syntactic features to the decision process
at the answer selection module. Figure 1 shows the main blocks of the system. It could be noticed that factoid
and definition questions are handled independently. This report is focused in the factoid questions resolution
process, while details of the processes involved in the creation and use of definition patterns aimed to answering
definition questions can be found in [Denicia-Carral et al., 2006]2.</p>
      <p>Factoid question treatment consists of the following steps: question processing, which includes the extraction
of named entities and lexical context in the question, as well as question classification to define the semantic
class of the answer expected to respond to a given question; documents processing, where the preprocessing of
the supporting document collection is done in parallel by a passage retrieval system (PRS)and a shallow NLP,
including the syntactic analysis of the document collection; searching, where a set of candidate answers is
obtained from the modeled passages retrieved by the PRS; and finally answer extraction, where candidate answers
are weighted and ranked in order to produce the final answer recommendation of the system. Next paragraphs
summarize the initial steps of the prototype whilst section three and four discuss the new ones.
2.1 Question Processing. Our prototype implements this step following a straight forward approach involving
the next steps:
1. Question is parsed with a set of heuristic rules in order to get its semantic class.
2. Question is tagged with the MACO POS tagger [Carreras and Padró, 2002]
3. Question’s named entities are identified and classified using MACO.</p>
      <p>The first step is responsible of identify the semantic class of the expected answer. In the experiments
performed with the training data set, we found that when the number of classes was minimal (just 3 classes: date,
1 The eLing Division at Vanguard Engineering is a private effort of recent foundation to develop business applications based
on Language Technologies and Knowledge Management. In order to receive further information contact to Manuel
PérezCoutiño (mapco AT v-eng.com)
2 In order to avoid redundancy between reports this year we decided to leave the discussion of answering definition questions
out of the scope of this report. The reader can find a discussion of the method evaluated for definition questions in this
volume under the title “INAOE at CLEF 2006: Experiments in Spanish Question Answering”.
quantity and proper noun) it was possible to achieve similar results in precision to those achieved when we use
more than five classes, for instance person, organization, location, date, quantity and other. Steps 2 and 3
produce information used later during the searching step, mainly to match questions and candidate answer context,
contributing to the weighted schema.
2.2 Documents Processing. This year the prototype included an additional element for the syntactic parsing of
the document collection. Thus the processing of target documents is composed of three parts, first the whole
document collection is tagged with MACO[Carreras and Padró, 2002], gathering the POS tags as well as named
entities identification and classification for each document in the collection. In the second part of the process,
and in parallel to the first one, the whole document collection is tagged with the FDG Parser from Conexor3,
which is based in the Functional Dependency Grammar discussed in [Järvinen &amp; Tapanainen, 1997]. The final
part of this step is performed by the JIRS [Gómez-Soriano et al., 2005] passage retrieval system (PRS), which
create the index for the searching process. The index gathered by JIRS and the tagged collection are aligned
phrase by phrase for each document in the collection. This way, the system could retrieve later the relevant
passages for a given question with JIRS, and then use their tagged form for the answer extraction process.
2.3 Searching. This step is performed in two parts. The first part consists of the retrieving of relevant passages
for the given question. This step is performed by JIRS, taking as input the question without previous processing.
JIRS is a PSR specially suited for question answering systems. JIRS ranks the retrieved passages based on the
computation of a weight for each passage. The weight of a passage is related to the lager n-gram structure of the
question that can be found in the passage itself. The larger the n-gram structure, the greater the weight of the
passage. A complete discussion of the similarity metrics used by JIRS and details of its evaluation can be found
in [Gómez-Soriano et al., 2005].</p>
      <p>Once the relevant passages are selected, the second part requires the POS and Parsing tagged forms of each
passage in order to gather the representation used to extract candidates answers. Tagged passages are represented
as described in [Pérez-Coutiño et al., 2004] where each retrieved passage is modeled by the system as a factual
text object whose content refers to several named entities even when it is focused on a central topic. As
mentioned, named entities could be one of these: persons, organizations, locations, dates, quantities and
miscellane3 http://www.conexor.com with an online demo of their software.
ous4. The model assumes that the named entities are strongly related to their lexical context, especially to nouns
(subjects) and verbs (actions). Thus, a passage can be seen as a set of entities and their lexical context. Such
representation is used later in order to match question’s representation with the best set of candidates gathered
from passages.
2.4 Answer Extraction. One of the drawbacks found in our previous work was the lost of precision during
answer extraction step. Once the system applies different criteria to obtain a set of candidate answers, it
computes for each candidate answers a lexical weight in order to rank the best candidate answers (see formula 1)
and then select the top-n as the system answers. However, there were situations where several candidate answers
could have the same weight. In order to avoid such situations, we have included syntactic information to
compute an additional weight which is later combined with the lexical weight to obtain the final one used to
rearrange the candidate answers. Next section discusses this concept.
(1)
i=1..k; k=number of passages retrieved by JIRS
vated features,
t</p>
      <p>Whereω lex is the assigned weight for a candidate answer; q is 1 if the semantic class of the candidate answer
is the same that the question’s one and 0 in other case; n is a normalization factor based on the number of
actiNE</p>
      <p>q is the set of named entities in the question and NEA is the set of named entities in the
context of the candidate answer;</p>
      <p>C</p>
      <p>q is the question’s context and C A is the candidate answer’s context; FA (Pi ) is
of the candidate answer in the passages retrieved by JIRS; and
ranking.
the frequency of occurrence of the candidate answer in the passage i; FA (P) is the total frequency of occurrence
1− Pi
k −1 is an inverse relation for the passage
3</p>
    </sec>
    <sec id="sec-3">
      <title>Adding Syntactic Features</title>
      <p>In order to improve the precision at the answer selection step, we have experimented with the inclusion of a
shallow approach based on the use of some syntactic features. The main characteristic of this approach relies on
the kind of information used to compute an additional weight to rearrange the set of candidate answers
previously selected by a lexical supported method. This approach is flexible given that one of the factors taken in
mind was to realize the amount of errors that a parser could yield.
3.1 Key observations of the method. There are different approaches to the use of syntactic information within
the QA task. Some of them try to found a direct similarity between question structure and those of the candidate
answers. This kind of similarity is commonly supported by a set of syntactic patterns which are expected to be
matched by the answers. Some systems applying this approach are described in [Bertagna et al., 2004; Roger et
al., 2005; Aunimo &amp; Kuuskoski, 2005]. Other proposals, like the one presented by Tanev [Tanev et al., 2005]
apply transformations to the syntactic tree of the question in order to approximate it to the trees of the relevant
passages, where it is supposed that an answer is present.</p>
      <p>Despite the degree of effectiveness of those approaches, their principal drawback comes up when the parsing
is deficient. With this limitation in mind, and trying to work around the gap of parsers for Spanish, our proposal
is supported by the following observations of the dependency trees obtained by means of DFG parser.
1. There are important structural differences between questions dependency trees and those gathered from
their relevant passages.
2. For a given question, its dependency tree states both, functional and structural dependencies starting
from the main verb within the sentence, clearly delimiting other relations like subject, agent, object, etc.
Contrasting this fact, dependency trees gathered from the relevant passage of the given question, could
be seen as a forest, where functional and structural relations –which could possible lead the process to
the accurate answer– are broken from one tree to another.
4 The semantic classes used rely on the capability of the named entity classifier used in our experiments.
3. Finally, dependency trees gathered from the relevant passages to a given question could enclose a high
number of question terms related to several candidate answers.</p>
      <p>Figure 2 shows some examples of these observations.</p>
      <sec id="sec-3-1">
        <title>Notice the differences between question and relevant pas</title>
        <p>sage structures. Besides, the analysis of the question shows
the second case, whilst the passage tree could be seen as a
forest. Finally, the tree where the answer is found “Take
That” does not contain any question terms.</p>
      </sec>
      <sec id="sec-3-2">
        <title>This example shows the tree gathered from the relevant</title>
        <p>passage to the question: ¿Qué político liberal fue ministro de
Sanidad italiano entre 1989 y 1993?</p>
      </sec>
      <sec id="sec-3-3">
        <title>Notice that the accurate answer “De Lorenzo”, occurs</title>
        <p>within this tree, and relates several question terms to it.
3.2 Term Density. In order to cope with these observations, we propose a straight forward metric to capture and
weigh up the question terms which are nearest to a candidate answer within a relevant passage. Formula 2 shows
those relations, which we have named the term density within a dependency tree.</p>
      </sec>
      <sec id="sec-3-4">
        <title>Given:</title>
        <p>Q = {t1, t2...tn}, the questions terms (lemmas)
W = {w1, w2...wk }, the passages’ terms (lemmas)
Ci ⊂ W , the terms (lemmas) of the i-th candidate answer.</p>
        <p>A subtree xα (w1,...,*,..., wh ) : w1...wh depends on xα</p>
        <p>Then, δ q (Ci ) =
1</p>
        <p>∑ f (t j ) ⇔ ∀w∈ Ci , w, xα ;
n ∀t∈Q
1, t j , xα ó t j (*)
f (t j ) = 
0, else
(2)
than 0.5, in other case, δ q =0
The algorithm applied in order to compute the term density for a candidate answer involves the following steps.
1. For each relevant passage of a given question
1.1. Retrieve the dependency tree for that passage
1.2. For each candidate answer within the passage
1.2.1. Retrieve the subtree where the candidate answer occurs
1.2.2. Apply formula 2 (δ q )
1.2.3. Compute the maximum δ q for each candidate answer, then preserve it if it is greater
Finally, computes the total weight of each candidate answer merging the lexical and syntactic
weights with formula 3.</p>
        <p>ω (C ) = αω lex (C ) + βδ q (C )
i i i
(3)
Where ωlex is the result of computing formula 1; α and β coefficients has been selected experimentally, giving
them valuesα = 1/ 3 , and β = 2 / 3 . This way the syntactic weight has a greater confidence.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments and Results</title>
      <p>This section discusses some results achieved with training questions as well as the experiment ran for the
evaluation of the proposed prototype within the Spanish monolingual task at the QA@CLEF-2006.
4.1 Training Experiments
These experiments were performed over several training sets including the evaluation set of last year
QA@CLEF. Through training experiments of the QA prototype we can observe a significant improvement in the
final answer selection step. For the case of training with the QA@CLEF-2005 evaluation set, the accuracy of the
system was increased over 7% for factoid questions, whilst the improvement in temporal restricted factoid
questions achieved a 15%. These percentages represent a good progress giving that over the last years the rate of
improvements in the results of Spanish factoid questions evaluation has been gradually.</p>
      <p>Table 1 shows some examples of the increasing rank for candidate answers with high term density.
This year the evaluation of QA systems at CLEF included factoid, definition, temporal and list questions. The
organizers provide to participants with a set of 200 unclassified questions, i.e. there were not markers to indicate
the type of expected answer. Another novelty was that teams must provide answers with the specific passage
where the answer was extracted from. The later was used to facilitate the evaluation of answers.</p>
      <p>We participate in the evaluation with one run. The configuration applied considers three classes of possible
answers, Date, Quantity and Proper Nouns; the system analyzes the first 100 1-line passages retrieved by JIRS;
the lexical context used was formed with nouns, named entities, verbs, and adjectives, and the size of the
window context is 8 words. Table 2 shows the results of the evaluation.</p>
      <p>Despite the fact that our results (for factual questions) were only over 2% better than last year, we believe that
the approach described could be a good starting point to the introduction of syntactic information to the answer
selection process. Some errors observed while training include the confusion of accurate answers by candidate
answers that have a term density similar or greater to the right answer. A detailed analysis of these results will
help us to take the next direction in our research.</p>
      <p>Run</p>
      <sec id="sec-4-1">
        <title>Right</title>
        <p>Wrong
ineXact
Unsupported
Overall Accuracy
Factoid Questions
Definition Questions
Temporally Restricted Factoid Questions
Overall Confidence Weighted Score
(CWS) over F, D, and TR
This work has presented a method for the inclusion of syntactic information within the final process of answer
selection in a QA system. The approach relies in the use of a flexible metric which allows measuring the amount
of question terms which have a syntactic dependence to the candidate answers. Although official evaluation does
not reach the expectation, preliminary results have demonstrated a significant improvement in the answer
selection step. This drive us to think that it could be possible to apply syntactic information in several ways in order to
cope with the problem of partial or even more, deficient syntactic trees (in particular dependence trees).</p>
        <p>Despite the low increasing in the official evaluation, the methods applied at different steps of the QA process
are stable; this conclusion can be dropped from the fact that the prototype has reached its last year performance.</p>
        <p>It is important to realize that the additions to our QA prototype presented in this document are limited by the
previous processes. This means that the proposed method is not able to extract new candidate answers. Therefore
our next steps into QA systems development must be done in the direction of improving system’s recall.
Acknowledgements. This work was done under partial support of Vanguard Engineering Puebla SA de CV,
CONACYT (Project Grants U39957-Y and 43990), SNI-Mexico, and the Human Language Technologies
Laboratory of INAOE. We also like to thanks to the CLEF as well as EFE agency for the resources provided.
[Aunimo and Kuuskoski, 2005] Aunimo L., Kuuskoski R., Question Answering using Semantic Annotation, 6th
Workshop of the Cross-Language Evaluation Forum (CLEF 2005), Peters C, September 2005, Vienna, Austria
[Bertagna et al., 2004] Bertagna F., Chiran L., Simi M., QA at ILC-UniPi: Description of the Prototype, in
Working Notes for the Cross Language Evaluation Forum Workshop, (CLEF-2004), Carol Peters and Francesca
Borri (Eds.), September 2004, Bath, England
[Carreras and Padró, 2002] Carreras, X. and Padró, L. A Flexible Distributed Architecture for Natural Language
Analyzers. In Proceedings of the LREC’02, Las Palmas de Gran Canaria, Spain, 2002.
[Denicia-Carral et al., 2006] Denicia-Carral C., Montes-y-Gómez M., Villaseñor-Pineda L. and
GarcíaHernández R., A Text Mining Approach for Definition Question Answering, to appear in Proceedings for the
Fifth International Conference on Natural Language Processing (FinTal 2006), Turku, Finland, August 2006.
[Ferrés et al., 2005] Ferrés D., Kanaan S., González E., Ageno A., Rodríguez H., The TALP-QA system for
Spanish at CLEF 2005, 6th Workshop of the Cross-Language Evaluation Forum (CLEF 2005), Peters C, September
2005, Vienna, Austria
[Gómez-Soriano et al., 2005] Gómez-Soriano, J.M., Montes-y-Gómez, M., Sanchis-Arnal, E., Rosso, P. A
Passage Retrieval System for Multilingual Question Answering, to appear in the 8th International Conference on
Text, Speech and Dialog, TSD, Springer LNAI, 2005.
[Montes-y-Gómez et al., 2005] Montes-y-Gómez, M., Villaseñor-Pineda L., Pérez-Coutiño, M., Gómez-Soriano
J.M., Sanchis-Arnal, E., and Rosso P., “INAOE-UPV Joint Participation at CLEF 2005: Experiments in
Monolingual Question Answering”, 6th Workshop of the Cross-Language Evaluation Forum (CLEF 2005), Peters C,
September 2005, Vienna, Austria.
[Pérez-Coutiño et al., 2004] M. Pérez-Coutiño, T. Solorio, M. Montes-y-Gómez, A. López-López and L.
Villaseñor-Pineda, “Toward a Document Model for Question Answering Systems”, Advances in Web Intelligence:
proceedings / Second International Atlantic Web Intelligent Conference AWIC04 Cancun, Mexico, May, 2004.
Jesus Favela et al. (Eds.) LNAI 3034, pp. 145-154, Springer-Verlag 2004.
[Pérez-Coutiño et al., 2005] Pérez-Coutiño M., Montes-y-Gómez M., López-López A. and Villaseñor-Pineda L.,
“Experiments for tuning the values of lexical features in Question Answering for Spanish”, 6th Workshop of the
Cross-Language Evaluation Forum (CLEF 2005), Peters C, September 2005, Vienna, Austria..
[Roger et al., 2005] Roger S., Ferrández S., Ferrández A., Peral J., Llopis F., Aguilar A., and Tomás D., AliQAn,
Spanish QA System at CLEF-2005. 6th Workshop of the Cross-Language Evaluation Forum (CLEF 2005),
Peters C, September 2005, Vienna, Austria.
[Tanev et al., 2005] Tanev H., Kouylekov M., Magnini B., Negri M., and Simov K., Exploiting Linguistic
Indices and Syntactic Structures for Multilingual Question Answering: ITC-irst at CLEF 2005, 6th Workshop of the
Cross-Language Evaluation Forum (CLEF 2005), Peters C, September 2005, Vienna, Austria.
[Tapanainen &amp; Järvinen] Tapanainen P., Järvinen T., A Non-Projective Dependency Parser, in Proceedings of
the 5th Conference on Applied Natural Language Processing, 1997.
[Vallin et al., 2005] Vallin A., Magnini B., Giampiccolo D., Aunimo L., Ayache C., Osenova P., Peñas A., de
Rijke M., Sacaleanu B., Santos D., Sutcliffe R., Overview of the CLEF 2005 Multilingual Question Answering
Track., in Working Notes for the Cross Language Evaluation Forum Workshop (CLEF-2005), Carol Peters
(Ed.), September 2005, Vienna, Austria, ISTI-CNR, Italy 2005.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>