Self-supervised Semi-supervised Learning for Data Labeling and Quality Evaluation

Haoping Bai, Meng Cao, Ping Huang, Jiulong ShanarXiv 2021

Abstract

As the adoption of deep learning techniques in industrial applications grows with increasing speed and scale, successful deployment of deep learning models often hinges on the availability, volume, and quality of annotated data. In this paper, we tackle the problems of efficient data labeling and annotation verification under the human-in-the-loop setting. We showcase that the latest advancements in the field of self-supervised visual representation learning can lead to tools and methods that benefit the curation and engineering of natural image datasets, reducing annotation cost and increasing annotation quality. We propose a unifying framework by leveraging self-supervised semi-supervised learning and use it to construct workflows for data labeling and annotation verification tasks. We demonstrate the effectiveness of our workflows over existing methodologies. On active learning task, our method achieves 97.0% Top-1 Accuracy on CIFAR10 with 0.1% annotated data, and 83.9% Top-1 Accuracy on CIFAR100 with 10% annotated data. When learning with 50% of wrong labels, our method achieves 97.4% Top-1 Accuracy on CIFAR10 and 85.5% Top-1 Accuracy on CIFAR100.

Introduction

In the industrial application of deep learning, the primary bottleneck is often not model architecture, but the availability of high-quality, human-verified data. Manual annotation is a labor-intensive process that scales poorly. This paper introduces a framework designed to alleviate this "data bottleneck" by combining self-supervised visual representations with graph-based label propagation. This approach addresses two critical needs: efficient labeling of new data (Active Learning) and the detection/correction of errors in existing datasets (Quality Evaluation).

Methodology

The proposed framework avoids the high computational cost of iterative neural network retraining through a three-step pipeline:

  1. Self-supervised Learning (SSL): A Vision Transformer (ViT) is trained using the BYOL (Bootstrap Your Own Latent) objective on unlabeled images. This allows the model to learn meaningful visual features—such as textures and object shapes—without human intervention.
  2. k-Nearest Neighbor (k-NN) Graph: Images are mapped into a high-dimensional feature space based on these learned representations. A graph is then constructed where each image is connected to its most visually similar neighbors.
  3. Label Propagation (LP): Labels are "spread" from a small set of human-verified images to their neighbors in the graph via matrix multiplication. This linear algebra approach is nearly instantaneous, making it ideal for real-time human-in-the-loop systems.

Efficient Data Labeling

The core insight of this work is that modern self-supervised models are exceptionally good at grouping similar objects in feature space. Consequently, labeling a single instance can effectively label hundreds of similar neighbors.

Performance on CIFAR10 and CIFAR100 showing high accuracy with minimal annotated data. The proposed method (green) significantly outperforms baselines.

As shown in the results, the method achieves 97.0% Top-1 Accuracy on CIFAR10 with only 0.1% of the data labeled. On the more complex CIFAR100 dataset, it reaches 83.9% accuracy with 10% labels, significantly outperforming traditional supervised baselines and prior work.

Quality Evaluation and Noise Robustness

The graph-based approach also serves as a robust filter for label noise. By assuming that neighboring images in feature space should share the same label, the system can identify "outlier" labels that contradict their neighbors.

Robustness to label noise: comparing k-NN and k-NN + LP across different noise levels. The LP step provides significant stability even at 50% noise.

Even when 50% of the training labels are intentionally corrupted, the framework maintains a high accuracy of 97.4% on CIFAR10 and 85.5% on CIFAR100. The performance only begins to collapse at extreme noise levels (90%), where the correct signal is entirely overwhelmed by incorrect data.

Conclusion

By leveraging the inherent structure of self-supervised feature spaces, this framework provides a scalable and efficient solution for data engineering. It drastically reduces the human effort required for labeling while simultaneously providing a mechanism for automated quality control, paving the way for more efficient industrial deep learning deployments.

Summary updated

BibTeX
@misc{bai2021self,
  author = {Haoping Bai and Meng Cao and Ping Huang and Jiulong Shan},
  title = {{Self-supervised Semi-supervised Learning for Data Labeling and Quality Evaluation}},
  year = {2021},
  eprint = {2111.10932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.10932},
}
Figure