FedAU2: Attribute Unlearning for User-Level Federated Recommender Systems with Adaptive and Robust Adversarial Training

Yuyuan Li, Junjie Fang, Fengyuan Yu, Xichun Sheng, Tianyu Du, Xuyang Teng, Shaowei Jiang, Linbo Jiang, Jianan Lin, Chaochao Chen · OpenReview

Abstract

Federated Recommender Systems (FedRecs) leverage federated learning to protect user privacy by retaining data locally. However, user embeddings in FedRecs often encode sensitive attribute information, rendering them vulnerable to attribute inference attacks. Attribute unlearning has emerged as a promising approach to mitigate this issue. In this paper, we focus on user-level FedRecs, which is a more practical yet challenging setting compared to group-level FedRecs. Adversarial training emerges as the most feasible approach within this context. We identify two key challenges in implementing adversarial training-based attribute unlearning for user-level FedRecs: i) mitigating training instability caused by user data heterogeneity, and ii) preventing attribute information leakage through gradients. To address these challenges, we propose FedAU2, an attribute unlearning method for user-level FedRecs. For CH1, we propose an adaptive adversarial training strategy, where the training dynamics are adjusted in response to local optimization behavior. For CH2, we propose a dual-stochastic variational autoencoder to perturb the adversarial model, effectively preventing gradient-based information leakage. Extensive experiments on three real-world datasets demonstrate that our proposed FedAU2 achieves superior performance in unlearning effectiveness and recommendation performance compared to existing baselines.

Introduction

Federated Recommender Systems (FedRecs) are designed with privacy in mind: raw user data remains on the local device, and only model updates are shared with a central server. However, a significant vulnerability remains. User embeddings—the mathematical representations of user preferences—often inadvertently encode sensitive traits like gender, age, or occupation. This leaves users exposed to attribute inference attacks, where an adversary can reconstruct private information from shared model parameters.

Overview of the FedAU² framework illustrating the transition from attribute leakage to protection through embedding and gradient unlearning.

While "attribute unlearning" has been proposed to mitigate this, most existing methods are designed for group-level federated learning. In the more realistic user-level setting (one device per user), data is extremely sparse and heterogeneous, leading to training instability and potential information leakage through gradients.

The Challenges of User-Level Unlearning

Implementing adversarial training for attribute unlearning in user-level FedRecs faces two primary hurdles:

  1. Training Instability (CH1): Adversarial training often fails or "cold starts" poorly because individual user data is noisy. Forcing unlearning from the start can lead to model collapse.
  2. Gradient Leakage (CH2): Even if embeddings are cleansed, the gradients sent to the server can be intercepted. Using techniques like Deep Leakage from Gradients (DLG), an attacker can reverse-engineer private labels by analyzing these updates.

The FedAU² Framework

To address these challenges, we propose FedAU², which introduces two core components:

Selective Unlearning Trigger (SUT)

Instead of constant adversarial perturbation, SUT acts as an adaptive switch. It only triggers the unlearning process (via a Gradient Reversal Layer) if the adversarial classifier is currently correctly guessing the sensitive attribute. This "wait-until-ready" approach prevents over-perturbation and stabilizes training in sparse data environments. Furthermore, SUT is parameter-free and computationally efficient for mobile devices.

Dual-Stochastic Variational Autoencoder (DSVAE)

Standard adversarial heads often leak labels through deterministic paths (like the mean $\mu$ path in a standard VAE). DSVAE injects stochasticity into both the mean and variance paths of the latent variable. This "dual" noise effectively masks sensitive information within the gradients, making it mathematically much harder for an attacker to reconstruct original labels.

Experimental Results

We evaluated FedAU² on three benchmark datasets (ML-100K, ML-1M, and LastFM-360K) across various recommendation architectures, including FedNCF, FedVAE, and FedRAP.

Comprehensive results showing (a) gradient unlearning performance, (b) component analysis of reconstruction, and (c) the impact of the stochasticity coefficient λ on performance.

Key Findings

  • Unlearning Effectiveness: FedAU² reduced the Balanced Accuracy (BAcc) of attribute inference by an average of 26.42%, significantly outperforming Differential Privacy-based baselines.
  • Utility Preservation: While unlearning usually degrades accuracy, FedAU² maintained high recommendation quality, seeing only a minor ~4.5% dip in NDCG, compared to a ~20% drop for baselines.
  • Robustness to Gradient Attacks: Against DLG attacks, a standard MLP head leaked attributes with 90% accuracy. FedAU²’s DSVAE dropped this attack accuracy to 58%, near random guess levels.

Conclusion

FedAU² provides a robust solution for protecting user privacy in federated recommendation. By combining an adaptive trigger to stabilize training with a dual-stochastic architecture to mask gradients, it achieves a superior balance between privacy and utility. Future work will investigate multi-attribute unlearning and more complex, non-linear recommendation architectures.

Summary updated

BibTeX
@inproceedings{li2026fedau,
  author = {Yuyuan Li and Junjie Fang and Fengyuan Yu and Xichun Sheng and Tianyu Du and Xuyang Teng and Shaowei Jiang and Linbo Jiang and Jianan Lin and Chaochao Chen},
  title = {{FedAU2: Attribute Unlearning for User-Level Federated Recommender Systems with Adaptive and Robust Adversarial Training}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i28.39500},
}
Figure