File size: 3,773 Bytes
b38539b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99949cc
 
 
 
 
 
 
b38539b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
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](LICENSE).

## Citation

If you use ShiftBench, please cite:

```bibtex
@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](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.