Knowledge-enhanced Shilling Attacks for Recommendation

Vito Walter Anelli, Yashar Deldjoo, Tommaso Di Noia, Felice Antonio Merra, Giuseppe Acciani, Eugenio Di Sciascio

Introduction

Modern recommendation systems primarily utilize Collaborative Filtering (CF), a technique based on the premise that users with similar past preferences will likely share future interests. While effective, CF systems are inherently vulnerable to shilling attacks (or profile injection attacks). In these scenarios, malicious actors inject fake user profiles into the system to either promote a specific item ("push" attack) or demote a competitor's product ("nuke" attack).

Traditional shilling attacks often rely on filling fake profiles with random items or items with high average ratings to blend in with legitimate users. However, these methods are increasingly easy to detect and often lack the precision needed to significantly sway recommendations. This paper introduces SAShA (Semantic-Aware Shilling Attack), a novel framework that leverages Knowledge Graphs to create more coherent and potent fake profiles.

The SAShA Framework

SAShA moves beyond simple randomness by incorporating semantic knowledge extracted from DBpedia. The core idea is that a recommendation model is more likely to be influenced by a profile that appears to be a "specialist" in a specific niche related to the target item.

Instead of selecting filler items arbitrarily, SAShA calculates the semantic similarity between the target item and the rest of the catalog. It then selects filler items from those most semantically related. The researchers proposed two primary variants:

  • SAShA-random: Enhances the standard Random Attack by selecting filler items based on semantic similarity.
  • SAShA-average: Enhances the Average Attack by narrowing the pool of high-rated items to those semantically related to the target.

To capture these relationships, the authors tested three types of semantic features: Categorical (CS) (e.g., Wikipedia categories), Ontological (OS) (e.g., formal "IS-A" hierarchies), and Factual (FS) (e.g., shared directors or actors). They also explored single-hop (1H) and double-hop (2H) relationships within the Knowledge Graph.

Experimental Evaluation

The effectiveness of SAShA was evaluated on two real-world datasets: LibraryThing (books) and Yahoo!Movies. The primary metric used was Hit Ratio @ 10 (HR@10), measuring how frequently the target item appeared in the top-10 recommendations for legitimate users after the attack.

Prediction stability (HR@10) for Random attacks at a 1% injection rate, showing significant improvements in attack efficacy.

Key Results and Insights

The experimental results demonstrated that semantic integration significantly boosts the impact of shilling attacks, even with a very small number of injected profiles.

  • High Impact with Low Power: As shown in the 1% injection rate results, SAShA achieved remarkable improvements. For instance, on the Yahoo!Movies dataset using a User-kNN model, the semantic approach improved attack efficacy by up to 23.8% over the non-semantic baseline.
  • Ontological Superiority: Ontological features (OS) generally proved to be the most effective. Formal classifications (like "Science Fiction Movie") create a stronger sense of profile coherence than specific factual details (like a director's name), which can sometimes introduce noise.
  • Model Vulnerability: Memory-based models like User-kNN were found to be far more susceptible to these semantic-aware attacks than model-based approaches like SVD (Matrix Factorization).
Comparative results for Random (Rnd) and Average (Avg) attacks at a 5% injection rate across both datasets.

At a 5% injection rate, the trend continues, with SAShA variants consistently outperforming baseline attacks. The bolded values in the results tables highlight where semantic features (CS, OS, or FS) provided the most significant gains in pushing the target item into users' recommendation lists.

Conclusion

SAShA demonstrates that Knowledge Graphs can be a powerful tool for attackers to manipulate recommendation systems more effectively. By creating "coherent" fake profiles that mimic specialized user interests, attackers can bypass traditional detection and exert greater influence on Collaborative Filtering models. Understanding these sophisticated attack vectors is a critical first step toward developing the next generation of semantically robust recommendation engines.

Summary updated

BibTeX
@inproceedings{anelli2020knowledge,
  author = {Vito Walter Anelli and Yashar Deldjoo and Tommaso Di Noia and Felice Antonio Merra and Giuseppe Acciani and Eugenio Di Sciascio},
  title = {{Knowledge-enhanced Shilling Attacks for Recommendation}},
  booktitle = {SEBD},
  year = {2020},
}
Figure