Kaputt: A Large-Scale Dataset for Visual Defect Detection
- Publication
- ICCV 2025Conference
- First submitted to arXiv
- arXiv:2510.05903
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{anomalydetectionkaputt2025,
title = {{Kaputt: A Large-Scale Dataset for Visual Defect Detection}},
author = {Sebastian Höfer and Dorian Henning and Artemij Amiranashvili and Douglas Morrison and Mariliza Tzes and Ingmar Posner and Marc Matvienko and Alessandro Rennola and Anton Milan},
year = {2025},
eprint = {2510.05903},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2510.05903}
}
Industrial anomaly detection has two well-known benchmarks, MVTec-AD and VisA. Both are set up much like a factory production line: the same kind of part, in the same position, shot under the same lighting. The model only has to learn "what a normal screw looks like", and anything with a scratch or a chipped corner is an anomaly.
Both benchmarks are close to maxed out. The best methods reach 99.9% AUROC on MVTec-AD and 99.5% on VisA.
An e-commerce fulfillment center is a different world. It handles millions of different products every day, from snacks and laundry powder to books and electronics; the same product may pass through only a few times, placed at a different angle each time; and defects range from a small dent in a cardboard box to a whole bag of laundry powder spilled out.
This paper comes from Amazon's Fulfillment Technologies & Robotics team, and the dataset's name, Kaputt, is German for "broken". They wanted to know how much of those 99.9% scores on MVTec-AD would be left once the methods moved into a real fulfillment center.
The dataset

How the images are taken
Amazon built a dedicated capture station. Items go one at a time into the trays used in the fulfillment center, and a 12-megapixel camera shoots straight down from above; side walls and LED panels around it keep the light even and cut down reflections from plastic packaging. Each image is cropped to a square containing only the tray and resized to 2048×2048.
They also use a U-Net trained on 17,000 manually annotated masks to produce a mask and a crop for every item, released together with the full tray image. The full tray is kept for a reason. Some items have parts hanging out, and some defects show up only on the tray, such as spilled liquid or powder.
How the defects are collected
Defects are rare; shoot at random for a year and you'd catch only a handful. The authors collected them in two steps. First they gathered items that on-site staff had already flagged as defective, then trained a classifier on that data and used it, round after round, to dig likely defective candidates out of newly captured images and hand them to people for labeling.
A few rules governed the curation. At most 15 samples per item, so there are enough different items; items with no normal samples are left out; the defect rate is held at 28.6%, which the authors say is in line with MVTec-AD and VisA; going by the numbers in the paper's Table 1, MVTec-AD is at 23.5% and VisA only 11.1%.
Query images and reference images
The dataset has two parts. One is labeled query images, 100,267 of them, 29,316 with defects; the other is unlabeled reference images, 138,154 of them.
Each query image comes with 1 to 3 reference images of the same item, showing what that item looks like when it is "normal". But the authors deliberately kept the real-world conditions. A reference image isn't necessarily normal (just under 1% are defective themselves), its pose and background may be completely different from the query's, and even the packaging version may differ. The authors say this reflects how retail actually works, where most items sell infrequently and building a perfect reference database for every item is impractical.
In total there are 238,421 images of 48,376 items. For comparison, MVTec-AD has 5,354 images in 15 categories and VisA 10,821 in 12; ARMBench, another Amazon logistics dataset, also has 100,000 images, but only 6,786 defective samples and only two defect types.
Training, validation and test sets are split by item into 85%, 5% and 10%, and each item appears in only one of them.
How it is labeled
Each query image is labeled independently by three annotators, and the majority vote wins.
Severity has three levels. "Major" means the item's integrity is compromised or at risk, for example a heavy crush, a puncture or a fully opened box lid; "minor" means the item is no longer pristine but may still be acceptable, for example a small dent in a cardboard box. There are seven defect types, and more than one can apply: penetration, deformation, actuation (opened), deconstruction, spillage, superficial (dirt, scratches) and missing unit. The item's outer packaging material is labeled too; cardboard is the most common, followed by various kinds of plastic packaging and books.
The authors also list where labeling gets hard. Some defects can't be seen: a thin line on a CD case could be a reflection or a crack. Some are easy to overlook: a laundry powder pack looks intact, but there's a little powder on the tray. Some are ambiguous: a multi-pack has the right number of units, but they're out of order. Does that count as a defect?
Discussion
The evaluation task is binary classification: does this query image have a defect, minor or major. The main metric is AP, with AUROC and recall at a fixed false positive rate also reported. The authors split the methods into four scenarios by "whether labeled data is used for training" and "whether reference images are used".

Without training, everything is close to guessing
Random guessing gets an AP of 31.84%, which is simply the share of defects in the test set.
Every method that trains on no labels lands near that line. CLIP, doing zero-shot classification with the two prompts "Image of an item without problems" and "Image of an item with problems", gets 36.20% AP; WinCLIP, built specifically for anomaly detection, gets 33.87%.
The authors also tested two multimodal large language models. Anthropic's Claude 3.5 Sonnet, told to inspect the image step by step and finish with a defect score from 0 to 10, and then given 5 defective examples, reaches 36.57% AP and 56.96% AUROC, the best of the untrained methods; when the abstract says the methods "do not surpass 56.96% AUROC", this is the one it means. The open-source Pixtral-12B stays around 32% with or without examples, and even after one epoch of LoRA fine-tuning on ten thousand training samples it only reaches 33.43%.
The authors observed that these models can give a reasonable description and catch obvious defects such as gross deconstruction, but miss subtle problems like deformation in soft packaging, or stickers and dirt on the tray. CLIP now and then even reads the text on the product and gets misled by what it says.
Reference images make things worse
PatchCore, the classic anomaly-detection approach, stores patch features from the reference images as a "normal" memory bank; the farther a query patch is from that memory bank, the more anomalous it is. This works very well on MVTec-AD, where the same part sits in exactly the same way every time. On Kaputt, its AP is only 35.86%.
The reason isn't hard to guess. Reference and query images differ in pose and background, PatchCore takes those differences for anomalies, and false positives pile up; and when a reference image is itself defective, PatchCore takes real defects for normal and misses them.
Even trained methods get worse with reference images. AutoGluon on query images alone gets 87.77%; average the reference images' embeddings in with the query and it drops to 71.21%. The authors checked the training-set scores, 96% without references and 87% with, and concluded that averaging features from several images makes learning harder.
With labels, it's a different story
Train a classifier on the training set with its defect labels and the results change completely. ResNet-50 gets 81.06%; a ViT-S pretrained with DINOv2 and trained at a high resolution of 1024×1024 gets 90.67% AP and 94.27% AUROC. The authors point out that high resolution matters: small defects disappear once the image is downscaled.
But that score was reached with a training set that is 28.6% defective, with more than ten thousand defective samples. When the authors cut the training set's defect rate to 1%, closer to the real situation, the same ViT drops to 57.7%; with reference images added, it drops again, to 40.4%.
The supervised methods have their own failures. They tend to miss rare defect types (spillage), defects that only show up against a reference (missing unit), and very subtle defects; and products whose packaging is printed with something that looks like a hole or a tear trigger false positives.
Conclusion
Kaputt takes anomaly detection off the factory line and into the fulfillment center. Two hundred thirty thousand images, forty-eight thousand items, random poses and imperfect reference images are all conditions that MVTec-AD and VisA don't have.
The benchmark results are blunt. Methods that don't rely on labels, including classic anomaly detection, CLIP and multimodal large language models, do only a little better than random guessing; supervised methods with plenty of defect labels can reach ninety percent, but with few labels they fall below sixty. The biggest surprise is the reference images; on this dataset, the existing ways of using them only make things worse.
For defect inspection in a fulfillment center, the more dependable route for now is still the plainest one, collecting a large batch of labeled defects and training a classifier at high resolution. That at least beats "first learn what normal looks like".
The paper releases all 130,000-plus reference images. How to make references that come at every angle, and are now and then broken themselves, actually help is the homework this dataset leaves for whoever comes next.