Privacy-Preserving Sequential Recommendation with Collaborative Confusion

Wei Wang, Yujie Lin, Pengjie Ren, Zhumin Chen, Tsunenori Mine, Jianli Zhao, Qiang Zhao, Moyan Zhang, Xianye Ben, Yujun Li

TL;DR

CLOUD (CoLlaborative-cOnfusion seqUential recommenDer) is a novel framework that protects user privacy in sequential recommendation by "confusing" a user's interaction history before it ever reaches the recommender. By strategically deleting real items and injecting indistinguishable fake items borrowed from similar users, CLOUD achieves a high modification rate (up to 66%) while maintaining over 99% of the accuracy of state-of-the-art non-private models.

What Problem Does This Paper Address?

Sequential recommendation (SR) systems are everywhere—from Netflix queues to Amazon "Buy it Again" lists. These systems rely on the specific order and timing of your clicks to predict what you want next. However, this "digital breadcrumb trail" is a privacy nightmare. If an attacker gains access to your raw interaction sequence, they can reconstruct your preferences, habits, and even your identity.

Existing solutions usually fall into two camps: Differential Privacy (DP), which adds mathematical noise that often degrades recommendation quality, and Federated Learning (FL), which keeps data on-device but demands high communication bandwidth and powerful hardware. The authors identify a gap: we need a way to protect the raw sequence data itself without destroying the "collaborative signals" that make recommendations useful in the first place.

Methods

The authors propose CLOUD, which introduces a "Collaborative Confusion" mechanism. Instead of just adding random noise, it uses the behavior of similar users to hide the target user's actions.

  1. Shared Encoder: Uses a bidirectional transformer (similar to BERT4Rec) to create hidden representations of both the target user's sequence and their "neighbor" sequences (found via Jaccard similarity).
  2. Item-wise Modifier: This is the "confusion" engine. For every item in a sequence, it decides between three actions: Keep, Delete, or Insert.
  3. Collaborative Copy Mechanism: When the modifier decides to Insert a fake item, it doesn't pick one at random. It uses an attention mechanism to "copy" items from similar users' histories. Because these items are contextually relevant to the user's general interests, they are "indistinguishable" to an attacker but provide "collaborative signals" that help the recommender stay accurate.
  4. Self-Supervised Training: The modifier is trained to "restore" sequences that have been intentionally corrupted, allowing it to learn the optimal way to delete and insert items without manual labeling.
  5. Recommender: A standard sequential recommender (like BERT4Rec) is then trained on these modified, "confused" sequences.

Datasets

The model was evaluated on three widely-used public benchmarks:

  • Amazon Beauty: Product reviews and timestamps for beauty products.
  • Yelp: Business interactions and reviews (specifically from the year 2019).
  • Amazon Sports: Product reviews for sporting goods.

The researchers preprocessed these by filtering out users/items with fewer than five interactions and used Jaccard similarity to identify the top 10 "neighbor" sequences for each user.

Key Insights and Ideas

  • Perplexity as Protection: The goal isn't just to hide data, but to increase the "perplexity" of the sequence. By mixing real and fake items that look similar, an attacker cannot discern which interactions are authentic.
  • Insertion is Better than Deletion: The authors argue that simply deleting items (denoising) isn't enough for privacy because the remaining items are still 100% authentic. Inserting fake but plausible items is far more effective at "confusing" an adversary.
  • Noise as Augmentation: Surprisingly, the "noise" injected by CLOUD doesn't just protect privacy; it acts as a form of data augmentation. By training on these modified sequences, the recommender learns more robust item correlations, which is why the accuracy remains so high.
  • Collaborative vs. Self-Correction: Previous models like STEAM only looked at a single user's sequence to perform "corrections." CLOUD’s "Collaborative" approach is much more aggressive, leading to significantly higher modification rates (and thus better privacy).

Key Results

  • High Privacy: CLOUD achieved a modification rate of 66% on the Yelp dataset, meaning two-thirds of the sequence seen by the server was modified (inserted or deleted).
  • Minimal Performance Hit: Despite the heavy modification, CLOUD retained over 99% of the recommendation accuracy compared to state-of-the-art non-private baselines.
  • Superior Robustness: In "stress tests" where interaction data was randomly destroyed (simulating extreme privacy measures), CLOUD's performance dropped by only ~3%, whereas standard models like BERT4Rec plummeted by ~11%.
  • Indistinguishable Items: The Jaccard similarity between modified and raw sequences was significantly lowered (dropping to 0.41 on Yelp), proving that the "confused" sequence is vastly different from the original.

Limitations and Future Work

While CLOUD is a major step forward, the authors note a few lingering challenges:

  • Offline Training: The model still requires access to some real data during the initial offline training phase to learn how to "confuse" sequences effectively.
  • Partial Protection: It does not modify every single record; some authentic interactions remain in the sequence.
  • Future Directions: The authors plan to explore combining CLOUD with Differential Privacy (adding noise to embeddings) for "defense-in-depth." They also suggest using Generative Adversarial Networks (GANs) to create even more deceptive fake items that could fool even the most sophisticated attackers.

Summary updated

BibTeX
@article{wang2025privacy,
  author = {Wei Wang and Yujie Lin and Pengjie Ren and Zhumin Chen and Tsunenori Mine and Jianli Zhao and Qiang Zhao and Moyan Zhang and Xianye Ben and Yujun Li},
  title = {{Privacy-Preserving Sequential Recommendation with Collaborative Confusion}},
  journal = {ACM Trans. Information Systems},
  year = {2025},
  doi = {10.1145/3707204},
}
Figure