Sonic: Fast and Transferable Data Poisoning on Clustering Algorithms
Francesco Villani, Dario Lazzaro, Antonio Emanuele Cinà, Matteo Dell'Amico, Battista Biggio, Fabio Roli
TL;DR
This work tackles the scalability bottleneck of data poisoning against clustering by introducing Sonic, a genetic optimization attack that uses an incremental surrogate clustering model (FISHDBC) to efficiently search for adversarial perturbations. By exploiting the fact that only a small fraction of data is typically manipulated, Sonic reduces recomputation and accelerates poisoning while preserving transferability to target algorithms like HDBSCAN*, DBSCAN, and hierarchical linkages. Empirical results on MNIST, FASHION-MNIST, CIFAR-10, and 20 Newsgroups show Sonic achieves strong attack effectiveness with substantial speedups (up to hundreds of times faster in some settings) and good transferability across clustering families. The findings underscore Sonic’s value for rapid robustness verification of unsupervised clustering systems on large-scale datasets, while also highlighting algorithm-specific vulnerabilities and directions for defense and future study.
Abstract
Data poisoning attacks on clustering algorithms have received limited attention, with existing methods struggling to scale efficiently as dataset sizes and feature counts increase. These attacks typically require re-clustering the entire dataset multiple times to generate predictions and assess the attacker's objectives, significantly hindering their scalability. This paper addresses these limitations by proposing Sonic, a novel genetic data poisoning attack that leverages incremental and scalable clustering algorithms, e.g., FISHDBC, as surrogates to accelerate poisoning attacks against graph-based and density-based clustering methods, such as HDBSCAN. We empirically demonstrate the effectiveness and efficiency of Sonic in poisoning the target clustering algorithms. We then conduct a comprehensive analysis of the factors affecting the scalability and transferability of poisoning attacks against clustering algorithms, and we conclude by examining the robustness of hyperparameters in our attack strategy Sonic.
