Skip to main content
QUICK REVIEW

[Paper Review] Data Leakage via Access Patterns of Sparse Features in Deep Learning-based Recommendation Systems

Hanieh Hashemi, Wenjie Xiong|arXiv (Cornell University)|Dec 12, 2022
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper reveals that access patterns to embedding tables in deep learning-based recommendation systems can leak private user information, even when model computations are hidden. By analyzing sparse feature lookups, attackers in untrusted clouds can re-identify users, infer sensitive attributes, and track behavior over time—demonstrating that existing protections like federated learning and ORAM are insufficient for real-time inference.

ABSTRACT

Online personalized recommendation services are generally hosted in the cloud where users query the cloud-based model to receive recommended input such as merchandise of interest or news feed. State-of-the-art recommendation models rely on sparse and dense features to represent users' profile information and the items they interact with. Although sparse features account for 99% of the total model size, there was not enough attention paid to the potential information leakage through sparse features. These sparse features are employed to track users' behavior, e.g., their click history, object interactions, etc., potentially carrying each user's private information. Sparse features are represented as learned embedding vectors that are stored in large tables, and personalized recommendation is performed by using a specific user's sparse feature to index through the tables. Even with recently-proposed methods that hides the computation happening in the cloud, an attacker in the cloud may be able to still track the access patterns to the embedding tables. This paper explores the private information that may be learned by tracking a recommendation model's sparse feature access patterns. We first characterize the types of attacks that can be carried out on sparse features in recommendation models in an untrusted cloud, followed by a demonstration of how each of these attacks leads to extracting users' private information or tracking users by their behavior over time.

Motivation & Objective

  • Investigate privacy vulnerabilities in deep learning-based recommendation systems where users' private data may be leaked through access patterns to sparse feature embedding tables.
  • Identify and analyze specific types of attacks—such as re-identification, sensitive attribute inference, and frequency-based tracking—that exploit access patterns in untrusted cloud environments.
  • Demonstrate that even with secure computation techniques and secret hash functions, access pattern leakage remains a critical threat in production-scale recommendation systems.
  • Highlight the limitations of current privacy-preserving solutions like federated learning and Oblivious RAM (ORAM) in protecting against access pattern leakage during inference.
  • Shift the research focus from dense feature leakage to the underexplored threat of sparse feature access pattern leakage in recommendation models.

Proposed method

  • Analyze the architecture of state-of-the-art recommendation models like DLRM, focusing on how sparse features (e.g., user age, gender, item categories) are used to index large embedding tables.
  • Model the threat scenario where an untrusted cloud server observes access patterns to embedding tables and correlates them with user behavior to infer private information.
  • Design and simulate three types of attacks: (1) user re-identification using static sparse features (e.g., gender, age), (2) inference of sensitive attributes from dynamic sparse features (e.g., purchased items), and (3) frequency-based tracking of user behavior over time.
  • Use statistical and pattern analysis to correlate repeated access to specific embedding table indices with user identities or behaviors, even without direct access to feature values.
  • Evaluate the effectiveness of existing privacy-preserving techniques—such as federated learning and ORAM—against these access pattern attacks, showing their limitations in real-time inference workloads.
  • Demonstrate that even with secret hashing of feature inputs, access patterns to embedding tables still leak information, proving that pattern obfuscation is necessary beyond input obfuscation.

Experimental results

Research questions

  • RQ1To what extent can an attacker in an untrusted cloud re-identify users based on access patterns to static sparse features like age and gender?
  • RQ2Can sensitive attributes (e.g., race, religion, political views) be inferred from dynamic sparse features such as item categories or purchase history through access pattern analysis?
  • RQ3How effective is frequency-based tracking in monitoring user behavior over time using only embedding table access logs?
  • RQ4Why are existing privacy-preserving techniques like federated learning and ORAM inadequate for protecting against access pattern leakage in recommendation system inference?
  • RQ5Can secret hashing of input features prevent access pattern leakage, or do the access patterns to embedding tables still reveal private information?

Key findings

  • Access patterns to embedding tables in recommendation systems can be used to re-identify users with high accuracy, even when the model's internal computations are hidden.
  • Sensitive attributes such as gender, race, or political views can be inferred from dynamic sparse features (e.g., item categories or purchase history) by analyzing access frequency and sequence to embedding tables.
  • Frequency-based tracking attacks can reconstruct user behavior patterns over time, enabling long-term user profiling based solely on access patterns to embedding tables.
  • Even with secret hashing of input features, access patterns to embedding tables still leak information, proving that input obfuscation alone is insufficient for privacy protection.
  • Existing privacy-preserving solutions like federated learning and ORAM are ineffective for real-time inference in recommendation systems due to high performance overhead and incompatibility with dynamic access patterns.
  • The paper identifies a critical gap in current research: while dense feature leakage has been studied, sparse feature access pattern leakage remains largely unaddressed, despite embedding tables constituting 99% of model parameters.

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.