Abstract
We investigate and improve self-supervision as a drop-in replacement for ImageNet pretraining, focusing on automatic colorization as the proxy task. Self-supervised training has been shown to be more promising for utilizing unlabeled data than other, traditional unsupervised learning methods. We build on this success and evaluate the ability of our self-supervised network in several contexts. On VOC segmentation and classification tasks, we present results that are state-of-the-art among methods not using ImageNet labels for pretraining representations. Moreover, we present the first in-depth analysis of self-supervision via colorization, concluding that formulation of the loss, training details and network architecture play important roles in its effectiveness. This investigation is further expanded by revisiting the ImageNet pretraining paradigm, asking questions such as: How much training data is needed? How many labels are needed? How much do features change when fine-tuned? We relate these questions back to self-supervision by showing that colorization provides a similarly powerful supervisory signal as various flavors of ImageNet pretraining.
Introduction: The Challenge of Human Annotation
The "ImageNet paradigm"—pretraining models on massive human-labeled datasets before fine-tuning them for specific tasks—has been the bedrock of computer vision. However, human annotation is expensive, slow, and doesn't scale well to new domains like medical imaging. This research explores self-supervised learning, where the supervisory signal is derived directly from the data itself, allowing models to learn from millions of unlabeled images.
Methods: Learning from Color
The authors propose teaching a neural network to colorize grayscale images as a "proxy task" for visual understanding. To color a "bird" or a "car" correctly, the network must first learn to recognize what these objects are. The core approach involves splitting an image into its intensity (L) and color (a, b) components in the Lab* color space. The network is fed the grayscale L channel and tasked with predicting the color channels.
Key technical choices include:
- Loss Function: Instead of simple regression, the authors found that predicting histograms of hue and chroma (using KL divergence loss) was significantly more effective. This allows the model to handle the inherent ambiguity of color (e.g., a shirt could be blue or red).
- Architecture: The study utilized VGG-16 and ResNet-152. For segmentation tasks, hypercolumns were used to combine features from multiple layers, capturing both fine details and global context.
- Scale: The model was trained on a massive unlabeled dataset of 3.7 million images from ImageNet and Places205.
Key Results and Insights
- Semantic Emergence: Feature visualizations show that the network develops "object-specific" neurons (e.g., face or vehicle detectors) entirely through self-supervision.
- State-of-the-Art Performance: On VOC 2012 semantic segmentation, the ResNet-152 model achieved 60.0% mIU, a new state-of-the-art for methods not using ImageNet labels. On VOC 2007 classification, it reached 77.3% mAP.
- Scaling Up: Unlike previous self-supervised methods, this approach scales beautifully with deeper architectures. Moving from VGG-16 to ResNet-152 provided a significant performance boost.
- The Value of Unlabeled Data: The authors estimate that self-supervised training on 3.7M images provides a signal roughly equivalent to 100,000 high-quality human labels.
Conclusion
While a gap remains between self-supervision and full ImageNet supervision (86.9% mAP), this work demonstrates that colorization is a remarkably effective proxy task. The results suggest that combining multiple self-supervised tasks—such as colorization and inpainting—could eventually lead to models that surpass supervised pretraining entirely, unlocking the potential of vast, unlabeled datasets.
Summary updated