<!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>IIT BHU at FIRE 2017 IRMiDis Track - Fully Automatic Approaches to Information Retrieval</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Harshit Mehrotra</string-name>
          <email>harshit.mehrotra.cse15@iitbhu.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ribhav Soni</string-name>
          <email>ribhav.soni.cse13@iitbhu.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sukomal Pal</string-name>
          <email>spal.cse@iitbhu.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, and Engineering, Indian Institute of Technology (BHU)</institution>
          ,
          <addr-line>Varanasi 221005</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>hTis paper presents the work of the team of IIT (BHU) Varanasi for the IRMiDis track in FIRE 2017. The task involved classifying tweets posted during a disaster into those expressing need and availability of various types of resources, given some tweets from the Nepal 2015 earthquake. We submited two runs, both of which were fully automatic.</p>
      </abstract>
      <kwd-group>
        <kwd>Information retrieval</kwd>
        <kwd>microblogs</kwd>
        <kwd>disaster</kwd>
        <kwd>Lucene</kwd>
        <kwd>query generation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>With the increasing impact of social media, websites like Twiter
which provide microblogging services have become increasingly
popular. Apart from acting as a window to the outside world, these
also serve as an important means to communicate and collect
information, especially in times of emergency/disaster. The IRMiDis
track in FIRE 2017 [5] posed a challenge to work on such data
collection and analysis purposes. Specifically, the task was to develop
IR methodologies to classify tweets as:</p>
      <p>Need-tweets: Indicating the need or requirement of some
specific resource such as food, water, medical aid,
shelter, to name a few. Tweets pointing to scarcity or
nonavailability of some resources also qualify for this
category.</p>
      <p>Availability-tweets: Informing about the potential/actual
availability of resources. The former may be speaking about
resources being transported, or food packets being
delivered.</p>
      <p>A tweet may be both a need-tweet and an availability-tweet.</p>
      <p>We submited two runs, both of which were fully automatic i.e.
no retrieval step involved manual intervention. Details of the runs
are given in the subsequent sections.</p>
    </sec>
    <sec id="sec-2">
      <title>DATA</title>
      <p>hTe data contained around 70,000 microblogs (tweets) from Twiter
that were posted during Nepal earthquake 2015, some of which
were code-mixed, i.e., contained diferent languages and/or scripts.
Around 20,000 of these were provided for development/training
purpose and the remaining 50,000 for testing and evaluation.
3</p>
      <p>
        OUR METHODOLOGY - RUN 1
hTe run is fully automatic in both query generation and
searching. It makes use of Apache Lucene, a open source Java based text
search engine library [1]. The run can be divided into the following
steps:
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Cleaning and Tokenization:
      </p>
      <p>
        hTe tweets in the training data are first cleaned to
remove hashtags, numbers, addresses (of the type @…) and
URLs. These objects are not deterministic of the category
(Nepal-Need/Nepal-Avail) a tweet falls in. Many hashtags
(like #earthquake, #nepal, #NepalEarthquake) can appear
in tweets of any category. Following this, the cleaned
tweets are tokenized using the Standard Analyzer, which
indexes documents after converting each token to
lowercase, and removing stopwords and punctuations, if any.
[4] The frequency of each token in the training set is then
recorded.
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Query Generation:
      </p>
      <p>hTe token set of each category is modified to its set
diference with the other token set. Then the queries for
the 2 categories are generated as follows:</p>
      <p>Nepal-Avail: Disjunction of tokens with frequency
more than or equal to 3 given weight of their
respective frequencies divided by 3.</p>
      <p>Nepal-Need: Disjunction of tokens with frequency
more than or equal to 2 given weight of their
respective frequencies divided by 2.</p>
      <p>
        hTe threshold frequencies are set in accordance with
the number of tweets of each category present in the
training set.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) Searching and Scoring:
hTe test set is also pre-processed and indexed like the
training set in step 1. The test index is then searched for the
queries generated in step 2. The scores are computed by
Lucene. This scoring uses a combination of the Vector
Space Model (VSM) of Information Retrieval and the Boolean
model to determine how relevant a given document is to
a user’s query. [3]
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Categorization:
hTe scores returned by Lucene are normalized to (
        <xref ref-type="bibr" rid="ref1">0,1</xref>
        ) and
tweets having scores &gt;=0.1 and &gt;=0.2 are considered
appropriate for the categories Nepal-Avail and Nepal-Need
respectively. It is seen in our experiment that since
tokens for Nepal-Avail are selected for a greater threshold
frequency, the corresponding search query gives suitable
tweets even on a lower score, hence the above diference.
4 OUR METHODOLOGY - RUN 2
hTis run is also a fully automatic one, i.e., no retrieval step required
manual intervention.
      </p>
      <p>hTe task was treated as a classification task, and SVM
algorithm was applied, as implemented in the scikit-learn
machine learning library [6].
hTe preprocessing included removal of tokens like ”RT”,
URLs, and tokens starting with ”@” or ”#”.</p>
      <p>Besides the provided code-mixed training data for this task,
the gold standard from the FIRE Microblog Track 2016 was
also used.</p>
      <p>Undersampling was employed, i.e., only as many non-relevant
tweets were given as input to the machine learning
classifier as relevant tweets (since relevant tweets were much
less as compared to irrelevant ones).</p>
      <p>For dealing with code-mixed tweets, Google Translate [2]
was used to convert tweets in other languages to English.
Specifically, if the language field of the tweet metadata
was ”hi” (which denotes Hindi) or ”ne” (for Nepali), the
tweet was translated from its original language to English.
For tweets in any other non-English language, they were
assumed to be in Nepali (the most common non-English
language) and were translated to English.</p>
      <p>A threshold of 0.2 in the predicted score by the SVM
classifier was set to classify a tweet as relevant.</p>
      <p>MAP
0.3786
0.057</p>
      <p>MAP
0.4986
0.1241</p>
      <p>Average MAP
MAP
0.4386
0.0906</p>
    </sec>
    <sec id="sec-3">
      <title>5 RESULTS</title>
      <p>hTe results of our runs based on several metrics are given in Table
1.</p>
      <p>Our run with Run ID iitbhu_fmt17_task1_2 was the best-performing
run in this task.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] [n. d.].
          <source>Apache Lucene Core. ([n. d.])</source>
          . https://lucene.apache.org/core/.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2] [n. d.].
          <source>Google Translate</source>
          . ([n. d.]). https://translate.google.com/.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3] [n. d.].
          <source>Lucene Scoring</source>
          . ([n. d.]). https://lucene.apache.org/core/3_6_0/scoring. html.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4] [n. d.].
          <source>Lucene Standard Analyzer. ([n. d.])</source>
          . https://www.tutorialspoint.com/ lucene/lucene_standardanalyzer.htm.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>