<!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>Wikipedia based Unsupervised Query Classi cation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Milen Kouylekov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luca Dini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessio Bosca</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Trevisan</string-name>
          <email>trevisang@celi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CELI S.R.L.</institution>
          ,
          <addr-line>Torino</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper we present an unsupervised approach to Query Classi cation. The approach exploits the Wikipedia encyclopedia as a corpus and the statistical distribution of terms, from both the category labels and the query, in order to select an appropriate category. We have created a classi er that works with 55 categories extracted from the search section of the Bridgeman Art Library website. We have also evaluated our approach using the labeled data of the KDD-Cup 2005 Knowledge Discovery and Data Mining competition (800,000 real user queries into 67 target categories) and obtained promising results.</p>
      </abstract>
      <kwd-group>
        <kwd>Query Classi cation</kwd>
        <kwd>Wikipedia</kwd>
        <kwd>Vector Models</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        In Information Science logs analysis and more speci cally Query Classi cation
(QC) has been used to help detecting users web search intent. Query classi
cation studies have shown the di culty of achieving accurate classi cation due to
the inevitably short queries. A common practice is to enrich query with external
information, and to use an intermediate taxonomy to bridge the enriched query
and the target categories. A good summary of such approaches is made by the
KDDCUP 2005 organizers [
        <xref ref-type="bibr" rid="ref1">2005</xref>
        ]). Associating external information to queries
is costly as it involves crowing the web. The goal of our approach is to create an
lightweight unsupervised language independent approach to query classi cation
using the rich content provided by the Wikipedia, a resource easily accessible in
many languages.
      </p>
      <p>In Section 2 we present this approach. In Section 3 we provide a evaluation
of its capabilities.</p>
    </sec>
    <sec id="sec-2">
      <title>Unsupervised Query Classi cation Approach</title>
      <p>Our approach is based on the vector space model (VSM). The core of the VSM is
representing text documents as vectors of identi ers, such as index terms. Each
element of the vectors corresponds to a separate term found in the document. If
a term occurs in the document, its value in the vector is non-zero. The
dimensionality of the vector is the number of words in the vocabulary (the number
of distinct words occurring in the corpus). In VSM, weights associated with the
terms are calculated based on a heuristic functions. Some of the more popular
approaches are term frequency and inverse document frequency.</p>
      <p>Using the VSM a similarity function between the vectors of two documents
and a query can be de ned. The standard function used is the cosine similarity
coe cient, which measures the angle between two vectors.</p>
      <p>We have adapted the vector space model to the query classi cation task
using the following approach: First, we associate a document that describes the
category with each category Ck. We name this document category document
CD. For example a CD for the category Basketball must contain information
about: the rules of the game, National Basketball Association, FIBA and famous
players etc. A CD for the Arts must contain information about i) paining; ii)
sculptures; 3) art museums etc. In the second stage of the approach we associate
to each query a set of relevant documents found in a document collection. We
de ne the category score of query q for category Ck as the maximum value
of the cosine similarity between term vectors of the CD of the category and
a document relevant to the query Qi. For example we expect to nd a lot of
common terms between a document relevant to the query Michael Jordan and
the CD for category Basketball and few common terms with the CD of the
category Art. Finally as output the approach returns the categories which CD
has the highest cosine similarity with a relevant document of the query.</p>
      <p>We use relevant documents for a query and not the query because we compare
the query terms with CD documents that are not relevant to the query itself.
For example the CD of the category Arts does not contain a mentioning of Pablo
Picasso but the intersection between it and documents relevant to Pablo Picasso
contain a lot of common terms like painting, art, surrealism etc.</p>
      <p>In order to make our approach feasible we need a document collection that
contains su cient number of documents in order to: 1) Find a big enough CD
document for each category. 2) Find documents relevant to the classi ed queries.</p>
      <p>The advantage of the proposed approach is that it does not require training
data and it is language dependent. The approach will be t greatly from a short
category description as this will allow a more correct selection of a CD.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Experiments</title>
      <p>In our experiments we used the Wikipedia, a free, web-based, collaborative,
multilingual encyclopedia1. We assign as CD for the category with the name
X the Wikipedia page with the same title. For example the Wikipedia Page
with title Basketball can be used as a CD for the category Basketball. The page
describes almost all the important aspect of the game and has a lot of terms in
common with documents relevant to queries like: Michael Jordan, NBA Playo s
and Chicago Bulls. Respectively the page with the title Hardware contains a lot
of terms in common with documents relevant for queries like: intel processors,
computer screens and nvida vs intel.
1 http://wwww.wikipedia.org</p>
      <p>For some categories the CD assigned by the approach contains short texts
that are not su cient for a complete overview of the category. We expand the
CD for these categories by concatenating the texts of the pages that contain the
name of the category as sub part of the page title. For example the CD for the
category Arts can be expanded by concatenating the text of the pages: Liberal
arts, Visual arts, Arts College, Art Education, Islamic Arts etc. If the approach
does not nd a page with the same title as the category it assigns as CD for the
category the concatenation of pages with the name of the category as sub part
of the page title or pages that contain the category name in the rst sentence of
the page text.
3.1</p>
      <p>
        Bridgeman Art Library
Our rst evaluation is done using the taxonomy and query dataset created
for the ART domain in the Galateas Project [
        <xref ref-type="bibr" rid="ref3">2011</xref>
        ]. The domain is de ned
by the contents of the Bridgeman Art Library(BAL) website2. To understand
their use and meaning the categories have been grouped by BAL domain
experts into three groups: Topics (Land and Sea, Places, Religion and Belief,
Ancient and World Cultures etc. 23), Materials (Metalwork, Silver, Gold &amp; Silver
Gilt, Lacquer &amp; Japanning, Enamels etc. 10), and Objects (Crafts and Design,
Manuscripts, Maps, Ephemera, Posters, Magazines, Choir Books etc. 22) (total:
55 top-categories).
      </p>
      <p>Our approach was evaluated on the 100 queries annotated by the three
annotators into upto 3 categories. The queries were in four languages English ,
French, German, Dutch and Italian. We have created a classi cation instance
for each language by manually translating the name of the categories in each
language. For each of these queries we automatically assign the top 3 categories
returned by the classi er. Example:</p>
      <p>Query: navajo turquoise
Category1: Semi-precious Stones Score: 0.228
Category2: Silver, Gold &amp; Silver Gilt: 0.1554
Category3: Botanical Score: 0.1554</p>
      <p>In this example the category assigned to the query is Category1 Semi-precious
Stones. The results of the evaluation are summarized in Table 1.</p>
      <p>
        KDD Cup 2005
To evaluate our approach we have experimented also with the KDD-Cup 2005
data [
        <xref ref-type="bibr" rid="ref1">2005</xref>
        ]. The data is from query classi cation task selected by the organizers
as interesting to participants from both academia and industry. The task of the
competition consists in classifying Internet user search queries. The participants
had to categorize 800,000 queries into 67 prede ned categories. The meaning
and intention of search queries is subjective. A search query Saturn might mean
Saturn car to some people and Saturn the planet to others. The participants
had to tag each query with up to 5 categories. The systems participating in the
competition were ranked by the organizers on the obtained average F-Measure.
      </p>
      <p>
        We have evaluated our approach against a gold standard provided by the
organizers (800 queries). Our approach obtained an average F-Measure of 32:2
(Table 1). The state of the art system [
        <xref ref-type="bibr" rid="ref2">2006</xref>
        ] in the competition achieves
FMeasure of 46.1.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Discussion</title>
      <p>The results obtained are encouraging having in prospective the unsupervised
nature of the approach. One of the main di culties were the generic names of
categories like Icons and The Arts and Entertainment. The documents for these
categories contained terms that were not relevant to the art domain. Also a
signi cant problem for the system posed queries that are named entities. These
queries were classi ed based on their descriptions into categories relevant to their
peculiarities and not in People and Society, Personalities and Places categories.
A possible solution to this problem will be to map DBPedia3 hierarchy to the
domain categories and use it as a additional source of knowledge.</p>
      <p>The results we obtained is encouraging particularly because we did not
associated additional information to each queries apart of the documents obtained
using Wikipedia. Many of the queries did not produce relevant Wikipedia
documents, which is one of the main limitations of our approach. Additional domain
corpora will decrease its e ect.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [2005]
          <string-name>
            <given-names>Ying</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Zijian</given-names>
            <surname>Zheng</surname>
          </string-name>
          , and
          <string-name>
            <surname>Honghua (Kathy) Dai. Kdd</surname>
          </string-name>
          cup
          <article-title>-2005 report: facing a great challenge</article-title>
          .
          <source>ACM SIGKDD Explorations Newsletter Homepage archive</source>
          ,
          <volume>7</volume>
          (
          <issue>2</issue>
          ),
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2006]
          <string-name>
            <given-names>Dou</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Jian-Tao</surname>
            <given-names>Sun</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Qiang</given-names>
            <surname>Yang</surname>
          </string-name>
          , and Zheng Chen.
          <article-title>Building bridges for web query classi cation</article-title>
          .
          <source>In SIGIR06</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [2011]
          <string-name>
            <given-names>Eduard</given-names>
            <surname>Barbu</surname>
          </string-name>
          , Raphaella Bernardi,
          <string-name>
            <given-names>T.D.</given-names>
            <surname>Le</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Milen</given-names>
            <surname>Kouylekov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Petras</surname>
          </string-name>
          , Massimo Poesio, Juliane. Stiller, E. Vald,
          <source>D7.1 First Evaluation Report of Topic Computation and TLIKE</source>
          , Galateas Project http://www.galateas.eu
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>