NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Message in a Sealed Bottle: Privacy Preserving Friending in Social Networks

Lan Zhang, Xiang-Yang Li, Yunhao Liu

TL;DR

This paper introduces a novel approach for privacy-preserving friend suggestions in mobile social networks. It enables users to find compatible connections without revealing their personal profiles and simultaneously establishes a secure communication channel, all within a decentralized network without relying on trusted third parties.

What Problem Does This Paper Address?

In today's mobile-first world, social networking apps are ubiquitous, with many leveraging location data to connect users. However, a significant challenge arises when users want to discover new connections based on shared interests or profiles without exposing their sensitive personal information. Existing solutions often fall short by either requiring a trusted third party, leading to high computational costs, or failing to provide robust privacy guarantees against various attacks. This paper tackles the problem of enabling private profile matching and secure communication in decentralized mobile social networks, where users are hesitant to disclose their data and the network infrastructure is inherently less secure.

Methods

The core of the proposed solution lies in a novel privacy-preserving profile matching mechanism that leverages symmetric encryption and a clever use of profile attributes. Instead of directly sharing profile data, users encrypt a secret message with a "profile key" derived from their attributes. This profile key is designed such that only users with sufficiently matching profiles can derive it.

Key techniques include:

  • Profile Vector and Key Generation: User profiles are transformed into vectors of hashed attributes. A profile key is then generated from this vector.
  • Remainder Vector: To efficiently filter out non-matching users, a remainder vector is computed from the profile vector. This allows for a quick check without revealing actual attribute hashes.
  • Hint Matrix: For fuzzy matching (where an exact profile match isn't required), a hint matrix is constructed. This matrix helps candidate users reconstruct the initiator's profile key by solving a system of linear equations derived from their own attributes and the hint matrix.
  • Location Attribute Hashing: To address privacy concerns in location-aware services, a lattice-based hashing scheme is used to map locations and vicinity regions. This allows for privacy-preserving vicinity searches.
  • Multiple Protocols: The paper proposes three protocols (Protocol 1, 2, and 3) offering different levels of privacy protection, ranging from basic privacy for matching users to $\phi$-entropy privacy for all participants, even against a malicious initiator with a profile dictionary.
  • Secure Channel Establishment: The shared secret key derived from the matching process is used to establish a secure communication channel resistant to man-in-the-middle attacks.

Datasets

The authors evaluated their mechanisms using data from Tencent Weibo, described as one of the largest micro-blogging websites in China. This dataset contains user profiles with information such as birth year, gender, tags (representing interests), and keywords extracted from user content. The dataset comprises 2.32 million user profiles.

Key Insights and Ideas

  • Symmetric Encryption as a Privacy Tool: The paper demonstrates how symmetric encryption, combined with attribute-based key derivation, can achieve strong privacy guarantees without the overhead of asymmetric cryptography.
  • Efficient Filtering with Remainder Vectors: The remainder vector is a crucial innovation for significantly reducing the computational burden on unmatched users, a common bottleneck in decentralized systems.
  • Fuzzy Matching with Hint Matrices: The hint matrix provides a flexible way to handle imperfect matches, making the system more practical for real-world social networking scenarios.
  • Location Privacy through Lattice Hashing: The integration of lattice-based hashing for location data is a clever way to enable proximity-based features without compromising user location privacy.
  • Layered Privacy Protocols: Offering multiple protocols allows users to choose a privacy level that balances their needs with computational feasibility.
  • Verifiability without Trust: The proposed mechanisms ensure that neither the initiator nor the unmatched user can falsely claim a match, enhancing trust in the system.

Key Results

  • Efficiency: The proposed mechanisms are significantly more efficient than existing solutions, both in terms of computation and communication. For instance, generating a request takes about 3.9 x 10⁻² ms on a laptop and 1.3 ms on a mobile phone. Processing a request for a non-candidate user takes about 3.9 x 10⁻² ms on a laptop and 0.63 ms on a phone.
  • Privacy Protection: The protocols achieve strong privacy guarantees. In the honest-but-curious model, they provide Level 2 privacy for matching users and Level 3 for unmatching users. In the malicious model with a small dictionary, Protocol 2 and 3 offer unconditional Level 3 privacy for the initiator and unmatching users.
  • Reduced Candidate Users: The use of a prime number p in the remainder vector calculation effectively reduces the number of candidate users, especially with smaller values of p.
  • Scalability: The system is designed for decentralized mobile social networks and demonstrates efficient performance even with large datasets.

Limitations and Future Work

  • Dictionary Profiling in Worst Case: While the system makes dictionary profiling very difficult, the paper acknowledges that in a worst-case scenario where an adversary possesses a complete attribute dictionary and the attribute space is small, Protocol 1's privacy for the initiator might be compromised. Protocol 3 addresses this by offering $\phi$-entropy privacy.
  • Semantic Equivalence: The profile normalization process does not address semantic equivalence between different words (e.g., "car" vs. "automobile"). This is noted as a consideration beyond the scope of the current paper.
  • Future Work: The authors suggest that their mechanism can be easily extended to discover communities of users with similar profiles and establish group keys for secure intra-community communication. They also highlight the potential for further optimization and exploration of different privacy-utility trade-offs.

Summary updated

BibTeX
@inproceedings{zhang2013message,
  author = {Lan Zhang and Xiang-Yang Li and Yunhao Liu},
  title = {{Message in a Sealed Bottle: Privacy Preserving Friending in Social Networks}},
  booktitle = {ICDCS},
  year = {2013},
  url = {https://openreview.net/forum?id=5DPwRqm4wK},
}
Figure