Filter or Compensate: Towards Invariant Representation from Distribution Shift for Anomaly Detection

Authors

  • Zining Chen Beijing University of Posts and Telecommunications
  • Xingshuang Luo Beijing University of Posts and Telecommunications
  • Weiqiu Wang Beijing University of Posts and Telecommunications
  • Zhicheng Zhao Beijing University of Posts and Telecommunications Beijing Key Laboratory of Network System and Network Culture Key Laboratory of Intereactive Technology and Experience System, Ministry of Culture and Tourism
  • Fei Su Beijing University of Posts and Telecommunications Beijing Key Laboratory of Network System and Network Culture Key Laboratory of Intereactive Technology and Experience System, Ministry of Culture and Tourism
  • Aidong Men Beijing University of Posts and Telecommunications

DOI:

https://doi.org/10.1609/aaai.v39i3.32243

Abstract

Recent Anomaly Detection (AD) methods have achieved great success with In-Distribution (ID) data. However, real-world data often exhibits distribution shift, causing huge performance decay on traditional AD methods. From this perspective, few previous work has explored AD with distribution shift, and the distribution-invariant normality learning has been proposed based on the Reverse Distillation (RD) framework. However, we observe the misalignment issue between the teacher and the student network that causes detection failure, thereby propose FiCo, Filter or Compensate, to address the distribution shift issue in AD. FiCo firstly compensates the distribution-specific information to reduce the misalignment between the teacher and student network via the Distribution-Specific Compensation (DiSCo) module, and secondly filters all abnormal information to capture distribution-invariant normality with the Distribution-Invariant Filter (DiIFi) module. Extensive experiments on three different AD benchmarks demonstrate the effectiveness of FiCo, which outperforms all existing state-of-the-art (SOTA) methods, and even achieves better results on the ID scenario compared with RD-based methods.

Downloads

Published

2025-04-11

How to Cite

Chen, Z., Luo, X., Wang, W., Zhao, Z., Su, F., & Men, A. (2025). Filter or Compensate: Towards Invariant Representation from Distribution Shift for Anomaly Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 39(3), 2420–2428. https://doi.org/10.1609/aaai.v39i3.32243

Issue

Section

AAAI Technical Track on Computer Vision II