Abstract

Façade defect classification based on deep learning has made great progresses in recent years. However, deep learning models commonly need abundant labeled data for training, and it could be impractical and expensive to collect sufficient labeled samples for all classes of defects. Sometimes, there are only a few samples in rare classes, which are not able to support the training process. In addition, common classifiers based on deep learning cannot easily extend their recognition classes and thus cannot classify unseen classes with only a few samples. Therefore, to overcome the problem of insufficient data and the extension constraint of the classifier, a few-shot classification method based on an extensible classifier and contrastive learning is proposed to recognize unseen classes with limited (1, 2 or 5) samples. The extensible classifier implemented by imprinting weights can easily extend the model to classify unseen classes with a few samples. Meanwhile, contrastive learning, which is a complementary task in training, is used to enrich the model’s generalization and representation on unseen classes. Besides, a hard negative mining (HNM) method is introduced to address the imbalanced data in contrastive learning and further improve accuracies. Experimental results demonstrate that the proposed method improves the few-shot classification accuracy with only 1 sample from 35.8% to 63.5% on novel and unseen classes, and from 73.1% to 82.1% on all classes, while maintaining a high and comparable accuracy (89.6%) on base classes.

Full Text
Paper version not known

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.