arXiv:2610.17323cs.CVOct 2026

Manuscript Offprint

arXiv:2610.17323

SSM-Attack: Learning Where to Perturb for Black-Box Face Privacy

Tunahan Parlayıcı, Erchan Aptoula, Yücel Saygın

Abstract

Face recognition systems are deployed widely enough that a photograph shared online can be matched without its subject's consent. Generator-based protection methods rely on heavy pretrained backbones, multi-stage inference or visible semantic edits. We introduce SSM-Attack, a black-box face privacy framework built on Selective State Space Models. Rather than synthesizing the perturbation, the state-space model predicts in one linear-time pass a spatial allocation of the perturbation budget, marking which facial locations carry identity evidence; a short projected refinement then sets the values within this per-pixel budget. Against published benchmark results, SSM-Attack attains the highest average black-box attack success rate on all three evaluation sets: 87.10 percent on CelebA-HQ, 86.90 on LADN and 81.15 on FFHQ, the last from a network that never saw that dataset. The allocation network holds 5.73 million parameters, or 16.13 million with the frozen networks used by its quality terms. Under the same cap of 0.10 on the maximum per-pixel change, allocation improves structural similarity by 0.044, peak signal-to-noise ratio by 1.62 decibels and Fréchet Inception Distance by 11.2 points over a uniform map while spending 37 percent of its capacity. Strong facial privacy protection therefore does not require a large generative prior; it requires knowing where to spend a small one.

Keywords: Face privacy, State space model, Mamba, Adversarial perturbation, Black-box transferability, Face recognition

1. Introduction

Face recognition (FR) systems, powered by discriminative margin-based losses [1, 2] and increasingly deep architectures, are now deployed at scale in surveillance, biometric authentication, access control and social media tagging. Facial images are captured, stored and analyzed in these settings without explicit consent, so individuals can be tracked across public spaces, profiled from their photographs, or

∗^{*}Corresponding author

Email address: tunahanp@sabanciuniv.edu (Tunahan Parlayıcı)

1^{1}ORCID: 0000-0001-7250-6375 exposed to identity fraud [3, 4]. Adversarial perturbations offer a proactive, model-agnostic defense: a signal added to an image before it is shared disrupts FR inference while the picture still looks like the person [5, 6]. Early white-box attacks such as FGSM [5] and PGD [7], and the transferability extensions built on them [8–10], remain limited by pixel-local gradient optimization, which overfits to surrogate-specific texture cues and transfers poorly to architecturally distinct targets. To overcome this transferability bottleneck, recent research has shifted toward generator-based methods that synthesize identity-disruptive perturbations through GAN-based makeup transfer [11, 12], diffusion-based generation [13], and portrait pipelines [14]. Despite achieving high attack success rates, these unrestricted methods share common drawbacks: they require heavy pretrained backbones (>100M–1B+ parameters), multi-stage inference, and produce visible semantic edits. This raises a natural question: can we achieve comparable transferability within a strict noise budget using an efficient generator?

Here, we introduce SSM-Attack, a noise-based adversarial face privacy framework built upon Selective SSMs [15, 16]. Mamba [16] models long-range dependencies through input-dependent selective state updates at a cost linear in the number of spatial tokens, without the local receptive field of a convolution or the quadratic cost of attention. Our central design choice concerns what the state-space model is asked to produce. Rather than emitting the perturbation itself, the network processes the face as a sequence of 256 spatial tokens and emits a spatial budget map: a mask indicating which locations carry identity evidence. The per-pixel ℓ∞\ell_{\infty} budget is allocated in proportion to this map under a hard global cap, and the perturbation values are then determined by a short projected optimization. The state-space model thus contributes what a sequence model is suited for, carrying context along the token sequence to decide where the budget should be spent, while the perturbation itself remains free of generator-induced structure.

We evaluate under a strict Leave-One-Out (LOO) black-box protocol on CelebA-HQ [17] and LADN [18], with cross-dataset validation on FFHQ [19]. Every reported number comes from an allocation network whose training data is disjoint from the evaluation set in question (Section 4.1), so all results measure generalization to unseen images and unseen identities. SSM-Attack attains the highest average attack success rate (ASR) on all three sets with 7×7\times fewer protection-time parameters than DiffAM and no multi-step diffusion inference.

One methodological distinction matters here. SSM-Attack optimizes a purely untargeted dodging objective, whereas most competing methods redirect identity toward a pre-selected target. For privacy the goal is to prevent recognition, not to impersonate, and the two are not equivalent: Zhou et al. [20] show that in the black-box setting a successful impersonation does not guarantee a successful dodge, since an example pushed toward a target identity can still match its source. We optimize Eq. (3) directly at a false acceptance rate (FAR) of 0.01.

Our main contributions are:

• Strong black-box transferability from a compact model. Against published benchmark results, SSM-Attack attains the highest average ASR on all three evaluation sets, 87.10% on CelebA-HQ, 86.90% on LADN and 81.15% on

FFHQ, surpassing the previous best on each benchmark (Adv-CPG by +7.82 points on CelebA-HQ, the best reported baseline by +6.93 points on LADN, Adv-CPG by +1.13 points on FFHQ) while using a generator more than two orders of magnitude smaller than the largest baselines.

  • A new role for sequence models in adversarial attacks. We introduce the first SSM-based face privacy framework and identify the productive role of a state-space model here: not synthesizing perturbations, but allocating the perturbation budget spatially, a decision that rewards the long-range, linear-time reasoning SSMs provide.

• Learned allocation shifts the attack–fidelity–budget trade-off. Under the same hard ℓ∞\ell_{\infty} bound it improves the structural similarity index (SSIM, +0.044), the peak signal-to-noise ratio (PSNR, +1.62 dB) and the Fréchet Inception Distance (FID, -11.2) over a uniform map at 37% of its budget, costing 1.84 points of ASR; a fixed elliptical prior at comparable allocated capacity recovers less than half the attack performance, so the allocation is learned rather than assumed.

References (24)