Bidirectional Feature Pyramid Siamese Anomaly Detection Network With Cellular Anomaly Generation for Container Marking
Container marking anomaly detection (CMAD) aims to identify markings that deviate from a standard reference image. Currently, the manual execution of CMAD is inefficient and susceptible to errors. Existing machine vision methods are limited to detecting text-based or specific types of markings, rendering type-agnostic CMAD unattainable. To address this limitation, we propose an innovative framework for CMAD, named bidirectional feature pyramid siamese anomaly detection network (BiSiNet). BiSiNet consists of the Siamese encoder (SE), the bidirectional feature pyramid decoder (BiD), and the triplet classifier prediction head (TCPH). SE extracts the difference feature pyramid between the target and reference images. BiD decodes the difference feature pyramid in both top-down and bottom-up paths, effectively solving the problem of global information loss during decoding in traditional single-path decoder. TCPH utilizes both local and global features to predict outcomes at both the pixel and patch levels, integrating these results to resolve inconsistencies in predictions. BiSiNet not only possesses strong resistance to disturbances such as reflections and shadows but also has accurate localization capabilities. Due to the limited diversity and the difficulty in obtaining anomalous samples, we designed an innovative cellular anomaly generation strategy (CAGS). CAGS employs cellular noise to generate marking masks, creating realistic pseudo-marking images. Through innovative design, it produces four types of samples, thereby enhancing sample diversity and improving training generalization. Extensive experiments using our established ContainerMAD dataset have demonstrated that BiSiNet and CAGS outperform other methods in both CMAD and localization. In addition, favorable outcomes have been achieved on the MvtecAD dataset.
Authors
- Fabio Scotti (ORCID: https://orcid.org/0000-0002-4277-3701)
- Vincenzo Piuri (ORCID: https://orcid.org/0000-0003-3178-8198)
- Yikui Zhai (ORCID: https://orcid.org/0000-0003-0154-9743)
- Angelo Genovese (ORCID: https://orcid.org/0000-0002-3683-4723)
- Hufei Zhu (ORCID: https://orcid.org/0000-0002-1629-6227)
- Zhihao Long (ORCID: https://orcid.org/0009-0001-5167-211X)
- Yanyang Liang (ORCID: https://orcid.org/0000-0001-6795-1925)
- Pasquale Coscia (ORCID: https://orcid.org/0000-0003-4726-3409)
- Wenfeng Pan (ORCID: https://orcid.org/0009-0003-2051-7509)
Institutions
- University of Milan (IT)
- Wuyi University (CN)
Publication Details
- Journal
- IEEE Transactions on Instrumentation and Measurement
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tim.2025.3554326
- Citations
- 3
- Primary Topic
- Vehicle License Plate Recognition
- Type
- article
- Field-Weighted Citation Impact
- 3.41
Funders
- Basic and Applied Basic Research Foundation of Guangdong Province