Abstract
Gaze estimation methods have significantly matured in recent years, but the large number of eye images required to train deep learning models poses significant privacy risks. In addition, the heterogeneous data distribution across different users can significantly hinder the training process. In this work, we propose the first federated learning approach for gaze estimation to preserve the privacy of gaze data. We further employ pseudo-gradient optimisation to adapt our federated learning approach to the divergent model updates to address the heterogeneous nature of in-the-wild gaze data in collaborative setups. We evaluate our approach on a real-world dataset (MPIIGaze) and show that our work enhances the privacy guarantees of conventional appearance-based gaze estimation methods, handles the convergence issues of gaze estimators, and significantly outperforms vanilla federated learning by 15.8% (from a mean error of 10.63 degrees to 8.95 degrees). As such, our work paves the way to develop privacy-aware collaborative learning setups for gaze estimation while maintaining the model’s performance.
Introduction
Human eye gaze is a critical signal for various applications, including virtual reality, human-computer interaction, and behavioral analysis. Modern appearance-based gaze estimation relies heavily on deep learning, which necessitates massive datasets of eye images to account for variations in lighting, head pose, and individual appearance. However, this data collection introduces two major challenges: severe privacy risks due to the biometric nature of eye images, and data heterogeneity (non-IID data) in real-world settings that hinders standard distributed training.
Proposed Federated Learning Framework
To address these challenges, we propose a cross-device centralized horizontal federated learning (FL) setup. In this framework, raw eye images remain on the user's device, and only ephemeral weight updates are transmitted to a central server.
To overcome the "client drift" caused by heterogeneous data, we move beyond standard Federated Averaging (FedAvg) and implement an adaptive optimization strategy (FedOpt):
- Client-side Training: Each device trains a multi-modal CNN locally using Stochastic Gradient Descent (SGD) with momentum and Nesterov accelerated gradients.
- Server-side Aggregation: The central server collects weight differences from clients, treating them as "pseudo-gradients." It then applies the Adam optimizer to update the global model. This server-side adaptivity helps smooth out the noise from divergent local updates, allowing the model to learn generalizable features despite individual user quirks.
Experimental Evaluation
We evaluated our approach using the MPIIGaze dataset, a standard benchmark containing over 213,000 annotated images from 15 participants. This dataset is particularly suited for testing FL because it captures realistic "in-the-wild" variations in environments and hardware.
Key Results
- Accuracy Improvement: Our adaptive FL approach achieved a mean angle error of 8.95 degrees, representing a 15.8% improvement over vanilla FedAvg (10.63 degrees).
- Enhanced Fairness: The performance gap between participants was significantly reduced. Adaptive FL narrowed the error range to 7.5–10.2 degrees, compared to the 9.3–12.2 degree spread seen with FedAvg.
- Robustness to Noise: The model demonstrated high resilience in data poisoning simulations, maintaining performance even when up to 70% of participants provided noisy updates.
Conclusion and Future Work
This work demonstrates that federated learning can effectively preserve privacy in gaze estimation without sacrificing performance. By utilizing adaptive server-side optimization, we successfully mitigated the impact of non-IID data distributions. Future research will focus on integrating formal privacy guarantees, such as Differential Privacy, and optimizing system-level communication overhead to ensure seamless deployment on mobile and wearable devices.
Summary updated