license: apache-2.0
language:
- en
base_model:
- Qwen/Qwen3-VL-4B-Instruct
pipeline_tag: image-text-to-text
ADOPD
📄 Paper | 💻 Code | 🤗 Training Data |
Model Summary
ADOPD is the released model in paper ADOPD: Reference-Privileged On-Policy Distillation for MLLM-Based Industrial Anomaly Detection.
Industrial anomaly detection (IAD) requires identifying fine-grained deviations from normal visual patterns. Multimodal large language models (MLLMs) can improve recognition accuracy by comparing query images with references at inference time, but these benefits rely on additional retrieval and processing. ADOPD is a reference-privileged on-policy distillation framework that internalizes reference comparison into query-only MLLMs for industrial anomaly detection. The central insight is that references need not remain deployment-time inputs: when used as privileged training information, they can provide both a candidate distillation direction and a reliability signal for that direction. ADOPD operationalizes this idea by evaluating student-generated rollouts with a matched reference and a mismatched control, thereby separating what the student should learn from how strongly each rollout should shape the update.
Quickstart
from transformers import AutoProcessor, AutoModelForMultimodalLM
model_id = "withstaticTai/ADOPD"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(model_id, device_map="auto")
messages = [{
"role": "user",
"content": [
{"type": "image", "url": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"},
{"type": "text", "text": "What is the color of the label on the bottle in the background?"},
],
}]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Citation
@article{he2026adopd,
title={ADOPD: Reference-Privileged On-Policy Distillation for MLLM-Based Industrial Anomaly Detection},
author={He, Jingtai and Meng, Shiyuan and Meng, Wenchao and Yang, Qinmin},
journal={arXiv preprint arXiv:2608.09789},
year={2026}
}
License
Released under Apache-2.0.