<!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>Cosine similarity as Machine Reading Technique</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gaurav Arora</string-name>
          <email>arora@daiict.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Prasenjit Mazumder</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dhirubhai Ambani Institute of Information and Communication Technology gaurav</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Question answering for Machine reading evaluation track is a aim to check machine understanding ability of a machine.As we analyzed most crusial part for e cient working of this system is to select text which needs to be considered for understanding since understanding text would involve a lot of NLP processing. This paper covers our submitted system for QA4MRE campaign, Which mostly focuses on two part rst being selecting text from comprehension and background knowledge needed to be understand and second being eliminating or ranking options based on selected text from former step.Our main focus was on eliminating and ranking which boils down to tunning various parameter for selection whether to answer particular question if answered how to consider scores,Following methods like calculating cosine between question and passage sentences,cosine of named entities output of passage sentences and question were also considered for scoring .In addition to this basic frame work of our system negation of sentences were also considered to answers which received very close score.We also considered expansion of question and options respectively to collect relevant information from background collection.Entity Co-referencing and normalization were some of important preprocessing to consider on passage and background collection as we analyzed since it can increase score of sentence or option which do not directly mention entity.</p>
      </abstract>
      <kwd-group>
        <kwd>QA4MRE</kwd>
        <kwd>openephyra</kwd>
        <kwd>machine reading</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The irlab ,DA-IICT participated in QA4MRE campaing in CLEF 2011 to test
how elimination strategry works in Question Answering in comprehension
passage.Organized task tries to address basic problem of understanding text with
comprehension passage questions.With a lot of breakthroughs in Natural
Language Processing and Machine learning,text understanding have attracted a lot
of researcher.Task aims to understand certain relevant portion of text from
passage or background knowleadge to answer question with deep understanding of
text.Major challenges to be addressed are selecting portions of text to
understand as whole background knowledge and passage cannot be understood due to
involovement of heavy NLP processing and real time response time constrain to
answer question.Second major challenge is selecting or eliminating option based
on undertanding of understanding of choosen part of passage and passage.</p>
      <p>Our main focus was on selecting relevant text to understand as further
system depends on performance of this step.various techniques like cosine value
of plain text,cosine value of Named Entity Tagged sentences ,combination of
both.Various other variation like theasurus conversion befor nding cosine,Adding
option to question were done to increase quality of relevant text extracted for
understanding.One of problem while answering question is to select wheather to
answer question or not .Selecting threshold for deciding to answers question was
also a challenge to address.Since in question answering system its better to leave
question if system feels it dont have enough understanding to answer underlined
question.Broadly these were challenges we addressed participating in QA4MRE
campaign</p>
      <p>The paper is organized as follows. We describe the devel-oped system in
Section 2, report the experiment results for 120 questions on 3 di erent topics
in Section 3, and conclude in Section 4.
2</p>
    </sec>
    <sec id="sec-2">
      <title>System</title>
    </sec>
    <sec id="sec-3">
      <title>Description</title>
      <p>We describe our system for answering comprehension type question based on
knowledge acquired from passage , background knowledge documents.To ansswer
question system based on question rst try to identfy text which should be
understood,based on this identi ed text question is answered by elimination.Since
for all question it is di cult to get proper text hence selecting wether to answer
question is very crusial and is being addressed by selecting and checking various
threshold values.
2.1</p>
      <sec id="sec-3-1">
        <title>Text Selection for understanding:</title>
        <p>To answer question sentences in comprehension passage need to be ranked based
on relevance to the question .The dataset used for the track contains background
collection on three topics and series of test containing single document test
document with several question and set of choices per question provided by organizer
of tracks.Since by manual inspection it was observed that most of answers were
residing in passage,Finding out relevent sections of passage to questions was
crucial.To address this issue cosine similarity sentence ranking was used. Cosine
Similarity sentences Ranking: Cosine similarity I.e dot product of sentence and
question was taken and dot product of both were taken as similarity measure for
ranking sentence and as due to absence of terms in question in comprehension
passage many times passages sentences were not ranked appropirately I.e any
junk sentences were getting a higher rank.So as a conter measure to that we
found solution to be add option which is provided to us in question while we are
maching it with sentences of comprehension passage This actually helped us in
increasing scores of good sentences for question.by altering this relevant sentences
were ranked higher . This ranking of sentence gave score to each of sentences
in passage i.e relevance score w.r.t question to each sentence.Score was used to
judge wheather sentence should be considered for answering or not.manual
inspection was used to decide upon the threshold of sentence selection. Since we
mentioned sentence selection is very critical for working of overall system,Cosine
Similarity sentence ranking performed wasnot able to get any relevent sentences
for a lot of questions.Few methods like Theasurus conversion and option addition
were tried to improve the accuracy of sentence.techiniques are descibed below</p>
        <p>Theasurus conversion: Since all resources options , questions and best ranked
sentences of passages can have di erent style of words and written with di erent
language so it is necessary to convert all important words to same domain of same
word.. Option addition: In cosine similarity sentence ranking method we found
cosine similarity with question in this we added all options to the question string
while nding cosine similarity.This helped us in nding relevent sentences for a
lot of sentences were cosine similarity method failed to score relevent sentences
higher,in some case it also incresed false positive rate i.e selection of unrelevent
sentence .</p>
        <p>Other than cosine similarity we tried cosine similarity of Named Entity
cosine similarity,in this method cosine similarity was calculated for Named entity
tags of sentences in passage and question to score sentences with relevance.but
this method was dropped later on as it was not ranking sentences properly as
sentences had very few named entities and ranking just based on type of tags
present in it leads us to very less named entities which made scoring irrelevant.</p>
        <p>Atlast Cosine similarity sentence ranking with Theasurus conversion and
option addition was used to select relevant sentences for ranking and text
understanding which in performed upto 85% on sample data provided by track
organizer.after this we got few selected sentences from passage relevent to
answer question.Next major challenge is Ranking option.
2.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Ranking options:</title>
        <p>With availability of relevent sentences for question next task is based oon
nderstanding of given text answer ,select answer or eliminate options.Since there
are 5 options to each question and answering question in this format boils
down to just ranking options based on some criteria and choosing best
options as answers.Option ranking was done considering calculated score from
Cosine value of option measured with best couple of sentences ,Semantic Value
of options,comparing options with information from collections is also
considered.Cosine Similarity option ranking ,semantic value etc are descired below.</p>
        <p>Cosine Similarity option Ranking: Cosine similarity i.e dot product of best
sentence out of passage which are selected by emperically selecting threshold
to see best sentences are only choosen and options was taken.then these score
of sentences are processed and updated through various modules like Semantic
Meaning etc.</p>
        <p>Order Sequencing of Named Entity: Order in which named entity apprear is
very crucial as they make meanng of sentences so option + question and best
sentences are matched for ordering of Named Entities.Entities if are in order
then relevance of option is very higher.</p>
        <p>Semantic Meaning of Options and Questions : Senti Wordnet was used to nd
out the essence of sentences .It is generally observed that answer to questions
are genrally have positive sentement value so to check that if the value of options
is negative then the sentence is ranked lower and otherwise cosine value is taken
as score of options.</p>
        <p>Using Above Mentioned techniques the Scores were assigned to verious
sentences/options and best sentences i.e sentences with highest cosine value were
choosen as relevant and displayed as answer.</p>
        <p>Above technique resulted in low ranking score for almost 35 % of questions so
for those question we tried cosine similarity with retreived passages indri
framework was used to retreive pasaages from the background collection.then
similarity measure is calculated with reterived relevent passages from background
collection.length of reterived passage was xed to be 200 characters based on
paper by Tellex, Stefanie,MIT Arti cial Intelligence Laboratory.
2.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Answering Question</title>
        <p>As our system is based on ranking of option even if no text or relevant passage
is extracted by system then to some neglegible score will be assigned to the the
option and while answering we need to identiify such question and leave these
kind of question unanswered.With manual inspection we found out some 15% of
questions were getting very low score so to avoid answering such questions we
submitted runs to evaluate the threshold and if sum of all options is less than
0.1 then question was left unanswered.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>OpenEphyra</given-names>
            <surname>System</surname>
          </string-name>
          :
          <article-title>- OpenDomain Question Answering System</article-title>
          . http://www.ephyra.info/
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>QA4MRE</given-names>
            <surname>Final Guildline :- TECHNICAL</surname>
          </string-name>
          <string-name>
            <given-names>COORDINATION</given-names>
            ,
            <surname>Pamela</surname>
          </string-name>
          <string-name>
            <surname>Forner</surname>
          </string-name>
          ,
          <string-name>
            <surname>CELCT</surname>
          </string-name>
          , Italy
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. Indri 3.0 :
          <article-title>- opensource project maintained under apache licence</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>4. Answering and Questioning for Machine Reading Lucy Vanderwende,Microsoft Research ,Redmond, WA 98052</mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Quantitative</surname>
          </string-name>
          <article-title>Evaluation of Passage Retrieval Algorithms for Question Answering Stefanie Tellex</article-title>
          , Boris Katz, Jimmy Lin, Aaron
          <string-name>
            <surname>Fernandes</surname>
          </string-name>
          , and
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>