Measurement-driven LSAD: an interpretable lightweight distillation framework for edge-device industrial logical anomaly detection
Shenglei Pei, Jinchang Cheng, Shoupeng Zhang, Boxiao Luo · Measurement Science and Technology · 2025
Abstract In industrial anomaly detection, large-scale models are widely used for texture analysis and defect recognition. However, lightweight deployment still faces challenges in achieving a balance between measurement accuracy and processing speed. Existing knowledge distillation models often suffer from degraded representation ability due to excessive simplification in student networks. Segmentation networks for anomaly detection also lack lightweight designs, which makes it difficult to meet the real-time requirements of resource-constrained edge devices. To address these issues, this research proposes a lightweight hybrid convolutional and segmentation anomaly detection (LSAD) model. The model is built on a unified framework that integrates a lightweight hybrid convolutional distillation module (LHCD) with a lightweight segmentor (LiteSegmentor). LHCD uses a hierarchical depthwise separable teacher–student structure to form a ternary network. The intermediate teacher assistant (TA) module enhances the representation of the student model through a multi-scale feature pyramid. A hybrid convolutional feature extractor and a bidirectional distillation mechanism in TA provide acceleration and parameter compression while preserving feature representation. LiteSegmentor reconstructs the atrous spatial pyramid pooling module with channel distillation and structural reparameterization. This design achieves a 98% reduction in parameters and a 42% acceleration in inference compared with the baseline. Experiments show that the LSAD model significantly improves anomaly measurement accuracy while maintaining fast inference and efficient memory use. The proposed model offers an effective solution for real-time anomaly detection and measurement on industrial edge devices.