Attention-Redirection Probes for Purification-Resistant Membership Auditing

Privacy auditors face a cost problem and a robustness problem at the same time. The gold-standard way to tell whether a model was trained on a particular example — membership inference — is to train many "shadow models" on data subsets to learn what members look like, but that machinery can cost more than training the model under audit, which puts it out of reach for large vision and vision-language models (Bertran et al., Hu et al.). The cheaper shadow-free substitutes that exist measure either output statistics or internal attention patterns, and nobody has checked whether those signals survive when the audited party preprocesses its inputs through generative purification — the same denoising pipelines that are already known to strip protective adversarial noise from images (IMPRESS, APBench). Meanwhile, a literature on adversarial attention redirection has shown that small, deliberately placed perturbations can seize a transformer's internal attention routing (Patch-Fool, Attacking Attention of Foundation Models) — a mechanism that has only ever been used to break models, never to interrogate them.

This proposal turns that attack machinery into an auditing instrument. The core claim is twofold. First, the response of a model's internal attention maps to a small, attention-targeted perturbation — how much the routing shifts when we nudge one influential patch — is a membership signature that separates training data from unseen data on vision and vision-language backbones, without any shadow models, and it sharpens the weak signal that output-confidence perturbation probing gives (SISYPHOS reports only 0.59 AUC on CIFAR-10 with ResNet, SISYPHOS). Second, because this signature lives in the model's routing of semantic content rather than in high-frequency pixel statistics, we hypothesize it degrades far more slowly under input purification than output-level signals do — and we test that hypothesis against an adaptive provider who uses differentiable purification, in the spirit of DiffBreak, to actively erase it.

Core Claim

Call the method RedirectMIA. For an input $x$ and a transformer under audit, we craft a bounded perturbation $\delta$ that maximally diverts the model's attention at some intermediate layer $\ell$, then measure how the attention actually moved:

$$\delta^* = \arg\max_{\|\delta\|_\infty \le \epsilon} \; \big\| A_\ell(x+\delta) - A_\ell(x) \big\|_F^2, \qquad \Delta_A(x) = \big\| A_\ell(x+\delta^*) - A_\ell(x) \big\|_F$$

where $A_\ell(x)$ is the multi-head self-attention map — the matrix that says which image patches or tokens the model looks at — at layer $\ell$, and $\Delta_A(x)$ is the induced redirection magnitude, computed alongside the full reshaping pattern of the map. The probe reuses two known objectives: the concentrated patch-wise attention-hijacking loss of Patch-Fool and the task-agnostic attention-divergence loss of Attacking Attention of Foundation Models Disrupts Downstream Tasks. The features $\Delta_A(x)$, the reshaping pattern, and passive inter-layer attention drift (following AttenMIA) feed a small classifier, exactly as AttenMIA feeds a lightweight multi-layer perceptron.

The motivating hypothesis comes from two strands of evidence. SISYPHOS found that members exhibit steep confidence curvature along adversarial paths while non-members sit in flatter regions, but could only measure this on outputs, where the signal is weak (0.59 AUC); we test whether the same geometric contrast, read out in attention space where memorization actually lives, is far stronger. Separately, AIBA showed that clean images carry stable "natural attention rollout" footprints that attackers can exploit for stealth (Attention-Imperceptible Backdoor Attacks on Vision Transformers) — evidence that attention structure is a persistent, sample-dependent property. What is genuinely open, and what no prior work touches, is whether an actively engineered redirection probe beats passive statistics in the hard regimes (pre-training-scale detection, where VL-MIA reports only ~0.688 AUC), and whether any of these signals survive generative purification.

Research Program

The program has three parts. First, build RedirectMIA and establish where the active probe helps: we port AttenMIA's passive transitional-attention features to vision backbones ourselves (no reported result found on Lacuna for shadow-free MIA AUC on ViT vision backbones), then add the redirection probe and measure the gain across easy and hard regimes. The probe costs a few projected-gradient steps per sample — cheap next to FiMMIA's 24 semantic neighbors per input (FiMMIA) and negligible next to shadow ensembles (Carlini et al.) or the bi-level meta-optimization that protective-perturbation methods require per image (MetaCloak, MMGUARD).

Second, run the fragility stress test, which is the conceptual heart of the proposal. The provider preprocesses every query through a pipeline — JPEG compression and spatial smoothing (the operations APBench shows already neutralize availability-poisoning noise, APBench), then diffusion-based purification, then IMPRESS-style manifold projection (IMPRESS) — and we measure how the auditor's AUC decays as purification strength grows, for attention-based signals versus output-based signals. The honest framing is that this is a measurement question with two possible answers, both informative: if attention signatures survive purification that erases output signals, we have a purification-resistant auditing primitive; if they do not, we have a negative result that any privacy audit of a purifying provider must reckon with, since every shadow-free method in the file is untested there.

Third, close the loop with an adaptive adversary, because static conclusions of this kind have a poor track record. DiffBreak demonstrated that defenses validated against naive attacks collapse — robust accuracy falling from ~62% to 17.19% on CIFAR-10, and to ~0% against majority-voting defenses — once the attacker backpropagates correctly through the defense using its DiffGrad technique (DiffBreak). We therefore give the provider DiffGrad-corrected gradients through the purification pipeline and let it optimize purification parameters to minimize the auditor's AUC, while the auditor re-fits its probe and classifier in response. The output is a min-max characterization: how much auditing power survives when the evader knows exactly how the audit works. This directly imports the methodological lesson of the adaptive-attack literature (DiffBreak, DPO watermark evasion) into privacy auditing, where it has not been applied.

Proposed Experiments

On language models, we evaluate on WikiMIA with LLaMA-2-13B-class open models, reporting AUC and true positive rate at 1% false positive rate, directly comparable to AttenMIA's reported 0.996 AUC and 87.9% TPR@1%FPR on WikiMIA with LLaMA-2-13B (AttenMIA); the question there is not whether we can win on an already-saturated benchmark but whether the probe adds anything once passive features are exhausted. The decisive battlegrounds are the harder ones: the VL-MIA benchmark of DALL-E, Flickr, and synthetic image–text pairs, where pre-training-scale detection reaches only ~0.688 AUC with MaxRényi-K% (VL-MIA) — beating that number under the same splits would be the headline result — and a vision setting where we train DeiT-S on ImageNet-100 subsets with controlled member/non-member splits, chosen because ImageNet-100 is already the standard for unlearnability work at scale (DUNE) and because DeiT models are the canonical victims of attention hijacking (Patch-Fool). On the fragility axis we sweep JPEG quality, bit-depth reduction, Gaussian smoothing, diffusion purification, and IMPRESS-style projection; for the expensive IMPRESS pipeline, whose reported cost is 141 seconds per image (IMPRESS), we audit a sampled subset and report cost-adjusted comparisons. The adaptive experiment reports the auditor's AUC after $k$ rounds of provider re-optimization, with the provider's compute budget matched to the auditor's, and uses DiffGrad's reported 41x gradient speedup (DiffBreak) to make the evader realistically strong rather than a strawman.

Baselines

The naive reference point is a raw loss or perplexity threshold on the audited model, with no perturbations and no internal access; VL-MIA shows plain perplexity fails to separate memorized from unseen data in generative models, so this mainly calibrates the floor, alongside the 0.5-AUC random guess. The strongest existing competitor is AttenMIA (AttenMIA), which extracts passive inter-layer attention-drift and token-drop perturbation features and trains a lightweight MLP, reporting 0.996 AUC and 87.9% TPR@1%FPR on WikiMIA with LLaMA-2-13B; we run it under identical splits, identical backbone access, and an identical small-classifier tuning budget, porting its features to our vision and VLM settings ourselves since it was only evaluated on language models, and we count ourselves as beating it only if we improve AUC in the hard pre-training-detection regime or retain substantially more AUC under purification at matched query cost. The second competitor is MaxRényi-K% (VL-MIA), which slices top-token Rényi entropy and reports 0.815 AUC on GPT-4 and ~0.688 on pre-training detection; it needs only output logits, so we also run it in a black-box variant of our setting to show what internal access buys. Third, the two-temperature set-level attack of Hu et al., which queries the model at two temperatures and reports AUC above 0.8 with 5 samples and 0.9 with 10, matched to our per-sample query budget. Fourth, as an upper-bound ceiling rather than a fair competitor, a LiRA-style shadow ensemble (Carlini et al.) on the ImageNet-100 setting only, where training dozens of shadows is feasible, to show how close the shadow-free probe gets to the expensive gold standard. Finally, the key ablation isolates the proposal's ingredient: passive attention features only (an AttenMIA port), redirection probe only, and both combined, each with and without purification, so any claimed gain is attributable to the active probe and not to the extra attention access.

Why not just…?

Why not just use AttenMIA's passive attention statistics? This is the most serious objection, and we treat it as our strongest baseline rather than arguing around it. AttenMIA already achieves 0.996 AUC on WikiMIA (AttenMIA), so on easy benchmarks the probe is likely redundant. The case for the probe rests on two untested regimes where passive features plausibly falter — pre-training-scale detection, stuck near 0.688 AUC for entropy-based methods (VL-MIA), and vision backbones, where AttenMIA was never run — and on the possibility that an active perturbation amplifies a weak signal the way SISYPHOS's output-space path probing tried and failed to do at 0.59 AUC. If the passive-only ablation matches the probe everywhere including under purification, the proposal's methodological contribution collapses to a negative finding, and we will report it as such; the ablation is designed to settle exactly this.

Why not just threshold output loss or perplexity? The file's evidence is consistent that raw output statistics are both weak and confounded: plain perplexity fails in generative models, forcing entropy slicing to reach 0.815 AUC on GPT-4 (VL-MIA); output-confidence arc length reaches only 0.59 AUC on CIFAR-10 with ResNet (SISYPHOS); and FiMMIA shows simple loss thresholds often reflect benchmark distribution shift rather than memorization (FiMMIA). We still run the loss-threshold floor and the entropy and temperature baselines at matched budgets, because if they match us in the hard regimes the internal-access requirement of our method is not justified.

Why not just purify everything and assume the signal is gone (or assume the provider never purifies)? Both assumptions are unsafe in opposite directions. APBench shows cheap transforms neutralize high-frequency protective noise (APBench), but IMPRESS shows the same transforms do not break robust protections like GLAZE, restoring mimicking accuracy from 42% to 87% only with model-aware optimization (IMPRESS) — so whether purification erases a given signal is an empirical property of that signal, not a default. And assuming a static provider ignores the adaptive-attack record: stochastic defenses that looked robust fell to ~0% once the attacker computed correct gradients through them (DiffBreak). The purification sweep and the adaptive min-max experiment exist precisely to replace both assumptions with measurements.

Why not just train shadow models for a proper gold-standard audit? At ImageNet-100 scale we do, as the ceiling baseline. But the shadow cost can exceed training the target itself for large architectures (Bertran et al., Hu et al.), and it is prohibitive for foundation-model auditing; the whole point of the probe is to approach the shadow-ensemble ceiling at a per-sample cost of a few gradient steps, so the ceiling comparison on ImageNet-100 is the experiment that decides whether that trade is worth making.

Decisive Checks

Three results would make or break the proposal. First, on VL-MIA pre-training detection, the combined passive-plus-probe auditor must beat the ~0.688 AUC reported for MaxRényi-K% (VL-MIA) by a margin outside split-resampling noise, with the passive-only ablation confirming the probe is what adds the gain. Second, under the purification sweep, attention-based AUC retention must measurably exceed output-signal retention — if both decay identically, the purification-resistance claim is dead, whatever the clean AUC. Third, after the adaptive provider optimizes purification with DiffGrad-corrected gradients for a matched compute budget, we report the surviving AUC honestly; a method that holds a meaningful margin there would be the first privacy audit validated against a defense-aware evader, and a method that does not would still deliver the field's first quantitative answer to how much auditing power adaptive purification can remove.