Search papers, labs, and topics across Lattice.
This paper investigates the limitations of memory-based anomaly detection systems, particularly how memory contamination affects performance metrics like category-macro P-AP. By comparing various coverage selectors and introducing CLEANCON, an innovative out-of-bag cross-image support gate, the authors demonstrate that traditional memory selection methods can lead to significant over-representation of contamination. The key finding reveals that while CLEANCON effectively minimizes memory contamination, it does not guarantee the highest performance, challenging the assumption that lower contamination correlates with better anomaly detection outcomes.
Memory contamination can mislead performance metrics in anomaly detection, revealing that less contaminated memories don't always yield better results.
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