Papers › Student-Teacher Feature Pyramid Matching for Anomaly Detection

Student-Teacher Feature Pyramid Matching for Anomaly Detection

7 Mar 2021arXiv:2103.04257archive 2025-07-28

Guodong Wang, Shumin Han, Errui Ding, Di Huang

Anomaly detection is a challenging task and usually formulated as an one-class learning problem for the unexpectedness of anomalies. This paper proposes a simple yet powerful approach to this issue, which is implemented in the student-teacher framework for its advantages but substantially extends it in terms of both accuracy and efficiency. Given a strong model pre-trained on image classification as the teacher, we distill the knowledge into a single student network with the identical architecture to learn the distribution of anomaly-free images and this one-step transfer preserves the crucial clues as much as possible. Moreover, we integrate the multi-scale feature matching strategy into the framework, and this hierarchical feature matching enables the student network to receive a mixture of multi-level knowledge from the feature pyramid under better supervision, thus allowing to detect anomalies of various sizes. The difference between feature pyramids generated by the two networks serves as a scoring function indicating the probability of anomaly occurring. Due to such operations, our approach achieves accurate and fast pixel-level anomaly detection. Very competitive results are delivered on the MVTec anomaly detection dataset, superior to the state of the art ones.

PaperPDFCode

In Syntology View this paper on Syntology, its page in Syntology's graph. That page lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

CuberrChen/STFPM-Paddle mentioned on GitHubpaddleSyntology: not harvested report
Rthete/STPM-mindspore mentioned on GitHubmindsporeSyntology: not harvested report
SimonThomine/DistillationAD mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Anomaly Detection via Reverse Distillation from One-Class Embedding (arXiv:2201.10703; that paper's own run record: 14 ran (of which 8 constructed an object rather than computing a result; 10 with no instrument failure: 0 honoured, 0 violated, 10 with no contract checked; 4 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method. report
SimonThomine/RememberingNormality mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Anomaly Detection via Reverse Distillation from One-Class Embedding (arXiv:2201.10703; that paper's own run record: 14 ran (of which 8 constructed an object rather than computing a result; 10 with no instrument failure: 0 honoured, 0 violated, 10 with no contract checked; 4 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method. report
gdwang08/STFPM mentioned on GitHubpytorchSyntology: not harvested report
hcw-00/STPM_anomaly_detection mentioned on GitHubpytorchSyntology: not harvested report
open-edge-platform/geti mentioned on GitHubpytorchApache-2.0Syntology: not harvested report
xiahaifeng1995/STPM-Anomaly-Detection-Localization-master mentioned on GitHubpytorchSyntology: not harvested report
kingcong/models mindsporeSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to An Image Patch is a Wave: Phase-Aware Vision MLP (arXiv:2111.12294; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 1 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
openvinotoolkit/anomalib pytorchApache-2.0Syntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Anomaly DetectionImage ClassificationUnsupervised Anomaly Detectionimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Anomaly Detection MVTec AD STPM Detection AUROC 95.5 #88 of 148 Archive leaderboard report
Anomaly Detection MVTec AD STPM Segmentation AUROC 97.0 #88 of 148 Archive leaderboard report
Anomaly Detection VisA STPM Detection AUROC 83.3 #37 of 50 Archive leaderboard report
Anomaly Detection VisA STPM Segmentation AUPRO (until 30% FPR) 62.0 #37 of 50 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections