<!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>Local Word Embeddings for Query Expansion based on Co-Authorship and Citations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andre Rattinger</string-name>
          <email>andre.rattinger@cern.ch</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jean-Marie Le Go</string-name>
          <email>jean-marie.le.goff@cern.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christian Guetl</string-name>
          <email>cguetl@iicm.edu</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CERN</institution>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Graz University of Technology</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>46</fpage>
      <lpage>53</lpage>
      <abstract>
        <p>Word embedding techniques have gained a lot of interest from natural language processing researchers recently and they are valuable resource in identifying a list of semantically related terms for a search query. These related terms build a natural addition for query expansion, but might mismatch when the application domains use di erent jargon. Using the Skip-Gram algorithm of Word2Vec, terms are selected only from a speci c subset of the corpus, which is extended by documents from co-authorship and citations. We demonstrate that locally-trained word embeddings with this extension provides a valuable augmentation and can improve retrieval performance. First result suggest that query expansion and word embeddings could also bene t from other related information.</p>
      </abstract>
      <kwd-group>
        <kwd>word embeddings</kwd>
        <kwd>query expansion</kwd>
        <kwd>co-authorship</kwd>
        <kwd>word2vec</kwd>
        <kwd>pseudo relevance feedback</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Methods to create xed representations of words and documents have long been
a staple of natural language processing (NLP) and information retrieval (IR)
research. Recently neural network based method of generating those
representations have gained popularity in IR. Models such as Word2Vec [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], transform
the terms from a document into high-dimensional vectors. Semantically similar
terms in those vector representations are close to each other and the size of
the vectors is much smaller than the size of the vocabulary compared to
traditional methods. This work focuses on the IR task of query expansion, and
the applicability of word embeddings, even if the dataset for training is limited.
Word embeddings provide a good t for query expansion, as it can aid with
the vocabulary mismatch between the query and the relevant documents.
Embeddings trained on a small topically-relevant corpus promise embeddings that
produce better tting terms for a speci c area. The size of the dataset can be
a limitation in training and the subsequent expansion process, as the quality
of word embeddings bene ts from bigger datasets. We therefore propose to use
documents for the expansion process that promise to be relevant by association
with the retrieved results: referenced documents and documents from co-authors.
We test our approach on a small topically-relevant corpus and compare the
results with a bigger more general dataset. The smaller corpus is from a speci c
topically-relevant subsection of research papers, computational linguistics. The
bigger dataset is made up of patents from all patent classes, and is therefore very
general. For an additional comparison we also perform the same test with
general purpose embeddings trained on articles from the English-language edition of
Wikipedia. The more detailed description of the publication and patent datasets
can be found in Section 3. Section 4 describes the general approach of the local
query expansion method and Section 5 describes the experimental setup for the
retrieval experiments. The results of the di erent retrieval experiments can be
found in Section 6 and Section 7 concludes the paper.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        A few attempts have been made at expanding queries with word embeddings.
Roy et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] demonstrate the e ect generalization has on retrieval performance
when using word embeddings. It was shown that while global methods can
increase overall retrieval performance, they perform worse than co-occurrence
based techniques. Diaz et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] recently proposed a method for locally-trained
word embeddings for query expansion, and is the closest to the work presented
here. The di erence between the work and our research is the application of
the methods, the focus on pseudo relevance feedback and the implications of
additional documents on the query expansion process. A di erent approach is
the incorporation of word embeddings and using them to weight terms that are
not part of the query [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. This approach is similar to ours, but it uses di erent
weighting scheme and does not operate on a local basis. Query expansion over
the corpus which is indexed was previously performed and incorporated with
pseudo relevance feedback [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], but with fairly big datasets which do not provide
the same degree of locality. The scope of the used datasets is similar to the
patent dataset presented here, however. Another approach is to use information
from di erent local context, as was done as part of personalization of word
embeddings [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This approach did not provide promising results as other localized
methods did though.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Datasets</title>
      <p>
        We conduct our experiments on two datasets: the ACL anthology collection and
the English subset of the CLEF-IP 2011 collection. The ACL collection [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is
a small information retrieval dataset containing almost 10,000 research papers
from the ACL anthology. The documents are scienti c publications from the eld
of computational linguistics. It includes 82 research questions and their relevance
assessments. As this is a small dataset for information retrieval, the information
is supplemented by other documents available to us. These include other research
papers from the authors as well as the work they cite in the articles contained in
the collection. With this addition, the dataset contains 33,922 research articles.
The additional research papers are used in query expansion, but not for the main
indexing and retrieval. They are also not part of the relevance assessments.
      </p>
      <p>
        The English-language subset of the CLEF-IP 2011 collection [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] contains
about 400,000 patents and 1,350 topics. Compared to the ACL dataset, a query
is not represented by a set of terms, but by a whole patent document. The search
terms have to be extracted from the document. The reason for this is that the
goal in patent retrieval is to nd similar documents that might invalidate a
patent application. To generate the search queries, terms in the documents are
weighted with tf-idf to extract the most relevant words from a document. Search
queries with a length of 30 terms produced the best results and are used as
a baseline for further experiments. No supplementation or addition with other
documents is performed because of the size of the dataset is deemed su cient.
Citations are considered in the experiments if they are citing patents within the
corpus. Patent citation promise to be valuable because they are not only added
by the author, but also by the patent examiner. The CLEF-IP collection as a
whole is used as a reference corpus to show the e ect of query expansion on a
dataset that is not as topically constrained as the ACL dataset.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Local Query Expansion</title>
      <p>
        Local methods for query expansion generally perform better than their global
counterparts. This holds true for word embeddings as well as other techniques
[
        <xref ref-type="bibr" rid="ref14 ref4">4, 14</xref>
        ]. The ACL collection represents a subset of research papers which focuses
on a speci c topic. This lends itself well for the training of word embeddings
compared to a big general dataset. The applicability to a smaller local context
can be demonstrated with a small example: Latent Semantic Indexing (LSI) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
is a well-known NLP technique used in IR. When looking at the most similar
words generated by the word embedding model for the term "latent", the global
model generates terms such as "inherent", "suppresses", "innate", "inhibition"
or "implicit". Some of those words provide actual synonyms in an overall context,
similar to what a thesaurus would provide. The local embedding version trained
on the ACL collections provides a di erent represenatation of the data. Similar
terms to "latent" are: "plsa", "lsa", "dirichlet", "allocation", "plsi" or
"probabilistic". All of these are either terms in the direct context of the LSI technique
or refer to similar techniques used in NLP applications. A similar observation is
made in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], where the word "cut" is studied in a global context and compared
to a local one. To train local word embeddings, a set of documents is required
that re ects the local context. This is provided by the top-ranked documents in
retrieval as well as the documents from references and co-authorships.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Experimental Setup</title>
      <p>
        We use the Skip-Gram algorithm from the Word2Vec model to train the word
embeddings. The embeddings are used to choose the terms that are closest to
the query, by using the cosine similarity between the projected vectors. This
is done for noun phrases in the query as well as the single query terms. The
most similar words to the query terms are then incorporated into the expansion
model. The expansion is based on the n most relevant documents from the
retrieval run, a method which is also known as pseudo relevance feedback (PRF).
PRF is a proven method for expanding a query and in doing so achieving better
retrieval performances. This provides a natural addition to the expansion process
and helps together with word embeddings to mitigate the vocabulary mismatch
problem that arises in IR when di erent terms are used to describe the same
concepts [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. For the evaluation both of the datasets underwent several setup
steps. The setup steps are the same for both datasets with a few exceptions,
notably stopword removal and tokenization.
5.1
      </p>
      <sec id="sec-5-1">
        <title>Pre-processing</title>
        <p>
          As a preparation for indexing, the corpus for both of the datasets is tokenized
with a regex tokenizer and transformed to lower case. The stopwords are ltered
with the SMART stopword list3. The stopword lists were extended with query
and publication speci c stopwords. Stopword removal was only performed for
indexing, but not for the word embedding models, as they help by providing
context for the training of the models [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Krovetz stemming [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] was applied
to all documents to reduce the overall vocabulary size. This was bene cial in
training the word embedding models, as it creates a sparser input space for the
comparatively small ACL dataset.
5.2
        </p>
      </sec>
      <sec id="sec-5-2">
        <title>Indexing and Initial Retrieval</title>
        <p>
          We are using an extension of the Bo1 model [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], a variant of the divergence from
randomness (DFR) weighting model. Bo1 was chosen because it represents a
stable version in the DFR framework [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Weights are assigned in the following
way:
        </p>
        <p>1 + f
w(t) = tf log2 + log2 1 + f (1)</p>
        <p>
          f
where tf is the frequency of the terms within the set of top ranked feedback
documents, and f is the term frequency of the term in the corpus divided by
the N documents indexed from the whole document collection. Bo1 is used
for initial weighting and candidate term selection, which provides us with a
basis for measuring the information content of the di erent query expansion
candidates. This is an important step in ranking them. For retrieval, the reference
implementation of the Inverse Document Frequency model (InL2) for weighting
from the terrier retrieval platform was used [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. The rst round of retrieval
provides the basis for the pseudo relevance feedback. The number of feedback
documents was set to 3, which produced the best overall results.
3
http://jmlr.csail.mit.edu/papers/volume5/lewis04a/a11-smart-stoplist/english.stop
5.3
        </p>
      </sec>
      <sec id="sec-5-3">
        <title>Word2Vec Parameters and Learning of Embeddings</title>
        <p>The initial Word2Vec models are learned on the whole corpus for both datasets.
Another model is learned from the English-language edition of Wikipedia. The
initial models are learned because training a full local model is very ine cient.
The model provides several parameters that can be set to improve the model
results. As the ACL dataset is small, the default number of iterations is set from
5 to 20. The minimum frequency of the words appearing in the corpus was set to
8. The window size, which represents the maximum distance between the word
Word2Vec looks at and the word it is trying to predict within a sentence, was set
to 7. The Skip-Gram algorithm delivered superior results for the dataset
compared to the continuous bag of words (CBOW) algorithm. All of those settings
produced the best results combined.
5.4</p>
      </sec>
      <sec id="sec-5-4">
        <title>Retrieval and Query Expansion</title>
        <p>Let Q be a query issued by the user, which can also represented as a list of terms
q1; q2; :::; qn, and C be the list of candidate terms for query expansion, represented
as c1; c2; :::ck. The initial set of C is selected out of all of the terms in the rst m
relevant documents, which includes all terms found in the documents. The pool of
candidates C is then extended by all terms that appear in the reference section
of the relevant documents. In addition to this, they are extended by similar
documents of their co-authors, which creates an extended list of candidate terms,
and their frequencies can then be used for the weighting by Bo1. The process of
adding terms from co-author documents is only executed for the ACL dataset.
For the resulting set of documents, the top k terms according to their weight
assigned to them from Bo1 are used for further processing. The list of terms
ltered by the stopword lists all provide the basis for the lookup of similar terms
e(1i); e(2i); :::; e(ni) with the Word2Vec model. Before generating candidate terms,
the Word2Vec model is retrained on the same extended dataset the candidate
term lookup was performed on. Training is done with the same settings as in
the initial training step described in the previous section. The lookup of terms
in the model creates another list of extended candidates, which is weighted by
the Bo1 model.
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Results</title>
      <p>
        In this section, we present the results of both datasets and di erent con
gurations for query expansion. The results of both datasets have low retrieval
performance in terms of the main metrics used, which can also be found in
reference works considered to provide baselines [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ]. The datasets are challenging
because of the low number of relevant documents for each query, as can be seen
in Table 1. The following notation is used for the result tables:
{ Baseline represents the retrieval without any query expansion method
applied.
{ QE global denotes the global query expansion approach with a general
purpose query expansion model trained on a dataset from the English-language
edition of Wikipedia.
{ QE local is the locally-trained model.
{ QE local ext. is the locally-trained model with the extension of reference
documents and documents from co-authors.
In this paper we showed the implication of local query expansion by using
documents from references and co-authors. The inclusion of those documents provides
further information for term selection for the models on two datasets with low
baseline performances. Extending the approach to generate a bigger list of
candidates that are potentially relevant improved retrieval performance for the ACL
dataset. For the CLEF-IP patent dataset only slight improvements can be
observed and no statistic signi cance could be shown. One potential issue might be
caused by the pre-training of the word embeddings. As training local embeddings
is very costly and ine cient, retraining on a previously created dataset can speed
up the training. The results might indicate that a certain level of topical
relevance needs to be achieved for this approach to be e ective, even if the system
was trained on a relevant corpus. The addition of supplementary information
from references and co-authors might not be as bene cial for datasets with
better overall performance, as the number of retrieved documents that can be used
reliably as a source for pseudo relevance feedback is greater. The retrieval results
might be improved by switching the weighting of candidate terms from a
distribution based method (Bo1) to association based term selection, which is used as
a basis for other work in word embedding query expansion [
        <xref ref-type="bibr" rid="ref15 ref4">15, 4</xref>
        ]. Future work
may help to shed more light on the implication of di erent weighting models as
well as how topically restrained embeddings have to be in order to achieve the
best results.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Giambattista</given-names>
            <surname>Amati</surname>
          </string-name>
          .
          <article-title>Probability models for information retrieval based on divergence from randomness</article-title>
          .
          <source>PhD thesis</source>
          , University of Glasgow,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Nawal</given-names>
            <surname>Ould</surname>
          </string-name>
          <string-name>
            <surname>Amer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Philippe</given-names>
            <surname>Mulhem</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Mathias</given-names>
            <surname>Gery</surname>
          </string-name>
          .
          <article-title>Toward word embedding for personalized information retrieval</article-title>
          .
          <source>In Neu-IR: The SIGIR 2016 Workshop on Neural Information Retrieval</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Scott</given-names>
            <surname>Deerwester</surname>
          </string-name>
          .
          <article-title>Improving information retrieval with latent semantic indexing</article-title>
          .
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Fernando</given-names>
            <surname>Diaz</surname>
          </string-name>
          , Bhaskar Mitra, and
          <string-name>
            <given-names>Nick</given-names>
            <surname>Craswell</surname>
          </string-name>
          .
          <article-title>Query expansion with locally-trained word embeddings</article-title>
          .
          <source>arXiv preprint arXiv:1605.07891</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>George</surname>
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Furnas</surname>
          </string-name>
          , Thomas K. Landauer,
          <string-name>
            <surname>Louis M. Gomez</surname>
          </string-name>
          , and
          <string-name>
            <surname>Susan</surname>
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Dumais</surname>
          </string-name>
          .
          <article-title>The vocabulary problem in human-system communication</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>30</volume>
          (
          <issue>11</issue>
          ):
          <volume>964</volume>
          {
          <fpage>971</fpage>
          ,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Robert</given-names>
            <surname>Krovetz</surname>
          </string-name>
          .
          <article-title>Viewing morphology as an inference process</article-title>
          .
          <source>In Proceedings of the 16th annual international ACM SIGIR conference on Research and development in information retrieval</source>
          , pages
          <volume>191</volume>
          {
          <fpage>202</fpage>
          . ACM,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Saar</given-names>
            <surname>Kuzi</surname>
          </string-name>
          , Anna Shtok, and
          <string-name>
            <given-names>Oren</given-names>
            <surname>Kurland</surname>
          </string-name>
          .
          <article-title>Query expansion using word embeddings</article-title>
          .
          <source>In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management</source>
          , pages
          <year>1929</year>
          {
          <year>1932</year>
          . ACM,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Jey</given-names>
            <surname>Han Lau</surname>
          </string-name>
          and
          <string-name>
            <given-names>Timothy</given-names>
            <surname>Baldwin</surname>
          </string-name>
          .
          <article-title>An empirical evaluation of doc2vec with practical insights into document embedding generation</article-title>
          .
          <source>arXiv preprint arXiv:1607.05368</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Craig</given-names>
            <surname>Macdonald</surname>
          </string-name>
          ,
          <string-name>
            <surname>Richard</surname>
            <given-names>McCreadie</given-names>
          </string-name>
          , Rodrygo LT Santos, and
          <string-name>
            <given-names>Iadh</given-names>
            <surname>Ounis</surname>
          </string-name>
          .
          <article-title>From puppy to maturity: Experiences in developing terrier</article-title>
          .
          <source>Proc. of OSIR at SIGIR</source>
          , pages
          <volume>60</volume>
          {
          <fpage>63</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Tomas</surname>
            <given-names>Mikolov</given-names>
          </string-name>
          , Kai Chen, Greg Corrado, and
          <article-title>Je rey Dean. E - cient estimation of word representations in vector space</article-title>
          .
          <source>arXiv preprint arXiv:1301.3781</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Florina</surname>
            <given-names>Piroi</given-names>
          </string-name>
          , Mihai Lupu, Allan Hanbury, and
          <string-name>
            <given-names>Veronika</given-names>
            <surname>Zenz</surname>
          </string-name>
          . Clef-ip
          <year>2011</year>
          :
          <article-title>Retrieval in the intellectual property domain</article-title>
          .
          <source>In CLEF (notebook papers/labs/workshop)</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Anna</given-names>
            <surname>Ritchie</surname>
          </string-name>
          .
          <article-title>Citation Context Analysis for Information Retrieval</article-title>
          .
          <source>PhD thesis</source>
          , University of Cambridge, UK,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Dwaipayan</surname>
            <given-names>Roy</given-names>
          </string-name>
          , Debjyoti Paul, Mandar Mitra, and
          <string-name>
            <given-names>Utpal</given-names>
            <surname>Garain</surname>
          </string-name>
          .
          <article-title>Using word embeddings for automatic query expansion</article-title>
          .
          <source>arXiv preprint arXiv:1606.07608</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Xing</given-names>
            <surname>Wei</surname>
          </string-name>
          and
          <string-name>
            <given-names>W Bruce</given-names>
            <surname>Croft</surname>
          </string-name>
          .
          <article-title>Lda-based document models for ad-hoc retrieval</article-title>
          .
          <source>In Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval</source>
          , pages
          <volume>178</volume>
          {
          <fpage>185</fpage>
          . ACM,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Hamed</given-names>
            <surname>Zamani</surname>
          </string-name>
          and
          <string-name>
            <given-names>W Bruce</given-names>
            <surname>Croft</surname>
          </string-name>
          .
          <article-title>Embedding-based query language models</article-title>
          .
          <source>In Proceedings of the 2016 ACM international conference on the theory of information retrieval</source>
          , pages
          <volume>147</volume>
          {
          <fpage>156</fpage>
          . ACM,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>