<!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>Co-rating Attacks on Recommendation Algorithms</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Manfred Moosleitner</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Günther Specht</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Eva Zangerle</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer</institution>
          ,
          <addr-line>Science</addr-line>
          ,
          <institution>Universität Innsbruck</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer</institution>
          ,
          <addr-line>Science</addr-line>
          ,
          <institution>Universität Innsbruck</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Computer</institution>
          ,
          <addr-line>Science</addr-line>
          ,
          <institution>Universität Innsbruck</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Online shops, streaming services, and booking systems use algorithms to recommend items from their stock to users. These recommendations are often calculated based on the interactions of other users with the items, e.g., buying a product or watching a movie. This creates an attack point where the outcome of recommendation algorithms can be purposefully manipulated by manually or automatically created user interactions, aimed to raise or lower the relevance of speci c items. We study the attackability of recommender algorithms by simulating a series of attacks on six recommendation algorithms, using three attack strategies, and two opposing attack objectives. We run these experiments with varying numbers of co-ratings per attack and evaluate the overall item ranking and an average change in average rank. Our results show that the e ort required of and the e ciency reached by the attacks greatly depends on the strategy, objective, and recommendation algorithm. Additionally, the calculated average change in average rank provides an indicator about the attackability of recommendation algorithms. We nd that neighborhood- and cluster-based algorithms show a higher vulnerability against attacks compared to algorithms based on matrix factorization.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>
        Recommender systems are ubiquitous in today's online
world as they provide users of, for instance, online shops,
video, and music streaming services with recommendations
of items that might be interesting to them [
        <xref ref-type="bibr" rid="ref21 ref23">21, 23</xref>
        ]. Such
recommendations are computed based on interactions of users
with items. An interaction can be, e.g., a user who rates an
item with ve stars, often called collaborative ltering [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ].
      </p>
      <sec id="sec-1-1">
        <title>Based on interactions between users and items, in collabo</title>
        <p>
          rative ltering recommender algorithms, rating predictions
are frequently computed based on user similarity, which is
captured by co-rated items of a pair of users. This opens
a possibility for manipulations of the computed
recommendations, as the ratings stem from the user base and their
interactions with the system. One type of possible
manipulations is shilling attacks [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], where additional interactions
are injected into the system to alter the recommendations
computed by the system. One famous example of such a
shilling attack at Amazon was reported on December 7th in
2002 by the British online news service \The Register"1. On
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>Amazon, users are provided with recommendations in the</title>
        <p>form of \Customers who viewed this article, also viewed ...".
To manipulate these recommendations, a group of attackers
interacted with two di erent books multiple times, aiming
to make the second book appear in the recommendation
section of the rst book, although it diverged in content and
genre. It is unknown how many people were involved exactly
and how often the two books were co-viewed, but this
example shows vulnerabilities that can be abused to manipulate
the outcome of recommender systems.</p>
        <p>For this paper, we focus on co-rating attacks, a speci c
form of shilling attacks. A co-rating attack means that a
single attack in an attack series consists of two ratings, e.g.,
one rating of user B for item X and one rating of user B
for item Y, to in uence the rating behavior of the targeted
system, possibly for one speci c user A. We call user A the
target user and user B the auxiliary user. Similarly, we call
item X the target item and item Y the auxiliary item, and the
attack aims to raise the predicted ratings for the target item
X. The contribution of this work is two-fold: (i) we provide
a systematic evaluation of the vulnerability of
recommendation algorithms against co-rating attacks and the e ort
required for such attacks to be successful, and (ii) we
propose a new metric to measure the attackability and hence,
the vulnerability (respective resilience) of recommendation
algorithms against di erent co-rating attack strategies.
2.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <sec id="sec-2-1">
        <title>In the following, we discuss work related to attacks on</title>
        <p>recommender systems and measures that aim to quantify
these attacks.</p>
        <p>
          Lam et al. [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] classi ed three di erent areas where
attacks on recommender systems can happen. Firstly
exposure, where systems get breached, and private data from
1https://www.theregister.co.uk/2002/12/07/
sodomites_overrun_amazon_com/
users is leaked. Secondly, the authors describe sabotage as
an attack to hinder the service of the targeted system at
all and give denial of service as an example. Thirdly, they
mention the area of bias, where the attacks focus on
purposefully changing the ratings of the recommender system.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>The former two types, exposure, and sabotage are out of the</title>
        <p>scope of this work, as they are more in the area of classic
security topics. We focus on the manipulation of bias instead.</p>
      </sec>
      <sec id="sec-2-3">
        <title>Bias in our context can be, e.g., that a popular item is given</title>
        <p>a higher relevance when calculating the recommendations,
purely due to its popularity. This is in contrast with the
main purpose of recommender systems, namely, to suggest
items to users that t their personal taste.</p>
      </sec>
      <sec id="sec-2-4">
        <title>Jannach et al. [9] categorize attacks into three attack di</title>
        <p>mensions. They termed the rst category push attacks; their
purpose is to increase the predicted ratings for a speci c
item. The attacks in the second category are nuke attacks,
which aim to lower the predicted ratings for a speci c item.</p>
      </sec>
      <sec id="sec-2-5">
        <title>Please note that we refer to these attacks as pull attacks.</title>
        <p>
          The last category described serves the purpose of rendering
the recommender system ine ective and unpredictable. One
additional dimension for attacks lies in the strategy when
selecting the auxiliary user and item. Mobasher et al. [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] give
a detailed overview of di erent strategies, which focuses on
the selection of the auxiliary items by using statistics about
the data. Some of the strategies described choose auxiliary
items from the same category and genre as the target item,
other strategies use the popularity of the item or choose
them randomly. In contrast, we focus on the selection of the
auxiliary user.
        </p>
      </sec>
      <sec id="sec-2-6">
        <title>Early works [11, 18, 16, 19] and more recent publications</title>
        <p>
          [
          <xref ref-type="bibr" rid="ref1 ref4">4, 1</xref>
          ] feature attacks only on variations of the
K-Nearest
        </p>
      </sec>
      <sec id="sec-2-7">
        <title>Neighborhood (KNN) algorithms. In this work, we addi</title>
        <p>
          tionally consider algorithms based on matrix factorization
(MF) [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], singular value decomposition (SVD) [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ],
coclustering [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], and \popularity di erential" [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          Burke et al. [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] state that a popular way to measure the
robustness of a recommendation algorithm against attacks
is the average prediction shift, which measures the average
shift of the ratings predicted by the algorithm across all
users. The prediction shift re ects whether an attack has
the intended e ect, but not how large the impact is. As
a solution, they propose using the average hit ratio, which
counts the number of target items that appear in the list of
recommendations of the target user.
        </p>
        <p>
          O'Mahony et al. [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] analyze the performance of attacks
using HitRatio and prediction shift, but only on a
KNNbased recommender. Lam et al. [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] provide an overview
of di erent possibilities to attack a recommender system,
but they do not present a quantitative analysis. We use a
similar approach as O'Mahony et al. [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ], but evaluate the
attacks for multiple recommendation algorithms and
multiple attack strategies, and measure the e ect of the intensity
of an attack.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>METHODOLOGY</title>
      <p>
        The general idea of our work is to capture the e ort
required for an attack to be successful and the impact of
corating attacks on the predicted ratings. The required e ort
can be measured by the number of co-ratings used in an
attack, i.e., the number of interactions of the auxiliary user
with the target item and the auxiliary item in the form of
two rating entries in the dataset. We consider a push attack
to be successful if the targeted item reaches the top-10
recommendations, as this increases the visibility of the item and
previous research has shown that a list of ten
recommendations can be a sensible choice in regards to set attractiveness
and choice di culty [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For pull attacks, we consider an
attack to be successful if the rank of the target item, after
the attack, is at least ten ranks lower than before the attack.
      </p>
      <sec id="sec-3-1">
        <title>This would pull the targeted item out of the top-10 and decreases its visibility. We de ne the impact of an attack as the change in rank of the target item in the average item ranking.</title>
      </sec>
      <sec id="sec-3-2">
        <title>For our experiments, we rely on the MovieLens 100K</title>
        <p>
          dataset [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]2 as the basis, which is an established dataset
widely used in the recommender systems research
community [
          <xref ref-type="bibr" rid="ref1 ref13 ref14 ref16 ref18 ref19 ref20 ref6">18, 6, 13, 19, 16, 20, 14, 1</xref>
          ].
        </p>
        <p>Our experiments are organized in individual steps. A step
can be viewed as the current state of the experiment,
including the dataset, the training of the algorithm, and the
predicted ratings. For each recommender algorithm, we start
with zero co-ratings, train the algorithm on the unmodi ed
dataset, and calculate the rankings per item for each user
and the average rank per item over all users. We refer to
this as step 0, and subsequently, add a single co-rating to
the dataset (and hence, run an attack); we refer to this as
step 1 and repeat this procedure. In each step, we compute
the change in the rank and the average rank for the
target item. We hypothesize that a noticeable e ect should be
reached within 100 iterations, therefore using this number
as the maximum number of steps in our experiments.</p>
      </sec>
      <sec id="sec-3-3">
        <title>We analyze the experiments along the four dimensions</title>
        <p>recommendation algorithm, attack strategy, attack purpose,
and the number of steps, where the attack purpose is de ned
as whether the goal of the attack is to lower or raise the rank
of the target item, whereas the attack strategy describes how
the auxiliary user and the auxiliary item are selected.</p>
      </sec>
      <sec id="sec-3-4">
        <title>The con gurations for single experiments have been composed such that they cover a broad spectrum of the full experiment space. We describe these dimensions in the following.</title>
        <p>3.1</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Recommendation Algorithms</title>
      <sec id="sec-4-1">
        <title>As the main focus of this work lies in examining how</title>
        <p>
          di erent recommendation algorithms behave when exposed
to co-rating attacks, we evaluate six recommendation
algorithms3. We selected two k-Nearest Neighbor [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] variations,
KNNBasic and KNNWithMeans4, where the neighborhood
is built using the k-most similar users with respect to the
user ratings. In our case, mean squared di erence [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] was
used to calculate the similarity. The kNN-based algorithms
were chosen because they are fairly simple, are commonly
used as a baseline, and it should be easy to nd a working
attack strategy for them.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>SlopeOne [13] is also a simple algorithm, where the ratings</title>
        <p>for a user A are computed using the ratings of other users
who share rated items with A. E.g., user A rated item X
and Y, and user B only rated item X. The rating di erence
of user B is added to the rating of user A's rating for item</p>
      </sec>
      <sec id="sec-4-3">
        <title>X to predict the rating of user A for item Y.</title>
        <p>2https://grouplens.org/datasets/movielens/100k/</p>
        <sec id="sec-4-3-1">
          <title>3For the implementation, we relied on the Python Surprise</title>
          <p>library https://github.com/NicolasHug/Surprise</p>
        </sec>
        <sec id="sec-4-3-2">
          <title>4Here the predicted rating is added to the mean rating across</title>
          <p>all users.</p>
        </sec>
      </sec>
      <sec id="sec-4-4">
        <title>CoClustering [6] was selected because it does not only use user- and item-clusters, but also the co-clusters which should make it harder to nd a working attack strategy compared to KNN-based approaches.</title>
        <p>
          Singular Value Decomposition (SVD) [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] aims to
reconstruct the rating matrix (user items) from a matrix
representing the user's latent factors and a second matrix,
representing the latent factors of the items. Non-Negative Matrix
        </p>
      </sec>
      <sec id="sec-4-5">
        <title>Factorization (NMF) [14] also relies on matrix factorization,</title>
        <p>
          which is used by Net ix [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] and Youtube [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
      </sec>
      <sec id="sec-4-6">
        <title>To assess the di erence in the performance of the cho</title>
        <p>sen algorithms, the algorithms were evaluated using ve-fold
cross-validation using the MovieLens dataset and the
conguration parameters as they were used in our experiments.</p>
      </sec>
      <sec id="sec-4-7">
        <title>The resulting Mean Absolute Error (MAE) and Root Mean</title>
      </sec>
      <sec id="sec-4-8">
        <title>Squared Error (RMSE) of the predicted ratings in Table 1 show that the performances of the algorithms are similar.</title>
        <p>KNNBasic
KNNWithMeans
SVD</p>
        <p>NMF</p>
        <p>SlopeOne
CoClustering</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Attack Strategies</title>
      <p>
        In the following, we investigate three di erent co-rating
attack strategies. Our rst attack strategy is the baseline
approach (BASIC), where the auxiliary user is created as a
fresh new user, i.e., a user that has not provided any
ratings so far. The second attack strategy is the user activity
approach (ACT), where the auxiliary user is selected based
on the rating activity of the user|the dataset is analyzed
at runtime, and the most active user is determined and
misused as the auxiliary user, based on the data in step 0. The
third attack strategy is the user similarity approach (SIM),
where the user most similar to the target user is selected as
the auxiliary user. The core idea here is that user similarity
metrics are also used in collaborative ltering recommender
algorithms [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] and hence, similarly choosing the auxiliary
user seems promising. As for the user similarity
computation, we rely on the cosine similarity of the user rating
vectors. For all three attack strategies, the same auxiliary
user is used in all steps. It is important to note that we
examine the e ect of co-rating attacks on recommendation
algorithms alone and not whole recommender systems, thus
using the full knowledge about the dataset in the attack
strategies.
      </p>
      <sec id="sec-5-1">
        <title>In all approaches, an arbitrary user was chosen as target</title>
        <p>user|i.e., we aim to measure the impact of the co-rating
attacks on the movie rankings for this user. For our
experiments, the user with user-id 1 was picked as the target user.
The movie \The Truth About Cats &amp; Dogs (1996)" (movie
id 111) was randomly selected as the auxiliary item from
the set of movies the target user rated with ve stars. The
movie \Scream of Stone (Schrei aus Stein) (1991)" (movie
id 1682) was selected as the target item, because it was the
newest movie in the dataset (highest movie id) and because
the movie has not been rated by the target user yet. Table
2 shows some statistics about the data before co-ratings are
added and the chosen user and movies. The data collected
shows that the target-user is quite active, with more than
double the number of ratings than the average user and more
than four times the number of ratings than the median over
all users. We can also see that the mean ratings and the
standard deviation for the target user are higher than the
mean rating for all users. The data for the auxiliary movie
shows that the movie is rated more often, but only a little
lower, than the average movie. The target movie has only a
single rating in the original data, which should be bene cial
for our attacks.</p>
      </sec>
      <sec id="sec-5-2">
        <title>An attack is now realized by the auxiliary user awarding</title>
        <p>high ratings for both movies (and hence, co-rating these)
until the target item appears in a prominent position in the
target user's list of recommended movies.</p>
        <p>For running the experiments, in the rst step, the raw
dataset is used to train the recommender algorithms to be
evaluated. These trained models are then used to predict
the ratings for all items for all users, from which we infer a
ranking of all items for each user. These per-user rankings
are then used to compute the average rank for each item
over all users. In the next step, one co-rating is added to
the dataset. Subsequently, the extended dataset is used for
computing updated rankings for all items for all users and
the average rank over all users. This procedure is repeated
100 times for each algorithm, providing the rank of the
target item for the target user and the average rank over all
users, and also the change in rank between the individual
steps, to show the e ect of the attack from one step to the
next.
3.3</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Attack Purposes</title>
      <p>We evaluate the three attack strategies for both pull
attacks (aiming to lower the predicted rating of the target
item) and push attacks (aiming to raise the predicted rating
of the target item). For push attacks, it is su cient to pick
an item that has not been rated by the target user, as the
target item. For pull attacks, in contrast, we computed the
recommendation lists, based on the data in step 0, and chose
the top-ranked item as target item.
3.4</p>
    </sec>
    <sec id="sec-7">
      <title>Quantifying Attackability</title>
      <sec id="sec-7-1">
        <title>Here we introduce our novel attackability metric, which</title>
        <p>takes into account the e ort and the e ect of an attack. We
apply this metric to the data collected during our
experiments and present the results in Section 4.3.</p>
        <p>Besides investigating the manipulation of the rank of an
item for a single user, we are also interested in the impact
of the co-rating attacks on the average ratings of each item
across all users. Thus, we compute an average ranking for all
items (cf. Section 3.2), which is used to determine the
average rank of the target item over all users. Furthermore, we
aim to quantify the attackability of recommendation
algorithms. Hence, we propose to consider the absolute average
change in the average rank of the target item. Consider the
target item being ranked at position 1000 at step 0, and in
step 1 ranked at 100, then the change in ranks is 900. We
compute this change across all steps and compute the
average change in rank for the target item. Formally, we de ne</p>
      </sec>
      <sec id="sec-7-2">
        <title>Ri as the average item rank for step i, i.e., R0 for step 0, etc. We further de ne ranki as the rank of the chosen target item in the corresponding average item ranking Ri. The</title>
      </sec>
      <sec id="sec-7-3">
        <title>Per User</title>
      </sec>
      <sec id="sec-7-4">
        <title>Per Movie</title>
        <p>change in rank is then de ned as the di erence between two
steps: ranki;i+1 = ranki+1 ranki. The average change
in rank is computed based on the sum of all ranki;i+1 of
the available steps, as shown in Equation 1, where n is the
number of steps to be used.</p>
        <p>rank =
n 1
X
i=0
ranki;i+1
n
(1)</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>RESULTS AND DISCUSSION</title>
      <sec id="sec-8-1">
        <title>In our experiments, we run multiple attacks, using mul</title>
        <p>tiple dimensions, adding up to a total of 1,800 individual
trained prediction models, which were used in 3,600
experiments. In the following, we present the results of these
evaluations.
4.1</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>Push Attack Evaluation</title>
      <sec id="sec-9-1">
        <title>For this evaluation, we analyze the rank of items in the</title>
        <p>recommendation list for each step. Here, the best
achievable rank in the ranking is zero. As stated in Section 3, we
consider a push attack successful if the attack changes the
rank prediction of the target item to be in the top-10 of the
average item ranking.</p>
      </sec>
      <sec id="sec-9-2">
        <title>The rst set of experiments investigate the BASIC attack</title>
        <p>strategy, where a new user is created as the auxiliary user
and the auxiliary item was randomly selected from the set
of movies that have not been rated by the target user.</p>
        <p>Figure 1a shows that the average rank for CoClustering is
in uenced most as the curve races directly to the top ranks
within the rst few steps. The results for NMF and SVD
show capricious behavior within a con ned area, but do not
reach a high rank. The ranks for KNNBasic and
KNNWithMeans show that they are only in uenced at the start but
converge quickly. SlopeOne is una ected by the attack with
no changes in the rank. For NMF and SVD, the attacks can
be regarded as failed, but the ranking values have a high
variance, which goes in the direction of sabotage, as
introduced in Section 2. Only the attack on CoClustering was
successful, showing a high attackability of the basic attack
strategy.</p>
      </sec>
      <sec id="sec-9-3">
        <title>The second set of experiments aims at investigating the user activity attack strategy; Figure 1b shows the obtained results. We can see that the values for all algorithms rush towards the top at the start. CoClustering, KNNBasic, and</title>
      </sec>
      <sec id="sec-9-4">
        <title>KNNWithMeans quickly arrive at the top ranks. NMF and</title>
      </sec>
      <sec id="sec-9-5">
        <title>SVD show some erratic behavior and SlopeOne converges</title>
        <p>shortly after reaching rank 200. CoClustering was attacked
successfully again since a rank in the top ten was clearly
reached. The attacks on KNNBasic and KNNWithMeans
also reach a high rank but did not reach the top-10. NMF,</p>
      </sec>
      <sec id="sec-9-6">
        <title>SVD, and SlopeOne could not be attacked successfully. Gen</title>
        <p>erally, we observe that the activity-based attack strategy
reaches a higher attack e ect than the basic attack approach.</p>
      </sec>
      <sec id="sec-9-7">
        <title>The third set of experiments used the similarity between</title>
        <p>the users to select the target user; the results are shown in
Figure 1c. We observe a tendency towards higher ranks for</p>
      </sec>
      <sec id="sec-9-8">
        <title>NMF and SVD, but the erratic behavior starts to dominate</title>
        <p>early on. In addition to CoClustering, KNNBasic, and
KN</p>
      </sec>
      <sec id="sec-9-9">
        <title>NWithMeans, also SlopeOne changes to a high rank quickly.</title>
      </sec>
      <sec id="sec-9-10">
        <title>Using the similarity to select the target user leads to the highest ranks for the majority of algorithms. All algorithms except for NMF and SVD were attacked successfully.</title>
        <p>4.2</p>
      </sec>
    </sec>
    <sec id="sec-10">
      <title>Pull Attack Evaluation</title>
      <sec id="sec-10-1">
        <title>In the following, we evaluate pull attacks, where an at</title>
        <p>tack is considered successful if the rank of the target item is
consistently lowered by 10 or more ranks after an attack.</p>
        <p>For the BASIC attack approach, a fresh user is used as the
auxiliary user. As the target item, the movie with the
highest id from the set of movies the target user has not rated was
selected. Figure 2a shows the obtained results. SlopeOne
is mostly una ected by the pull attack. The e ect on SVD
was rather small and shows minor uctuations. The average
rank for KNNWithMeans moves slowly and converges early
around 110. CoClustering, KNNBasic, and NMF show high
vulnerability against the attacks. Most interesting is the
behavior of NMF showing a clear tendency towards the lower
ranks when compared to SVD, the other MF-based
algorithm, whose behavior showed to be stable and una ected
by the attacks.</p>
      </sec>
      <sec id="sec-10-2">
        <title>The next set of experiments analyzes the activity-based</title>
        <p>approach with pull attacks. Figure 2b shows that NMF
and SVD are only marginally a ected as both algorithms
show only minor uctuations. CoClustering, KNNBasic,</p>
      </sec>
      <sec id="sec-10-3">
        <title>KNNWithMeans, and SlopeOne show a clear tendency to</title>
        <p>wards the lower ranks.</p>
        <p>The last set of experiments used the similarity-based
approach to launch pull attacks on the algorithms. In
Figure 2c, we observe that the results are quite similar to the
20
40
60
80
100
20
40
60
80
100
20
40
60
80
100
Steps
Steps
Steps
(a) Basic attack approach.
(b) User activity approach.
(c) User similarity approach.
200</p>
        <p>00
1400
em1200
i-tt
eg1000
tr
a
fko 800
n
a
eR600
g
a
r
veA400
200
200</p>
        <p>00
1400
1200
m
e
it
-t1000
e
g
r
a
fto 800
k
n
aR600
e
g
a
rve 400
A
200
item800
-t
e
g
r
a
fto 600
k
n
a
R
eg 400
a
r
e
v
A
200</p>
        <p>00
1200
m1000
e
i-tt
reg 800
a
ft
o
kan 600
R
e
rag 400
e
v
A
200
00
20
40
60
80</p>
        <p>100
Steps
00
20
40</p>
        <p>60
Steps
80
100
00
20
40</p>
        <p>60
Steps
80
100
(a) Basic attack strategy.
(b) User activity strategy.
(c) User similarity approach.
outcome of the experiment with the activity-based approach.</p>
      </sec>
      <sec id="sec-10-4">
        <title>SVD and NMF only show single spikes in the change of the average rank. For the remaining algorithms, the average rank of the target item changes rapidly to a lower rank.</title>
      </sec>
    </sec>
    <sec id="sec-11">
      <title>4.3 Attackability Evaluation</title>
      <p>Table 3 shows the attackability evaluation measured by
the rank measure (cf. Section 3.4) for the data from our
experiments for push and pull attacks, and each of the three
attack strategies used.</p>
      <p>For push attacks, we observe a relation between the
attackability, i.e., if an algorithm could be attacked
successfully, and the average change in average rank for the
corresponding algorithms. The relation also holds for a lower
observed attackability, i.e., whether an algorithm could not
be attacked successfully, and lower values for the average
change in average rank. For pull attacks, we also see the
same relation between our observed attackability and the
calculated average change in average rank. Even though the
push attacks on SVD and NMF were mostly considered
unsuccessful, the average change in average rank is still higher
due to the erratic behavior the algorithms showed.</p>
      <sec id="sec-11-1">
        <title>From this, we can state that our newly proposed metric,</title>
        <p>the average change in average rank, is an intuitive and
feasible indicator for how vulnerable an algorithm is to a speci c
attack strategy and attack purpose, hence describing the
attackability of the algorithm against co-rating attacks.</p>
      </sec>
      <sec id="sec-11-2">
        <title>Push attacks</title>
      </sec>
      <sec id="sec-11-3">
        <title>Algorithm BASIC ACT SIM</title>
        <p>CoClustering 7.14 7.14 7.14
KNNBasic 2.78 9.57 9.69
KNNWithMeans 1.15 9.45 9.45
NMF 4.09 7.40 10.50
SVD 3.50 5.91 6.13
SlopeOne 0.06 7.74 9.27</p>
      </sec>
      <sec id="sec-11-4">
        <title>Pull attacks</title>
        <p>BASIC ACT
10.43 10.51
4.29 15.24
1.11 15.42
11.79 0.01
0.23 0.03
0.00 11.48</p>
      </sec>
    </sec>
    <sec id="sec-12">
      <title>5. CONCLUSION</title>
      <p>We investigated the attackability of recommendation
algorithms against co-rating attacks. We ran experiments with
a varying number of co-ratings, approaches, and types of
attack for the chosen algorithms. This added up to a total
of 1,800 prediction models, which were used in 3,600
experiments. In these experiments, we investigated the e ort,
the number of co-ratings, and the e ect of the attacks on
the results of the algorithm, where we also introduce a new
metric to express the attackability from the collected data,
by calculating the average change in average rank over all
steps. We nd that the nearest neighbor and co-clustering
algorithms were the least resilient algorithms. Furthermore,
we observe that the matrix factorization-based algorithms
show erratic behavior when attacked with push attacks, but
generally showed a lower attackability when assaulted with
pull attacks. Our results show that a handful of coordinated
users are enough to manipulate the outcome of
recommendation algorithms, thus having an impact on which products
we may buy, movies we watch, or locations we visit for our
next holiday. For future work, we aim to investigate the
inuence of the number of ratings when choosing target-user
and -movie, and auxiliary user. Furthermore, we aim to test
the generalizability of our approach and metric by running
the experiments using di erent target-users and -items, and
on di erent and larger datasets.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>Aiolli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Conti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Picek</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Polato</surname>
          </string-name>
          . Big Enough to Care Not Enough to Scare!
          <article-title>Crawling to Attack Recommender Systems</article-title>
          .
          <source>In European Symposium on Research in Computer Security</source>
          , pages
          <volume>165</volume>
          {
          <fpage>184</fpage>
          . Springer,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bollen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. P.</given-names>
            <surname>Knijnenburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Willemsen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Graus</surname>
          </string-name>
          .
          <article-title>Understanding Choice Overload in Recommender Systems</article-title>
          .
          <source>In Proceedings of the Fourth ACM Conference on Recommender Systems</source>
          , RecSys '10, page
          <volume>63</volume>
          {
          <fpage>70</fpage>
          , New York, NY, USA,
          <year>2010</year>
          .
          <article-title>Association for Computing Machinery</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Burke</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. P. O'Mahony</surname>
            ,
            <given-names>and N. J.</given-names>
          </string-name>
          <string-name>
            <surname>Hurley</surname>
          </string-name>
          .
          <article-title>Robust Collaborative Recommendation</article-title>
          . In F. Ricci,
          <string-name>
            <given-names>L.</given-names>
            <surname>Rokach</surname>
          </string-name>
          , and B. Shapira, editors,
          <source>Recommender Systems Handbook</source>
          , pages
          <volume>961</volume>
          {
          <fpage>995</fpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. P.</given-names>
            <surname>Chan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Q.</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>Shilling Attack based on Item Popularity and Rated Item Correlation against Collaborative Filtering</article-title>
          .
          <source>International Journal of Machine Learning and Cybernetics</source>
          ,
          <volume>10</volume>
          (
          <issue>7</issue>
          ):
          <year>1833</year>
          {
          <year>1845</year>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Covington</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Adams</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E.</given-names>
            <surname>Sargin</surname>
          </string-name>
          .
          <article-title>Deep Neural Networks for YouTube Recommendations</article-title>
          .
          <source>In Proceedings of the 10th ACM Conference on Recommender Systems</source>
          , RecSys '16, page
          <volume>191</volume>
          {
          <fpage>198</fpage>
          , New York, NY, USA,
          <year>2016</year>
          .
          <article-title>Association for Computing Machinery</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>George</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Merugu</surname>
          </string-name>
          .
          <article-title>A scalable Collaborative Filtering Framework based on Co-Clustering</article-title>
          .
          <source>In Fifth IEEE International Conference on Data Mining (ICDM'05)</source>
          , pages
          <fpage>4</fpage>
          <lpage>{</lpage>
          pp.
          <source>IEEE</source>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C. A.</given-names>
            <surname>Gomez-Uribe</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Hunt</surname>
          </string-name>
          .
          <article-title>The Net ix Recommender System: Algorithms, Business Value, and Innovation</article-title>
          .
          <source>ACM Transactions on Management Information Systems</source>
          ,
          <volume>6</volume>
          (
          <issue>4</issue>
          ), Dec.
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Harper</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Konstan</surname>
          </string-name>
          .
          <article-title>The MovieLens Datasets: History and Context</article-title>
          .
          <source>ACM Trans. Interact. Intell. Syst. (TiiS)</source>
          ,
          <volume>5</volume>
          (
          <issue>4</issue>
          ):
          <volume>19</volume>
          :1{
          <fpage>19</fpage>
          :
          <fpage>19</fpage>
          ,
          <string-name>
            <surname>Dec</surname>
          </string-name>
          .
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>D.</given-names>
            <surname>Jannach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zanker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Friedrich. Recommender Systems - An Introduction</surname>
          </string-name>
          . Cambridge University Press,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Koren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bell</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Volinsky</surname>
          </string-name>
          .
          <article-title>Matrix Factorization Techniques for Recommender Systems</article-title>
          . Computer,
          <volume>42</volume>
          (
          <issue>8</issue>
          ):
          <volume>30</volume>
          {
          <fpage>37</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S. K.</given-names>
            <surname>Lam</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Riedl</surname>
          </string-name>
          .
          <article-title>Shilling Recommender Systems for Fun and Pro t</article-title>
          .
          <source>In Proceedings of the 13th International Conference on World Wide Web, WWW '04</source>
          , pages
          <fpage>393</fpage>
          {
          <fpage>402</fpage>
          , New York, NY, USA,
          <year>2004</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S. K. T.</given-names>
            <surname>Lam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Frankowski</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Riedl</surname>
          </string-name>
          .
          <article-title>Do You Trust Your Recommendations? An Exploration of Security and Privacy Issues in Recommender Systems</article-title>
          . In G. Muller, editor,
          <source>Emerging Trends in Information and Comm</source>
          . Secur., pages
          <volume>14</volume>
          {
          <fpage>29</fpage>
          . Springer,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lemire</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Maclachlan</surname>
          </string-name>
          .
          <article-title>Slope One Predictors for Online Rating-Based Collaborative Filtering</article-title>
          .
          <source>In Proceedings of the 2005 SIAM Int. Conference on Data Mining</source>
          , pages
          <volume>471</volume>
          {
          <fpage>475</fpage>
          .
          <string-name>
            <surname>SIAM</surname>
          </string-name>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>X.</given-names>
            <surname>Luo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xia</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhu</surname>
          </string-name>
          .
          <article-title>An E cient Non-Negative Matrix-Factorization-Based Approach to Collaborative Filtering for Recommender Systems</article-title>
          .
          <source>IEEE Transactions on Industrial Informatics</source>
          ,
          <volume>10</volume>
          (
          <issue>2</issue>
          ):
          <volume>1273</volume>
          {
          <fpage>1284</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>B.</given-names>
            <surname>Mobasher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Burke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bhaumik</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Williams</surname>
          </string-name>
          .
          <source>Toward Trustworthy Recommender Systems: An Analysis of Attack Models and Algorithm Robustness. ACM Trans. Internet Technol.</source>
          ,
          <volume>7</volume>
          (
          <issue>4</issue>
          ):23{es, Oct.
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>B.</given-names>
            <surname>Mobasher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Burke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Williams</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Bhaumik</surname>
          </string-name>
          .
          <article-title>Analysis and Detection of Segment-Focused Attacks Against Collaborative Recommendation</article-title>
          . In O.
          <string-name>
            <surname>Nasraoui</surname>
            , O. Zaane,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Spiliopoulou</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Mobasher</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Masand</surname>
          </string-name>
          , and P. S. Yu, editors,
          <source>Advances in Web Mining and Web Usage Analysis</source>
          , pages
          <volume>96</volume>
          {
          <fpage>118</fpage>
          . Springer,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>X.</given-names>
            <surname>Ning</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Desrosiers</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Karypis</surname>
          </string-name>
          .
          <article-title>A Comprehensive Survey of Neighborhood-Based Recommendation Methods</article-title>
          . In F. Ricci,
          <string-name>
            <given-names>L.</given-names>
            <surname>Rokach</surname>
          </string-name>
          , and B. Shapira, editors,
          <source>Recommender Systems Handbook</source>
          , pages
          <volume>37</volume>
          {
          <fpage>76</fpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>M. O'Mahony</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Hurley</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Kushmerick</surname>
            , and
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Silvestre. Collaborative Recommendation</surname>
          </string-name>
          :
          <article-title>A Robustness Analysis</article-title>
          .
          <source>ACM Trans. Internet Technol.</source>
          ,
          <volume>4</volume>
          (
          <issue>4</issue>
          ):
          <volume>344</volume>
          {
          <fpage>377</fpage>
          ,
          <string-name>
            <surname>Nov</surname>
          </string-name>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>M. P. O'Mahony</surname>
            ,
            <given-names>N. J.</given-names>
          </string-name>
          <string-name>
            <surname>Hurley</surname>
            , and
            <given-names>G. C.</given-names>
          </string-name>
          <string-name>
            <surname>Silvestre</surname>
          </string-name>
          .
          <article-title>Recommender systems: Attack Types and Strategies</article-title>
          .
          <source>In AAAI</source>
          , pages
          <volume>334</volume>
          {
          <fpage>339</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>M. P. O'Mahony</surname>
            ,
            <given-names>N. J.</given-names>
          </string-name>
          <string-name>
            <surname>Hurley</surname>
            , and
            <given-names>G. C.</given-names>
          </string-name>
          <string-name>
            <surname>Silvestre</surname>
          </string-name>
          .
          <article-title>Attacking Recommender Systems: The Cost of Promotion</article-title>
          .
          <source>In Proc. of the Workshop on Recommender Systems, in Conjunction with the 17th Eur. Conf. on Artif. Intell., Riva del Garda</source>
          , Italy, pages
          <volume>24</volume>
          {
          <fpage>28</fpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>M.</given-names>
            <surname>Pichl</surname>
          </string-name>
          , E. Zangerle, and
          <string-name>
            <given-names>G.</given-names>
            <surname>Specht</surname>
          </string-name>
          .
          <article-title>Improving Context-Aware Music Recommender Systems: Beyond the Pre-Filtering Approach</article-title>
          .
          <source>In Proceedings of the 2017 ACM on International Conference on Multimedia Retrieval</source>
          , ICMR '
          <volume>17</volume>
          , page
          <volume>201</volume>
          {
          <fpage>208</fpage>
          , New York, NY, USA,
          <year>2017</year>
          .
          <article-title>Association for Computing Machinery</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>J. B. Schafer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Frankowski</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Herlocker</surname>
            , and
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Sen</surname>
          </string-name>
          .
          <article-title>Collaborative Filtering Recommender Systems</article-title>
          .
          <source>In The Adaptive Web</source>
          , pages
          <volume>291</volume>
          {
          <fpage>324</fpage>
          . Springer,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>M.</given-names>
            <surname>Schedl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Knees</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>McFee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bogdanov</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Kaminskas</surname>
          </string-name>
          .
          <article-title>Music Recommender Systems</article-title>
          . In F. Ricci,
          <string-name>
            <given-names>L.</given-names>
            <surname>Rokach</surname>
          </string-name>
          , and B. Shapira, editors,
          <source>Recommender Systems Handbook</source>
          , pages
          <volume>453</volume>
          {
          <fpage>492</fpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>