Papers › VICRegL: Self-Supervised Learning of Local Visual Features

VICRegL: Self-Supervised Learning of Local Visual Features

4 Oct 2022arXiv:2210.01571archive 2025-07-28

Adrien Bardes, Jean Ponce, Yann Lecun

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

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2210.01571")

Code

Syntology Ran 16 of 20 code samples harvested from 3 repositories linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 6 ran · our draft was wrong; 4 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 8 ran; community (archive-listed): 9 samples from 2 repositories, 7 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/vicregl officialmentioned in papermentioned on GitHubpytorch report
Futurne/vicreg-loss mentioned on GitHubpytorch report
lightly-ai/lightly mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · honoured contract
6ran · our draft was wrong
4ran · fixture could not drive it
4ran
4unverified

Licence: 13 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MLP facebookresearch/vicregl/main_vicregl.py official repository ran · our draft was wrong licence not identified · pointer only · 0393d6f458d1bd7e · report
accuracy facebookresearch/vicregl/main_vicregl.py official repository ran · fixture could not drive it licence not identified · pointer only · f59a1c321043b890 · report
batch_all_gather facebookresearch/vicregl/main_vicregl.py official repository ran · our draft was wrong licence not identified · pointer only · e413e4905a6a548b · report
batched_index_select facebookresearch/VICRegL/main_vicregl.py official repository ran · fixture could not drive it licence not identified · pointer only · 1345f4fc63011f70 · report
make_inputs facebookresearch/VICRegL/main_vicregl.py official repository ran · fixture could not drive it licence not identified · pointer only · 62036ceee17bee5d · report
neirest_neighbores facebookresearch/VICRegL/main_vicregl.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · d53b48478f98d717 · report
neirest_neighbores_on_l2 facebookresearch/vicregl/main_vicregl.py official repository ran · our draft was wrong licence not identified · pointer only · 80bfa31403ede22a · report
neirest_neighbores_on_location facebookresearch/vicregl/main_vicregl.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · 8e775945d18d2299 · report
VICRegL facebookresearch/vicregl/main_vicregl.py official repository unverified licence not identified · pointer only · bbe9eaa0bec2c145 · report
gather_center facebookresearch/vicregl/main_vicregl.py official repository unverified licence not identified · pointer only · 7fe4deeb043278d7 · report
GatherLayer lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) ran MIT (permissive) · ba565bd2bd01c209 · report
VICRegLLoss Futurne/vicreg-loss/vicreg_loss/vicregl.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 813497ec5b533d79 · report
VICRegLoss Futurne/vicreg-loss/vicreg_loss/vicregl.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 43e2587f6349819b · report
VICRegLoss lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 90c615a3b586fa8c · report
covariance_loss lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 15d4e6fc5c5683f1 · report
invariance_loss lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · a20e1319851797c7 · report
variance_loss lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 44598859a9de393b · report
VICRegLLoss lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) unverified MIT (permissive) · 6fc75c85f0b33a2c · report
gather lightly-ai/lightly/lightly/loss/vicregl_loss.py community (archive-listed) unverified MIT (permissive) · f60f882797a1d561 · report
accuracy identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · b0f936d4d6ae3b8c · report

Tasks

SegmentationSelf-Supervised Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections