cs.CVAug 24, 2026

What Memory Composition Does Not Tell Us About Anomaly Detection

Authors: Joongwon Chae, Runming Wang, Peiwu Qin

Organizations: Institute of Biopharmaceutical and Health Engineering, Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen, China · RatelSoft · Guangdong Provincial Laboratory of Traditional Chinese Medicine, Hengqin, Guangdong, China

Abstract

Memory-based anomaly detectors store nominal training patches and score test patches against this memory. A patch selected for coverage therefore becomes a nor- mal reference without a separate check that geometric rarity makes it safe to trust. We probe this coupling with sparse training contamination. Under fixed representa- tions and memory budgets, we compare random, medoid, local, and global coverage selectors. We then use CLEANCON, an out-of-bag cross-image support gate that changes candidate-image eligibility while fixing the representation, absolute mem- ory size, builder, and inference rule. Global coverage strongly over-represents sparse contamination. CLEANCON reduces final-memory contamination to approx- imately zero and increases category-macro P-AP in all 12 matched comparisons. Yet along a retention sweep, the lowest-contamination memory does not attain the highest P-AP; performance continues to improve while contamination rises. Mem- ory contamination therefore does not order the resulting memories by P-AP

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ProCon: Projection-Consistency Memory for Training-Free Anomaly Detection

    Jul 6, 2026Joongwon Chae, Lihui Luo, Yang Liu +4Industrial Anomaly DetectionAnomaly Localization

  2. Memory-Distilled Selection for Noise-Robust Anomaly Detection

    May 26, 2026Sirojbek Safarov, Jaewoo Park, Yoon Gyo Jung +4Industrial Anomaly DetectionData Selection