AttResRec: Learning User Credibility for Attack Resistant Matrix Factorization Recommendation
Jiangpeng Zhao, Wen Zhang, Song Wang, Quan Bai, Kuien Liu · IEEE Transactions on Services Computing · 2025
The pervasive threat of shilling attacks, where malicious users inject fraudulent ratings to manipulate recommendations, critically undermines the reliability of Matrix Factorization (MF)-based recommender systems. This paper proposes AttResRec, a novel MF-based approach designed to improve system integrity by learning and integrating user credibility directly into the recommendation pipeline. AttResRec's defense is built upon three synergistic innovations. First, it employs a user credibility estimation mechanism that quantifies user credibility by assessing the consistency between an individual's interaction history and prevalent item co-occurrence patterns identified from collective user behavior. This directly enables differentiation between genuine and potentially malicious users. Second, the learned credibility dynamically informs a Credibility-aware Huber Loss (CHL) function. The CHL adaptively modifies its error sensitivity, rigorously penalizing deviations for high-credibility users while robustly limiting the influence of large errors associate with low-credibility users. Third, the model optimization is performed via Credibility-Weighted Stochastic Gradient Descent (CW-SGD), ensuring that users with lower credibility scores exert a diminished influence on the learned model parameters. Extensive experiments on the MovieLens-25M and Amazon Musical Instruments datasets, under diverse shilling attack scenarios, demonstrate AttResRec's benefits. That is, it not only achieves superior recommendation accuracy but also exhibits enhanced attack resistance, evidenced by lower prediction shift and hit ratios for poisoned items in poisoned environments, compared to state-of-the-art robust baselines.