Untargeted Attack against Federated Recommendation Systems via Poisonous Item Embeddings and the Defense

Yang Yu, Qi Liu, Likang Wu, Runlong Yu, Sanshi Lei Yu +1 more
12/11/2022
cs.IRcs.CR
federated

Official code: yflyl613/FedRec (28 stars, Python, last commit 2023-01-18).

Abstract

Federated recommendation (FedRec) can train personalized recommenders without collecting user data, but the decentralized nature makes it susceptible to poisoning attacks. Most previous studies focus on the targeted attack to promote certain items, while the untargeted attack that aims to degrade the overall performance of the FedRec system remains less explored.

Show full abstract

In fact, untargeted attacks can disrupt the user experience and bring severe financial loss to the service provider. However, existing untargeted attack methods are either inapplicable or ineffective against FedRec systems. In this paper, we delve into the untargeted attack and its defense for FedRec systems. (i) We propose ClusterAttack, a novel untargeted attack method. It uploads poisonous gradients that converge the item embeddings into several dense clusters, which make the recommender generate similar scores for these items in the same cluster and perturb the ranking order. (ii) We propose a uniformity-based defense mechanism (UNION) to protect FedRec systems from such attacks. We design a contrastive learning task that regularizes the item embeddings toward a uniform distribution. Then the server filters out these malicious gradients by estimating the uniformity of updated item embeddings. Experiments on two public datasets show that ClusterAttack can effectively degrade the performance of FedRec systems while circumventing many defense methods, and UNION can improve the resistance of the system against various untargeted attacks, including our ClusterAttack.

View on arXivView PDF

Code Implementations(1)

yflyl613/FedRecOfficial100%

[AAAI 2023] Official PyTorch implementation for "Untargeted Attack against Federated Recommendation Systems via Poisonous Item Embeddings and the Defense"

281Python, ShellNov 29, 20223 years ago
federated-recommendationmodel-poisoning-attack

Similar Papers

Cite this paper

@article{yu2022untargeted,
  title  = {Untargeted Attack against Federated Recommendation Systems via Poisonous Item Embeddings and the Defense},
  author = {Yang Yu and Qi Liu and Likang Wu and Runlong Yu and Sanshi Lei Yu and Zaixi Zhang},
  year   = {2022},
  eprint = {2212.05399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.05399}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.05399.svg)](https://codeofpaper.com/paper/2212.05399)

Discussion