Datasets:
Download README.md from vFarhad/ShiftBench: direct link, hf CLI and curl.
- Browser
- Download file 3.77 kB
-
https://huggingface.co/datasets/vFarhad/ShiftBench/resolve/main/README.md
- Command line
-
hf download hf://datasets/vFarhad/ShiftBench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/vFarhad/ShiftBench/resolve/main/README.md
license: cc-by-nc-sa-4.0
pretty_name: ShiftBench
task_categories:
- image-classification
tags:
- anomaly-detection
- distribution-shift
- industrial-inspection
- mvtec-ad
size_categories:
- 10K<n<100K
configs:
- config_name: additive_noise
data_files:
- split: test
path: additive_noise/*/test/*/*.png
- config_name: background_swap
data_files:
- split: test
path: background_swap/*/test/*/*.png
- config_name: brightness
data_files:
- split: test
path: brightness/*/test/*/*.png
- config_name: chromatic
data_files:
- split: test
path: chromatic/*/test/*/*.png
- config_name: color_temperature
data_files:
- split: test
path: color_temperature/*/test/*/*.png
- config_name: contrast
data_files:
- split: test
path: contrast/*/test/*/*.png
- config_name: defocus_blur
data_files:
- split: test
path: defocus_blur/*/test/*/*.png
- config_name: directional_lighting
data_files:
- split: test
path: directional_lighting/*/test/*/*.png
- config_name: gamma
data_files:
- split: test
path: gamma/*/test/*/*.png
- config_name: image_compression
data_files:
- split: test
path: image_compression/*/test/*/*.png
- config_name: motion_blur
data_files:
- split: test
path: motion_blur/*/test/*/*.png
- config_name: packaging_print
data_files:
- split: test
path: packaging_print/*/test/*/*.png
- config_name: specular_intensity
data_files:
- split: test
path: specular_intensity/*/test/*/*.png
- config_name: tint_cast
data_files:
- split: test
path: tint_cast/*/test/*/*.png
- config_name: varnish_appearance
data_files:
- split: test
path: varnish_appearance/*/test/*/*.png
- config_name: vignetting
data_files:
- split: test
path: vignetting/*/test/*/*.png
- config_name: source_images
data_files:
- split: test
path: source_images/*/test/*/*.png
ShiftBench
ShiftBench is a benchmark for evaluating the robustness of industrial visual anomaly detection
under distribution shift. It contains 25,158 test images generated from the MVTec AD test set,
covering 16 distribution shifts (changes in illumination, optics, image processing, background
context and product appearance), five severity levels and 15 industrial categories. Defects are
left unchanged, so the original MVTec AD ground-truth masks apply; metadata/ links each image
to its source image, category, shift type, severity level and generation prompt.
License
ShiftBench is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0). See LICENSE.
Citation
If you use ShiftBench, please cite:
@article{nouri2026shiftbench,
title = {ShiftBench: A Robustness Benchmark for Industrial Visual Anomaly Detection under Distribution Shift},
author = {Nouri, Farhad and Alipour Talemi, Niloufar and Afghah, Fatemeh and Camp, Joseph and Kashiani, Hossein},
journal = {arXiv preprint arXiv:2612.00491},
year = {2026}
}
Attribution
ShiftBench images are adapted from the MVTec Anomaly Detection dataset (MVTec AD), © MVTec Software GmbH (https://www.mvtec.com/company/research/datasets/mvtec-ad), which is licensed under CC BY-NC-SA 4.0. The original images were modified using an image-generation model to introduce distribution shifts, such as changes in lighting, color, blur, or background. ShiftBench images are distributed under CC BY-NC-SA 4.0; see LICENSE.
If you use ShiftBench, please also cite MVTec AD:
P. Bergmann, M. Fauser, D. Sattlegger, and C. Steger, "MVTec AD: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019.