<!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>Exploring New Languages with HAIRCUT at CLEF 2005</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Paul McNamee Johns Hopkins University Applied Physics Laboratory 11100</institution>
          <addr-line>Johns Hopkins Road Laurel, MD 20723-6099</addr-line>
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>JHU/APL has long espoused the use of language-neutral methods for cross-language information retrieval. This year we participated in the ad hoc cross-language track and submitted both monolingual and bilingual runs. We undertook our first investigations in the Bulgarian and Hungarian languages. In our bilingual experiments we used several nontraditional CLEF query languages such as Greek, Hungarian, and Indonesian, in addition to several western European languages. We found that character n-grams remain an attractive option for representing documents and queries in these new languages. In our monolingual tests n-grams were more effective than unnormalized words for retrieval in Bulgarian (+30%) and Hungarian (+63%). Our bilingual runs made use of subword translation, statistical translation of character n-grams using aligned corpora, when parallel data were available, and web-based machine translation, when no suitable data could be found.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        lemmatization, matching of multiple word expressions, and inability to handle out-of-vocabulary words such
as common surnames [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>We submitted official runs for the monolingual and bilingual tracks. For all of our runs we used the
HAIRCUT system and a statistical language model similarity calculation. Some of our official runs were
based solely on n-gram processing; however, we thought that by using a combination of n-grams and words
or stemmed words better performance could sometimes be obtained.</p>
    </sec>
    <sec id="sec-2">
      <title>Methods</title>
      <p>HAIRCUT supports several ways of representing documents using an order independent, bag-of-terms
model. Note we are frequently using character n-grams, not words as indexing terms. Our general approach
is to process the text of each document, reducing all terms to lower-case. Words were deemed to be
whitespace delimited tokens in the text; however, we preserve only the first 4 digits of a number and we truncate
any particularly long tokens (those greater than 35 characters in length). We make no attempt at compound
splitting. Once words are identified we optionally perform transformations on the words to create indexing
terms (e.g., stemming using the Snowball stemmer). Starting in 2003 we began removing diacritical marks,
believing that they are of little importance. So-called stopwords are retained in our index and the dictionary
is created from all words present in the corpus. At query time we ignore high frequency terms for reasons of
efficiency, and because such terms typically add little to query performance. (By default, query terms
occurring in greater than 20% of documents are ignored).</p>
      <p>
        We continue to use a statistical language model for retrieval akin to those presented by Ponte and Croft [13]
and Hiemstra [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] with Jelinek-Mercer smoothing [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] (i.e., linear interpolation). In this model, the probability
of relevance is given as:
      </p>
      <p>P (D | Q ) = ? [a P (q | D ) + (1 - a )P (q | C ) ] ,</p>
      <p>q ?Q
where Q is a query, D is a document, C is the collection as a whole, and a is a smoothing parameter. The
probabilities on the right side of the equation are replaced by their maximum likelihood estimates when
scoring a document. The language model has the advantage that term weights are mediated by the corpus. It
has been our experience has been that this type of probabilistic model outperforms a vector-based cosine
model or a binary independence model with Okapi BM25 weighting.</p>
      <p>
        Character n-grams, sequences of n consecutive characters, have been used for a number of tasks in human
language technology (e.g., spelling correction [14], diacritics restoration [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], and language identification
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]). Their use for IR dates to the mid-1970s where they were used primarily as a technique to decrease
dictionary size. At that time n=2 or n=3 were typical lengths, and for a fixed alphabet size a substantial
reduction in memory requirements could be realized. Over time as physical memory costs fell significantly,
research in the mid-1990s led to n-grams being considered as an alternative indexing representation to words
or stemmed words (see [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). There are several variations on n-gram indexing; here we concentrate on
overlapping character n-grams of a fixed length (typically n=4 or n=5). For the text ‘prime_minister’ and
n=7 the resulting n-grams are: ‘_prime_’, ‘prime_m’, ‘rime_mi’, ‘ime_min’, ‘me_mini’, ‘e_minis’, ‘minist’,
‘ministe’, ‘inister’, and ‘nister_’. The single n-gram ‘ime_min’ that occurs at the word boundary is fairly
distinct indicator of the query phrase ‘prime minister’and it would not be generated from a sentence like ‘the
finance minister ordered prime rib for lunch’which might cause a false match using words alone as indexing
terms.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Monolingual Task</title>
      <p>For our monolingual work we created indexes for each language using the permissible document fields
appropriate to each collection. Our four basic methods for tokenization were unnormalized words, stemmed
words obtained through the use of the Snowball stemmer (when available), 4-grams, and 5-grams.
Information about each index is shown in Table 1 (below).</p>
      <p>
        Selection of 4-grams and 5-grams as indexing terms was based on a comprehensive study across the CLEF
languages that investigated n-gram length [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and established that 4-grams and 5-grams seem to work
equally well for monolingual retrieval. Our language model requires a single smoothing constant; we used
? =0.3 with both words and stems, and ? =0.5 with 4-grams and 5-grams. Each of our base runs used blind
relevance feedback (queries expanded to 60 terms; terms selected using 20 top-ranked and 75 low-ranked
documents from the top 1000). Figure 1 charts performance using our four different term indexing strategies,
in isolation. In the Bulgarian and Hungarian languages, substantial benefits were seen when n-grams were
used – 30% and 63% relative improvements, respectively. In the other languages, n-grams performed
similarly to words and somewhat worse than the use of stemmed words (e.g., in English and French). Our
previous experience has shown that n-grams produce larger benefits in languages with greater morphological
complexity.
      </p>
      <p>Our submitted runs were based on a combination of several base runs using various options for tokenization.
Our method for combination is to normalize scores by probability mass and to then merge documents by
score. All of our submitted runs were automatic runs and used only the title and description topic fields. We
produced three to five runs in each language that were created from combinations of the base runs. Runs
were labeled aplmoxx[a-e], where xx indicates the language of interest. Runs whose names end with a
terminal ‘a’ were produced by combining a 5-gram base run with a stemmed word base run; a terminal ‘b’
indicates fusion of a 4-grams and stemmed words; terminal ‘c’is used for runs that used both 4-grams and
5grams; the suffix ‘d’indicates solitary use of 4-grams; and, a terminal ‘e’indicates the use of 5-grams alone.
Monolingual performance based on mean average precision is reported in Table 2.</p>
      <p>0.50
0.45
n0.40
o
i
s
i
c
re0.35
P
e
g
a
r
ve0.30
A
n
a
e
M0.25
0.20
0.15
words
snow
4-grams
5-grams</p>
    </sec>
    <sec id="sec-4">
      <title>Bilingual Task</title>
      <p>
        Our preferred approach to bilingual retrieval is based on the following procedure: (1) apply pre-translation
query expansion using the source language CLEF corpus; (2) translate terms statistically using aligned
parallel corpora, where terms can be words, stems, or n-grams; (3) and, perform retrieval using the query
terms that were projected into the target language, possibly with additional relevance feedback. We have had
good success using aligned parallel corpora to extract statistical translations. Others have also relied on
corpus-based translation; however, we recently demonstrated significant improvements in bilingual
performance by translating character n-grams directly. We call this ‘subword translation’. Additionally we
also translate stemmed words and words. This year we were only able to use this technique for the English,
French, and Portuguese target collections as we lacked parallel resources in Bulgarian and Hungarian.
For the 2002 and 2003 campaigns we relied on a single source for parallel texts, the Official Journal of the
E.U. [15], which is published in the official languages (20 languages as of May 2004). The Journal is
available in each of the E.U. languages and consists mainly of governmental topics, for example, trade and
foreign relations. For the CLEF 2003 evaluation we had obtained 33 GB of PDF files that we distilled into
approximately 300 MB of alignable text, per language. In December 2003 we began the process of mining
archival issues of the Journal, beginning with 1998. This process took nearly five months. We obtained data
from January 1998 through April 2004 – over six years of data. This is nearly 80 GB of PDF files, or roughly
750 MB of plain text per language. We extracted text using the pdftotext program; however this software
cannot extract the Greek data set; we were left with data in ten languages, from which 45 possible alignments
are possible. Though focused on European topics, the time span is three to ten years after most of the
CLEF2004 document collection. Though aware of smaller, but aligned parallel data (e.g., Philip Koehn’s Europarl
corpus [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]) we did not utilize additional data for reasons of homogeneity and convenience. We managed to
use this data for stem-to-stem translation in the CLEF 2004 evaluation and we used this data again this year
for word, stem, and n-gram translation.
      </p>
      <p>
        To align data between two languages, we would:
o convert the data from PDF format to plain text (this introduced some errors, especially when
processing diacritical marks in the earlier years);
o apply rules for splitting the text into sections (the data was page-aligned, we desired
paragraphsized chunks);
o and, align files using Church’s char_align [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>To induce a translation for a given source language term, we proceed by:
o identifying documents (i.e., approximately paragraphs) containing the source language term;
o examining the set of corresponding documents from the target language portion of the aligned
collection;
o producing a score for each term that occurs in at least one of the target language paragraphs (more
on this below);
o and finally, selecting the single term with the largest translation score for the source language term.
Our method for scoring candidate translations does not require translation model software such as GIZA++.
Rather, we rely on information theoretic scores (e.g., symmetric conditional probability or mutual
information) to rank terms. We adopt the same technique we rely on for pseudo relevance feedback – a
method we have developed called affinity sets. Terms are weighted based on their inverse document
frequency (IDF) and the difference between their relative frequency in the set of documents under
consideration and the global set of documents. This measure is related to mutual information; however, we
believe our technique is more general as it permits the set of documents to be identified through any means,
including potentially, query-specific attempts at retrieval and translation.</p>
      <p>
        We performed pairwise alignments between languages pairs, for example, between English and Portuguese.
Once aligned, we indexed each pairwise-aligned collection using the technique described earlier on the
CLEF-2005 document collections. That is, we created four indexes per sub-collection, per language – one
each of words, stems, 4-grams and 5-grams. This year, rather than create a translation dictionary for every
term in a source language index, we translated terms on demand using the algorithm presented above. So far
we have been using 1-best translation, but we can generate multiple weighted translations for each term. We
have not found this necessary as techniques such as pre-translation query expansion are capable of
generating many terms related to a query; thus the harm introduced by a dubious translation is lessened. Our
experience on the CLEF 2003 and 2004 bilingual test sets led us to believe that direct translation of 5-grams
would likely be the most effective single technique, but that combination using runs generated by translating
multiple term types might yield an improvement [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>Unfortunately, our data from the Official Journal of the EU did not cover two of the target language
collections (i.e., Bulgarian and Hungarian). To support translation to or from these languages we relied on
query translation using web-based machine translation. We also used MT to use the Greek and Indonesia
query sets against English documents. The online services we used are located at:
• http://babelfish.altavista.com (GR to EN)
• http://www.toggletext.com/kataku_trial.php (IN to EN)
• http://www.bultra.com/test_e.htm (BG to/from EN)
• http://www.tranexp.com/ (HU to/from EN)
As can be seen in Table 3 (below), our results using corpus-based subword translation achieved bilingual
performance between 78% and 87% of our best monolingual runs for the given target language. Table 4
details our results using available machine translation software. The resultant bilingual performance depends
heavily on the individual translation engine used (from 26% to 85% of our best monolingual baselines). In
some cases the result of fusing multiple runs using different target-side tokenization of the machine
translation output resulted in an improvement, for example, run aplbiidend had a 4% absolute improvement
in mean average precision of aplbiidena, which used 5-grams alone. In a couple of cases we directly
compared the use of 4-grams and 5-grams on the MT output and found the results to be very similar (e.g.,
compare aplbienbg[a/e] and aplbienhu[a/e]).
In Bulgarian and Hungarian it seems that 4-grams may have a slight advantage over 5-grams, though
additional testing should be performed to verify that the differences are statistically significant. However, the
use of n-grams over raw words seems clearly indicated.</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>JHU/APL participated in the ad hoc tasks in the CLEF 2005 evaluation, using our language-neutral approach
that prominently features character n-gram tokenization and statistical translation using aligned parallel
corpora. This year we had to rely on web-based machine translation for mappings between several language
pairs, for which we had been unable to obtain suitable parallel data. We compared words, a popular suffix
stemmer, and n-grams of lengths four and five on the monolingual collections, all using the same retrieval
engine and language model similarity metric. We found that n-grams continued to work well for
monolingual retrieval, though their superiority was only apparent in Bulgarian and Hungarian.
We continued to combine runs produced through disparate retrievals, which, in the past, we have seen a
modest (e.g., 10% relative) improvement. This year, however, we noted that our single-best tokenization
method outperformed merging of disparate runs (compare Figure 1 and the results in Table 2).
For bilingual retrieval we employed subword translation in several official runs, with good effect. However
we still lack parallel corpora for Bulgarian and Hungarian. We would like to expand on these experiments if
we can locate appropriate data. Our results from this year agree with previous findings that character n-grams
remain effective and an attractive alternative, especially in languages with complex morphology or ones in
which resources (e.g., morphological analyzers or stemmers) are difficult to obtain or use. Our recipe for
bilingual retrieval appears effective, but is best accomplished when parallel data are available.
[13] J. M. Ponte and W. B. Croft, ‘A Language Modeling Approach to Information Retrieval.’ In: Proceedings of the 21st
Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, Melbourne,
Australia, pp. 275-281, 1998.
[14] E. M. Zamora, J. J. Pollock, and A. Zamora, ‘The Use of Trigram Analysis for Spelling Error Detection.’
Information Processing and Management 17:305-316, 1981.
[15] http://europa.eu.int/</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>W. B.</given-names>
            <surname>Cavnar</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Trenkle</surname>
          </string-name>
          , '
          <article-title>N-Gram Based Text Categorization</article-title>
          .'
          <source>In: Proceedings of the Third Symposium on Document Analysis and Information Retrieval</source>
          , pp.
          <fpage>161</fpage>
          -
          <lpage>169</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>K.W.</given-names>
            <surname>Church</surname>
          </string-name>
          , '
          <article-title>Char_align: A program for aligning parallel texts at the character level</article-title>
          .
          <source>' Proceedings of the 31st Annual Meeting of the Association for Computational Linguistics</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Damashek</surname>
          </string-name>
          , '
          <article-title>Gauging Similarity with n-grams: Language-Independent Categorization of Text</article-title>
          .' Science,
          <volume>267</volume>
          :
          <fpage>843</fpage>
          -
          <lpage>848</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hiemstra</surname>
          </string-name>
          ,
          <article-title>Using Language Models for Information Retrieval</article-title>
          .
          <source>Ph. D. Thesis</source>
          , Center for Telematics and Information Technology,
          <source>The Netherlands</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>F.</given-names>
            <surname>Jelinek</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Mercer</surname>
          </string-name>
          , '
          <article-title>Interpolated Estimation of Markov Source Parameters from Sparse Data'</article-title>
          .
          <source>In Gelsema ES and Kanal LN eds., Pattern Recognition in Practice</source>
          , North Holland, pp.
          <fpage>381</fpage>
          -
          <lpage>402</lpage>
          ,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Koehn</surname>
          </string-name>
          , '
          <article-title>Europarl: A multilingual corpus for evaluation of machine translation</article-title>
          .'Unpublished, http://www.isi.edu/ koehn/ publications/europarl/.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Mayfield</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>McNamee</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Piatko</surname>
          </string-name>
          ,
          <article-title>"The JHU/APL HAIRCUT System at TREC-8"</article-title>
          . In E. Voorhees and D. Harman (eds.),
          <source>Proceedings of the Eighth Text REtrieval Conference (TREC-8)</source>
          , NIST Special Publication 500-246, Gaithersburg, Maryland,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P.</given-names>
            <surname>McNamee</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Mayfield</surname>
          </string-name>
          , '
          <article-title>JHU/APL Experiments in Tokenization and Non-Word Translation</article-title>
          .
          <source>'Working Notes of the CLEF 2003 Workshop</source>
          , pp.
          <fpage>19</fpage>
          -
          <lpage>28</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.</given-names>
            <surname>McNamee</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Mayfield</surname>
          </string-name>
          , '
          <article-title>Character N-gram Tokenization for European Language Text Retrieval'</article-title>
          .
          <source>In Information Retrieval</source>
          ,
          <volume>7</volume>
          (
          <issue>1</issue>
          -2):
          <fpage>73</fpage>
          -
          <lpage>97</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>McNamee</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Mayfield</surname>
          </string-name>
          , 'Translating Pieces of Words.
          <source>' Proceedings of the 28th Annual International Conference on Research and Development in Information Retrieval (SIGIR-2005)</source>
          , Salvador, Brazil, pp.
          <fpage>643</fpage>
          -
          <lpage>644</lpage>
          ,
          <year>August 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Mihalcea</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Nastase</surname>
          </string-name>
          , '
          <article-title>Letter Level Learning for Language Independent Diacritics Restoration</article-title>
          .'
          <source>In: Proceedings of the 6th Conference on Natural Language Learning (CoNLL-2002)</source>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>111</lpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Pirkola</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Hedlund</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Keskusalo</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K.</given-names>
            <surname>Järvelin</surname>
          </string-name>
          , '
          <string-name>
            <surname>Dictionary-Based Cross-Language Information</surname>
          </string-name>
          Retrieval: Problems, Methods, and Research Findings',
          <source>Information Retrieval</source>
          ,
          <volume>4</volume>
          :
          <fpage>209</fpage>
          -
          <lpage>230</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>