Reproduce “Template-Based Feature Aggregation Network for Industrial Anomaly Detection” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Wei Luo, Haiming Yao, Wenyong Yu

TFA-Net introduces a template-based feature aggregation mechanism leveraging a Vision Transformer to prevent "shortcut learning" in industrial anomaly detection models, enhancing their ability to differentiate normal from anomalous features. This approach yielded an average image-level AUROC of 98.7% and a pixel-level AUROC of 98.3% on the MVTec AD dataset, improving upon previous state-of-the-art methods.

Key insights

  • Directly aggregating input features onto a normal template feature space, guided by global attention mechanisms, successfully overcomes the shortcut learning problem in reconstruction-based anomaly detection.
  • Vision Transformers' (ViT) global modeling capabilities facilitate effective feature aggregation and improve robustness to the choice of normal template images.
  • Leveraging multi-level hierarchical features from pre-trained CNNs provides a robust feature representation that balances semantic context with fine-grained spatial details for anomaly detection.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.