Abstract

As an essential element in industrial steel, automatic defect recognition can guarantee the surface quality through focused supervised learning with ample labelled samples. However, defect recognition inevitably features with data-limiting characteristic under the influence of costly expert labelling. To address this problem, a novel framework, Instance Contrast (InCo), is proposed with the inspiration of contrastive learning. This framework consists of two streams. One with instance labels attributed to the unlabelled data in each batch for classification, which is called Batch Instance Discrimination (BID). The other with different enhanced samples embedding of the same image aggregated by a new function named dynamic weighted variance loss (DWV loss). Therefore, better semantic features can be learned by model due to the moderation of embedding distance between similar steel defect images. Experimental results on the NEU-CLS database validate that the proposed method achieves 89.86% classification accuracy with only fine-tuning on the 1:32 training data, outperforming other general contrastive learning methods.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call