Introduction
Recommender systems typically represent users as high-dimensional vectors, or embeddings. While these models may not be explicitly trained on sensitive attributes such as race, gender, or age, these features are often implicitly captured within the embeddings. This creates a vulnerability to "attribute inference attacks," where malicious actors extract private data from the model's latent space.
This paper introduces Post-Training Attribute Unlearning (PoT-AU), a novel framework designed to scrub sensitive information from existing embeddings without requiring access to the original training data or necessitating a full retraining of the model. Unlike traditional "Machine Unlearning," which focuses on removing specific data points (Input Unlearning), PoT-AU targets Attribute Unlearning (AU): making specific categories of information indistinguishable within the model's latent representations.
Methodology
The authors propose a two-component loss function to update user embeddings in a post-training environment. This approach is particularly practical for deployed systems where original interaction data may be siloed or deleted due to privacy regulations.
1. Distinguishability Loss ($\ell_u$)
To protect privacy, the model must ensure that the distributions of embeddings for different attribute groups (e.g., different age brackets) are statistically identical. To overcome the computational bottleneck of comparing every pair of attribute groups ($O(T^2)$ complexity), the authors introduce an anchor distribution (a barycenter). By minimizing the Maximum Mean Discrepancy (MMD) between each group's distribution and this central anchor, the complexity is reduced to $O(T)$, making multi-class unlearning feasible for large-scale systems.
2. Function-Space Regularization ($\ell_r$)
A critical challenge in unlearning is maintaining recommendation quality. Traditional methods often use $\ell_2$ regularization in the parameter space to keep new embeddings close to the old ones. However, the authors demonstrate that parameter-space proximity does not guarantee utility preservation. Instead, they propose Function-Space Regularization, which optimizes to keep the rank order of the top-$k$ recommended items consistent with the original model. This is achieved using a pairwise hinge loss with adaptive weights based on item similarity.
Experimental Evaluation
The researchers evaluated PoT-AU on four real-world datasets: MovieLens 100K & 1M, LFM-2B (music), and KuaiSAR-small (short-video search). These datasets provided a variety of sensitive attributes, including gender, age, and country.
Key Results
- Privacy Protection: The method successfully reduced the F1-score of attribute inference attacks by an average of 27.55%, effectively bringing attacker accuracy down to near-random levels.
- Utility Preservation: The proposed D2D-FR (Function-space Regularization) significantly outperformed previous state-of-the-art methods. On the ML-1M dataset, recommendation performance (NDCG) remained within ~1.9% of the original model, whereas parameter-based methods saw much steeper declines.
- Efficiency: By utilizing the anchor distribution method, the system achieved a runtime reduction of over 50% on datasets with high-cardinality attributes (like "Country" in LFM-2B).
Conclusion
PoT-AU represents a significant step forward in privacy-preserving recommendation. By shifting the focus from parameter-space constraints to function-space alignment, the framework achieves a superior balance between "forgetting" sensitive attributes and maintaining user experience. Future work will explore "user-wise" unlearning to support individual "Right to be Forgotten" requests and investigate the framework's robustness in dynamic, continuously updated environments.
Summary updated