<!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>Explicit Elimination of Similarity Blockers for Session-based Recommendation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mattia Brusamento</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Roberto Pagano</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Martha Larson</string-name>
          <email>m.a.larson@tudelft.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paolo Cremonesi</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Politecnico di Milano</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Milan</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Italy</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>&lt;name.surname&gt;@polimi.it</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Delft University of Technology, Delft &amp; Radboud University</institution>
          ,
          <addr-line>Nijmegen</addr-line>
          ,
          <country country="NL">Netherlands</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2016</year>
      </pub-date>
      <abstract>
        <p>A single `odd' interaction can cause two user interaction sessions to diverge in similarity, and stand in the way of generalization. The sensitivity of session-based recommenders to session similarity motivates us to explicitly identify and remove such `similarity blockers'. Speci cally, we leverage huge amounts of data, which allow us to identify blockers in the form of non-co-occurring items. Other blockers can be identi ed using content-based similarity. Our experiments reveal that explicitly eliminating relatively few blockers improves performance.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>Session-based recommender systems leverage information
about the current user session to predict how it will
continue. Session-based methods often rely heavily on
similarity between sessions. A single aberrant user interaction in a
session has the power to cause two otherwise highly similar
sessions to suddenly become dissimilar. We refer to such an
interaction as a `session blocker', since it causes two sessions
to be di erent without re ecting a real underlying di erence
of user preference.</p>
      <p>Session blockers can arise in two ways. First, a user may
interacts with an item only once, incidentally and unrelated
to preference. Second, the user may click on a
preferencerelated item, but it is a near-duplicate, and has an
unexpected item ID.</p>
      <p>
        The current era of big data opens the ability to search
for individual interactions that may have been incidental
clicks. In the past, non-occurrence, or non-co-occurrence of
items could be attributed to lack of data. Now, however, it
makes sense to investigate whether this non-co-occurrence is
truly incidental or whether it could be considered the source
of additional information that can be exploited for further
improve recommendations. For completeness we also look at
conventional near-duplicates identi ed on the basis of their
metadata. We are inspired by our previous work on
nearduplicates in large collections [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>In this paper, we show that considering items similar due
to non-co-occurrence, and, more conventionally, on the
basis of metadata will improve recommendation e ectiveness.
The e ect may be subtle, but a larger implication is that we
should not assume that items occurring in similar sessions
contribute positively to recommendations.
2.</p>
    </sec>
    <sec id="sec-2">
      <title>REDUNDANCY AND RECSYS</title>
      <p>We identify items (pairs or small clusters) that have
different item IDs, but should be treated as the same item,
since they will otherwise introduce a non-negligible
`similarity blocking' e ect. We demonstrate two points: (1) these
items should not be recommended together (since they are
redundant) and (2) collapsing them before training a model
could enhance performance (by eliminating `blocking').</p>
      <p>We adopted two di erent approaches to nd
similarityblocker items. The rst and more straightforward approach,
called technical duplicates, is based on the idea of detecting
near-duplicates in the collection of songs. In our case, the
available metadata is a Last.fm1 URL, consisting of a string
containing artist and title. We apply some basic NLP
techniques to compute the similarity between two items: after
properly parsing the URL, we compute the Jaccard
similarity among the resulting words. Since we are looking for
near-duplicates, we apply a threshold to decide which items
should be considered equal.</p>
      <p>The second and more sophisticated approach, called
collaborative duplicates, leverages the fact that two items fail
to ever co-occur despite their occurrence in similar (but
separate) contexts. The idea nds support in our observation
that, for a given user, the similarity between sessions
containing technical duplicates is signi cantly higher than the
average pairwise session similarity: this suggests that we can
expect near-duplicates to appear in similar sessions from the
same user. Moreover, we expect two near-duplicates never
to co-occur in the same session, based on the rationale that
the user would not listen to both of them together.</p>
      <p>Next, we describe our technique. During training, we
consider the set of sessions from each user in turn, and compute
the pairwise Jaccard similarity on this set. We retain the
pairs above a certain threshold. From these pairs of
sessions, we extract pairs of items, such that one belongs to
one session and one to the other, with the constraint that
they must not co-occur in a session the training set for any
user. The score given to the pairs of items is calculated
as the average similarity between the pairs of similar
sessions from which they come from, with a shrinkage factor.
Finally, we keep the pairs of items with a score above the
average, thus creating a cluster for each of these items. In
this way, many cluster overlap each other, and creating the
transitive closure of the clusters will result in a unique single
big cluster containing all the clustered songs. Since we are
instead interested in micro-clusters we kept only the disjoint
clusters, which usually contain 2 or 3 items.</p>
    </sec>
    <sec id="sec-3">
      <title>DATA AND EXPERIMENTS</title>
      <p>
        We carried out our experiments with an already existing
large scale music recommender system: the implicit playlist
recommender (IPR) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The algorithm is trained using the
user listening sessions: similar sessions from the same user
are considered as implicit playlists. The recommendations
are performed by matching the current session against the
implicit playlists, the songs from the best matching playlists
are then recommended. Our goal is to improve the
performance of this algorithm by con ating redundant items. The
data we used come from the 30Music dataset [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], thus the
size of the catalog is quite big (about 4M songs). We adopted
Apache Spark to deal with the large-scale of the data. In
particular, we used a cluster composed by 200 nodes.
      </p>
      <p>To compute technical duplicates, we applied some
heuristic optimization, such as the assumption that two
nearduplicates should have at least one bigram in common. In
this way, we avoid comparing each item with all the others.
By leveraging the map-reduce paradigm, our algorithm took
about 4 hours to identify near-duplicates. As one could
expect, using this technique we nd redundant items as: 'Chris
James feat. Ria Moran - Song For Her' and 'Chris James
Song for Her (feat. Ria Moran)'. In this way, we reduced
the number of items by 6.09%.</p>
      <p>As for the collaborative duplicates, the number of items
we were able to nd was much lower (around 600). All of
them belong to the long tail, but come from the most active
users, who have a higher probability of contributing.</p>
    </sec>
    <sec id="sec-4">
      <title>RESULTS AND DISCUSSION</title>
      <p>
        We adopted the original experimental settings of the IPR2
used in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We ensure score comparability by projecting the
recommendations generated by IPR into the cluster space of
the experimental conditions. Note that this process
advantages the baseline, meaning that smaller di erences in score
0.0015
0.00100
can be considered more important. Figure 1 shows the
differences between the performance obtained by applying the
clustering and the original IPR. We see that applying the
combination of the collaborative and technical redundancy
detection (Coll&amp;J75 and Coll&amp;J9), leads to a positive di
erence in the performance for all N , and has positive e ects in
the training of the model. Precision, omitted here for space
reasons, shows similar behavior.
      </p>
      <p>20
40
60
80</p>
      <p>100
N</p>
      <p>The di erence in performance can be explained by the fact
that merging redundant items allows the creation of more
playlists. In all the cases, our techniques improve the
performance for big N . This is because the original algorithm
poses an hard threshold on a soft similarity (shrunk
Jaccard) and, by merging duplicates, a larger number of useful
implicit playlists are above the similarity threshold. In the
future, we plan to analyze the e ects with di erent
recommendation algorithms and also to evaluate online.</p>
      <p>Finally, we double-checked our assumptions by mapping
our new recommendations into the original space, which we
did by attening the clusters. As one would expect, this
degrades the performance. This result con rms our conclusion
that the groups of items we identi ed as redundant should
not be recommended together.</p>
      <p>The ndings in this paper are interesting in light of the
currently growing importance of session-based
recommendation. E ectively, we have shown that not all similarity
is good: instead, items can potentially be too similar. The
approach of eliminating such similarity-blocker items
explicitly, is greater than might be otherwise assumed, given their
relative limited numbers. Merging items before training a
model can boost performance, and, moving forward, may
also have important implications for diversity: by removing
too-similar items, more slots open for other items.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Turrin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Condorelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cremonesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pagano</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Quadrana</surname>
          </string-name>
          .
          <article-title>Large scale music recommendation</article-title>
          .
          <source>Workshop on Large-Scale Recommender Systems (LSRS</source>
          <year>2015</year>
          )
          <article-title>at</article-title>
          ACM RecSys,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Turrin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Quadrana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Condorelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pagano</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Cremonesi</surname>
          </string-name>
          .
          <article-title>30Music listening and playlists dataset</article-title>
          .
          <source>ACM RecSys poster 2015 CEUR-WS.org/</source>
          Vol-
          <volume>1441</volume>
          /recsys2015 poster13.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Vliegendhart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Larson</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Pouwelse</surname>
          </string-name>
          .
          <article-title>Discovering user perceptions of semantic similarity in near-duplicate multimedia les</article-title>
          .
          <source>CrowdSearch 2012 CEUR-WS.org/</source>
          Vol-
          <volume>842</volume>
          /crowdsearch-vliegendhart.pdf.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>