Abstract
Traditional supervised learning continues to push Convolutional Neural Networks (CNNs) toward state-of-the-art performance. However, the scarcity of large-scale annotated data remains a significant bottleneck due to high labeling costs; even benchmarks like ImageNet are increasingly over-fitted by complex models. Inspired by the success of unsupervised methods like BERT in Natural Language Processing (NLP), we propose a novel unsupervised learning framework based on Contrastive Predictive Coding (CPC). Our method enables training on unlabeled images to achieve performance levels comparable to supervised models of similar complexity. By leveraging unlimited training samples, this approach paves the way for universal, large-scale pre-trained computer vision models.
Introduction: The Texture Bias Problem
In deep learning, high-quality human-annotated data is a precious resource. Beyond the cost of acquisition, standard CNNs suffer from a fundamental "texture bias." While humans identify objects primarily by shape, CNNs often rely on superficial textures (e.g., fur patterns to identify a cat). This reliance makes models fragile under varying lighting or background conditions. We address this by introducing an unsupervised method that forces models to prioritize underlying geometry (shape) over superficial patterns.
Methodology
Our framework utilizes a three-pronged approach to learn robust visual representations without human labels.
1. Contrastive Predictive Coding (CPC)
The model uses the image itself as a supervisory signal. An image is decomposed into a 7x7 grid of overlapping patches. The objective is to predict the feature vectors of "missing" patches based on the surrounding "context" patches.
2. Transformer-based Autoregression
Unlike previous CPC implementations that used RNNs or LSTMs, we employ Transformers to model spatial dependencies. This architecture facilitates better parallelization and allows the model to capture long-range relationships across the image grid.
3. Increasing Shape Bias via Neural Style Transfer
To prevent the model from "cheating" by using local textures to predict neighbors, we apply Neural Style Transfer. By generating five versions of each training image—each with a distinct artistic style—the model is forced to identify the common denominator: the object's shape. This process treats texture as "negative information" that must be filtered out to reach high-level latent representations.
Key Insights: Spatial Context and Self-Supervision
A critical component of our approach is the use of spatial context. By employing a 7x7 grid with 50% overlap, the model learns the inherent redundancy and spatial correlation in visual data. This forces an understanding of how components (e.g., a wheel) relate to the global structure (e.g., a car).
This "self-supervision" creates a supervised learning environment from unlabeled data, allowing for virtually unlimited training scales.
Experimental Results and Datasets
We evaluated our framework on two major benchmarks:
- ImageNet: Used to verify the transferability of unsupervised pre-training to standard classification tasks.
- Webvision: A massive, "noisy" dataset of web-crawled images, serving as an ideal environment for testing unsupervised robustness.
Preliminary results indicate that our method achieves state-of-the-art performance levels comparable to supervised models of equivalent complexity, effectively bridging the gap between supervised and unsupervised vision tasks.
Limitations and Future Outlook
While promising, the current approach involves significant computational overhead due to the generation of multiple style-transferred image versions. Future research will explore more diverse or learned augmentations to further decouple shape from texture. The ultimate goal remains the development of a "universal" large-scale pre-trained vision model capable of scaling to billions of images.
Summary updated