atlas

Research map / Label-efficient and robust learning / Self-supervised and contrastive

TrojanDec: Data-free Detection of Trojan Inputs in Self-supervised Learning

AAAI 2025 · Label-efficient and robust learning › Self-supervised and contrastive · approach: Self-supervision in supervised pipelines · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TrojanDec, a data-free black-box framework that detects whether a test image contains a patch trojan trigger in a self-supervised encoder via masked-similarity clustering (gap statistic), and restores trojaned images with DDNM diffusion.

Problem

Trojan attacks on self-supervised image encoders propagate to downstream classifiers; defenders with only black-box query access and no clean data need a way to detect and remove triggers from individual test inputs.

Approach

Mask the test image with many random-pattern patches and measure cosine similarity of encoder features; trojaned inputs show two clusters of similarities (masks covering the trigger break the trojan behavior), so gap-statistic K-means clustering on these similarities detects trojans without clean data, and DDNM diffusion restores the masked image.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · STL10 (CIFAR10 pre-training)ASR (%): 100.0 -> 1.43Helped
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · SVHN (CIFAR10 pre-training)ASR (%): 99.98 -> 18.86Helped
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · EuroSAT (CIFAR10 pre-training)ASR (%): 100.0 -> 1.13Helped
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · CIFAR10 (STL10 pre-training)ASR (%): 100.0 -> 3.54Helped
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · SVHN (STL10 pre-training)ASR (%): 100.0 -> 25.66Helped
Apply TrojanDec detection and restoration to trojaned inputsTrojaned SimCLR encoder · EuroSAT (STL10 pre-training)ASR (%): 99.67 -> 0.01Helped
Add image restoration after detection (ablation)TrojanDec · STL10 (CIFAR10 pre-training)accuracy (%): 65.71% -> 73.15%Helped
Add image restoration after detection (ablation)TrojanDec · SVHN (CIFAR10 pre-training)accuracy (%): 37.84% -> 60.23%Helped
Add image restoration after detection (ablation)TrojanDec · EuroSAT (CIFAR10 pre-training)accuracy (%): 70.29% -> 75.44%Helped
Increase mask size k (ablation)TrojanDec · Trojan detection and removalFNR and ASRHurt
Increase mask step size s (ablation)TrojanDec · Trojan detection and removalFNR and ASRHurt
Use a larger 16×16 trigger (ablation)TrojanDec · STL10, SVHN, and EuroSATFNR (%)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 STL10 SVHN EuroSAT ImageNet GTSRB ImageNet100 Caltech101

Benchmarks: CIFAR10->STL10/SVHN/EuroSAT STL10->CIFAR10/SVHN/EuroSAT ImageNet->STL10/SVHN/GTSRB CLIP->STL10/SVHN/GTSRB ImageNet100/Caltech101

Metrics: FPR FNR ACC ASR

Baselines: Beatrix STRIP Februus Neural Cleanse MNTD I-BAU

Builds on: DDNM SimCLR STRIP Beatrix Neural Cleanse

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy