Powder bed quality is critical in Laser Powder Bed Fusion (LPBF) as defects in the powder bed will affect the quality of the forming parts. Recently, numerous powder bed defect detection methods based on semantic segmentation algorithms have been developed. However, due to the computational resource constraints and real-time requirements in industry scenarios, these heavy models face challenges in deploying into the LPBF process monitoring system. Meanwhile, existing lightweight models struggle to achieve sufficient performance on industrial data due to their limited feature extraction capabilities. To address the challenges in industrial deployment, this paper proposes a lightweight and efficient LPBF layer-wise defect detection paradigm to achieve a balance between performance and efficiency. Aiming at improving the performance of the lightweight model, this paper proposes a structured Knowledge Distillation framework, in which a pre-trained high-performance segmentation model (UNet++) is used to guide the training process of a lightweight model. To address the impact of model discrepancies on the effectiveness of Knowledge Distillation and further improve the inference speed, this paper constructs a specific lightweight model and applies Structural Re-parameterization to deeply compress the model. Moreover, we created a dataset comprising 406 images of powder-bed defects, with each image annotated at the pixel level. Massive experiments based on the dataset demonstrate the effectiveness of the proposed paradigm, with an excellent trade-off in performance and efficiency. The speed of the proposed model is approximately 5 times faster than that of high-performance models while maintaining comparable performance.
Read full abstract