<!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>Decomposing Text Processing for Retrieval: Cheshire tries GRID@CLEF</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Ray R. Larson School of Information University of California</institution>
          ,
          <addr-line>Berkeley</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This short paper is a work in progress describing our participation in the GRID@CLEF task. The GRID@CLEF task is intended to capture in XML form the intermediate results of the text processing phases of the indexing process used by IR systems. Our approach was to create a new instrumented version of the indexing program used with the Cheshire II system. Thanks to an extension by the organizers, we were able to submit runs derived from our system. The system used for this task is a modified version of the Cheshire II IR system, to which output files for the different intermediate streams have been added. The additions, like the original system were written in C. Developing this system required creating parallel modules for several elements of the Cheshire II indexing programs. The current version handles the simplest processing cases, and currently ignores the many specialized indexing modes in the system (such as geographic name extraction and georeferencing).</p>
      </abstract>
      <kwd-group>
        <kwd>Cheshire II</kwd>
        <kwd>Logistic Regression</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>The Berkeley Cheshire group decided to participate in GRID@CLEF for two primary reasons.
The first was that the task goal of separating the processing elements of IR systems and looking
at the their intermediate output was interesting. The second was more concerned with a detailed
reanalysis of our existing processing system and the hope of finding new and better ways to do some
of the things that we have developed over the past decade. Since one goal of the GRID@CLEF
task is for systems to be able to both export and import intermediate processing streams and
eventually to share them, we also hope to be able to use others’ streams as inputs for subtasks in
which we currently cannot do or cannot do effectively (such as decompounding German words).</p>
      <p>The system that we used for GRID@CLEF is a modified version of the Cheshire II IR system,
which we have used for all of our participation in various CLEF tracks over the past several years.
The modifications made to the system (for this year) primarily concerned the pre-processing and
“normalization” of text. In the current implemention of the GRID-enabled system the indexing
program is primarily affected. Essentially the indexing program retains all of the functionality
that it previously had, but now it will generate output XML files for the different intermediate
streams during the text processing and normalization process. These additions, like the original
system were written in C. Developing the modified system required creating parallel modules for
several elements of the Cheshire II indexing program. Those modules needed to pass along data
from a higher level in the call tree down to the low-level code where functions were called to output
tokens, stems, etc. to the appropriate files. There are a myriad of alternative parsing approaches,
etc. controlled by Cheshire II configuration files, and in this first-cut version for GRID@CLEF
only a very few of the most basic ones are supported. Because the system developed over time to
support a variety of speciallized index modes and features (such as extracting and georeferencing
place names from texts to permit such things as geographic searching though proximity, and
extracting dates and times in such a way that they can be searched by time ranges, etc. instead
of treating dates as character strings). For the current implementation of we deal only with text
extraction and indexing, and do not even attempt to deal with separate indexes for different parts
of the documents.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Information Retrieval Approach</title>
      <p>
        Note that this section is virtually identical to one that appears in our papers from previous CLEF
participation and appears here for reference only[
        <xref ref-type="bibr" rid="ref7 ref8">8, 7</xref>
        ]
      </p>
      <p>For retrieval in the GRID@CLEF track we used the same algorithms that we used in other
CLEF participation (including for Adhoc-TEL this year), without change. In fact, the basic
processing captured by the output files submitted for this track has been fairly standard for our
participation across all tracks in CLEF. For retrieval, we used the inverted file and vector file
indexes created during the indexing process using the same Logistic Regression-based ranking
algorithm that we have used elsewhere.</p>
      <p>
        The basic form and variables of the Logistic Regression (LR) algorithm used for all of our
submissions was originally developed by Cooper, et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. As originally formulated, the LR
model of probabilistic IR attempts to estimate the probability of relevance for each document
based on a set of statistics about a document collection and a set of queries in combination
with a set of weighting coefficients for those statistics. The statistics to be used and the values
of the coefficients are obtained from regression analysis of a sample of a collection (or similar
test collection) for some set of queries where relevance and non-relevance has been determined.
More formally, given a particular query and a particular document in a collection P (R | Q, D)
is calculated and the documents or components are presented to the user ranked in order of
decreasing values of that probability. To avoid invalid probability values, the usual calculation of
P (R | Q, D) uses the “log odds” of relevance given a set of S statistics, si, derived from the query
and database, such that:
where b0 is the intercept term and the bi are the coefficients obtained from the regression analysis of
the sample collection and relevance judgements. The final ranking is determined by the conversion
of the log odds form to probabilities:
      </p>
      <p>S
log O(R | Q, D) = b0 + X bisi</p>
      <p>i=1
P (R | Q, D) =</p>
      <p>elog O(R|Q,D)
1 + elog O(R|Q,D)
(1)
(2)
where C denotes a document component (i.e., an indexed part of a document which may be the
entire document) and Q a query, R is a relevance variable,
p(R|C, Q) is the probability that document component C is relevant to query Q,
p(R|C, Q) the probability that document component C is not relevant to query Q, which is 1.0
p(R|C, Q)
|Qc| is the number of matching terms between a document component and a query,
qtfi is the within-query frequency of the ith matching term,
tfi is the within-document frequency of the ith matching term,
ctfi is the occurrence frequency in a collection of the ith matching term,
ql is query length (i.e., number of terms in a query like |Q| for non-feedback situations),
cl is component length (i.e., number of terms in a component), and
Nt is collection length (i.e., number of terms in a test collection).
ck are the k coefficients obtained though the regression analysis.</p>
      <p>If stopwords are removed from indexing, then ql, cl, and Nt are the query length, document
length, and collection length, respectively. If the query terms are re-weighted (in feedback, for
example), then qtfi is no longer the original term frequency, but the new weight, and ql is the
sum of the new weight values for the query terms. Note that, unlike the document and collection
lengths, query length is the “optimized” relative frequency without first taking the log over the
matching terms.</p>
      <p>
        The coefficients were determined by fitting the logistic regression model specified in log O(R|C, Q)
to TREC training data using a statistical software package. The coefficients, ck, used for our
official runs are the same as those described by Chen[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. These were: c0 = −3.51, c1 = 37.4,
c2 = 0.330, c3 = 0.1937 and c4 = 0.0929. Further details on the TREC2 version of the Logistic
Regression algorithm may be found in Cooper et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
In addition to the direct retrieval of documents using the TREC2 logistic regression algorithm
described above, we have implemented a form of “blind relevance feedback” as a supplement to the
basic algorithm. The algorithm used for blind feedback was originally developed and described by
Chen [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Blind relevance feedback has become established in the information retrieval community
due to its consistent improvement of initial search results as seen in TREC, CLEF and other
retrieval evaluations [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The blind feedback algorithm is based on the probabilistic term relevance
weighting formula developed by Robertson and Sparck Jones [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>Blind relevance feedback is typically performed in two stages. First, an initial search using
the original topic statement is performed, after which a number of terms are selected from some
number of the top-ranked documents (which are presumed to be relevant). The selected terms
are then weighted and then merged with the initial query to formulate a new query. Finally the
reweighted and expanded query is submitted against the same collection to produce a final ranked
list of documents. Obviously there are important choices to be made regarding the number of
top-ranked documents to consider, and the number of terms to extract from those documents. For
ImageCLEF this year, having no prior data to guide us, we chose to use the top 10 terms from 10
top-ranked documents. The terms were chosen by extracting the document vectors for each of the
10 and computing the Robertson and Sparck Jones term relevance weight for each document. This
weight is based on a contingency table where the counts of 4 different conditions for combinations
of (assumed) relevance and whether or not the term is, or is not in a document. Table 1 shows
this contingency table.</p>
      <p>The 10 terms (including those that appeared in the original query) with the highest wt are
selected and added to the original query terms. For the terms not in the original query, the new
“term frequency” (qtfi in main LR equation above) is set to 0.5. Terms that were in the original
query, but are not in the top 10 terms are left with their original qtfi. For terms in the top 10 and
in the original query the new qtfi is set to 1.5 times the original qtfi for the query. The new query
is then processed using the same LR algorithm as shown in Equation 4 and the ranked results
returned as the response for that topic.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Text Processing Result Submissions</title>
      <p>For GRID@CLEF in addition to the conventional retrieval runs (described in the next section),
we submitted four intermediate streams from the indexing process. These were:
Basic tokens – in Cheshire II parsing into tokens takes place once an XML sub-tree of a document
required for a particular index specified in a configuration file is located. To keep things as
simple as possible in this version, the XML sub-tree is the entire document (e.g., the &lt;doc&gt;
tag and all of its descendents). Tokenization first eliminates all XML tags in the subtree
(replacing them with blanks) and then uses the ”strtok” C string library function to include
n
o
i
s
i
c
e
r
P</p>
      <p>1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0</p>
      <p>ENG
FRE</p>
      <p>GER
any sequence of alphanumeric characters divided at white space or punctuation (with the
exception of hyphens and periods, which are retained at this point). Hyphens are treated
specially and double extracted, once as the hyphenated word and then as separate words
with the hyphen(s) removed. (At least that is what it SHOULD be doing – in checking
results for this stage I found that only the first word of a hyphenated word was getting
extracted. This is now being corrected). Sequences of letters and periods are assumed to be
initialisms (like U.S.A.) and are left in the basic token stream.</p>
      <p>Lowercase normalization – The default normalization (which can be turned of by the
configuration files) is to change all characters to lowercase. This step also removes any trailing
period from tokens (so U.S.A. becomes u.s.a).</p>
      <p>Stopword removal – Each index can have an index-specific stoplist and any words matching
those in the stoplist are thrown out and don’t go on to any later stages.</p>
      <p>Stemming – For each collection the configuration file specified use of particular stemmers
including the Snowball stemmer for various languages and an extended version of the Porter
stemmer. The Snowball stemming system has been integrated into the Cheshire II system
and any of its stemmers can be invoked via different configuration file options.</p>
      <p>Finally the remaining stemmed tokens are accumulated along with their document frequency
information and stored in a temporary file. In subsequent stages the information for all of the
documents is sorted, merged and an inverted file created from the tokens and their document
frequency information.</p>
      <p>In retrieval, the same stages are performed on the tokens derived from the topics or queries
before matching takes place.</p>
      <p>The XML files produced for each of these streams ranged in size from 18.5Gb for raw token
files to 4.5Gb after stemming, depending on the test collection and the position in processing.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Retrieval Results</title>
      <p>Although our retrieval runs were submitted quite late, the organizers kindly allowed them to go
through the same evaluation as the officially submitted runs. We submitted only one monolingual
run for each of English, French, and German.</p>
      <p>The indexes and vector files created during the later stages of the indexing process (and not
yet captured by the GRID@CLEF output streams) were used to provide the matching used in
the logistic regression algorithm described above. Overall, the retrieval results look fairly good
(although there was only one other participant to compare with) with comparable results in all
languages (except German, where I suspect the other group is using decompounding).</p>
      <p>Figure 1 shows the precision-recall graph for all of our submitted runs. The MAP of our
German run was the lowest at 0.4003, with a MAPs of 0.5313 and 0.5188 for English and French,
respectively. Interestingly, the identical algorithm and processing (without capturing the
intermediate outputs) was used in our Adhoc-TEL participation this year, with much worse performance
in terms of average precision when compared to even the same group also participating in this
task, which shows that the same algorithms and processing systems can have radically different
performance on different collections and query sets.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>One of the goals in our participation in GRID@CLEF was to identify problems and issues with our
text processing and normalization stages. In that we have been quite successful, having identified
one definite bug and a number of areas for re-design and enhancement. The next phase would be
to enable the system to take any of the intermediate streams produced by different participants
as input. This is a much more difficult problem, since much further work and analysis is needed.
Since, for example the Cheshire system can create separate indexes based on different parts of
an XML or SGML record, the streams would also need to carry this kind of information along
with them. In addition, some of our indexing methods perform the text processing in different
sequences (for example, geographic name extraction uses capitalization as one way of identifying
proper nouns that might be place names, and the output of the georeferencing process is a set of
geographic coordinates instead of a text name).</p>
      <p>Overall this has been a very interesting and useful track and provided several improvements
to our system that will carry over to other tasks as well.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Aitao</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <article-title>Multilingual information retrieval using english and chinese queries</article-title>
          . In Carol Peters, Martin Braschler, Julio Gonzalo, and Michael Kluck, editors,
          <source>Evaluation of CrossLanguage Information Retrieval Systems: Second Workshop of the Cross-Language Evaluation Forum</source>
          , CLEF-2001, Darmstadt, Germany,
          <year>September 2001</year>
          , pages
          <fpage>44</fpage>
          -
          <lpage>58</lpage>
          . Springer Computer Scinece Series LNCS 2406,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Aitao</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <source>Cross-Language Retrieval Experiments at CLEF</source>
          <year>2002</year>
          , pages
          <fpage>28</fpage>
          -
          <lpage>48</lpage>
          . Springer (LNCS #2785),
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Aitao</given-names>
            <surname>Chen</surname>
          </string-name>
          and
          <string-name>
            <given-names>Fredric C.</given-names>
            <surname>Gey</surname>
          </string-name>
          .
          <article-title>Multilingual information retrieval using machine translation, relevance feedback and decompounding</article-title>
          .
          <source>Information Retrieval</source>
          ,
          <volume>7</volume>
          :
          <fpage>149</fpage>
          -
          <lpage>182</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>W. S.</given-names>
            <surname>Cooper</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F. C.</given-names>
            <surname>Gey</surname>
          </string-name>
          .
          <article-title>Full Text Retrieval based on Probabilistic Equations with Coefficients fitted by Logistic Regression</article-title>
          .
          <source>In Text REtrieval Conference (TREC-2)</source>
          , pages
          <fpage>57</fpage>
          -
          <lpage>66</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>William</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Cooper</surname>
          </string-name>
          ,
          <string-name>
            <surname>Fredric C. Gey</surname>
          </string-name>
          , and Daniel P. Dabney.
          <article-title>Probabilistic retrieval based on staged logistic regression</article-title>
          .
          <source>In 15th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval</source>
          , Copenhagen, Denmark, June 21-24, pages
          <fpage>198</fpage>
          -
          <lpage>210</lpage>
          , New York,
          <year>1992</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Ray</surname>
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Larson</surname>
          </string-name>
          .
          <article-title>Probabilistic retrieval, component fusion and blind feedback for XML retrieval</article-title>
          .
          <source>In INEX 2005</source>
          , pages
          <fpage>225</fpage>
          -
          <lpage>239</lpage>
          .
          <source>Springer (Lecture Notes in Computer Science, LNCS 3977)</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Ray</surname>
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Larson</surname>
          </string-name>
          . Cheshire at geoclef 2007:
          <article-title>Retesting text retrieval baselines</article-title>
          .
          <source>In 8th Workshop of the Cross-Language Evaluation Forum</source>
          ,
          <string-name>
            <surname>CLEF</surname>
          </string-name>
          <year>2007</year>
          , Budapest, Hungary,
          <source>September 19-21</source>
          ,
          <year>2007</year>
          ,
          <string-name>
            <given-names>Revised</given-names>
            <surname>Selected</surname>
          </string-name>
          <string-name>
            <surname>Papers</surname>
          </string-name>
          , LNCS
          <volume>5152</volume>
          , pages
          <fpage>811</fpage>
          -
          <lpage>814</lpage>
          , Budapest, Hungary,
          <year>September 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Ray</surname>
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Larson</surname>
          </string-name>
          .
          <article-title>Experiments in classification clustering and thesaurus expansion for domain specific cross-language retrieval</article-title>
          .
          <source>In 8th Workshop of the Cross-Language Evaluation Forum</source>
          ,
          <string-name>
            <surname>CLEF</surname>
          </string-name>
          <year>2007</year>
          , Budapest, Hungary,
          <source>September 19-21</source>
          ,
          <year>2007</year>
          ,
          <string-name>
            <given-names>Revised</given-names>
            <surname>Selected</surname>
          </string-name>
          <string-name>
            <surname>Papers</surname>
          </string-name>
          , LNCS
          <volume>5152</volume>
          , pages
          <fpage>188</fpage>
          -
          <lpage>195</lpage>
          , Budapest, Hungary,
          <year>September 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Robertson</surname>
          </string-name>
          and
          <string-name>
            <given-names>K. Sparck</given-names>
            <surname>Jones</surname>
          </string-name>
          .
          <article-title>Relevance weighting of search terms</article-title>
          .
          <source>Journal of the American Society for Information Science</source>
          , pages
          <fpage>129</fpage>
          -
          <lpage>146</lpage>
          , May-June
          <year>1976</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>