Unsupervised Anomaly Detection for BFS Bottles With Vision Mamba and Dynamic Masking
Yuyang Zhai, ZhiZhong Liu, Ximing Yang, Xin Chen, Zhendong Cui
Key points
From the paper's conclusion- To address this issue, we propose an unsupervised Anomaly Detection model based on Vision Mamba and Dynamic Masking (named ViMDMAD).
Abstract
Blow-Fill-Seal (BFS) technology is widely used in sterile pharmaceutical manufacturing. Due to the complex structure of BFS bottles, the defects usually exhibit highly diverse appearances and inconsistent feature distributions, which brings critical challenges for supervised defect detection methods. To address this issue, we propose an unsupervised Anomaly Detection model based on Vision Mamba and Dynamic Masking (named ViMDMAD). ViMDMAD first employs a pretrained Vision Transformer as the encoder to extract multi-level semantic features. Subsequently, we design a lightweight Loss Prediction-Driven Dynamic Masking module to generate dynamic soft masks, guiding the decoder to focus on critical regions while alleviating identity mapping and suppressing over-reconstruction of anomalous areas. Then, we propose an enhanced Global–Local Vision Mamba decoder to reconstruct mask-perturbed feature sequences through state-space modeling. Finally, multi-level reconstruction errors between the encoder and decoder are aggregated to produce anomaly score maps for defect detection. Based on the BFS AD dataset and the MVTec AD benchmark dataset, extensive experiments have been conducted. Experimental results demonstrate that ViMDMAD achieves image-level areas under the receiver operating characteristic curve of 97.4% and 99.0%, outperforming existing methods and highlighting its effectiveness for automated visual inspection and quality assessment in complex industrial environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A lightweight knowledge distillation framework for few shot unsupervised industrial surface anomaly detection and localizationScientific Reports · 2026
- Spatiotemporal Dynamics-Aware Industrial Anomaly Detection and ReasoningarXiv · 2026
- MemCLR-GANomaly: An Unsupervised Anomaly Detection Approach for Resin Cut-Off Wheel Surfaces.Sensors (Basel, Switzerland) · 2026
- Efficient mechanical casting defect detection based on state space modeling and multiscale attentionScientific Reports · 2026
- Zero-Shot Industrial Anomaly Detection via CLIP-DINOv2 Multimodal Fusion and Stabilized Attention PoolingElectronics · 2025
- Fault-Guided Cross-Layer Prediction for Unsupervised Anomaly DetectionarXiv · 2026