ADOPD: Reference-Privileged On-Policy Distillation for MLLM-Based Industrial Anomaly Detection
The paper proposes ADOPD, a reference-privileged on-policy distillation framework that internalizes the benefits of reference-based comparison into a query-only student model by leveraging a reference-aware teacher to guide fine-grained anomaly detection, achieving state-of-the-art zero-shot performance on the MMAD benchmark.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a detective trying to solve a mystery, but instead of a crime scene, you are looking at a factory floor. Your job is to spot the tiniest scratch on a shiny new gadget that shouldn't be there. This is the world of Industrial Anomaly Detection. For a long time, computers have been terrible at this because they only know what "normal" looks like in a general sense, not the specific quirks of every single product rolling off the line.
Enter Multimodal Large Language Models (MLLMs). Think of these as super-smart AI detectives that can see pictures and read text at the same time. They are great at reasoning, but they often miss the tiny, specific details needed to catch a defect. Usually, to help these AI detectives, humans give them a "reference photo"—a picture of a perfect, defect-free item to compare against the suspicious one. It's like showing a detective a photo of a perfect fingerprint so they can spot the smudge on the real one. However, doing this for every single item is slow and computationally expensive, like asking a detective to run to the library for a reference book every time they look at a clue. The big question researchers asked was: Can we teach the AI to remember what that perfect reference looks like, so it doesn't need to look it up every time?
This is where a new study comes in, proposing a clever training method called ADOPD. The researchers wanted to see if they could "internalize" the benefits of comparing images directly into the AI's brain during training. They didn't just want the AI to memorize answers; they wanted it to learn how to inspect things.
The team set up a training scenario with two characters: a Teacher and a Student. The Teacher is a super-smart AI that gets to see both the suspicious item and the perfect reference photo. The Student is the AI we actually want to use later, and it only gets to see the suspicious item. The goal is to get the Student to act as smart as the Teacher, even without the reference photo.
But here's the tricky part: The Teacher might be too smart. It might guess the right answer just because of the text it's reading or the general vibe of the picture, ignoring the specific comparison it was supposed to make. To fix this, the researchers invented a "spot the difference" game for the Teacher. They showed the Teacher the same student's guess twice: once with the correct reference photo (the "Matched" view) and once with a wrong reference photo (the "Mismatched" view).
If the Teacher really cares about the reference, its confidence should skyrocket when it sees the right photo and drop when it sees the wrong one. The researchers used this difference to create a special "confidence score." If the Teacher is only confident because of the wrong photo, the Student learns to ignore that clue. If the Teacher is confident because of the right photo, the Student learns to pay close attention. This process is called Reference-Privileged On-Policy Distillation. It's like a coach watching a player practice, but the coach only gives feedback when the player is actually using the right technique, not just guessing.
The results suggest that this method works surprisingly well. When tested on a benchmark called MMAD, which includes seven different types of industrial inspection tasks, the new method achieved an average accuracy of 77.31%. This is a significant jump, improving the base model by 6.14 points. Even more impressively, this AI, which never saw a reference photo during the test, performed better than the same model when it was allowed to see a reference photo (a "one-shot" setting), beating it in accuracy by 2.64 points. However, the study notes a trade-off: while the new method found more defects (higher recall), it was slightly more prone to false alarms, resulting in a small drop in precision compared to the one-shot setting.
The study suggests that by using this "Matched vs. Mismatched" training trick, the AI learned a fine-grained strategy for spotting defects. It didn't just memorize facts; it learned to look for the specific visual differences that matter. The researchers found that this approach was particularly good at figuring out where a defect was and what kind of anomaly it was, rather than just guessing the category. While the method currently requires paired images and specific annotations to train, the findings indicate that we can teach AI to be a sharper, more self-reliant inspector, capable of spotting the tiniest flaws without needing a reference every time.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.