Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection
Xincheng Yao, Ruoqi Li, Zefeng Qian, Yan Luo, Chongyang, Zhang

TL;DR
This paper introduces FOD, a novel anomaly detection framework using transformer-based intra- and inter-correlation learning to effectively identify anomalies by modeling patch discrepancies and correlations.
Contribution
The paper proposes a transformer renovation with I2Correlation for simultaneous intra- and inter-discrepancy learning, enhancing anomaly detection performance.
Findings
Outperforms existing methods on three benchmarks.
Effectively models patch-wise discrepancies and correlations.
Achieves superior anomaly detection accuracy.
Abstract
Humans recognize anomalies through two aspects: larger patch-wise representation discrepancies and weaker patch-to-normal-patch correlations. However, the previous AD methods didn't sufficiently combine the two complementary aspects to design AD models. To this end, we find that Transformer can ideally satisfy the two aspects as its great power in the unified modeling of patch-wise representations and patch-to-patch correlations. In this paper, we propose a novel AD framework: FOcus-the-Discrepancy (FOD), which can simultaneously spot the patch-wise, intra- and inter-discrepancies of anomalies. The major characteristic of our method is that we renovate the self-attention maps in transformers to Intra-Inter-Correlation (I2Correlation). The I2Correlation contains a two-branch structure to first explicitly establish intra- and inter-image correlations, and then fuses the features of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection· youtube
Taxonomy
TopicsAnomaly Detection Techniques and Applications · COVID-19 diagnosis using AI · Domain Adaptation and Few-Shot Learning
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Adam · Dense Connections · Label Smoothing · Residual Connection · Dropout · Absolute Position Encodings · Byte Pair Encoding
