NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Privacy-Preserving Outlier Detection for Data Streams

Jonas Böhler, Daniel Bernau, Florian KerschbaumDBSec 2017

TL;DR

This paper tackles the challenge of detecting outliers in data streams while preserving user privacy. They introduce a novel "relaxed differential privacy" approach that allows for different privacy guarantees for outliers and non-outliers, combined with a correction algorithm to mitigate privacy-induced detection errors. This enables accurate outlier detection in sensitive data streams, crucial for applications like IoT.

What Problem Does This Paper Address?

In many modern systems, such as the Internet of Things (IoT), sensors continuously generate data streams. This data is often sent to a central server for analysis, which might be controlled by a different entity. Users of these sensors have a vested interest in keeping their data private. A common privacy-preserving technique is differential privacy, which adds noise to the data at the source to obscure individual contributions. However, applying differential privacy to data streams often significantly reduces the utility of the data, making tasks like outlier detection (identifying unusual or faulty sensor readings) difficult or impossible. Existing methods for differentially private outlier detection typically require an interactive model with a trusted curator, which is not always feasible in decentralized or resource-constrained environments like IoT. This paper aims to bridge this gap by enabling accurate, non-interactive, differentially private outlier detection.

Methods

The core of this paper lies in two main innovations:

  • Relaxed Differential Privacy: Instead of applying a uniform privacy guarantee to all data points, the authors propose a "relaxed sensitivity" notion. This allows for a stronger privacy guarantee (lower epsilon) for non-outliers (which are assumed to be normal system behavior) and a weaker guarantee (higher epsilon) for outliers. This is motivated by the fact that outliers often represent faulty systems or sensors that need to be investigated, and thus precise data about them is more important than for regular data points.
  • Privacy-Preserving Correction Algorithm: The noise introduced by differential privacy can lead to both false positives (non-outliers flagged as outliers) and false negatives (outliers missed). The paper introduces a two-stage correction algorithm. First, a "correction server" uses distance differences between perturbed and unperturbed data points to filter out false positives. Second, it identifies false negatives by analyzing different "spatial layers" based on how points have moved relative to the data center after perturbation. This correction process is designed to be privacy-preserving, with the correction server not learning the original sensitive data.

Datasets

The authors evaluate their algorithm on synthetic datasets. These datasets are generated in R² with 100,000 points, where each dimension is sampled from a normal distribution. They create four datasets with varying degrees of separation between outliers and non-outliers (Separation 50, 120, 220, and 400), which are designed to test the robustness of their approach under different levels of noise impact.

Key Insights and Ideas

  • Outliers Deserve Different Privacy: The intuition that outliers, often indicative of system anomalies, might warrant a different privacy treatment than normal data is a key insight. This "relaxed" approach allows for better utility for anomaly detection without compromising the privacy of regular data points.
  • Correction is Crucial for Utility: The paper strongly emphasizes that while differential privacy is essential for protecting sensitive data, it inherently degrades data utility. Their correction algorithm demonstrates that it's possible to recover significant utility for outlier detection even after perturbation.
  • Spatial Properties of Perturbed Data: The correction algorithm cleverly leverages the spatial properties of data points after perturbation. By analyzing how distances to the data center change, they can distinguish between true outliers, false positives, and false negatives.

Key Results

  • The proposed algorithm achieves an accuracy of 80% in detecting outliers in a subset of 10% of the data points with a differential privacy value of ε = 0.1 on datasets with well-separated outliers.
  • For a privacy guarantee of ε = 0.5, the outlier detection accuracy increases to 95-100% across all tested datasets.
  • The correction algorithm has a fast runtime, averaging less than 40 milliseconds on 100,000 data points.
  • The size of the output subset (identified outliers) is consistently below 20% of the total data points.

Limitations and Future Work

  • Synthetic Data: The evaluation is primarily based on synthetic data. While the synthetic data is designed to mimic real-world scenarios with varying outlier separation, testing on real-world sensor data would provide more concrete validation.
  • Assumptions for Correction: The correction algorithm relies on certain assumptions about the data, such as outliers forming an outer layer around non-outliers and the data containing a single cluster. While the paper suggests splitting data into clusters if necessary, this adds complexity.
  • Future Work: The authors suggest exploring more sophisticated methods for approximating relaxed sensitivity and investigating the impact of their approach on other data analysis tasks beyond outlier detection. They also mention the potential for secure computation techniques to further enhance privacy in collaborative settings, although they note its impracticality for resource-constrained IoT devices.

Summary updated

BibTeX
@inproceedings{bohler2017privacy,
  author = {Jonas Böhler and Daniel Bernau and Florian Kerschbaum},
  title = {{Privacy-Preserving Outlier Detection for Data Streams}},
  booktitle = {DBSec},
  year = {2017},
  doi = {10.1007/978-3-319-61176-1\_12},
}
Figure