LGR-Net: A Lightweight Defect Detection Network Aimed at Elevator Guide Rail Pressure Plates

Ruizhen Gao, Meng Chen, Yue Pan, Jiaxin Zhang, Haipeng Zhang, Ziyue ZhaoSensors 2025 · DOI

TL;DR

This paper introduces LGR-Net, a lightweight deep learning model for detecting small defects on elevator guide rail pressure plates. By optimizing the YOLOv8n architecture with MobileNetV3, GhostConv, an added P2 detection layer, and CBAM, LGR-Net achieves high accuracy and efficiency, making it suitable for real-world industrial applications.

What Problem Does This Paper Address?

Elevator safety relies on the integrity of guide rail pressure plates, which secure guide rails and manage displacement. Defects like pitting corrosion can compromise these plates' structural soundness, potentially leading to accidents. Detecting these defects, especially small ones, is crucial but challenging for current computer vision algorithms. Existing methods often struggle with high localization accuracy and computational efficiency, particularly when dealing with tiny defects that occupy few pixels. This makes real-time, on-device detection difficult, especially in industrial settings with limited computing power.

Methods

The researchers propose LGR-Net, a novel lightweight defect detection network built upon the YOLOv8n architecture. Key modifications include:

  • Lightweight Backbone: Replacing YOLOv8n's original backbone with MobileNetV3 to significantly reduce parameter count (approx. 20% reduction).
  • Optimized Neck Network: Incorporating the GhostConv module to further optimize the feature fusion network, leading to an additional 4% parameter reduction.
  • Enhanced Small Object Detection:
    • P2 Detection Layer: An additional, higher-resolution detection layer (P2) is introduced to better capture fine details of small defects, mitigating feature loss during downsampling. This creates a four-scale feature fusion network.
  • Convolutional Block Attention Module (CBAM): Integrated after the P2 layer to enhance the model's focus on critical features by adaptively adjusting channel and spatial attention weights, improving the detection of tiny defects.

Datasets

The study utilized a custom-built dataset for elevator guide rail clamp defects. This dataset comprises 1000 images captured from various angles and positions, featuring several defect types: pitting holes, cracks, scratches, and wear. Data augmentation techniques (random rotation, scaling, flipping, brightness adjustment, noise addition) were applied to expand the dataset to 2000 images. This augmented dataset was then split into training (80%), validation (10%), and testing (10%) sets.

Key Insights and Ideas

  • The "Tiny Defect" Challenge: The paper highlights how standard object detection models, even advanced ones like YOLOv8, struggle with extremely small defects due to aggressive downsampling in deeper layers, leading to loss of crucial feature information.
  • Multi-Scale Fusion is Key: The introduction of the P2 layer, creating a four-scale feature fusion, is critical for capturing both low-level details and high-level semantic information, which is essential for detecting small objects.
  • Attention for Precision: CBAM's ability to dynamically weigh channel and spatial features proves vital for pinpointing small, subtle defects amidst background noise or complex textures.
  • Lightweighting for Deployment: The combination of MobileNetV3 and GhostConv demonstrates that significant parameter reduction and computational efficiency can be achieved without substantial performance degradation, paving the way for deployment on edge devices.

Key Results

LGR-Net demonstrated superior performance compared to the baseline YOLOv8n and other YOLO variants:

  • Accuracy: Achieved a precision of 98.7%, recall of 98.9%, and an [email protected] of 99.4%.
  • Efficiency: Reduced parameter count to 2,412,118 (a 31.4% reduction compared to YOLOv8n).
  • Inference Speed: Showed a 44% improvement in inference speed on a low-computing-power device (124 FPS vs. YOLOv8n's 86 FPS).
  • Computational Complexity: Lower computational complexity (5.7 GFLOPs vs. YOLOv8n's 8.1 GFLOPs).
  • Ablation Studies: Sequential introduction of modules (MobileNetV3, GhostConv, P2 layer, CBAM) showed consistent improvements, with the full LGR-Net architecture achieving the best results.
  • Qualitative Results: Visualizations clearly show LGR-Net's ability to detect small defects that YOLOv8 missed, with more accurate localization and higher confidence scores.

Limitations and Future Work

  • Dataset Specificity: The model was trained and evaluated on a custom dataset of elevator guide rail pressure plates. While effective for this specific task, its generalization to other types of industrial defects might require further validation.
  • Real-world Variability: While the paper mentions robustness to Gaussian noise, further testing in diverse real-world industrial environments with varying lighting conditions and complex textures would be beneficial.
  • Future Work: The authors suggest that LGR-Net's efficiency and accuracy make it suitable for practical deployment in industrial settings, implying potential for integration into automated inspection systems. Further research could explore its application to a wider range of industrial defect detection tasks.

Summary updated

Abstract

In elevator systems, pressure plates secure guide rails and limit displacement, but defects compromise their performance under stress. Current detection algorithms face challenges in achieving high localization accuracy and computational efficiency when detecting small defects in guide rail pressure plates. To overcome these limitations, this paper proposes a lightweight defect detection network (LGR-Net) for guide rail pressure plates based on the YOLOv8n algorithm. To solve the problem of excessive model parameters in the original algorithm, we enhance the baseline model's backbone network by incorporating the lightweight MobileNetV3 and optimize the neck network using the Ghost convolution module (GhostConv). To improve the localization accuracy for small defects, we add a high-resolution small object detection layer (P2 layer) and integrate the Convolutional Block Attention Module (CBAM) to construct a four-scale feature fusion network. This study employs various data augmentation methods to construct a custom dataset for guide rail pressure plate defect detection. The experimental results show that LGR-Net outperforms other YOLO-series models in terms of overall performance, achieving optimal results in terms of precision (<i>p</i> = 98.7%), recall (R = 98.9%), mAP (99.4%), and parameter count (2,412,118). LGR-Net achieves low computational complexity and high detection accuracy, providing an efficient and effective solution for defect detection in elevator guide rail pressure plates.
BibTeX
@inproceedings{gao2025lgr,
  author = {Ruizhen Gao and Meng Chen and Yue Pan and Jiaxin Zhang and Haipeng Zhang and Ziyue Zhao},
  title = {{LGR-Net: A Lightweight Defect Detection Network Aimed at Elevator Guide Rail Pressure Plates}},
  booktitle = {Sensors},
  year = {2025},
  doi = {10.3390/s25061702},
}
Figure