vix.ing · top · new · best · stats · spec

The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm Estimation

2025/07/22 by Sara Ahmadian, Edith Cohen, Ahmadian, Sara +3
Computer Science · #Adversarial Robustness in Machine Learning #Cryptographic Implementations and Security #Data Structures and Algorithms (cs.DS) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Security and Verification in Computing

paper · pdf · doi:10.48550/arxiv.2507.16345

openalex publication_date 2025/07/22 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Dimensionality reduction via linear sketching is a powerful and widely used technique, but it is known to be vulnerable to adversarial inputs. We study the black-box adversarial setting, where a fixed, hidden sketching matrix A ∈ Rk × n maps high-dimensional vectors v ∈ Rn to lower-dimensional sketches A v ∈ Rk, and an adversary can query the system to obtain approximate ℓ2-norm estimates that are computed from the sketch. We present a universal, nonadaptive attack that, using O(k2) queries, either causes a failure in norm estimation or constructs an adversarial input on which the optimal estimator for the query distribution (used by the attack) fails. The attack is completely agnostic to the sketching matrix and to the estimator: it applies to any linear sketch and any query responder, including those that are randomized, adaptive, or tailored to the query distribution. Our lower bound construction tightly matches the known upper bounds of Ω(k2), achieved by specialized estimators for Johnson Lindenstrauss transforms and AMS sketches. Beyond sketching, our results uncover structural parallels to adversarial attacks in image classification, highlighting fundamental vulnerabilities of compressed representations.

Citations

Related