Re-scale AdaBoost for Attack Detection in Collaborative Filtering Recommender Systems

Zhihai Yang, Lin Xu, Zhongmin Cai

Abstract

Collaborative filtering recommender systems (CFRSs) are the key components of successful e-commerce systems. Actually, CFRSs are highly vulnerable to attacks since its openness. However, since attack size is far smaller than that of genuine users, conventional supervised learning based detection methods could be too "dull" to handle such imbalanced classification. In this paper, we improve detection performance from following two aspects. First, we extract well-designed features from user profiles based on the statistical properties of the diverse attack models, making hard classification task becomes easier to perform. Then, refer to the general idea of re-scale Boosting (RBoosting) and AdaBoost, we apply a variant of AdaBoost, called the re-scale AdaBoost (RAdaBoost) as our detection method based on extracted features. RAdaBoost is comparable to the optimal Boosting-type algorithm and can effectively improve the performance in some hard scenarios. Finally, a series of experiments on the MovieLens-100K data set are conducted to demonstrate the outperformance of RAdaBoost comparing with some classical techniques such as SVM, kNN and AdaBoost.

Introduction

Collaborative Filtering Recommender Systems (CFRSs) are the engines behind personalized recommendations in modern e-commerce. Despite their utility, they are inherently fragile because they rely on user-generated data. This openness makes them vulnerable to shilling attacks (or profile injection), where attackers create fake accounts to manipulate item rankings—either "pushing" a product with high ratings or "nuking" it with low ratings.

Detecting these attacks is challenging for two primary reasons:

  1. Class Imbalance: Attackers typically represent a tiny fraction of the user base. Standard classifiers often fail by simply predicting all users as genuine to achieve high accuracy.
  2. Obfuscation: Sophisticated attackers use "filler" ratings to mimic normal user behavior, masking their malicious intent within statistical noise.

Methods

Enhanced Feature Engineering

To distinguish attackers from genuine users, the authors extracted 18 distinct features from user profiles. These features are categorized into generic metrics (e.g., Rating Deviation from Mean Agreement), filler size metrics, and three newly proposed features: FSMAXRI, FSMINRI, and FSARI. These new features measure the proportion of a user's ratings that are exactly the maximum, minimum, or average system scores—a common "tell" for intent-driven attackers.

General structure of an attack profile partitioned into target ($I_T$), selected ($I_S$), filler ($I_F$), and unrated ($I_N$) item sets.

The feature extraction process relies on partitioning the user profile into specific item sets, as shown in the figure above. By analyzing the statistical distributions across these sets, the model can identify signatures of manipulation.

RAdaBoost (Re-scale AdaBoost)

Standard AdaBoost builds an ensemble of weak learners by iteratively focusing on misclassified samples. However, its aggressive nature can lead to poor convergence on highly imbalanced datasets. RAdaBoost addresses this by introducing a "shrinkage degree" ($s_t$) into the update step. By scaling back the influence of each new learner, the algorithm follows a more stable path toward the optimal solution, making it more robust for detecting the "needle in the haystack" attacker profiles.

Datasets and Attack Models

The study utilized the MovieLens-100K dataset (943 users, 1,682 movies, 100,000 ratings). To evaluate the robustness of RAdaBoost, the researchers simulated 14 different attack models with varying attack sizes (1.1% to 27.6%) and filler sizes.

Summary of various attack models and their strategies for rating different item sets.

As detailed in the table above, these models range from simple "Random" attacks to sophisticated "Power User" attacks (PIA/PUA) that attempt to clone the behavior of the system's most influential users.

Key Results

RAdaBoost consistently outperformed SVM, kNN, and standard AdaBoost across nearly all tested attack models.

  • Small Attack Detection: In scenarios where attackers made up only 1.1% of the population, traditional methods like SVM often failed completely. RAdaBoost maintained high detection rates with minimal false alarms.
  • Robustness to Filler: The combination of specialized features and the stable learning process of RAdaBoost proved effective even when attackers attempted to hide behind large amounts of filler data.
  • Feature Separability: Visualizations confirmed that increasing the feature set from 10 to 18 significantly improved the clustering and separability of attacker profiles from genuine user profiles.

Conclusion and Future Work

While RAdaBoost shows significant promise, "Power User Attacks" (PUA-AS and PUA-ID) remain a challenge due to their high degree of mimicry. Future research will focus on developing more specialized features to unmask these sophisticated clones and transitioning toward local features that can be calculated more efficiently for real-time detection in massive-scale recommender systems.

Summary updated

BibTeX
@article{yang2016re,
  author = {Zhihai Yang and Lin Xu and Zhongmin Cai},
  title = {{Re-scale AdaBoost for Attack Detection in Collaborative Filtering Recommender Systems}},
  journal = {Knowledge-Based Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=JSBq1kcX8X},
}
Figure