VICRegL: Self-Supervised Learning of Local Visual Features
Adrien Bardes, Jean Ponce, Yann LeCun
TL;DR
The paper addresses the need for self-supervised learning methods that capture both global image semantics and local spatial structure without segmentation masks.It introduces VICRegL, a two-branch framework that adds local feature matching (location- and embedding-based) to the VICReg global objective, enabling simultaneous learning of global and local representations.Through extensive experiments on ImageNet, Pascal VOC, Cityscapes, and ADE20k, VICRegL demonstrates strong segmentation gains while preserving classification performance, with ConvNeXt backbones yielding notable improvements.The work presents a detailed ablation analysis and qualitative visualizations, highlighting the trade-off between local and global cues and the robustness of mask-free local matching.
Abstract
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
