Pith. sign in

REVIEW 3 cited by

Mean-Shifted Contrastive Loss for Anomaly Detection

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2106.03844 v2 pith:ZE3XMZGC submitted 2021-06-07 cs.CV cs.LG

classification cs.CVcs.LG
keywords anomalydetectioncontrastivepre-traineddatasetsexternallearningperformance
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Deep anomaly detection methods learn representations that separate between normal and anomalous images. Although self-supervised representation learning is commonly used, small dataset sizes limit its effectiveness. It was previously shown that utilizing external, generic datasets (e.g. ImageNet classification) can significantly improve anomaly detection performance. One approach is outlier exposure, which fails when the external datasets do not resemble the anomalies. We take the approach of transferring representations pre-trained on external datasets for anomaly detection. Anomaly detection performance can be significantly improved by fine-tuning the pre-trained representations on the normal training images. In this paper, we first demonstrate and analyze that contrastive learning, the most popular self-supervised learning paradigm cannot be naively applied to pre-trained features. The reason is that pre-trained feature initialization causes poor conditioning for standard contrastive objectives, resulting in bad optimization dynamics. Based on our analysis, we provide a modified contrastive objective, the Mean-Shifted Contrastive Loss. Our method is highly effective and achieves a new state-of-the-art anomaly detection performance including $98.6\%$ ROC-AUC on the CIFAR-10 dataset.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Mitigating Spurious Negative Pairs for Robust Industrial Anomaly Detection

    cs.CV 2025-01 conditional novelty 5.0 of 10

    A contrastive anomaly detector trained on pseudo-anomalies and opposite-pair repulsion raises average robust AUROC under PGD-1000 from 39.7% (best prior) to 65.8%.

  2. Killing it with Zero-Shot: Adversarially Robust Novelty Detection

    cs.LG 2025-01 conditional novelty 5.0 of 10

    Using features from an adversarially robust ImageNet model with a k-nearest-neighbor score gives state-of-the-art adversarial robustness in novelty detection on several image benchmarks.

  3. RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samples

    cs.CV 2025-01

Pith tools