<!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>Kernalized Collaborative Contextual Bandits</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Leonardo Cella</string-name>
          <email>leonardo.cella@mail.polimi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Romaric Gaudel</string-name>
          <email>romaric.gaudel@ensai.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paolo Cremonesi</string-name>
          <email>paolo.cremonesi@polimi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Politecnico di Milano</institution>
          ,
          <addr-line>Milan</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Univ. Rennes</institution>
          ,
          <addr-line>Ensai, CREST, Rennes</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <abstract>
        <p>We tackle the problem of recommending products in the online recommendation scenario, which occurs many times in real applications. The most famous and explored instances are news recommendations and advertisements. In this work we propose an extension to the state of the art Bandit models to not only take care of diferent users' interactions, but also to go beyond the linearity assumption of the expected reward. As applicative case we may consider situations in which the number of actions (products) is too big to sample all of them even once, and at the same time we have several changing users to serve content to.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        INTRODUCTION AND RELATED WORKS
In the Recommender Systems (RS) field the most valuable
information to rely on are user interactions. That is the reason why
Collaborative Filtering methods are the current state of the art model, or
at least the ones that give the most important contribution when
recommending. In the web we have many real applications such
as: computational advertisement, news recommendation or on-line
streaming, that do not fit the classical recommending scenario.
Their peculiarity is the fact that both the sets of active users and
available products are very fluid , therefore they change with time
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        In this on-line recommendation scenario, in particular when
we also have contexts besides item feature vectors, multi-armed
bandits techniques have shown to be an excellent solution and are
the current state of the art model. Most of the previous eforts on
contextual bandits were spent on looking to the recommendation
problem from a single user standpoint. We may find just a few
preliminary works along the collaborative direction [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        With this project we also want to consider scenarios where the
set of products is too big to be explored entirely, therefore we
decide to exploit kernel methods [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. They provide a way to extract
from the primal context features space non-linear relationships that
map original features to the obtained rewards relying on
similarity information between contexts. It is useful also to mention that
there are settings where contexts similarities are the only available
information [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Previous approaches to the contextual bandit
problems usually assume that the features-rewards mapping is a linear
relationship ([
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]) the only exception is given by [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        In a nutshell, in this paper we demonstrate that Collaborative
Bandits [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] may be extended, through kernel trick, and get out of
the linearity assumption. Our modeling assumptions are that the
expected reward obtained after choosing a product to recommend
can be expressed as a function of both the product features and
other users’ interactions on diferent items. To do so, in this project
we introduce a contextual multi-armed bandits model that rely
on kernel methods to go beyond the linearity assumption, and on
graphs to take into account the Collaborative aspect.
      </p>
      <p>The following section details the modeling assumptions and
Section 3 presents the proposed algorithm.
2</p>
    </sec>
    <sec id="sec-2">
      <title>LEARNING MODEL</title>
      <p>We assume that the learning process can be divided in T discrete
rounds t = 1, . . . , T . At time t , the learner receives a user index ut ∈
U = {1, . . . , n} to provide recommendation to, and a set of available
contexts1 (arms) Xt = {xt,1, . . . , xt,ct } ⊆ ℜd . The learner has to
select one of the content feature vectors xt ∈ Xt to recommend to
ut , and then it observes a payof vt whose expectation is ϕ(xt )⊤θut ,
where (i) we assume there exists a mapping ϕ : ℜd → H that maps
the data to a Hilbert Space, and (ii) θut ∈ H is unknown from the
learner. More specifically, we call ℜd the primal space and H the
related reproducing kernel Hilbert space.</p>
      <p>The learner aims at maximizing the total payof over the T
rounds: Ít vt . This goal is usually translated in a minimization/bounding
problem of a loss variable called (pseudo-)regret, that measures the
gap of the learner policy wrt. the optimal one (being aware of
parameters (θu )u ∈U ). The regret at time t is defined as:
rt = max ϕ(x)⊤θut − ϕ(xt )⊤θut
x∈Xt
(1)</p>
      <p>Let define the kernel function as: k(x, x’) := ϕ(x)⊤ϕ(x’) ∀x, x’ ∈
ℜd . From that function and given a dataset composed by t records
x1, . . . , xt ∈ ℜd , we define the kernel matrix as Kt := k(xi , xj )i, j ≤t .</p>
      <p>It’s worth noting that in such scenario there is no need to get
access to content representation. As we clarify in next section, the
algorithm only requires to know the kernel value k(x, x’) for any
pair (x, x’) of contents which have been recommended. Similarly,
the estimates of the unknown parameters (θu )u ∈U are never
explicitly expressed.</p>
      <p>In order to represent the collaborative efect, we also assume
that users and contents can be co-clustered as expressed in the
following. First, for each content vector x ∈ ℜd , the set U can be
1Along the paper, we identify contexts as the concatenation of item feature
representation and real contextual properties(when available). Therefore they fully characterize
the available items properties.
clusterized as C(x) = U ix 1≤i ≤m(x), such that (i) U = Ðmi=(1x ) U ix
and U i ∩ U j = ∅ for any 1 ≤ i &lt; j ≤ m(x), and (ii) the users
belonging to the same cluster react similarly when the content with
feature vector x is recommended to them. Namely, if two users u and
u ′ belong to the same cluster U kx , then ϕ(x)⊤θu − ϕ(x)⊤θu′ ≤ γ
for some unknown gap parameter γ ≥ 0.</p>
      <p>Second, the content-vectors are themselves clustered in sets
X 1, X 2, . . . , Xm such that two contents belonging to the same
cluster induce the same clustering on U : ∀1 ≤ j ≤ m, ∀x, x′ ∈
X j , C(x) = C(x′).</p>
      <p>
        Clearly the co-clustering mapping is not known and is one of
the two main learning objective of the proposed algorithm. The
novelty compared to [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is that we assume clusterings over users is
determined by non-linear functions of item features thanks to the
applications of kernel methods.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3 ALGORITHM</title>
      <p>The proposed algorithm (Algorithm 1) adopts the upper confidence
bound paradigm to manage the exploration-exploitation tradeofs.
In detail the estimation of the expected reward and of its
corresponding confidence bound is done given the estimations of the
clustering, which will be depicted later on. At time-step t , for a user
u and an item x, we first define the estimation θˆu,t,x as the solution
of the optimization problem
Õ
(vt − ϕ(x¯t )⊤θ )2 + λ∥θ ∥2,
(2)
arg min
θ</p>
      <p>s ∈Tu,t,x
where Tu,t,x is composed of past time-steps s at which the user
us belongs to the same (estimated) cluster as u (given x). By
denoting Φu,t,x the matrix which rows correspond to the vectors
{ϕ(xt )⊤, t ∈ Tu,t,x}, Ku,t,x the product Φu,t,xΦu⊤,t,x, and ru,t,x
the vector [rt , t ∈ Tu,t,x]⊤, we get θˆu,t,x = Φu,t,x⊤(Ku,t,x +
γ I )−1ru,t,x. This lead to the following estimate for the expected
reward of content x wrt. user u at time t :
(3)
where ku,t,x = Φu,t,xϕ(x) = [k(x, xt ), t ∈ Tu,t,x]⊤. Note that
this equation expresses vˆu,t,x only after past rewards and kernel
distance between contents.</p>
      <p>Similarly, the confidence interval on-top of vˆu,t,x is expressed
as</p>
      <p>1 q
σˆu,t,x = λ 2</p>
      <p>(k(x, x) − ku⊤,t,x(Kt + γ I )−1ku,t,x] log(t + 1). (4)</p>
      <p>Finally, the chosen arm is the one that maximizes the upper
confidence bound :
xt = arg max vˆut ,t,x + ησˆu,t,x,
x∈Xt
(5)
where η ≥ 0 is the exploration parameter.</p>
      <p>It remains to explain the way the clusterings are estimated. The
clusterings are represented by maintaining undirected graphs for
which each connected component represents a cluster. One graph
stands for contents, and for each contents-cluster induced thereof
there is one graph to cluster users. The algorithm starts with fully
connected graphs : every contents and every users are reachable
each other. Thereafter, after getting feedback vt , we first delete</p>
      <p>Algorithm 1 Collaborative Kernalized Bandits
1: Initialize the user graph as connected over U and the item
graph as connected over I
2: for t = 1,2,. . . do
3: receive ut ∈ U and the set of contents Xt
4: for x ∈ Xt do //Collaborative part
5: identify the current user cluster
6: compute cluster-aggregated variables vˆu,t,x and σˆu,t,x
7: select recommended content x¯t according to Equation (5)
8: receive payof vt
9: update clustering graphs
edges from the users-graph associated to the selected content. The
deleted edges (ut , u) are whose such that:
|vˆu′ t ,t,x¯t − vˆu′ ,t,x¯t | ≥ η′σˆu′t ,t,x¯t + η′σˆu′,t, x¯t ,
(6)
where the prime on v and σ denotes the fact that the values are
computed similarly to equations (3) and (4), while only focusing on
past-iterations concerning u or u ′. Parameter η′ &gt; 0 controls the
expected gap between clusters.</p>
      <p>Finally, for each content x in the same content-cluster as x¯t ,
we compute the neighborhood N (x) = {u : |vˆu′ t ,t,x − vˆu′ ,t,x | ≤
η′σˆu′t ,t,x + η′σˆu′,t,x}. We remove each edge (x¯t , x) such that this
neighborhood difers from the one induced by the freshly updated
users-graph.
4 CONCLUSIONS AND FUTURE WORKS
In this paper we demonstrate that collaborative bandits may be
extended, through kernel trick, and get out of the linearity
assumption.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Peter</given-names>
            <surname>Auer</surname>
          </string-name>
          .
          <year>2002</year>
          .
          <article-title>Using Confidence Bounds for Exploitation-Exploration tradeOfs</article-title>
          .
          <source>In Journal of Machine Learning Research</source>
          .
          <volume>397</volume>
          -
          <fpage>422</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Leonardo</given-names>
            <surname>Cella</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Modeling user behavior with evolving users and catalogs of evolving items</article-title>
          .
          <source>In Extended Proceedings of the 25th UMAP conference.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. K.</given-names>
            <surname>Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. M.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rahimi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>L.</given-names>
            <surname>Cazzanti</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Similaritybased Classification: Concepts and Algorithms</article-title>
          .
          <source>In Journal of Machine Learning Research</source>
          .
          <volume>747</volume>
          -
          <fpage>776</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Wei</given-names>
            <surname>Chu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Lihong</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Lev</given-names>
            <surname>Reyzin</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Robert E.</given-names>
            <surname>Schapire</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Contextual Bandits with Linear Pauyof Functions</article-title>
          .
          <source>In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics AISTATS .</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Lihong</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <surname>Wei Chu</surname>
          </string-name>
          , John Langford, and
          <string-name>
            <given-names>Robert E.</given-names>
            <surname>Schapire</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>A ContextualBandit Approach to personalized News Article Recommendation</article-title>
          .
          <source>In WWW</source>
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Shuai</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Alexandros</given-names>
            <surname>Karatzoglou</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Claudio</given-names>
            <surname>Gentile</surname>
          </string-name>
          .
          <source>July</source>
          ,
          <year>2016</year>
          .
          <article-title>Collaborative Filtering Bandits</article-title>
          .
          <source>In SIGIR 16. ACM</source>
          ,
          <volume>176</volume>
          -
          <fpage>185</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Shawe-Taylor</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Cristianini</surname>
          </string-name>
          .
          <year>2004</year>
          .
          <article-title>Kernel Methods for Pattern Analysis</article-title>
          . In Cambridge University Press.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Valko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Korda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Munos</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Flaounas</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N.</given-names>
            <surname>Cristianini</surname>
          </string-name>
          .
          <year>August</year>
          ,
          <year>2013</year>
          .
          <article-title>FinitTime Analysis of Kernelised Contextual bandits</article-title>
          .
          <source>In UAI'13 Proceedings of the Twenty-Ninth Conference on Uncertainty in Artificial Intelligence</source>
          .
          <fpage>654</fpage>
          -
          <lpage>663</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>