VirtualIdentity: Privacy preserving user profiling

Sisi Wang, Wing-Sea Poon, Golnoosh Farnadi, Caleb Horst, Kebra Thompson, Michael Nickels, Anderson C. A. Nascimento, Martine De Cock · DOI

Abstract

User profiling from user generated content (UGC) is a common practice that supports the business models of many social media companies. Existing systems require that the UGC is fully exposed to the module that constructs the user profiles. In this paper we show that it is possible to build user profiles without ever accessing the user's original data, and without exposing the trained machine learning models for user profiling - which are the intellectual property of the company - to the users of the social media site. We present VirtualIdentity, an application that uses secure multi-party cryptographic protocols to detect the age, gender and personality traits of users by classifying their user-generated text and personal pictures with trained support vector machine models in a privacy preserving manner.

Introduction

In the modern social media landscape, personalization is a double-edged sword. To receive tailored recommendations or advertisements, users typically must upload "User Generated Content" (UGC)—such as photos and text—to a company's server. This process exposes sensitive personal data to the service provider.

This paper identifies a "double-blind" challenge in digital profiling:

  1. User Privacy: Users are increasingly reluctant to hand over raw photos or private thoughts to a central server.
  2. Model Privacy: Companies view their trained machine learning models as valuable intellectual property and are unwilling to send them to user devices for local execution.

VirtualIdentity bridges this gap by using Secure Multi-Party Computation (MPC) to "blind" both the user's data and the company's proprietary AI models during the profiling process.

System Architecture

The VirtualIdentity framework operates on a commodity-based model involving three primary entities: the Client, the Server, and a Trusted Initializer (TI). The system allows for the prediction of a user's age, gender, and personality traits without the server ever seeing the raw content.

The VirtualIdentity system architecture, illustrating the flow of encrypted messages between Client and Server facilitated by a Trusted Initializer.

As shown in the architecture diagram, the process begins with the client extracting features from their content. The Trusted Initializer facilitates the process by pre-distributing "correlated randomness" (Beaver triples) during an offline phase. This pre-computation significantly speeds up the online phase, where cryptographic protocols allow the client and server to interact without revealing their respective private inputs.

Methodology

Predictive Engine

The system utilizes Support Vector Machines (SVMs) for classification tasks. For images, the system extracts 136 facial landmark features to determine age and gender. For text, it utilizes psycholinguistic features (MRC, NRC, and LIWC) to predict the "Big Five" personality traits: Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism.

Cryptographic Protocols

To maintain privacy, the system relies on Secret Sharing, where data values are split into random "shares" distributed between the Client and the Server. Three key protocols enable the SVMs to run over these shares:

  • Secure Matrix Multiplication ($\pi_{DMM}$): Used to calculate the SVM score (the inner product of feature vectors and model weights).
  • Secure Bit-Decomposition: Converts scores into a format suitable for bitwise comparison.
  • Secure Comparison ($\pi_{DC}$): Checks if a score exceeds a threshold to produce a final classification (e.g., "Is this user over 35?") without revealing the actual score to either party.

Key Results

The authors evaluated the system using the IMDB-WIKI dataset for images and a Psychology Essay dataset for text. The SVM-based classifiers consistently outperformed random baselines.

Accuracy results for gender and age classification using SVMs compared to baseline performance.

As detailed in the results table, gender classification reached an accuracy of 73.8%. Age classification, which utilized a hierarchical tree of binary SVMs to narrow users into four buckets, achieved accuracies between 54.6% and 61.6%. Personality trait prediction also showed significant improvements over baseline metrics.

In terms of performance, running the profiling "in the clear" (without privacy) took approximately 5 seconds, while the privacy-preserving version required 14–16 seconds. This 3x slowdown is considered a remarkably small "privacy tax" for such complex cryptographic operations, suggesting the approach is viable for real-world applications.

Conclusion and Future Work

VirtualIdentity demonstrates that it is possible to build high-utility user profiles while protecting both user data and corporate models. While the current system assumes an "honest-but-curious" model and relies on a Trusted Initializer, it provides a robust foundation for future privacy-preserving social media features. Future work will focus on removing the third-party requirement and optimizing the system for mobile device constraints.

Summary updated

BibTeX
@misc{wang2016virtualidentity,
  author = {Sisi Wang and Wing-Sea Poon and Golnoosh Farnadi and Caleb Horst and Kebra Thompson and Michael Nickels and Anderson C. A. Nascimento and Martine De Cock},
  title = {{VirtualIdentity: Privacy preserving user profiling}},
  year = {2016},
  eprint = {1808.10151},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.10151},
}
Figure