轻量化异常检测模型让工厂机器在本地实时质检
Efficient Visual Anomaly Detection at the Edge: Enabling Real-Time Industrial Inspection on Resource-Constrained Devices
- 用产品量化与简化计算提升边缘设备运行效率
- 内存占用减少79%,推理时间降低31%
- 适合资源受限的工业现场实时质检场景
视觉异常检测(VAD)对工业质量控制至关重要,可实现制造过程中的自动缺陷识别。在实际产线中,VAD系统需满足严格的实时性与隐私要求,必须从云端处理转向本地边缘部署。然而,边缘设备内存与算力有限,带来新挑战。为此,我们提出两种专为边缘部署设计的高效VAD方法:PatchCore-Lite和Padim-Lite,分别基于PatchCore和PaDiM模型。PatchCore-Lite先在产品量化记忆库中进行粗略搜索,再对解码子集执行精确搜索;Padim-Lite通过使用对角协方差矩阵,将马氏距离转为高效的逐元素计算。我们在MVTec AD和VisA数据集上评估了所提方法,结果表明其适用于边缘环境。PatchCore-Lite实现总内存占用降低79%,PaDiM-Lite则实现总内存减少77%、推理时间下降31%。这些结果证明,VAD可在边缘设备上有效部署,支持实时、私密且低成本的工业质检。
原文摘要 · Abstract (English)
Visual Anomaly Detection (VAD) is essential for industrial quality control, enabling automatic defect detection in manufacturing. In real production lines, VAD systems must satisfy strict real-time and privacy requirements, necessitating a shift from cloud-based processing to local edge deployment. However, processing data locally on edge devices introduces new challenges because edge hardware has limited memory and computational resources. To overcome these limitations, we propose two efficient VAD methods designed for edge deployment: PatchCore-Lite and Padim-Lite, based on the popular PatchCore and PaDiM models. PatchCore-Lite runs first a coarse search on a product-quantized memory bank, then an exact search on a decoded subset. Padim-Lite is sped up using diagonal covariance, turning Mahalanobis distance into efficient element-wise computation. We evaluate our methods on the MVTec AD and VisA benchmarks and show their suitability for edge environments. PatchCore-Lite achieves a remarkable 79% reduction in total memory footprint, while PaDiM-Lite achieves substantial efficiency gains with a 77% reduction in total memory and a 31% decrease in inference time. These results show that VAD can be effectively deployed on edge devices, enabling real-time, private, and cost-efficient industrial inspection.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。