arXiv:2603.16451cs.CV2026-03中稿 · the 8th Internatio…被引 3

TinyGLASS在传感器内实现实时异常检测,模型小巧且高效。

TinyGLASS: Real-Time Self-Supervised In-Sensor Anomaly Detection

  • 用轻量ResNet-18替代原模型,支持静态图追踪与INT8量化
  • 参数量减少8.6倍,在IMX500上达20帧/秒,94.2%图像级AUROC
  • 适合工业边缘设备部署,对脏数据有良好鲁棒性

异常检测在工业质量控制中至关重要,需在缺陷标签样本稀缺的情况下识别异常。近期自监督方法如GLASS仅使用无缺陷数据学习正常视觉模式,在工业基准上表现优异。但其计算开销限制了在资源受限的边缘平台,尤其是传感器内架构中的部署。本文提出TinyGLASS,是GLASS框架的轻量化版本,专为实时边缘和传感器内异常检测设计。该架构将原WideResNet-50主干替换为紧凑的ResNet-18,并引入部署优化,支持静态图追踪与INT8量化。我们在Sony IMX500智能视觉传感器上评估该方法,利用索尼模型压缩工具调用传感器处理器。除在MVTec-AD基准测试外,还研究了训练数据污染下的鲁棒性,并构建了名为MMS Dataset的定制工业数据集用于跨设备评估。实验表明,TinyGLASS实现8.6倍参数压缩,保持竞争性检测性能,在MVTec-AD上达到94.2%图像级AUROC,且在IMX500平台内存约束(8MB)下以20 FPS运行。系统分析显示单次推理功耗仅4.0 mJ,端到端吞吐率达20 FPS,能效高达470 GMAC/J。此外,模型在中等程度训练数据污染下仍保持稳定性能。

原文摘要 · Abstract (English)

Anomaly detection plays a key role in industrial quality control, where defects must be identified despite the scarcity of labeled faulty samples. Recent self-supervised approaches, such as GLASS, learn normal visual patterns using only defect-free data and have shown strong performance on industrial benchmarks. However, their computational requirements limit their deployment on resource-constrained edge platforms, especially within in-sensor processing architectures. This work introduces TinyGLASS, a lightweight adaptation of the GLASS framework designed for real-time edge and in-sensor anomaly detection. The proposed architecture replaces the original WideResNet-50 backbone with a compact ResNet-18 and introduces deployment-based modifications that enable static graph tracing and INT8 quantization. We evaluate the proposed approach on the Sony IMX500 intelligent vision sensor, exploiting the in-sensor processor using the Sony Model Compression Toolkit. In addition to evaluating performance on the MVTec-AD benchmark, we investigate robustness to contaminated training data and introduce a custom industrial dataset, named MMS Dataset, for cross-device evaluation. Experimental results show that TinyGLASS achieves 8.6x parameter compression while maintaining competitive detection performance, reaching 94.2% image-level AUROC on MVTec-AD and operating at 20 FPS within the 8 MB memory constraints of the IMX500 platform. System profiling showcases low power consumption (4.0 mJ per inference), real-time end-to-end throughput (20 FPS), and high energy efficiency (470 GMAC/J). Furthermore, the model demonstrates stable performance under moderate levels of training data contamination.

异常检测边缘计算传感器量化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。