Independently trained vision models increasingly turn out to represent images in similar ways. They are not identical, but there is a recoverable part of their internal activations on which they agree. This note argues that this shared part explains two problems usually studied separately. The first is why adversarial patches and 3D textures that survive printing and photographing also fool models the attacker never saw. The second is why training a model to resist such patches costs clean accuracy. Our hypothesis is that the physical world acts as a filter. Printing, lighting changes, viewing angles and camera noise wash out perturbation components that exploit one model's quirks. What survives is a perturbation whose effect lies mostly in the subspace where many models agree, and that is why it transfers.
If this is right, it has a direct consequence for defense. A defender facing black-box physical attackers needs to harden only the shared subspace. The clean-accuracy penalty of standard patch training, about 5 points of clean mean average precision on a realistic traffic-sign benchmark (REAP), would then be partly wasted: it comes from training against patch effects that no transfer attacker could reproduce. We propose to measure the shared subspace, test whether physical realizability concentrates attacks in it, and train defenses that spend their robustness budget only there.
Core Claim
We make two linked, falsifiable claims.
The first is diagnostic. Let $h(x)$ be a defended model's activation at some layer. Let $\Delta h = h(x+\delta) - h(x)$ be the change caused by a perturbation $\delta$. Let $P_C$ be the projection onto a "consensus subspace": the directions of $h$ that are linearly predictable, with high canonical correlation, from every model in a frozen pool of diverse clean classifiers. The consensus score is
$$s(\delta) = \frac{\lVert P_C\, \Delta h \rVert^2}{\lVert \Delta h \rVert^2},$$
which is the fraction of a perturbation's internal effect that lands where models agree. We predict two things. Across attacks, $s$ rises as attacks are made more physically realistic, moving from pixel perturbations to patches under transformation sampling, and from there to printed and photographed patches. We also predict that $s$ predicts black-box transfer success better than the attack's white-box strength does.
The second claim is about defenses. Across defenses, the drop in clean accuracy should track how far each defended model's clean-input representation drifts from the clean pool, measured with mutual nearest-neighbor alignment and centered kernel alignment. A defense that hardens only perturbations with high $s$ should keep that drift small. It should therefore recover most of the clean-accuracy penalty while keeping robustness against transferred physical attacks.
The second claim speaks directly to a tension in the literature. The Platonic Representation Hypothesis argues that capable models converge, and it supplies the alignment metrics we reuse. Convergence is also blamed for shared blind spots. Knowledge-vs-adversarial transferability shows that the two kinds of transfer are symmetrically linked. Superposition interference shows that digital transfer jumps from 5% to 98% when correlated data forces models into the same overlapping feature geometry.
This raises the question of whether robustness to transfer requires breaking convergence, and with it clean accuracy. Our prediction is no. Clean accuracy rides on the identity of shared features. Transferable vulnerability rides on how those features interfere with one another. A defense can change the second without moving the first. If robust models instead lose alignment in proportion to the robustness they gain, the trade-off is closer to the inherent kind formalized by TRADES, and we will report that outcome.
Research Program
Measurement. The first stage builds the measurement. For a defended model (a ResNet-50 or a ViT for classification; a YOLOF-style detector backbone on REAP), we estimate $P_C$ per layer. We fit linear maps from each pool model's penultimate features to the defended model's layer on clean images. We keep the directions whose canonical correlation exceeds a threshold for all pool members. The pool will span convolutional networks and transformers. Divergent processing strategies in speech recognition warns that architectures with similar accuracy can process inputs differently, so we treat layer choice as an experimental variable rather than assuming agreement everywhere.
Diagnostic test. We then compute $s$ for a ladder of attacks: digital $\ell_\infty$ perturbations, digital patches, patches optimized under expectation over transformation (averaging the attack loss over random rotations, scales and relighting), REAP-rendered patches, TT3D NeRF textures, and RFCoA robust-feature attacks. Two of these methods motivate the hypothesis. TT3D found that NeRF parameterization lifts black-box targeted success from about 5% to about 89%. RFCoA's features are defined as those shared across surrogate architectures. Neither measured where its perturbations land inside victim models, and that is the gap we fill.
Defense. The third stage is the defense, which we call consensus-gated patch training. Patches are crafted against an ensemble of surrogate models under transformation sampling. Each patch's training weight is set by whether its $s$ exceeds a threshold $\tau$, the cutoff on the consensus score that decides which patch effects count as transferable. This gating plays the role that the tangent-space test plays in TART, which spends adversarial budget only on perturbations along the data manifold. TART estimates that manifold with an autoencoder on CIFAR-10 pixels. Ours is defined by agreement between models, which targets transferability directly and does not need an autoencoder of high-resolution scenes. We refresh $P_C$ periodically during training, because the defended model's own representation moves.
Baselines
The naive reference point is the undefended model. It fixes clean accuracy and clean mAP and the physical attack success we are trying to suppress. REAP reports that a large visible patch raises the false negative rate of undefended detectors by only 11–18%. That small range tells us how much headroom exists on the detection side.
The main training baseline is standard adversarial patch training as run in REAP. It reports roughly a 5-point clean mAP drop on REAP. Beating it means matching its false negative rate under REAP-rendered transfer patches while recovering at least half of that 5-point clean penalty.
The strongest competitor on the precise question is ensemble-transfer patch training: the same training run with the same surrogate-ensemble patches, but no gating. It targets transferable attacks without any subspace machinery, and no reported result was found on Lacuna for it. The comparison of gated against ungated training is the ablation that isolates our key ingredient. Both use identical patches, data, epochs and attack steps, and the same budget of about ten tuning runs. The ungated version gets an equal number of runs for its loss weight as the gated version gets for $\tau$. We also ablate the gating source by replacing $P_C$ with a random subspace of equal dimension, and with the defended model's own top principal components. This tests whether cross-model agreement specifically matters.
For the manifold story we run TART-style gating with an autoencoder tangent space on Imagenette. The relevant reported numbers are from CIFAR-10 with a WideResNet: TART raises clean accuracy from 81.76% to 83.73% over standard adversarial training, with AutoAttack robust accuracy moving from 35.89% to 36.58%.
For inference-time defenses we compare against Concept-Based Masking. On Imagenette with ResNet-50 under a 3% patch it reports 95.9% robust and 97.9% clean accuracy, against PatchCleanser at 90.3% robust and 96.9% clean. PatchCleanser also reports 83.9% clean and 62.1% certified robust accuracy on ImageNet with 2% patches, at hundreds of milliseconds per image. Our method adds no inference cost. To count as competitive with these masking methods on Imagenette, it must reach robust accuracy within a few points of Concept-Based Masking against transferred physical patches with no clean-accuracy loss. We will also report certified numbers honestly, since we offer no certificate.
Why not just…?
Why not just train on ensemble-transfer patches and skip the subspace? This is the real threat. Patches crafted against many surrogates already lean toward shared directions, so gating may add nothing. Our case rests on surrogate-ensemble patches still carrying components specific to the ensemble, and those components cost clean accuracy without buying robustness against an outside attacker. The gated-versus-ungated ablation on REAP and Imagenette settles this. Robustness is measured against attacks from a held-out pool that shares no models with either the training surrogates or the $P_C$ pool. If the ungated version matches on both clean and robust metrics, we will present the contribution as an explanation (the consensus-score diagnostic) rather than as a training method.
Why not just use TART's data-manifold tangent space? Physical patches are large, structured changes, not small moves along or off a pixel manifold. TART was never tested beyond CIFAR-10 $\ell_\infty$ attacks or at high resolution. More importantly, being on the data manifold is not the same as transferring. A patch can look natural and still exploit one model's quirks. The head-to-head comparison on Imagenette tests which gate better predicts transfer and better preserves clean accuracy.
Why not just preserve clean accuracy by distilling from the clean model, TRADES-style? Anchoring a model to its own clean outputs preserves everything, including the model-specific directions an outside attacker cannot exploit. It therefore constrains the model more than necessary. We run TRADES-style output anchoring and feature-level anchoring as additional rows at matched budget. If either recovers clean accuracy as well as gating at equal robustness, the "only harden the shared part" argument is weakened.
Why not just use an inference-time masker such as Concept-Based Masking or PatchCleanser? These methods are strong on Imagenette, by the numbers above. PatchCleanser's latency rules it out for real-time detection. Concept-Based Masking was tested only on ResNet-50, and it relies on concept factorization succeeding. We report both, and we also test them combined with our trained models, since the approaches are complementary rather than exclusive.
Decisive Experiments
Diagnostic correlation. The first check is whether $s$ rises along the realism ladder. For each defended model we take roughly a thousand attacks spanning the ladder. The test passes if $s$ increases monotonically from digital to physically rendered attacks, and if its rank correlation with held-out black-box transfer success clearly exceeds that of white-box loss. This runs on Imagenette and ImageNet classifiers and on REAP detectors. A small printed-and-photographed set, following RFCoA's smartphone protocol, serves as the physical endpoint. If physically rendered attacks show no higher $s$ than digital ones, the core hypothesis is false and the defense loses its rationale.
Drift predicts clean cost. The second check is whether alignment drift predicts clean cost. Across every trained defense, we regress clean-accuracy or clean-mAP drop on the loss of mutual nearest-neighbor alignment to the clean pool. A strong relationship supports the claim that convergence carries clean accuracy. The gated method should sit at low drift with high robustness.
Defense trade-off curves. The third check is the trade-off curve itself. We sweep $\tau$ and the ungated loss weight, and plot clean mAP against REAP false negative rate under held-out transfer patches. Gating has to dominate the ungated curve, and not merely differ from it at one point. We will also report white-box adaptive patch attacks against the gated model. Our threat model is black-box transfer, so robustness to these is not claimed, but the gap between the two quantifies exactly what the defense does not cover.
References
- REAP: A Large-Scale Realistic Adversarial Patch Benchmark
- Position: The Platonic Representation Hypothesis
- Uncovering the Connections Between Adversarial Transferability and Knowledge Transferability
- Adversarial Vulnerability from Interference Between Features in Superposition
- Theoretically Principled Trade-off between Robustness and Accuracy
- Categorize Early, Integrate Late: Divergent Processing Strategies in Automatic Speech Recognition
- Towards Transferable Targeted 3D Adversarial Attack in the Physical World
- Breaking Barriers in Physical-World Adversarial Examples: Improving Robustness and Transferability via Robust Feature
- TART: Boosting Clean Accuracy Through Tangent Direction Guided Adversarial Training
- Concept-Based Masking: A Patch-Agnostic Defense Against Adversarial Patch Attacks
- PatchCleanser: Certifiably Robust Defense against Adversarial Patches for Any Image Classifier