Introduction
Self-supervised visual representation learning has traditionally relied on "instance discrimination," where models learn to distinguish between different images while remaining invariant to augmentations of the same image. While effective for image-level tasks like classification, this paradigm often fails to capture the fine-grained spatial information necessary for dense prediction tasks, such as object detection and semantic segmentation. This paper introduces PixPro, a pixel-level consistency task designed to bridge this gap by focusing on spatial sensitivity.
The Pixel-to-Propagation Consistency (PixPro) Framework
The core innovation of this work is the transition from image-level to pixel-level supervision. The authors propose two variants: PixContrast, which applies contrastive learning to individual pixels, and PixPro, which focuses on consistency without the need for negative pairs.
Pixel Propagation Module (PPM)
PixPro utilizes an asymmetric architecture where one branch processes a view through a standard backbone and projection head, while a momentum branch generates features for a second view. To encourage spatial smoothness and sensitivity, the model introduces the Pixel Propagation Module (PPM). The PPM computes a refined feature for a target pixel by aggregating features from its neighbors based on their cosine similarity. This "propagation" ensures that the model learns to group related pixels together, effectively acting as a learned spatial prior.
The training objective encourages the feature of a pixel in one view to be consistent with the propagated feature of the corresponding pixel in the other view. This balance between pixel-level discrimination and neighborhood smoothness is key to its success in dense tasks.
Experimental Results
The authors pre-trained a ResNet-50 backbone on ImageNet-1K without labels and evaluated its transferability across several dense prediction benchmarks.
Performance on Dense Tasks
PixPro sets a new state-of-the-art for unsupervised representation learning on spatial tasks. On Pascal VOC object detection, PixPro achieved 60.2 AP, outperforming MoCo v2 by a significant 2.6 points. Similar gains were observed on COCO (41.4 mAP) and Cityscapes (77.2 mIoU), where it even surpassed supervised pre-training in some metrics.
Key Insights
- Head Pre-training: Unlike standard SSL which only pre-trains the backbone, PixPro's pixel-level nature allows for the pre-training of head networks like Feature Pyramid Networks (FPN), further boosting downstream performance.
- Efficiency: Despite the added complexity of pixel-level operations, the PPM adds negligible computational overhead (approximately 0.4G FLOPs) compared to instance-level methods.
- Task Specialization: While PixPro slightly lags behind instance-level methods on ImageNet linear classification, its superiority in spatial tasks suggests that task-specific pretext tasks are a promising research direction for dense prediction.
Conclusion
PixPro demonstrates that incorporating spatial consistency into self-supervised learning significantly improves the quality of representations for dense prediction. By moving beyond instance-level labels to pixel-level propagation, the model learns a more nuanced understanding of image structure, paving the way for more effective unsupervised learning in computer vision.
Summary updated