Lune

NeurIPS2025Top-tier venue

On the SAC-BL Algorithm for Anomaly Detection

Xinsong Ma, Jie Wu, Weiwei Liu

Abstract

Visual anomaly detection is significant in safety-critical and reliability-sensitive scenarios. Prior studies mainly emphasize the design and training of scoring functions, while little effort has been devoted to constructing decision rules based on these score functions. A recent work Ma et al. (2025b) highlights this issue and proposes the SAC-BL algorithm to address it. This method consists of a strong anomaly constraint (SAC) network and a betting-like (BL) algorithm serving as the decision rule. The SAC-BL algorithm can control the false discovery rate (FDR). However the performance of SAC-BL algorithm on anomalous examples, or its false positive rate (FPR), has not been thoroughly investigated. This paper provides a deeper analysis of this problem and explores how to theoretically reduce its FPR. First, we show that as the number of testing examples tends to infinity, the SAC-BL algorithm performs well on abnormal data if the scores follow the generalized Gaussian-like distribution family. But such conditions about the number of testing examples and the distribution of scores are overly restrictive for the real-world applications. So, we attempt to decrease the FPR of the SAC-BL algorithm under the condition of finite samples for practical anomaly detection. To this end, we redesign the BL algorithm by incorporating a randomization strategy and propose a novel stochastic BL (SBL) algorithm. The combination of the SAC network and the SBL algorithm yields our method, SAC-SBL. Theoretical results show that the SAC-SBL algorithm can achieve smaller FPR than SAC-BL algorithm while controlling its FDR. Finally, extensive experimental results demonstrate the superiority of our method over SAC-BL algorithm on multiple visual anomaly detection benchmarks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Provable Decision Rule for Out-of-Distribution Detection cites On the Tradeoff Between Robustness and Fairness
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Learning Semantic Context from Normal Samples for Unsupervised Anomaly DetectionXudong Yan, Huaidong Zhang, Xuemiao Xu, Xiaowei Hu et al.AAAI 2021 · 210 citations
  2. On the Tradeoff Between Robustness and FairnessXinsong Ma, Zekai Wang, Weiwei LiuNeurIPS 2022 · 64 citations
  3. A Provable Decision Rule for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2024 · 4 citations
  4. Revisiting Reverse Distillation for Anomaly DetectionTran Dinh Tien, Anh Tuan Nguyen, Nguyen Hoang Tran, Ta Duc Huy et al.CVPR 2023

Related papers

  1. An Online Statistical Framework for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2025
  2. A Closer Look at Generalized BH Algorithm for Out-of-Distribution DetectionXinsong Ma, Jie Wu, Weiwei LiuICML 2025
  3. On the Adversarial Robustness of Benjamini HochbergLouis L. Chen, Roberto Szechtman, Matan SeriNeurIPS 2024 · 2 citations
  4. MULDE: Multiscale Log-Density Estimation via Denoising Score Matching for Video Anomaly DetectionJakub Micorek, Horst Possegger, Dominik Narnhofer, Horst Bischof et al.CVPR 2024 · 21 citations
  5. Self-Supervised Predictive Convolutional Attentive Block for Anomaly DetectionNicolae-Catalin Ristea, Neelu Madan, Radu Tudor Ionescu, Kamal Nasrollahi et al.CVPR 2022 · 264 citations
Dusk over the sea between two cliffs drawn in fine vertical lines