Facebook Report on Privacy of fNIRS data

Md Imran Hossen, Sai Venkatesh Chilukoti, Liqun Shan, Vijay Srinivas Tida, Xiali HeiarXiv 2024

TL;DR

This paper explores how to train deep learning models on sensitive brain-activity data (fNIRS) without compromising user privacy. By combining Differential Privacy (DP) and Federated Learning (FL), the researchers demonstrate that while there is a significant trade-off between privacy and accuracy, it is possible to achieve over 88% accuracy in mental workload classification while providing formal privacy guarantees.

What Problem Does This Paper Address?

As AR/VR headsets become more common, they are increasingly equipped with sensors like functional Near-Infrared Spectroscopy (fNIRS) to monitor brain activity. While this enables "mind-controlled" interfaces and health monitoring, it creates a massive privacy risk. fNIRS data can reveal highly sensitive information, including heart rate variability, attention levels, and even early signs of Alzheimer’s or epilepsy.

The authors identify two major threats:

  1. Centralized Data Risks: Storing all user data on one server makes it a target for breaches or "honest-but-curious" service providers.
  2. Model Leakage: Even if raw data isn't shared, trained models can "memorize" specific training samples. Attackers can use membership inference or model inversion attacks to reconstruct a user's private brain patterns just by querying the model.

Methods

The researchers implemented two primary defensive strategies:

  • Differential Privacy (DP): They utilized DP-SGD and DP-Adam (via the Opacus library). These algorithms add calibrated noise to gradients during training and clip their norms to ensure that no single data point has an outsized influence on the final model.
  • Federated Learning (FL): Instead of sending raw data to a server, clients (like individual VR headsets) train models locally and only share weight updates. They specifically tested FedAvg and FedProx to handle potential system and statistical differences between users.
  • Local Differential Privacy (LDP): To further harden FL, they implemented LDP, where each client adds noise to their model updates before sending them to the central server, ensuring the server never sees even a "clean" gradient.

Datasets

The study used the Tufts fNIRS to Mental Workload (fNIRS2MW) dataset.

  • Content: Multivariate fNIRS recordings from 68 participants.
  • Task: Binary classification to distinguish between the "lowest" and "highest" levels of mental workload.
  • Split: 60% training, 20% validation, and 20% testing.

Key Insights and Ideas

  • DP-Adam > DP-SGD: In a private setting, the Adam optimizer consistently outperformed standard SGD, reaching higher accuracy for the same "privacy budget" ($\epsilon$).
  • Hyperparameter Sensitivity: Standard ML intuition fails under DP. For instance, the optimal learning rate for a non-private model (0.001) was different from the private version (0.003).
  • Activation Functions Matter: The authors found that Tanh activation functions performed slightly better than the standard ReLU when training with DP. This is likely because Tanh is naturally bounded, which helps prevent the "exploding activations" that can occur when gradients are clipped.
  • The Privacy Tax: There is a clear "utility gap." While non-private models reached near-perfect accuracy, adding strong privacy guarantees dropped performance by roughly 10-20%.
Figure 1: Training curves for different baseline models showing the MLP's superior convergence.

Key Results

  • Baseline Performance: Non-private centralized models (MLP, LSTM, BiLSTM) all achieved >99% test accuracy.
  • Centralized DP: Using DP-Adam with a privacy budget of $\epsilon = 22.59$, the MLP achieved 88.66% accuracy.
  • Federated Learning: Non-private FL achieved high accuracy (up to 98.2% for 5 clients), but this decreased as the number of clients increased.
  • Private Federated Learning (LDP): This was the most challenging setting. With $\epsilon = 12.0$ and 5 clients, accuracy dropped to 78.96%. Lowering the privacy budget to $\epsilon = 4.0$ (stronger privacy) further reduced accuracy to 73.02%.
Figure 4: The trade-off between privacy budget ($\epsilon$) and accuracy. Lower $\epsilon$ means stronger privacy but lower utility.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Static Parameters: The noise multiplier and clipping bounds were kept constant. Future work will explore dynamic adjustment of these parameters during training to improve the privacy-utility trade-off.
  • IID Assumption: The FL experiments assumed data was "Independent and Identically Distributed" (IID) across clients. In the real world, brain activity is highly individual (non-IID), which usually makes FL much harder.
  • Central DP (CDP) in FL: The study focused on Local DP. The authors suggest that Central DP (where the server performs the clipping and noising) might yield better accuracy, though it requires more trust in the central server.
  • Model Architecture: Only a relatively simple MLP was used for the private experiments; exploring how larger architectures behave under DP is a key next step.

Summary updated

BibTeX
@misc{hossen2024facebook,
  author = {Md Imran Hossen and Sai Venkatesh Chilukoti and Liqun Shan and Vijay Srinivas Tida and Xiali Hei},
  title = {{Facebook Report on Privacy of fNIRS data}},
  year = {2024},
  eprint = {2401.00973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.00973},
}
Figure