Anomaly Detection Papers Guide logo

Anomaly Detection Papers Guide

Community
wentorai
anomaly-detection-papers-guide

Industrial anomaly detection methods and benchmark papers

Overview

Publisherwentorai
Repositoryresearch-plugins
Skill nameanomaly-detection-papers-guide
Stars
294
Forks
42
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by wentorai on GitHub. Read the source before you install it.

Installation

Install the Anomaly Detection Papers Guide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wentorai/research-plugins.git /tmp/research-plugins
mkdir -p .claude/skills
cp -r /tmp/research-plugins/skills/domains/ai-ml/anomaly-detection-papers-guide .claude/skills/anomaly-detection-papers-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Anomaly Detection Papers Guide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Anomaly Detection Papers Guide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Anomaly Detection Papers Guide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Industrial Anomaly Detection Papers Guide

Overview

Industrial anomaly detection uses machine learning to identify defects, faults, and anomalies in manufacturing and quality inspection. This curated collection covers methods from reconstruction-based (autoencoders) to memory-bank approaches (PatchCore), normalizing flows, knowledge distillation, and foundation model-based detectors. Includes benchmark datasets, evaluation metrics, and real-world deployment considerations.

Method Taxonomy

Anomaly Detection Methods
├── Reconstruction-based
│   ├── Autoencoder (AE, VAE)
│   ├── GAN-based (AnoGAN, GANomaly)
│   └── Diffusion-based (AnoDDPM)
├── Embedding-based
│   ├── Memory bank (PatchCore, PaDiM)
│   ├── Knowledge distillation (STPM, RD4AD)
│   └── Self-supervised (CutPaste, DRAEM)
├── Normalizing Flows
│   ├── FastFlow, CFLOW-AD, CS-Flow
│   └── DifferNet
├── Foundation Models
│   ├── CLIP-based (WinCLIP, AnomalyCLIP)
│   ├── SAM-based (GroundedSAM-AD)
│   └── Vision-language (AnomalyGPT)
└── 3D Anomaly Detection
    ├── Point cloud methods
    └── Multi-modal (RGB + 3D)

Key Methods

MethodYearApproachMVTec AUROC
PatchCore2022Memory bank99.1%
PaDiM2021Multivariate Gaussian97.9%
RD4AD2022Knowledge distillation98.5%
FastFlow2022Normalizing flow99.4%
SimpleNet2023Feature adaptation99.6%
WinCLIP2023CLIP zero-shot95.2%
AnomalyGPT2024Vision-language96.3%

Benchmark Datasets

python
benchmarks = {
    "MVTec AD": {
        "categories": 15,
        "images": 5354,
        "type": "Product/texture defects",
        "annotation": "Pixel-level masks",
    },
    "MVTec 3D-AD": {
        "categories": 10,
        "images": 4147,
        "type": "3D point cloud + RGB",
    },
    "VisA": {
        "categories": 12,
        "images": 10821,
        "type": "Complex structure anomalies",
    },
    "BTAD": {
        "categories": 3,
        "images": 2830,
        "type": "Industrial body/surface",
    },
    "MPDD": {
        "categories": 6,
        "images": 1064,
        "type": "Metal parts defects",
    },
}

for name, info in benchmarks.items():
    print(f"{name}: {info['categories']} categories, "
          f"{info['images']} images — {info['type']}")

Quick Implementation

python
# PatchCore-style anomaly detection
from anomalib.data import MVTec
from anomalib.models import Patchcore
from anomalib.engine import Engine

# Setup dataset
datamodule = MVTec(
    root="./datasets/MVTec",
    category="bottle",
    image_size=(256, 256),
)

# Initialize model
model = Patchcore(
    backbone="wide_resnet50_2",
    layers=["layer2", "layer3"],
    coreset_sampling_ratio=0.1,
)

# Train and test
engine = Engine()
engine.fit(model=model, datamodule=datamodule)
results = engine.test(model=model, datamodule=datamodule)
print(f"Image AUROC: {results[0]['image_AUROC']:.3f}")
print(f"Pixel AUROC: {results[0]['pixel_AUROC']:.3f}")

Evaluation Metrics

python
# Standard anomaly detection metrics
from sklearn.metrics import roc_auc_score
import numpy as np

# Image-level: Is this image anomalous?
image_auroc = roc_auc_score(y_true_image, y_score_image)

# Pixel-level: Where is the anomaly?
pixel_auroc = roc_auc_score(
    y_true_pixel.flatten(), y_score_pixel.flatten()
)

# PRO metric: Per-Region Overlap
# Better than pixel AUROC for small anomalies
# Weights each connected anomaly region equally

Research Frontiers

markdown
### Active Directions (2024-2025)
1. **Zero/few-shot AD** — Detect anomalies without normal training data
2. **Multi-class unified** — One model for all product categories
3. **Foundation model AD** — CLIP/SAM/LLM-based detection
4. **Logical anomalies** — Structural/contextual defects
5. **Continual learning** — Adapt to new defect types
6. **3D anomaly detection** — Point cloud and multi-modal
7. **Real-time deployment** — Edge device optimization

Use Cases

  1. Manufacturing QC: Automated visual inspection pipelines
  2. Research benchmarking: Compare new methods on standard datasets
  3. Survey writing: Comprehensive method taxonomy and comparison
  4. Course teaching: Industrial AI and computer vision curricula
  5. Defect analysis: Understanding failure modes and patterns

References

Frequently asked questions

What does the Anomaly Detection Papers Guide AI skill do?

Industrial anomaly detection methods and benchmark papers

Why use Anomaly Detection Papers Guide on TypingMind?

Because you install it once and use it with any model. Anomaly Detection Papers Guide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Anomaly Detection Papers Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/anomaly-detection-papers-guide. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Anomaly Detection Papers Guide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Anomaly Detection Papers Guide?

As many as you like. As long as a model supports skills, you can use Anomaly Detection Papers Guide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Anomaly Detection Papers Guide AI skill free?

Yes. It is published on GitHub by wentorai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇