Saved in:
Bibliographic Details
Main Authors: Guan, Wei, Lan, Jun, Cao, Jian, Tan, Hao, Zhu, Huijia, Wang, Weiqiang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.21619
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915416784240640
author Guan, Wei
Lan, Jun
Cao, Jian
Tan, Hao
Zhu, Huijia
Wang, Weiqiang
author_facet Guan, Wei
Lan, Jun
Cao, Jian
Tan, Hao
Zhu, Huijia
Wang, Weiqiang
contents Industrial anomaly detection (IAD) plays a crucial role in maintaining the safety and reliability of manufacturing systems. While multimodal large language models (MLLMs) show strong vision-language reasoning abilities, their effectiveness in IAD remains limited without domain-specific adaptation. In this work, we propose EMIT, a unified framework that enhances MLLMs for IAD via difficulty-aware group relative policy optimization (GRPO). EMIT constructs a multi-task IAD dataset and utilizes GPT-generated object text descriptions to compensate for missing defective images. For few-shot anomaly detection, it integrates a soft prompt and heatmap-guided contrastive embeddings derived from patch-level comparisons. To better handle difficult data samples, i.e., cases where the MLLM struggles to generate correct answers, we propose a difficulty-aware GRPO that extends the original GRPO by incorporating a response resampling strategy to ensure the inclusion of correct answers in the sampled responses, as well as an advantage reweighting mechanism to strengthen learning from such difficult data samples. Extensive experiments on the MMAD benchmark demonstrate that EMIT significantly enhances the IAD performance of MLLMs, achieving an average improvement of 7.77\% over the base model (InternVL3-8B) across seven tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2507_21619
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EMIT: Enhancing MLLMs for Industrial Anomaly Detection via Difficulty-Aware GRPO
Guan, Wei
Lan, Jun
Cao, Jian
Tan, Hao
Zhu, Huijia
Wang, Weiqiang
Computer Vision and Pattern Recognition
Industrial anomaly detection (IAD) plays a crucial role in maintaining the safety and reliability of manufacturing systems. While multimodal large language models (MLLMs) show strong vision-language reasoning abilities, their effectiveness in IAD remains limited without domain-specific adaptation. In this work, we propose EMIT, a unified framework that enhances MLLMs for IAD via difficulty-aware group relative policy optimization (GRPO). EMIT constructs a multi-task IAD dataset and utilizes GPT-generated object text descriptions to compensate for missing defective images. For few-shot anomaly detection, it integrates a soft prompt and heatmap-guided contrastive embeddings derived from patch-level comparisons. To better handle difficult data samples, i.e., cases where the MLLM struggles to generate correct answers, we propose a difficulty-aware GRPO that extends the original GRPO by incorporating a response resampling strategy to ensure the inclusion of correct answers in the sampled responses, as well as an advantage reweighting mechanism to strengthen learning from such difficult data samples. Extensive experiments on the MMAD benchmark demonstrate that EMIT significantly enhances the IAD performance of MLLMs, achieving an average improvement of 7.77\% over the base model (InternVL3-8B) across seven tasks.
title EMIT: Enhancing MLLMs for Industrial Anomaly Detection via Difficulty-Aware GRPO
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.21619