Mitigating Data Poisoning Attacks to Local Differential Privacy

Xiaolin Li, Ninghui Li, Boyang Wang, Wenhai Sun

Abstract

Local Differential Privacy (LDP) is a robust standard for privacy-preserving data collection, yet it remains vulnerable to data poisoning. Malicious actors can inject "fake users" to manipulate aggregate results, a threat often unaddressed by existing defenses that are slow or easily bypassed. This paper introduces a comprehensive defense framework featuring the Adaptive Pattern Attack (APA)—a stealthy new poisoning method—and two novel detection techniques: Diffstats and ASD. These methods provide up to a 120x speedup and significantly higher accuracy than prior state-of-the-art solutions.

Introduction

Local Differential Privacy (LDP) allows servers to collect aggregate trends (e.g., app usage or emoji frequency) without learning about specific individuals by adding noise to data before it leaves a user's device. However, this lack of server-side verification creates a "poisoning" problem. Malicious users can submit carefully crafted reports to skew final results, such as making a niche item appear as a "heavy hitter." Current defenses often require prior knowledge of the attack or fail against attackers who strategically "blend in" with honest noise.

The Proposed Defense Framework

To counter these threats, the authors propose a multi-stage defense architecture that operates on the server side to identify and mitigate malicious reports before final results are generated.

Overview of the proposed defense framework, illustrating the flow from user-side reports through the Attack Detection Module, LDP Aggregation, and Post-Processing Module.

1. Adaptive Pattern Attack (APA)

The authors first identify a new vulnerability: the Adaptive Pattern Attack (APA). Unlike traditional attacks that simply maximize target bits, APA strategically sets non-target bits to match the statistical distribution of genuine users. This "blending in" strategy minimizes the attacker's statistical footprint, making fake reports difficult to distinguish from honest noise.

2. Detection Methods

  • Diffstats (Differential Statistical Anomaly Detection): This "zero-shot" method identifies individual malicious users by comparing the observed frequency of "1" bits in a report against the mathematically expected frequency for a specific LDP protocol. It requires no prior training on attack patterns.
  • ASD (Abnormal Statistics Detection): For stealthier attacks that evade individual detection, ASD looks at aggregate results. In a clean system, the sum of estimated frequencies should roughly equal the total number of users. A significant discrepancy serves as a "smoking gun" for poisoning.

3. Recovery via Robust Segment Normalization (RSN)

Once an attack is detected, the Robust Segment Normalization (RSN) post-processing method cleans the data. It recalibrates low-frequency estimates while preserving the integrity of high-frequency items, ensuring the final output remains accurate despite the initial poisoning attempt.

Experimental Evaluation

The framework was evaluated using synthetic (Zipfian) and real-world datasets (emoji usage and SF Fire Department records). Key findings include:

  • Massive Speedup: Diffstats achieved up to a 120x speedup in detection time compared to the previous state-of-the-art (FIAD), enabling real-time application.
  • Superior Accuracy: In scenarios where previous methods had F1-scores below 0.4, Diffstats consistently scored above 0.8.
  • Near-Perfect Detection: ASD reached 100% detection accuracy in nearly all aggregate tampering tests.
  • Utility Recovery: RSN consistently produced the lowest Mean Square Error (MSE), successfully recovering the true data distribution.

Conclusion

This research demonstrates that the mathematical consistency requirements of LDP protocols can be leveraged as powerful defensive tools. By enforcing these rules, servers can detect anomalies without labeled datasets. Future work will focus on extending these defenses to numerical data and multi-round "Heavy Hitter" protocols.

Summary updated

BibTeX
@inproceedings{li2025mitigating,
  author = {Xiaolin Li and Ninghui Li and Boyang Wang and Wenhai Sun},
  title = {{Mitigating Data Poisoning Attacks to Local Differential Privacy}},
  booktitle = {CCS},
  year = {2025},
  doi = {10.1145/3719027.3744839},
}
Figure