Task-aware Privacy Preservation for Multi-dimensional Data

Jiangnan Cheng, Ao Tang, Sandeep P. ChinchaliICLR 2022

TL;DR

Standard Local Differential Privacy (LDP) often destroys data utility by injecting "blind" noise into every dimension of a dataset. This paper introduces a task-aware approach that learns to encode only the features relevant to a specific machine learning task before adding noise, significantly improving accuracy while maintaining the same rigorous privacy guarantees.

The Utility Problem in Local Differential Privacy

Local Differential Privacy (LDP) is the "gold standard" for privacy because it anonymizes data on the user's device before it ever reaches a server. However, LDP has a major "utility problem."

Current LDP methods are mostly task-agnostic: they treat all data attributes as equally important. If you have a high-dimensional dataset (like health records or smart meter data), standard LDP adds noise proportional to the sensitivity of the entire data vector. As the number of dimensions grows, the required noise becomes so "loud" that it drowns out the signal, making the data useless for downstream tasks like classification or regression.

Conceptual comparison of task-agnostic vs. task-aware privacy

The authors argue that if we know what the data will be used for, we can be much smarter about where we put the noise. By focusing the privacy budget only on the features that matter for the task, we can preserve much higher data utility.

Methods: An Encoder-Decoder Framework

To solve this, the authors propose an encoder-decoder framework designed to maximize utility for a specific task under a fixed privacy budget ($\epsilon$).

The proposed task-aware encoder-decoder pipeline
  1. The Pipeline: Raw data ($x$) is passed through an Encoder to create a latent representation ($\phi$). This representation is then perturbed with Laplace noise. A Decoder then reconstructs an estimate ($\hat{x}$) which is fed into the final Task Function (like a classifier).
  2. Linear Setting: For linear tasks with Mean-Squared Error (MSE) loss, the authors derive an analytical near-optimal solution. They use geometric analysis (SVD and eigen-decomposition) to determine the optimal way to rotate and scale the data so that the most "task-heavy" components receive the best signal-to-noise ratio.
  3. Non-linear Setting: For complex scenarios (like neural networks), they provide a gradient-based learning algorithm. This algorithm co-trains the encoder and decoder to minimize task loss while explicitly accounting for the noise that will be injected to satisfy LDP.
  4. Privacy Guarantee: Crucially, because of the "post-processing immunity" property of Differential Privacy, once the latent representation is made private, any subsequent decoding or task processing remains private.

Datasets and Evaluation

The researchers evaluated their approach on four diverse datasets from the UCI Machine Learning Repository and computer vision benchmarks:

  • Hourly Household Power Consumption: A 24-dimensional time-series task to estimate mean power usage.
  • Real Estate Valuation: A regression task using 6 attributes to predict house prices.
  • Breast Cancer Detection: A 30-dimensional classification task to diagnose tumors as malignant or benign.
  • MNIST: A high-dimensional (784-dimensional) image dataset used to test the approach on complex, non-linear image classification.

Key Insights and Results

  • The "Relevance" Filter: The core insight is that not all data variability is created equal. By projecting data into a lower-dimensional "task-relevant" subspace, you reduce the "sensitivity" of the function. Lower sensitivity means you can achieve the same privacy level with much less noise.
  • End-to-End Privacy: By training the encoder with the knowledge of the noise, the model learns to be robust to the specific type of interference LDP introduces, rather than trying to "fix" the noise after the fact.

The task-aware approach consistently outperformed standard task-agnostic and privacy-agnostic benchmarks across all tests:

  • Massive Error Reduction: In the Breast Cancer Detection task, the task-aware method improved performance by up to 70% compared to standard LDP benchmarks.
  • Power Estimation: For smart meter data, the method achieved a 22.9% improvement in accuracy. It specifically prioritized accuracy during "day-time" hours (defined as more important for the task) while maintaining a similar error rate to benchmarks for less relevant "night-time" hours.
  • High-Dimensional Scaling: On the MNIST dataset, the task-aware approach showed a 21.3% improvement over privacy-agnostic methods, proving that the framework scales effectively to image data where dimensions are high but redundant.

Limitations and Future Work

  • Single-Task Focus: The current framework optimizes for one specific task. If the same anonymized data needs to be used for multiple, different tasks (e.g., both credit scoring and demographic analysis), the current "task-aware" encoding might discard information vital for the second task.
  • Theoretical Gaps: While the linear case has a closed-form optimal solution, the guarantees for general deep neural networks are empirical. The authors note that their theoretical bounds don't yet apply to arbitrary non-linear architectures.
  • Future Directions: The authors suggest extending this to multi-task learning (finding a representation useful for several things at once) and exploring distributed settings where different groups of users might have different privacy requirements.

Summary updated

BibTeX
@inproceedings{cheng2022task,
  author = {Jiangnan Cheng and Ao Tang and Sandeep P. Chinchali},
  title = {{Task-aware Privacy Preservation for Multi-dimensional Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=cWlMII1LwTZ},
}
Figure