acceptodds
Published as a conference paper at NeurIPS 2026

The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training

Tuo Chen, Minjing Dong, Benlei Cui, Jian liu, Jie Gui

Abstract

Self-supervised learning (SSL) pretrained models have become a dominant paradigm for visual representation learning, but they are vulnerable to backdoor attacks. Existing defenses struggle to defend against such attacks in a fully black-box setting because they often require access to labels, attack patterns, or training data. To tackle this issue, we propose a new attack-agnostic, model-agnostic, and modality-agnostic black-box test-time defense paradigm, called Platonic Representation Defense. It is inspired by the Platonic Representation Hypothesis, which suggests that large-scale independently trained encoders converge toward compatible projections of the same underlying reality. We formalize this idea as a conditional energy function defined over source representations and a set of reference representations. The energy function is trained for detection through noise-contrastive estimation and for representation purification through denoising score matching. Theoretically, the energy gap between matched and mismatched samples is lower bounded by the mutual information between source and reference representations. We demonstrate the effectiveness of our method on multiple self-supervised encoders and more than 10 attacks. The method can perform both representation detection and purification, and achieves substantial performance gains across multiple attacks. Code can be found in the appendix.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_p9gEOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
4
Significance
3
Read review
Summary

The paper proposes a backdoor defense framework that enables both detection and purification of the representations of poisoned examples. The framework is formulated through energy modeling and has two routes that share their initial stages. The discriminative route yields a detector by computing the cosine similarity between a suspicious feature and reference features, which are extracted from the referent off-the shelf models. The score-matching route yields a denoised representation. In both routes, the proposed method relies on reference foundation models to guide the optimization. The method is evaluated against both backdoor and adversarial attacks.

Strengths and weaknesses

Strengths:

  • A novel backdoor defense, formulated through an energy-based framework with theoretical grounding
  • Strong performance against multiple families of attacks
  • Clear and well-organized presentation

Weaknesses:

  • The main weakness, in my view, is the reliance on additional off-the-shelf backbones. The authors address this adequately in Table 2 and Appendix I, but the concern still stands.
  • The paper does not discuss memory and time overhead relative to prior defenses.

Minor comments: Average row in Table 1 should be emphasized. Currently it blends with the other attacks Some figure captions should be more detailed and self-contained (Fig. 3 for example)

Questions
  • How does the proposed approach compare to a baseline that also uses additional off-the-shelf backbones? For example, a simple baseline would be to just use cosine-similarity between the projected representation of the suspicious backbone and the representations extracted with backbones for detection
  • Would it be possible to replace referent foundation models with weaker, but trusted backbones? For example, in the case that the defender has access to GPU resources and trusted training data for self-supervision in-house, could those serve as an alternative for off-the-shelf backbones?
  • The rise of foundation models has proven a promising route toward backdoor robustness in classification tasks, as shown in [1, 2]. Could the authors share their perspective on what drives this resilience, and whether their approach leverages the same mechanism in the representation setting?

[1] Sabolić, I., Grcić, M., & Šegvić, S. (2025). Seal your backdoor with variational defense. In Proceedings of the IEEE/CVF International Conference on Computer Vision (pp. 752-764). [2] Xu, B., Yang, F., Dai, X., Tang, D., & Zhang, K. (2026). From Internal Diagnosis to External Auditing: A VLM-Driven Paradigm for Online Test-Time Backdoor Defense. arXiv preprint arXiv:2601.19448.

Limitations

Yes

Paper formatting concerns

No

Final justification

The author's final rebuttal resolved my concerns. I keep my original score.

1 comment

We thank the reviewer for the positive assessment and for the constructive pointers to related work.

1. Why foundation models exhibit backdoor robustness (Q3)

We will discuss these references in the final version.

Sabolić et al. [1] have produced a line of work that uses self-supervised representations to assist backdoor defense in classification tasks. The emphasis there, however, is that self-supervised representations are not affected by the backdoor injected through supervised learning, and therefore provide a robust starting point from which poisoned supervised samples can be cleaned in a bootstrapping manner. In other words, Sabolić et al. exploit the inconsistency between supervised and self-supervised learning, whereas our focus is on their consistency.

The work of Xu et al. [2] is similar to ours in spirit. The distinguishing feature relative to our work is that they verify consistency in the discrete natural-language space of a language model's output, whereas we verify the consistency of multiple models in a continuous, high-dimensional representation space. In our view, their approach may perform very well on simple classification tasks, but is likely to degrade substantially for long-form language outputs. Consider a simple thought experiment: if the vocabulary size is ∣V∣|V|, then the output space of a classification task whose answer is shorter than three words has size ∣V∣3|V|^3, whereas a long-form generation task has an output space of size ∣V∣10000|V|^{10000}. Consequently, for tasks such as agent poisoning, our method should be preferable provided that a suitable representation model is available.

2. Comparison against a baseline that also uses an extra off-the-shelf backbone (Q1)

We also implemented an MSE baseline that directly regresses reference representations to the source space. It is competitive and often achieves much higher cosine similarity, although this does not consistently translate into higher accuracy. We still prefer the energy framework for four reasons:

  1. Distribution modeling. MSE predicts the conditional mean E[S∣R]\mathbb{E}[S\mid R], which may average multiple valid modes and fall in a low-density region. Energy modeling can instead represent the full, potentially multimodal p(S∣R)p(S\mid R).
  2. Compatibility. With matched pairs from p(S,R)p(S,R) and mismatched pairs from p(S)p(R)p(S)p(R), the optimal NCE energy estimates the negative log-density ratio between them, directly measuring source–reference compatibility rather than only coordinate prediction.
  3. Source-information preservation. One-shot regression replaces SS with f(R)f(R), discarding information unique to the source. cDSM instead conditions on both the current source representation and references, moving SS toward a high-density compatible region.
  4. High-dimensional outputs. Our sub-1K-dimensional pooled features favor regression, but dense representations may reach hundreds of thousands of dimensions, where pointwise MSE is prone to over-smoothing and off-manifold predictions. Generative regression therefore often adds GAN regularization [a], whereas our score/energy formulation directly models distribution geometry.
  5. We evaluated the robustness of the MSE regression baseline and DSM purification under adaptive attacks, and found that DSM purification is substantially more robust.
  6. Due to space constraints, we will report these results in a follow-up comment after July 27 (AoE), rather than in the rebuttal.

3. Using weaker but trusted backbones (Q2)

We consider two directions: extremely small, readily available reference models, and moderately capable models that can be trained on a single small server. For the first case, we build a dual-reference model from a supervised and a self-supervised ResNet trained on CIFAR-10. For the second case, we download small models trained on 1M to 10M images from Hugging Face. The CIFAR-10 models we use are available at https://huggingface.co/edadaltocg/resnet18_cifar10 and https://github.com/wgcban/mix-bt.

Even in the extreme setting where CIFAR-10 models are used as references, DSM purification still provides meaningful purification. Interestingly, the purified source model achieves higher accuracy than the reference models themselves. This demonstrates the feasibility of our method under highly constrained conditions. In general, however, we recommend using open-source foundation models such as DINOv2 and SigLIP2, which are readily available from third-party platforms such as Hugging Face.

Reference pairSourceSupervised reference IN 1K LP ACCSelf-supervised reference IN 1K LP ACCClean ACC (before purification)Clean ACC after purificationASR (before purification)ASR after purification
R18 supervised + SSLCLIP4.358%19.672%54.3%23.7%99.4%3.9%
R50 supervised + SSLCLIP8.582%29.188%54.3%24.7%99.6%2.2%
R18 supervised + SSLNA4.358%19.672%77.2%47.2%100.0%7.5%
R50 supervised + SSLNA8.582%29.188%77.2%49.3%100.0%6.7%

Due to limitations of time and computational resources, we plan to add the experimental results for the second case in the coming days.

4. Minor comments

We will highlight Table 1's "Average" row and expand the figure captions.

5. On the memory and time overhead

We answer this concern from two perspectives: the actual cost and a comparison against more lightweight defenses.

On the actual cost. We honestly acknowledge that our method incurs a minimum overhead. Assuming the source and reference encoders share the same architecture and scale, the cost of our method is n * cost_of_one_encoder + Platonic_backbone * NFE, where n is the number of reference encoders and NFE is number of function execution. However, we would also like to point out that all factors are tunable, so a user can configure the defense according to their own budget: n can be reduced to as few as 1; cost_of_one_encoder can be reduced by adopting smaller reference encoders; and as for the Platonic_backbone term, Figure 4 of the paper already shows that the framework works under a 2-layer, 512-dim configuration. Figure 5 shows that NFE can be reduced to 2. Its cost is easy to estimate because the Platonic backbone is a standard pre-norm transformer. The computational cost of standard transformers and various methods for optimizing them have been extensively studied by the community.

On the comparison with more lightweight methods. To the best of our knowledge, DEDE [21] is currently the only defense that is directly comparable to ours. The reasons why other methods are not directly comparable to ours are summarized in the appendix below. Like our method, DEDE requires at least one additional encoder and one additional decoder; therefore, the two methods have comparable computational costs from an architectural perspective. However, DEDE has difficulty handling high-resolution images, whereas our method performs more effectively in this setting. Our experiments are conducted on images with a resolution of 224×224224 \times 224, while the original DEDE paper primarily evaluates images with resolutions below 100×100100 \times 100. In our experiments, DEDE achieves an AUROC below 0.8 in most settings. Our method does incur a higher computational cost than defenses that access model representations only once (e.g., Decomp and DetectCLIP), but this additional cost yields a substantially broader scope of applicability, extending even to adversarial attacks.

[a] Diffusion Autoencoders are Scalable Image Tokenizers, arXiv:2501.18593.

Appendix: Method Applicability

MethodDependencyAssumptionScopeRationale
Decomp [19]Model + attackRequires output decomposition onto residual-layer activations and non-global triggers.Residual networks; detection rather than purification.Needs layer activations; global triggers may not alter component statistics.
DetectCLIP [22]ModalityAssumes anomalous edge density.Cross-modal visual backdoors.Table 1 shows poor unimodal results.
CleanCLIP [3]AttackAssumes mismatched image–text labels.Non-label-consistent cross-modal attacks.Corrects label inconsistencies during training.
DEDE [21]ResolutionReconstructs images from backdoored features.Low-resolution images.High-dimensional MAE reconstruction oversmooths; our high-resolution results are poor.
ZIP [55]AttackDegradation must first destroy the trigger.Triggers removable by simple linear operators.ZIP fills missing content but cannot correct retained triggers.
OursNoneRequires reference encoders.Evaluated on vision; conceptually modality-agnostic.Uses cross-encoder mutual information (Prop. 1).
Reviewer_jmKVOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper proposes Platonic Representation Defense for detecting and mitigating backdoor attacks in self-supervised encoders. The method compares the representation of a potentially compromised encoder with representations from several trusted reference encoders. It uses an energy-based model for attack detection and a denoising method for representation purification. The experiments evaluate the method on multiple encoders and a range of backdoor and adversarial attacks.

Strengths and weaknesses

Strengths:

  1. The defense is grounded in the observation that independently trained encoders can still learn strongly aligned underlying representations. The paper makes connection of this shared structure into a security signal, where unusual disagreement between the source and reference encoders can indicate backdoor manipulation.

  2. The proposed purifier is trained only on clean representations with synthetic noise and does not require access to triggered samples, attack type, or the poisoning procedure. This makes the method applicable to several unknown backdoor attacks without retraining the defense for each attack.

  3. The experimental evaluation covers several source encoders, reference models, and several backdoor and adversarial attacks. The reported results show a reduction in attack success while preserving clean accuracy to a good extent.

Weaknesses:

  1. The method needs substantially more and persistent inference overhead. Every input must be processed by the source encoder and multiple reference encoders, even when no triggered samples are present during the deployment lifetime. Purification adds further cost because it requires several iterative denoising steps. The paper does not provide a full comparison of end-to-end latency, FLOPs, memory, or throughput analysis against baseline inference or some lighter test time defenses.

  2. The purifier reconstructs the source representation while conditioning on the selected reference encoders. The paper reports the recovered similarity between purified and clean source features with moderate value, but it does not clearly establish how much source-specific information recovery is achieved. how this recovery changes with the choice of references or if the recovered features are being biased by reference encoders and actually suppressing source specific-information. For the same triggered image, the authors could purify its source feature using different reference encoder sets and report the similarity of each purified feature to the clean source feature of that image. This might show whether the purifier reliably recovers the source representation or whether its output is strongly influenced by the selected references.

  3. The defense assumes that the source and reference encoders have sufficiently compatible underlying representations. The experiments use different architectures and training objectives, but both models are still largely trained on broad natural-image data. It remains unclear whether the method works when the source and reference encoders come from substantially different domains, where normal disagreement may cause false detection or poor purification.

  4. The repeated description of the setting as fully black-box appears unclear. The threat model assumes that the attacker releases the encoder, and the defense directly runs it and accesses its feature representations. Though the method does not inspect or modify the encoder weights, but choosing not to use available parameters is different from not having access to them. The authors should define the level of access more precisely and tone down the black-box claim or clarify their black-box claim properly.

Questions

Please refer to the weakness section.

Limitations

yes

Paper formatting concerns

NA

Final justification

The author's response was excellent, detailed, and validated through experiments. I am happy to raise my score.

1 comment

We thank the reviewer for the careful reading and the constructive comments. We address each concern below.

1. On the inference cost (Q1)

We answer this concern from two perspectives: the actual cost and a comparison against more lightweight defenses.

On the actual cost. We honestly acknowledge that our method incurs a minimum overhead. Assuming the source and reference encoders share the same architecture and scale, the cost of our method is n * cost_of_one_encoder + Platonic_backbone * NFE, where n is the number of reference encoders and NFE is number of function execution. However, we would also like to point out that all factors are tunable, so a user can configure the defense according to their own budget: n can be reduced to as few as 1; cost_of_one_encoder can be reduced by adopting smaller reference encoders; and as for the Platonic_backbone term, Figure 4 of the paper already shows that the framework works under a 2-layer, 512-dim configuration. Figure 5 shows that NFE can be reduced to 2. Its cost is easy to estimate because the Platonic backbone is a standard pre-norm transformer. The computational cost of standard transformers and various methods for optimizing them have been extensively studied by the community.

On the comparison with more lightweight methods. To the best of our knowledge, DEDE [21] is currently the only defense that is directly comparable to ours. The reasons why other methods are not directly comparable to ours are summarized in the appendix of rebuttal to Reviewer p9gE. Like our method, DEDE requires at least one additional encoder and one additional decoder; therefore, the two methods have comparable computational costs from an architectural perspective. However, DEDE has difficulty handling high-resolution images, whereas our method performs more effectively in this setting. Our experiments are conducted on images with a resolution of 224×224224 \times 224, while the original DEDE paper primarily evaluates images with resolutions below 100×100100 \times 100. In our experiments, DEDE achieves an AUROC below 0.8 in most settings. Our method does incur a higher computational cost than defenses that access model representations only once (e.g., Decomp and DetectCLIP), but this additional cost yields a substantially broader scope of applicability, extending even to adversarial attacks.

2. Applicability beyond the natural-image domain (Q3)

We thank the reviewer for raising this point. To address this concern, we directly reuse the detector and the purification model already trained in the paper (without any retraining or fine-tuning on OOD data) and perform evaluation on two standard out-of-distribution benchmarks: ImageNet-R (artistic renditions) and ImageNet-Sketch (sketches). If our energy function merely fitted the in-domain statistics of ImageNet, its performance should degrade substantially under such a pronounced distribution shift. The results show that AUROC remains above 0.98 across 2 benchmarks, demonstrating the robustness of our method on OOD data.

Table 1. Zero-shot detection and purification results on ImageNet-R.

AttackClean AccASR (No Defense)AUROCPoisoned Acc (After Defense)
BadCLIP40.398.299.833.9
CLIP-backdoor40.299.9100.040.3
NA24.0100.099.813.5
SSLBKD26.4100.098.741.0

Table 2. Zero-shot detection and purification results on ImageNet-Sketch.

AttackClean AccASR (No Defense)AUROCPoisoned Acc (After Defense)
BadCLIP30.698.499.832.6
CLIP-backdoor30.1100.099.740.1
NA24.2100.099.919.2
SSLBKD26.9100.098.544.2

As indicated by our title, "backdoor defense in the era of large-scale pre-training," large-scale pre-training endows foundation models with strong generalization ability, and our framework is therefore highly robust to backdoor attacks on OOD images.

3. On the "black-box" claim (Q4)

We thank the reviewer for this correction. We will revise it in the final version. Our notion of "black-box" differs from the definition commonly used by black-box defenses. The conventional black-box setting means that the defender does not need access to the model's internal activations or training data, whereas our emphasis is on the level of knowledge that the defender is required to possess.

We further provide a few examples to illustrate why black-boxness at the knowledge level matters. Decomp [19] implicitly assumes that the network is a residual network (i.e., it is model-dependent), because Decomp must decompose the model's final output onto the activations of different layers, which restricts it to residual architectures. DetectCLIP [22] implicitly restricts the defense target to CLIP models (i.e., it is modality-dependent) and cannot detect backdoors in vision-only models (as confirmed by our experiments). CleanCLIP [3] assumes that the attack is not label-consistent (i.e., it is attack-dependent), which follows directly from the concept behind CleanCLIP. In contrast, our method makes no such prior assumptions: Platonic Defense relies on the knowledge shared across multiple encoders, i.e., their mutual information rather than on the specific knowledge of any single encoder.

4. On the influence of the reference features on purification (Q2)

We first consider an extreme case to demonstrate the minimal viability of our method. We build a dual-reference model from a supervised and a self-supervised ResNet trained on CIFAR-10. The CIFAR-10 models we use are available at https://huggingface.co/edadaltocg/resnet18_cifar10 and https://github.com/wgcban/mix-bt. Even in the extreme setting where CIFAR-10 models are used as references, DSM purification still provides meaningful purification.

Table 3. Purification performance using weak but trusted CIFAR-10-trained reference encoders.

Reference pairSourceSupervised reference ACCSelf-supervised reference ACCClean ACCClean ACC after purificationASRASR after purification
R18 supervised + SSLCLIP4.3%19.6%54.3%23.7%99.4%3.9%
R50 supervised + SSLCLIP8.5%29.1%54.3%24.7%99.6%2.2%
R18 supervised + SSLNA4.3%19.6%77.2%47.2%100.0%7.5%
R50 supervised + SSLNA8.5%29.1%77.2%49.3%100.0%6.7%

Second, we acknowledge that our method is affected by the choice of reference features. As shown in Proposition 1, our defense relies on the mutual information between the source and reference features, and greater mutual information provides a stronger signal for defense. In Appendix F, we further show that, roughly speaking, this mutual information needs to be greater than the energy gap induced by the backdoor. Table 2 of the original paper already reports how corrupting different reference encoders affects defense performance and shows that SigLIP2 is more effective for defense than the other models.

Furthermore, we observe that assessing whether the purified representation has recovered the source representation is a nontrivial problem. As shown in the table below, the trend in cosine similarity is opposite to that in accuracy. We therefore do not recommend cosine similarity as an evaluation metric. The conditional diffusion framework models the distribution of source representations, but directly evaluating purification from a distributional perspective is difficult. Generative models commonly use metrics such as FID, but FID requires a pretrained feature extractor, which is unavailable in our setting.

Table 4. Comparison of MSE regression projection and DSM purification.

Source modelDefense methodClean accPoisoned accClean cosinePoisoned cosine after defense
clip_sslbkdMSE59.9%56.7%0.83930.4518
clip_sslbkdDSM63.4%56.2%0.67960.3339
naMSE73.7%65.8%0.81410.5953
naDSM77.6%50.0%0.70460.7201
clip_badclipMSE56.6%52.3%0.83550.4737
clip_badclipDSM64.3%54.1%0.67730.3380
sslbkdMSE74.7%71.1%0.80340.2638
sslbkdDSM77.1%76.5%0.71470.2013
Reviewer_Wt99OpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

SSL encoders are vulnerable to backdoor attacks, yet existing defenses typically require access to the model's internals or the upstream training process. The authors reinterpret the Platonic Representation Hypothesis — that large-scale, independently trained encoders converge toward compatible projections of the same underlying reality — as a security signal. They empirically show substantial alignment across four model families and argue it arises from learning rather than architectural inductive bias. Building on the intuition that if two independently trained models agree on what an image "means," disagreement is evidence of manipulation, they cast this as a conditional energy function and analyze the energy gap between matched and mismatched tuples.

Concretely, representations from the source and reference encoders on the same image form matched tuples, and representations mixed across images form mismatched tuples; a conditional energy model is trained via an NCE objective to assign low energy to matched and high energy to mismatched tuples. Beyond detection, a purification procedure uses conditional denoising score matching to move the source representation into a low-energy region more compatible with the references. Evaluated across unimodal visual backdoors, image-text backdoors, and adversarial attacks, the method largely preserves clean accuracy while substantially reducing attack success rate (ASR).

Strengths and weaknesses

Strengths

The central contribution — reinterpreting the Platonic Representation Hypothesis as a security signal for detecting and purifying backdoors in SSL encoders — is clear and compelling. On clean inputs, an independently trained source and trusted references should produce compatible representations; under a trigger, the source should deviate from them. The comparison with randomly initialized counterparts is a useful validation, confirming that the alignment arises from learning rather than architectural inductive bias.

The method is also well constructed: unifying an NCE objective for detection and conditional denoising score matching for purification under a single conditional energy framework is natural and clean. Empirical coverage is broad — seven SSL backdoor attacks, two CLIP backdoor attacks, five adversarial attacks, multiple baselines, an inference-cost sweep, and a backbone ablation.

Weaknesses

The method is interesting and the results are strong; the following points would make the contribution more convincing.

First, the theory guarantees separation for cross-sample mismatched tuples, not robustness to actual backdoor inputs. The propositions and NCE training distinguish matched tuples (same image) from mismatched tuples (representations mixed across images). But a backdoored input is not a random mismatch — the trigger moves the source representation toward the embedding cluster of an attacker-chosen target class. Both appear as source-reference disagreement, yet the two are hard to treat as the same distribution, so "backdoor inputs behave like mismatched tuples" reads as an empirical assumption rather than a proved statement.

Second, the method assumes trusted DINOv2 and SigLIP2 references and pulls the source toward a reference-consistent region. When the references are strong general-domain encoders, a reference-only baseline is very natural. Without it, one cannot tell whether the method's value lies in cases where the source is more specialized or stronger than the references, or whether it mainly distills reference knowledge.

Finally, some claims are broader than the evidence. The black-box claim holds: the method uses only the source's output embedding, not its weights, internals, upstream pipeline, or training data. But "model-agnostic" overstates plug-and-play applicability, since per-space projection heads and the energy model must be trained for each new source encoder; and "modality-agnostic" conflicts with the abstract, since Section 2 restricts the scope to visual representations and Appendix B acknowledges this. The evidence thus supports a representation-space defense mainly for visual SSL and image-text encoder settings.

Questions
  1. Reference-only baseline. Could you add a reference-only baseline (DINOv2 + SigLIP2, no source) to Table 1? This would separate the defense's value from mere reference distillation, and if it matches or exceeds the purified PA of 66.49%, please clarify when the source is actually needed.

  2. Energy-aware adaptive attack. An adaptive attack that targets the defense objective would substantially strengthen the security claims. When E_theta is available, do you have results for a trigger optimized as min E_theta subject to the downstream prediction flipping to the attacker's target class?

  3. Source of the clean-accuracy gain. Purification raises clean accuracy from 75.63 to 77.47. Is this reference distillation? If so, can the defense gain and the clean-utility gain be disentangled?

  4. OOD false positives. On clean but out-of-distribution images, encoder disagreement naturally rises. What is E_theta's false-alarm rate on such inputs?

  5. Scope of the claims. Can the "model-agnostic" and "modality-agnostic" claims be aligned with what is actually evaluated? Specifically, can the method handle a new source encoder of different dimension without retraining the projection heads and energy model, and what evidence exists beyond visual representations?

Limitations

Appendix B honestly acknowledges the modality limitation and Table 2 voluntarily evaluates corrupted references — both welcome instances of transparency. However, three points should be stated as explicit limitations:

  • The theory guarantees separation for cross-sample mismatched tuples, not backdoors; "theoretical guarantee for the defense" in Section 6 overstates the current evidence.
  • An energy-aware adaptive attack is neither evaluated nor excluded from the threat model.
  • The method is most meaningful when the references are about as useful as the source — an implicit assumption that substantially narrows its scope.

The abstract's "modality-agnostic" claim also conflicts with Section 2 and Appendix B.

Suggestion: these points are scattered across Sections 2 and 6. A dedicated Limitations section collecting them would let readers see the method's scope at a glance.

Paper formatting concerns

N/A

Final justification

The authors provided sufficiently clear explanations addressing my concerns. As a result, I have increased my rating.

1 comment

We thank the reviewer for the detailed review and for recognizing the clarity of our core contribution.

1. Accuracy of the "model-agnostic" / "modality-agnostic" claims (Q5)

We agree that it needs more clarification. Different from the black-box convention, where "model-agnostic" means no access to internal activations, our emphasis is on the knowledge the defender must possess. "Model-agnostic": we assume nothing about the architecture, such as ViT, ResNet, or others. "Modality-agnostic": we assume nothing about the modality of the defended model. "Attack-agnostic": we are not tailored to one attack family and even cover adversarial perturbations. We will include them in the final version.

Existing works always have strong assumptions. For example, Decomp [19] must decompose the output onto layer activations, so it implicitly assumes residual networks (model-dependent), DetectCLIP [22] is restricted to CLIP and cannot detect vision-only backdoors, as our experiments confirm (modality-dependent), and CleanCLIP [3] assumes attacks are not label-consistent (attack-dependent). Our method makes none of these assumptions: it relies on the knowledge shared across encoders, i.e., their mutual information, not on any single encoder. Our experiments are vision-centric, but the mechanism is guaranteed by mutual information in Prop. 1, which extends conceptually to other modalities. We will scope the claims explicitly to the evaluated setting.

2. Is the method merely distilling the reference model? (Q1)

Definition. cDSM predictions still follow the source distribution. We train a diffusion model on the source representations, optimizing a lower bound of their likelihood. Please note that we never fine-tune the source encoder with the reference as a teacher. Distillation would pull the source distribution toward the reference, whereas cDSM keeps the source feature manifold as its feasible set.

Is the source still needed if the reference is stronger? Yes. Reference and source each hold exclusive knowledge, and Platonic Defense exploits only their intersection, i.e., the mutual information, so the source's own properties remain irreplaceable. E.g., DINOv2 beats CLIP in many scenarios, yet CLIP remains the better encoder for text-to-image generation because it provides text alignment; and DINOv2-base, though weaker overall than -large, performs better on visual-autoencoder tasks such as RAE and REPA. We will add the reference-only baseline in the revision.

Judging post-purification performance gains requires the clean model as the corrected baseline. Since backdoor implantation itself degrades model utility, the clean model must serve as the baseline. The comparison shows that post-purification performance does not significantly surpass the benign model.

Table 1. Clean-model baselines vs. purified backdoored encoders (ImageNet Top-1).

ModelTop-1 acc without backdoor contaminationBackdoored model after purification
clean DINO-b/1678.3%78.6%
clean CLIP-b/1667.9%64%
reference DINOv 2 base84.27% (data from arXiv 2607.05247)
reference SigLip 2 base82.47% (data from arXiv 2607.05247)

CIFAR-10-trained reference models remain effective. Consider an extreme case where only CIFAR-10-trained reference models are available; the results are reported in Table 1 of our rebuttal to Reviewer p9gE. Even under this setting, our framework still provides defense efficacy, and in most cases the accuracy of the purified model is higher than that of the reference models, which is hard to explain by distillation.

3. Do backdoored inputs behave like mismatched tuples?

We agree that they have distinctive statistics in practice, which illustrates why marginal-density methods such as DetectCLIP [22] work. But we argue that the assumption is conceptually justified. Stealthiness is required by the backdoor threat models. For example, DRUPE [60] explicitly uses a distribution-matching loss, so if the poisoned distribution matched the target class perfectly, poisoned inputs would be exactly mismatched tuples. This is also standard practice: theory proves detectability for an abstract anomalous or mixture distribution, and whether real backdoors satisfy it is settled empirically. Spectral Signatures [a] analyzes a clean plus arbitrary adversarial mixture; [b] analyzes arbitrary outliers. Covering any backdoor distribution would require certified defenses (e.g., randomized smoothing [c]), which is beyond our scope. Appendix F already provides a coarse transfer argument: as long as the backdoor-induced representation shift is not smaller than the energy gap of nearly arbitrary mismatched tuples, the guarantee carries over. Finally, Table 1 evaluates adversarial attacks. The energy gap is far smaller than that of backdoors, which provides a stricter test than random mismatch.

4. False positives on OOD inputs (Q4)

To address this concern, We directly reuse the detector and the purification model already trained in the paper (without any retraining or fine-tuning on OOD data) and perform evaluation on out-of-distribution benchmarks. If EθE_\theta merely fits in-domain ImageNet statistics, performance should collapse under such a shift; it does not. ASR without defense is 98.19-100.00 throughout. AUROC remains above 0.98 across all three benchmarks.

Table 2. Zero-shot detection and purification on ImageNet-R / ImageNet-Sketch.

DatasetAttackAUROCFPR@95 TPRFPR@99 TPR
IN-RBadCLIP99.761.084.22
IN-RCLIP-backdoor99.990.010.04
IN-RNA99.810.460.55
IN-RSSLBKD98.703.566.25
IN-SBadCLIP99.761.023.71
IN-SCLIP-backdoor99.740.520.53
IN-SNA99.930.140.17
IN-SSSLBKD98.544.317.71

Table 3. False-positive rates on Places365.

AttackAUROCFPR@95 TPRFPR@99 TPR
BadCLIP99.980.070.28
CLIP-backdoor100.000.000.00
NA99.960.090.12
SSLBKD98.524.259.87

As indicated by our title, "backdoor defense in the era of large-scale pre-training," large-scale pre-training endows foundation models with strong generalization ability, and our framework is therefore highly robust for backdoor attacks on OOD images.

5. Energy-aware adaptive attack (Q2)

We evaluated a white-box attacker with access to EθE_\theta: trigger-preserving PGD minimizing Eθ(T(x)+δ)E_\theta(T(x)+\delta), subject to the downstream model still predicting the target class, ∥δ∥∞≤16/255\|\delta\|_\infty\le 16/255, step size 2/2552/255, and δ=0\delta=0 inside the trigger region; 1,000 attack and 1,000 clean calibration images per seed, 3 seeds.

Table 4. Energy-aware adaptive attack.

ModelStepsASR (%)EnergyAUROC (%)TPR@1%FPR (%)
CLIP-Backdoor099.631.96097.03 ± 0.2682.50 ± 0.86
CLIP-Backdoor2099.631.24782.47 ± 1.2460.03 ± 2.16
CLIP-Backdoor8099.631.16576.88 ± 1.6657.30 ± 2.52
CLIP-Backdoor16099.631.14675.49 ± 1.6856.63 ± 2.28
BadEncoder0100.001.89883.63 ± 1.483.73 ± 3.46
BadEncoder20100.001.70679.07 ± 1.551.57 ± 1.67
BadEncoder80100.001.61276.60 ± 1.481.40 ± 1.44
BadEncoder160100.001.58175.69 ± 1.641.40 ± 1.44

Intermediate steps 10 and 40 follow the same trend. Against a fully differentiable white-box pipeline, no uncertified defense can be perfect. However, our approach degrades slowly, where AUROC still exceeds 75% after 160 steps. Moreover, diffusion models are certifiably robust within a radius [d].

6. Dedicated Limitations section.

We will add one section to state these limitations explicitly in the revised verion.

7. Disentangling defense gain from clean-utility gain (Q3)

We add a baseline that runs cDSM unconditionally. Note that our framework supports invoking cDSM without reference features. ASR can drop unconditionally as well, so the ASR reduction is not solely due to the reference. But unconditionally, the model has no knowledge of the source distribution, so the gains in clean accuracy and poisoned-sample accuracy come mainly from conditional prediction.

Table 5. Unconditional vs. conditional cDSM.

Modelsigma_startClean AccPoison AccASR
DINO-NAnone77.200.00100.00
DINO-NA0.7571.13 ± 0.550.00 ± 0.0096.90 ± 0.36
DINO-NA2.055.60 ± 1.000.00 ± 0.0073.50 ± 2.09
DINO-NA8.06.20 ± 0.440.10 ± 0.1018.07 ± 0.45
DINO-NAconditional77.4149.5518.15
CLIP-Bkdnone54.300.3099.70
CLIP-Bkd0.7548.90 ± 1.402.13 ± 0.1593.53 ± 0.35
CLIP-Bkd2.035.73 ± 1.504.23 ± 0.1526.40 ± 0.56
CLIP-Bkd4.018.33 ± 0.761.47 ± 0.550.47 ± 0.12
CLIP-Bkdconditional63.9957.410.00

[a] Spectral Signatures in Backdoor Attacks, NeurIPS 2018.

[b] Robust Anomaly Detection and Backdoor Attack Detection via Differential Privacy, arXiv:1911.07116.

[c] Certified Adversarial Robustness via Randomized Smoothing, ICML 2019.

[d] Diffusion Models are Certifiably Robust Classifiers, NeurIPS 2024.

Comments on the paper

1 comment
Meta-review

This paper is motivated by the Platonic Representation Hypothesis, which suggests that sufficiently large and well-trained models may eventually converge toward semantically similar representations. Based on this idea, the authors use several trusted pretrained models to define an energy function over the representations produced by a target self-supervised encoder. Representation inconsistency is then used as a signal that the target model may be Trojaned.

Most reviewers agree that the core idea is interesting. However, several concerns prevent me from leaning toward acceptance. First, the rationale behind the proposed setting is not sufficiently clear. If strong and trusted models such as DINO are already available, why should we use the representations of a potentially suspicious self-supervised model instead of directly using the trusted models? The paper should better explain the practical scenario in which the target encoder is necessary and cannot simply be replaced.

Second, as one reviewer noted, the proposed method appears to introduce considerable computational overhead because every test sample must be processed by both the target encoder and multiple trusted encoders. I agree that the paper needs a more careful analysis of this cost and its practical scalability.

In addition, the claims of being “model-free” and “attack-free” appear somewhat overstated and should be revised or more precisely defined. There are also existing methods that detect Trojaned models using only model outputs, but these approaches are neither sufficiently discussed nor included in the experimental comparisons. Finally, the selection of the trusted models is not adequately justified. It remains unclear why these particular models were chosen and how sensitive the method is to this choice.

Overall, although the paper presents an interesting direction, I do not believe the current version provides sufficiently strong evidence, justification, or experimental comparison to support publication. Nevertheless, I will carefully consider the authors’ rebuttal and the discussion among the reviewers before making a final recommendation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.