PrivateGaze: Preserving User Privacy in Black-box Mobile Gaze Tracking Services

Lingyu Du, Jinyuan Jia, Xucong Zhang, Guohao Lan

Abstract

Modern mobile gaze tracking often relies on cloud-based "black-box" services that require high-resolution facial images, posing significant privacy risks to users. This paper introduces PrivateGaze, a framework that transforms sensitive facial images into obfuscated versions. These images resemble a generic "average" person but retain the subtle eye-region features necessary for accurate gaze estimation. By using a surrogate model during training, PrivateGaze ensures compatibility with third-party services without needing access to their internal parameters. Experimental results demonstrate that PrivateGaze effectively hides identity and gender while maintaining, and in some cases improving, gaze tracking utility.

Introduction

Eye-gaze tracking is an increasingly vital technology for applications ranging from healthcare diagnostics to hands-free user interfaces. However, appearance-based gaze estimators typically require full-face images to achieve high accuracy. This requirement creates a privacy loophole: sending raw facial data to third-party or cloud-based services exposes the user's identity, gender, age, and emotional state.

Existing privacy-preserving methods, such as Gaussian blurring or differential privacy (DP) via pixelization, often fail to strike a balance between privacy and utility. They either provide insufficient protection against AI-driven identity recognition or degrade the image so severely that gaze tracking becomes inaccurate. Furthermore, most research assumes the ability to modify the gaze-tracking model itself, which is impractical for commercial "black-box" services.

Methods

The PrivateGaze framework introduces a "Privacy Preserver" that operates locally on the user's device. The system is designed to work with existing gaze estimation services without requiring any modifications to the service provider's infrastructure.

Overview of the PrivateGaze framework, showing the training stage with a surrogate estimator and the deployment stage on the user side.

Framework Components

The Privacy Preserver consists of three primary modules:

  1. Anchor Image Generation: The system generates an "Anchor Image"—a synthetic, average face created by blending hundreds of public images. This serves as a privacy template that lacks any user-specific identity.
  2. Gaze-Feature Extractor ($F(\cdot)$): A local model extracts essential gaze-related features (e.g., eye direction) from the user's raw image while discarding identity-specific information.
  3. Image Generator ($IG(\cdot)$): This module combines the generic Anchor Image with the extracted gaze features to produce an obfuscated image. This output looks like the "average" person but contains learned perturbations in the eye regions that signal the correct gaze direction to a neural network.

Training with a Surrogate Model

To ensure the obfuscated images work with unknown commercial services, the authors employ a Surrogate Gaze Estimator ($G_w(\cdot)$). During the training stage, the Privacy Preserver is optimized to "fool" this surrogate into predicting the correct gaze direction on the synthetic face. The underlying assumption is that features learned by the surrogate will generalize to other well-trained black-box estimators.

Detailed architecture of the Privacy Preserver, illustrating the gaze-feature extraction and image generation process guided by utility and privacy losses.

The training process is guided by two main objectives:

  • Utility Loss: Ensures the surrogate estimator can accurately predict the gaze direction from the obfuscated image.
  • Privacy Loss: Minimizes the difference between the obfuscated image and the anchor image to ensure no identity-specific features are leaked.

Datasets

The framework was evaluated using four major public gaze-estimation datasets to ensure robustness across different ethnicities, lighting conditions, and head poses:

  • GazeCapture: A large-scale dataset (2.5M images) used for training the PrivateGaze preserver and the surrogate model.
  • ETHXGaze: Utilized as the "unknown" data to simulate black-box services.
  • MPIIFaceGaze & ColumbiaGaze: Primary evaluation sets used to test privacy protection and utility maintenance across different hardware platforms (e.g., laptops vs. webcams).

Key Insights

  • The "Image Filter" Effect: In some tests, such as on the MPIIFaceGaze dataset, PrivateGaze actually improved accuracy compared to raw images (7.35° error vs 7.62°). The preserver appears to act as a filter, removing redundant facial noise and focusing the estimator on essential gaze signals.
  • Targeted Perturbations: Analysis of residual maps shows that PrivateGaze concentrates its modifications almost entirely in the eye regions. While the face remains a generic "John Doe" to humans, the AI can still extract high-fidelity gaze data from the eyes.
  • Resilience to Informed Attacks: Even if an attacker knows PrivateGaze is being used and trains a specialized recognizer on obfuscated images, identity recognition remains difficult. Since all users are mapped to the same anchor face, the model lacks unique features for differentiation.

Results

  • Privacy Protection: Identity recognition accuracy dropped from nearly 100% (unprotected) to between 1.13% and 6.31%, which is near the level of random guessing.
  • Utility Maintenance: Gaze estimation error remained comparable to unprotected images. PrivateGaze showed a performance improvement of 49% to 77% over traditional privacy methods like Differential Privacy (GauDP) or Pixelization (IP-DP).
  • Efficiency: The framework is optimized for real-time use. It processes images in under 4ms on a desktop GPU and approximately 53ms on a mid-range laptop GPU (RTX 1050Ti), making it suitable for mobile deployment.

Conclusion

PrivateGaze offers a practical solution for privacy-preserving gaze tracking in the era of cloud-based AI. By mapping users to a common anchor face, it effectively decouples identity from utility. Future work may involve extending the framework to protect other attributes like age or emotion and adapting the logic for near-eye images in VR/AR wearables. While the approach is empirical and lacks the formal mathematical guarantees of Differential Privacy, its real-world performance suggests it is a robust alternative for black-box service environments.

Summary updated

BibTeX
@article{du2024privategaze,
  author = {Lingyu Du and Jinyuan Jia and Xucong Zhang and Guohao Lan},
  title = {{PrivateGaze: Preserving User Privacy in Black-box Mobile Gaze Tracking Services}},
  journal = {Proc. ACM Interact. Mob. Wearable Ubiquitous Technol.},
  year = {2024},
  doi = {10.1145/3678595},
}
Figure