Skip to main content
QUICK REVIEW

[Paper Review] Untargeted Attack against Federated Recommendation Systems via Poisonous Item Embeddings and the Defense

Yang Yu, Qi Liu|arXiv (Cornell University)|Dec 11, 2022
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

This paper proposes ClusterAttack, a novel untargeted poisoning attack against federated recommendation (FedRec) systems that degrades model performance by clustering item embeddings into dense groups, and UNION, a uniformity-based defense that uses contrastive learning to detect and filter malicious gradients. Experiments show ClusterAttack effectively undermines FedRec systems while evading detection, and UNION significantly improves robustness against such attacks.

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. 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.

Motivation & Objective

  • To address the under-explored threat of untargeted poisoning attacks in federated recommendation systems, which degrade overall system performance and harm user experience.
  • To develop an effective untargeted attack that works with minimal malicious clients and limited data access, overcoming the challenges of non-IID data and model robustness.
  • To design a defense mechanism that can detect and filter malicious gradients without relying on prior knowledge of attack patterns.
  • To ensure the defense mechanism is compatible with existing Byzantine-robust federated learning methods for real-world deployment.

Proposed method

  • ClusterAttack uses an adaptive clustering mechanism to group item embeddings into dense clusters by computing malicious gradients that minimize within-cluster variance.
  • It clips uploaded gradients using a norm bound estimated from benign gradients to reduce detectability and mimic normal training behavior.
  • UNION introduces a contrastive learning task on all clients to regularize item embeddings toward a uniform distribution in embedding space.
  • The server estimates the uniformity of updated item embeddings and filters out gradients that deviate significantly from uniformity, identifying malicious updates.
  • The defense is compatible with existing Byzantine-robust aggregation methods, enhancing overall system resilience.
  • The method leverages kernel density estimation (KDE) to analyze uniformity distributions and detect anomalies in gradient updates.

Experimental results

Research questions

  • RQ1Can an untargeted poisoning attack effectively degrade the overall performance of federated recommendation systems with only a small fraction of malicious clients?
  • RQ2How can an untargeted attack be designed to remain undetected while still perturbing model behavior through item embedding clustering?
  • RQ3Can a uniformity-based defense mechanism detect and filter malicious gradients in FedRec without requiring prior knowledge of the attack?
  • RQ4To what extent does the proposed defense improve system robustness against various untargeted attacks, including the proposed ClusterAttack?

Key findings

  • ClusterAttack achieves significant performance degradation on both ML-1M and Gowalla datasets, with AUC dropping by up to 12.3% and NDCG by up to 15.7% under optimal attack conditions.
  • The adaptive clustering mechanism improves attack effectiveness and reduces sensitivity to initial cluster count, outperforming fixed-K approaches.
  • Without the contrastive learning task, the uniformity of embeddings from benign and malicious clients overlaps significantly, making detection difficult.
  • With the contrastive learning task, the uniformity distribution separates into two distinct clusters, enabling the server to accurately filter malicious gradients.
  • UNION improves the robustness of FedRec systems against multiple untargeted attacks, including ClusterAttack, by enhancing the system's resistance to gradient-based poisoning.
  • The defense mechanism maintains high model accuracy and generalization performance even under high attack ratios, demonstrating practical viability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.