Skip to main navigation Skip to search Skip to main content

DFM: Differentiable Feature Matching for Anomaly Detection

  • Sheng Wu
  • , Yimi Wang
  • , Xudong Liu
  • , Yuguang Yang
  • , Runqi Wang
  • , Guodong Guo
  • , David Doermann
  • , Baochang Zhang
  • Beihang University
  • Beijing Jiaotong University
  • West Virginia University
  • Zhongguancun Laboratory
  • Nanchang Institute of Technology

Research output: Contribution to journalConference articlepeer-review

2 Scopus citations

Abstract

Feature matching methods for unsupervised anomaly detection have demonstrated impressive performance. Existing methods primarily rely on self-supervised training and handcrafted matching schemes for task adaptation. However, they can only achieve an inferior feature representation for anomaly detection because the feature extraction and matching modules are separately trained. To address these issues, we propose a Differentiable Feature Matching (DFM) framework for joint optimization of the feature extractor and the matching head. DFM transforms nearest-neighbor matching into a pooling-based module and embeds it within a Feature Matching Network (FMN). This design enables end-to-end feature extraction and feature matching module training, thus providing better feature representation for anomaly detection tasks. DFM is generic and can be incorporated into existing feature-matching methods. We implement DFM with various backbones and conduct extensive experiments across various tasks and datasets, demonstrating its effectiveness. Notably, we achieve state-of-the-art results in the continual anomaly detection task with instance-AUROC improvement of up to 3.9% and pixel-AP improvement of up to 5.5%.

Original languageEnglish
Pages (from-to)15224-15233
Number of pages10
JournalProceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition
DOIs
StatePublished - 2025
Event2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025 - Nashville, United States
Duration: Jun 11 2025Jun 15 2025

Fingerprint

Dive into the research topics of 'DFM: Differentiable Feature Matching for Anomaly Detection'. Together they form a unique fingerprint.

Cite this