<!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>
      <journal-title-group>
        <journal-title>Impact of Negative Samples on Learning to Rank. In
Proceedings of the first international Workshop on LEARning Next gEneration
Rankers, Amsterdam, The Netherlands, October</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>The Impact of Negative Samples on Learning to Rank</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Raaele Perego ISTI-CNR</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Italy r.perego@isti.cnr.it</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Claudio Lucchese Ca' Foscari University of Venice</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Franco Maria Nardini ISTI-CNR</institution>
          ,
          <addr-line>Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Salvatore Trani ISTI-CNR</institution>
          ,
          <addr-line>Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <volume>1</volume>
      <issue>2017</issue>
      <abstract>
        <p>Learning-to-Rank (LtR) techniques leverage machine learning algorithms and large amounts of training data to induce high-quality ranking functions. Given a set of documents and a user query, these functions are able to predict a score for each of the documents that is in turn exploited to induce a relevance ranking. e eectiveness of these learned functions has been proved to be signicantly aected by the data used to learn them. Several analysis and document selection strategies have been proposed in the past to deal with this aspect. In this paper we review the state-of-the-art proposals and we report the results of a preliminary investigation of a new sampling strategy aimed at reducing the number of not relevant query-document pairs, so to signicantly decrease the training time of the learning algorithm and to increase the nal eectiveness of the model by reducing noise and redundancy in the training set.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        Ranking is one of the most important problems in information
retrieval. Modern Web search engines exploit and combine hundreds
of features modelling the relevance between the user query and
the candidate documents. A specic area of machine learning, i.e.,
learning to rank, has been developed to deal with the ranking
problem. Given a training set of feature vectors and relevance pairs, a
learning to rank algorithm learns how to combine the query and
the document features so to optimize a specic eectiveness
ranking metric. In the last years important eorts have been spent on
feature engineering/extraction and the development of
sophisticated learning to rank algorithms while lile research has been
conducted on how to choose queries and documents for learning
to rank datasets nor on the eect of these choices on the ability
of learning to rank algorithms to learn eectively and eciently.
Yilmaz and Robertson aack the problem by observing that the
number of judgments in the training set directly aects the quality
of the learned system [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Given the expense of obtaining relevance
judgments for constructing training data, the major problem is how
to well distribute this judgment eort. Authors thus investigate
the trade-o between the number of queries and the number of
judgments per query when building training sets. In particular, they
show that training sets with more queries but less judgments per
query are more cost eective than training sets with less queries
but more judgments per query.
      </p>
      <p>
        Asham et al. propose several document selection
methodologies, i.e., depth-k pooling, sampling (infAP, statAP), active-learning
(MTC), and on-line heuristics (hedge) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Authors prove that some
of the proposed methods, i.e., infAP, statAP and depth pooling,
are beer than others (hedge and the LETOR method) for building
ecient and eective learning to rank collections. Authors also
propose a comparison with the document selection methodology
used to create the LETOR datasets. e proposed study also deals
with both i) the proportion of relevant documents to non-relevant
documents and ii) the similarity between relevant and non-relevant
documents in the datasets. Results conrm that both characteristics
highly aect the quality of the learning-to-rank collections, with the
laer having more impact. As a side result, authors also observed
that some learning to rank algorithms, RankNet and LambdaRank,
are more robust to document selection methodologies than other,
i.e., Regression, RankBoost and Ranking SVM.
      </p>
      <p>
        In a later contribution, Kanoulas et al. propose a large-scale
study on the eect of the distribution of labels across the dierent
grades of relevance in the training set on the performance of trained
ranking functions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Authors propose a methodology that allows
to generate a large number of training datasets with dierent label
distributions. e datasets are then employed by three learning
to rank algorithms to t a ranking model. Authors investigate the
eect of these distributions on the accuracy of the obtained ranking
functions to characterize how training sets should be constructed.
Authors conclude that the relevance grade distribution in the
training set is an important factor for the eectiveness of learning to
rank algorithms. ey provide qualitative advise about the
construction of learning to rank datasets: i) distributions with a balance
between the number of documents in the extreme grades should be
favoured as the middle relevance grades play less important role
than the extreme ones.
      </p>
      <p>In this paper, we investigate a new technique to sample
documents in order to improve both eciency and eectiveness of
learning to rank models. Indeed, the improved eciency is a
consequence of a reduced size of the sampled dataset, with the ranking
algorithm that have to learn from a lower number of query-document
pairs. On the other hand, an eective sampling technique may lead
to improve the eectiveness of the resulting model by ltering out
noise and reducing the redundancy of the query-document pairs.</p>
      <p>We present preliminary experimental results proving the benets
of the new proposed sampling methodology.
2</p>
    </sec>
    <sec id="sec-2">
      <title>METHODOLOGY AND DISCUSSION</title>
      <p>We propose a sampling methodology that acts in two steps: i) we
train a ranking model on the full dataset and we use it to rank the
query-document pairs of the same dataset; ii) we select a given
fraction of the top-ranked negative samples, i.e., label = 0, together
with all the positive ones, i.e., label&gt; 0. e rationale is that the
top-ranked negative samples by the learned model are the most
likely to be mis-ranked. Consequently, we reduce the dataset to
such positive and negative examples to let the learning algorithm
focuses on the most critical and discriminating examples. Moreover,
by sampling only negative documents we indirectly reduce the
unbalance between positive and negative classes and reduce the
redundancy in the negative class.</p>
      <p>
        We evaluate the eectiveness of our proposed technique on the
Istella1 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] publicly available dataset. It is composed of 33,018
queries and each of the 10,454,629 query-document pairs is
represented by means of 220 features. Training and validation data
were used to train a reference algorithm. i.e.. λ-Mart. a list-wise
algorithm that is capable of using NDCG in its loss function,
resulting in a predictor of the ranking [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. e λ-Mart algorithm
was ne-tuned by sweeping its parameters to maximize NDCG@10.
e best performance were obtained with a learning rate equal to
0:05 and using 64 leaves.
      </p>
      <p>We built several sampled datasets by varying the fraction of
negatives sampled to f5%; 10%; 20%; 40%g. We trained a λ-Mart
model on each of these sampled datasets and we evaluated their
performance on the full test set. As shown in Figure 1, the best
performing model is the one trained on the dataset where only the
top 10% negatives were selected. is model signicantly
outperforms the model trained on the full training set by a large margin.
Moreover, when the fraction of documents selected is lowered to
5%, we observe a drop in performance, while in the rst iterations
(up to 200 trees) results are in line with other models. is
behavior suggests that the use of 5% of the negative instances does not
fully represent the negative class of query-document pairs. As a
(a) Model trained on Full Dataset (b) Model trained on 10% Sample
consequence the resulting model is not able to correctly identify
them and this harm the ranking accuracy.</p>
      <p>e proposed sampling strategy has been showed to provide
a signicant boost to the eectiveness of the ranking model. To
understand the reasons that lead to this gain, we investigate the
similarity distribution between pairs of documents in the negative
class. Figure 2 reports such instance analysis, where the similarity
between a pair of documents is computed by counting the number
of exit leaves in common in scoring the two documents using the
given ensemble-based ranking model. e x-axis corresponds to
the number of leaves in common (1,000 is the max for two
documents exiting in the same leaves for all the trees), while the y-axis
corresponds to the number of pairs with the given similarity. e
negative examples in the full dataset were analyzed with the models
trained on the full dataset and on the 10% sample. According to the
model trained on the sampled dataset, the document pairs
distribution is signicantly skewed towards dissimilar pairs, i.e., with
a few common exit leaves. is not only signies that the initial
dataset was redundant in the negative class, but it also implies that
the model trained on the sampled dataset is much more eective in
discriminating among the negative examples and thus resulting in
an improved ranking accuracy.</p>
      <p>e preliminary experimental evaluation conrms the validity
of the proposed sampling technique. As future work we intend
to investigate in depth for a robust and systematic sampling
technique that is able to provide benets independently from the
classdistribution of the dataset and where the best sampling ratio is
automatically chosen accordingly to the dataset properties. We
believe that sampling strategies can both improve the quality of
the training data generate and the eectiveness of the learning
algorithms.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Javed</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Aslam</surname>
            , Evangelos Kanoulas, Virgil Pavlu, Stefan Savev, and
            <given-names>Emine</given-names>
          </string-name>
          <string-name>
            <surname>Yilmaz</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Document Selection Methodologies for Ecient and Eective Learning-to-rank</article-title>
          .
          <source>In Proc. ACM SIGIR'09</source>
          .
          <fpage>468</fpage>
          -
          <lpage>475</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Dato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Lucchese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Nardini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Orlando</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Perego</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.</surname>
          </string-name>
          <article-title>Tonelloo, and</article-title>
          <string-name>
            <given-names>R.</given-names>
            <surname>Venturini</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Fast Ranking with Additive Ensembles of Oblivious and Non-Oblivious Regression Trees</article-title>
          .
          <source>ACM Trans. Inf. Syst</source>
          .
          <volume>35</volume>
          ,
          <issue>2</issue>
          ,
          <string-name>
            <surname>Article 15</surname>
          </string-name>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Evangelos</given-names>
            <surname>Kanoulas</surname>
          </string-name>
          , Stefan Savev, Pavel Metrikov, Virgil Pavlu, and
          <string-name>
            <given-names>Javed</given-names>
            <surname>Aslam</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>A Large-scale Study of the Eect of Training Set Characteristics over Learning-to-rank Algorithms</article-title>
          .
          <source>In Proc. ACM SIGIR'11</source>
          .
          <fpage>1243</fpage>
          -
          <lpage>1244</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.J.C.</given-names>
            <surname>Burges</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.M. Svore</surname>
            , and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Gao</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Adapting boosting for information retrieval measures</article-title>
          .
          <source>Information Retrieval</source>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Emine</given-names>
            <surname>Yilmaz</surname>
          </string-name>
          and
          <string-name>
            <given-names>Stephen</given-names>
            <surname>Robertson</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Deep Versus Shallow Judgments in Learning to Rank</article-title>
          .
          <source>In Proc. ACM SIGIR'09</source>
          .
          <fpage>662</fpage>
          -
          <lpage>663</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>