[Paper Review] VICRegL: Self-Supervised Learning of Local Visual Features
VICRegL proposes a self-supervised method that jointly learns global and local visual features by applying the VICReg criterion to both global feature vectors and local feature vectors pooled before the final pooling layer. By matching features based on spatial proximity and embedding similarity, it achieves state-of-the-art performance on segmentation tasks (e.g., 67.5 mIoU on Pascal VOC with ConvNeXt-S) while maintaining strong linear classification accuracy.
Most recent self-supervised methods for learning image representations focus on either producing a global feature with invariance properties, or producing a set of local features. The former works best for classification tasks while the latter is best for detection and segmentation tasks. This paper explores the fundamental trade-off between learning local and global features. A new method called VICRegL is proposed that learns good global and local features simultaneously, yielding excellent performance on detection and segmentation tasks while maintaining good performance on classification tasks. Concretely, two identical branches of a standard convolutional net architecture are fed two differently distorted versions of the same image. The VICReg criterion is applied to pairs of global feature vectors. Simultaneously, the VICReg criterion is applied to pairs of local feature vectors occurring before the last pooling layer. Two local feature vectors are attracted to each other if their l2-distance is below a threshold or if their relative locations are consistent with a known geometric transformation between the two input images. We demonstrate strong performance on linear classification and segmentation transfer tasks. Code and pretrained models are publicly available at: https://github.com/facebookresearch/VICRegL
Motivation & Objective
- To address the trade-off between learning global and local visual features in self-supervised representation learning.
- To enable joint learning of global invariance and local spatial structure without relying on precomputed segmentation masks.
- To improve performance on dense prediction tasks like semantic segmentation while preserving classification accuracy.
- To explore the effectiveness of non-contrastive, variance- and covariance-regularized learning for local feature matching.
- To demonstrate that convolutional networks can achieve competitive performance with vision transformers in self-supervised learning when local features are explicitly modeled.
Proposed method
- Uses a dual-branch convolutional network with identical weights, each processing a different augmented view of the same image.
- Applies the VICReg criterion to global feature vectors (after final pooling) to enforce invariance and prevent collapse.
- Applies a local criterion to feature maps before pooling, matching feature vectors based on both $l^2$ distance in pixel space and embedding space.
- Matches local features if their $l^2$ distance is below a threshold or if their relative positions are consistent with a geometric transformation between views.
- Uses a weighted combination of spatial and embedding-space proximity to define positive matches for local features.
- Employs the non-contrastive VICReg loss for local features, avoiding negative sampling and reducing risk of misaligning true positive matches.
Experimental results
Research questions
- RQ1Can global and local visual features be effectively learned simultaneously in a self-supervised manner without requiring precomputed segmentation masks?
- RQ2How does matching local features based on spatial and embedding-space proximity affect downstream segmentation performance?
- RQ3Does the non-contrastive VICReg loss for local features outperform contrastive alternatives when applied to local features?
- RQ4To what extent does the inclusion of variance and covariance regularization in the local loss improve feature quality?
- RQ5Can convolutional networks achieve competitive performance on dense prediction tasks when explicitly learning local features, rivaling vision transformers?
Key findings
- VICRegL achieves 55.9 mIoU on the Pascal VOC linear frozen semantic segmentation benchmark with a ResNet-50 backbone, representing an 8.1 mIoU improvement over VICReg.
- With a ConvNeXt-S backbone, VICRegL reaches 67.5 mIoU on the same benchmark, a 6.6 mIoU improvement over VICReg.
- The addition of variance and covariance regularization to the local loss improves segmentation performance by +0.8 mIoU and +1.3 mIoU, respectively, with no significant impact on classification accuracy.
- The method maintains strong linear classification performance on ImageNet, demonstrating that learning local features does not degrade global representation quality.
- The multi-crop data augmentation strategy further enhances performance, with consistent improvements in segmentation across all backbones.
- Visualization confirms that feature-based matching aligns semantically coherent regions (e.g., sky, grass) across views, indicating effective local feature learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.