Papers › Understanding self-supervised Learning Dynamics without Contrastive Pairs

Understanding self-supervised Learning Dynamics without Contrastive Pairs

12 Feb 2021arXiv:2102.06810archive 2025-07-28

Yuandong Tian, Xinlei Chen, Surya Ganguli

While contrastive approaches of self-supervised learning (SSL) learn representations by minimizing the distance between two augmented views of the same data point (positive pairs) and maximizing views from different data points (negative pairs), recent \emph{non-contrastive} SSL (e.g., BYOL and SimSiam) show remarkable performance {\it without} negative pairs, with an extra learnable predictor and a stop-gradient operation. A fundamental question arises: why do these methods not collapse into trivial representations? We answer this question via a simple theoretical study and propose a novel approach, DirectPred, that \emph{directly} sets the linear predictor based on the statistics of its inputs, without gradient training. On ImageNet, it performs comparably with more complex two-layer non-linear predictors that employ BatchNorm and outperforms a linear predictor by 2.5% in 300-epoch training (and 5% in 60-epoch). DirectPred is motivated by our theoretical study of the nonlinear learning dynamics of non-contrastive SSL in simple linear networks. Our study yields conceptual insights into how non-contrastive SSL methods learn, how they avoid representational collapse, and how multiple factors, like predictor networks, stop-gradients, exponential moving averages, and weight decay all come into play. Our simple theory recapitulates the results of real-world ablation studies in both STL-10 and ImageNet. Code is released https://github.com/facebookresearch/luckmatters/tree/master/ssl.

PaperPDFCodeCode Syntology ran

In Syntology 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="2102.06810")

Code

Syntology Ran 5 of 9 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · violated contract; 1 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 2 ran; community (archive-listed): 1 sample from 1 repository, 1 ran; 2 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/luckmatters officialmentioned in papermentioned on GitHubpytorch report
fmi-basel/implicit-var-reg mentioned on GitHubpytorch report
lucidrains/byol-pytorch mentioned on GitHubpytorch report
miszkur/SelfSupervisedLearning mentioned on GitHubtf 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

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

1ran · honoured contract
3ran · violated contract
1ran
4unverified

Licence: 8 of the 9 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 2 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.

Accumulator facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository ran licence not identified · pointer only · 551a048173369c49 · report
random_orthonormal_matrix facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · 418a6e830639c7e1 · report
BYOLTrainer facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository unverified licence not identified · pointer only · a25c0f4514f8e550 · report
_create_model_training_folder facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository unverified licence not identified · pointer only · 5b53f8127f8ee5f7 · report
check_valid facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository unverified licence not identified · pointer only · 34e6134013a7af6e · report
weights_init facebookresearch/luckmatters/ssl/real-dataset/byol_trainer.py official repository unverified licence not identified · pointer only · f9ada57830668708 · report
default lucidrains/byol-pytorch/byol_pytorch/byol_pytorch.py community (archive-listed) ran · violated contract MIT (permissive) · 1c0f269ae9673b08 · report
divisible_by identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · f912c209e9c899ca · report
exists identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · b7c3487f192e31b7 · report

Tasks

Self-Supervised Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BYOLWeight Decay

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