Fine-Grained Manipulation Attacks to Local Differential Privacy Protocols for Data Streams

Fei Li, Xuebin Ren, Shusen Yang, Liang Shi, Chia-Mu Yu, Qing Han

TL;DR

This paper introduces the first fine-grained data poisoning framework against Local Differential Privacy (LDP) protocols for data streams. By injecting coordinated fake users, the proposed attack successfully manipulates time-varying statistical estimates (such as frequency and mean trends) to match arbitrary target patterns. Crucially, the study reveals a counterintuitive security reality: adaptive LDP streaming protocols, designed to optimize privacy budgets, are actually more vulnerable to manipulation than simpler, rigid protocols.

What Problem Does This Paper Address?

Local Differential Privacy (LDP) is the gold standard for privacy-preserving data collection, trusted by tech giants like Google, Apple, and Microsoft. By adding mathematical noise to data on the user's device before collection, it protects individual privacy even if the central aggregator is untrusted.

While static LDP protocols have been heavily scrutinized for vulnerabilities to "data poisoning" (where malicious actors inject fake users to skew results), real-world data is rarely static. Instead, it arrives as continuous data streams. To maintain accuracy over time without depleting a user's limited privacy budget, modern streaming LDP protocols are adaptive—dynamically deciding whether to publish a fresh, noisy update or simply approximate the current state using historical data.

This paper tackles a completely unexplored security gap: How vulnerable are these adaptive, streaming LDP protocols to sophisticated data poisoning attacks?

Methods

The authors propose a unified attack framework composed of three theory-driven, composable modules designed to exploit the specific decision-making phases of streaming LDP algorithms:

  1. Publication Manipulation Attack (PMA): Operates during the data collection phase. It optimizes either the raw inputs (IPMA) or the perturbed outputs (OPMA) of fake users to force the aggregator's final estimate to match the attacker's target value at a specific timestamp.
  2. Dissimilarity Manipulation Attack (DMA): Targets the protocol's adaptive trigger. Streaming LDP protocols calculate a "dissimilarity" metric ($\overline{dis}$) to check if the underlying data stream has changed enough to justify spending more privacy budget. DMA artificially inflates or deflates this metric to force the aggregator into either publishing a new update or skipping it.
  3. Manipulation Strategy Determination (MSD): The brain of the attack framework. It mimics the LDP protocol's internal optimization logic to decide on-the-fly whether forcing a publication or an approximation will yield the smallest long-term gap to the attacker's target stream.

The interaction of these modules against the streaming LDP pipeline is illustrated below:

Overview of the adaptive attack framework showing how attack modules target specific surfaces of streaming LDP protocols.

Datasets

The framework was rigorously evaluated on both synthetic data streams (simulating linear, sinusoidal, logistic, and pulsed trends) and three large-scale, real-world benchmarks:

  • Taxi: Beijing taxi trajectories ($N = 10,357$ taxis, $T = 885$ timestamps) used for categorical grid partitions and numerical longitude tracking.
  • Foursquare: Check-in data ($N = 266,909$ streams, $T = 456$ timestamps) across 100 distinct location types.
  • Taobao: User ad click logs ($N = 728,745$ customers, $T = 432$ timestamps) across 150 categories, alongside commodity prices for numerical evaluation.

Key Insights and Ideas

  • The Adaptivity Irony: The most striking finding is that adaptive LDP streaming protocols—which dynamically allocate budget to maximize data utility—are significantly less robust against manipulation than rigid, non-adaptive baselines. Because the protocol adapts to data changes, the attacker can use DMA to trick the protocol into allocating massive privacy budgets exactly when the attacker wants to execute a high-impact manipulation.
  • Output Poisoning Dominates: Directly manipulating the perturbed outputs sent to the aggregator (Output Attacks) consistently outperforms manipulating the raw client inputs (Input Attacks), requiring significantly fewer fake users to achieve the same malicious target.
  • Exploiting Consistency for Defense: Because adaptive protocols often calculate statistics twice or rely on historical consistency, the authors found they could design a defense using the Kolmogorov-Smirnov test to detect distribution mismatches, paired with an Isolation Forest to filter out anomalous fake user clusters.

Key Results

  • Superior Attack Effectiveness: The proposed Adaptive Attacks (OAA and IAA) consistently achieved the lowest Mean Squared Error (MSE) relative to the attacker's target stream compared to baseline uniform or sampling attacks across all datasets.
  • Near-Optimal Manipulation: Output Adaptive Attacks (OAA) achieved near-optimal performance even with a low ratio of fake users ($\beta$). For instance, on the Taobao dataset, OAA seamlessly forced the aggregator's output to follow complex time-varying targets like Sigmoid or Gaussian distributions.
  • Successful Mitigation: The proposed defense mechanism successfully mitigated the attacks, demonstrating a positive Accuracy Gain (AG), particularly against highly disruptive targets like Sigmoid trends where anomalies are easier to isolate.

Limitations and Future Work

While the paper demonstrates highly effective attacks even under partial-knowledge assumptions (where the attacker only compromises a subset of users or intercepts traffic as a man-in-the-middle), the attack's performance naturally degrades as the attacker's estimation of the true user distribution becomes less accurate. Future work includes developing more robust, generalized defense mechanisms that can counter output-level manipulation without sacrificing the utility gains provided by adaptive streaming LDP protocols.

Summary updated

BibTeX
@article{li2026fine,
  author = {Fei Li and Xuebin Ren and Shusen Yang and Liang Shi and Chia-Mu Yu and Qing Han},
  title = {{Fine-Grained Manipulation Attacks to Local Differential Privacy Protocols for Data Streams}},
  journal = {IEEE Transactions on Knowledge and Data Engineering},
  year = {2026},
  doi = {10.1109/tkde.2026.3652139},
}
Figure