Papers › Efficient Self-supervised Vision Transformers for Representation Learning

Efficient Self-supervised Vision Transformers for Representation Learning

17 Jun 2021ICLR 2022 4arXiv:2106.09785archive 2025-07-28

Chunyuan Li, Jianwei Yang, Pengchuan Zhang, Mei Gao, Bin Xiao, Xiyang Dai, Lu Yuan, Jianfeng Gao

This paper investigates two techniques for developing efficient self-supervised vision transformers (EsViT) for visual representation learning. First, we show through a comprehensive empirical study that multi-stage architectures with sparse self-attentions can significantly reduce modeling complexity but with a cost of losing the ability to capture fine-grained correspondences between image regions. Second, we propose a new pre-training task of region matching which allows the model to capture fine-grained region dependencies and as a result significantly improves the quality of the learned vision representations. Our results show that combining the two techniques, EsViT achieves 81.3% top-1 on the ImageNet linear probe evaluation, outperforming prior arts with around an order magnitude of higher throughput. When transferring to downstream linear classification tasks, EsViT outperforms its supervised counterpart on 17 out of 18 datasets. The code and models are publicly available: https://github.com/microsoft/esvit

PaperPDFConference PDFCodeCode 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="2106.09785")

Code

Syntology Ran 2 of 6 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/esvit officialmentioned in papermentioned 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

6 samples harvested; 2 ran; 0 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.

2ran
4unverified

Licence: 0 of the 6 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 microsoft/esvit. “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.

PatchEmbed microsoft/esvit/models/swin_transformer.py official repository ran · metamorphic tier: invariant MIT (permissive) · f7fcf540ff7b9a1e · report
PatchMerging microsoft/esvit/models/swin_transformer.py official repository ran · metamorphic tier: invariant MIT (permissive) · fd8f760f4a030218 · report
BasicLayer microsoft/esvit/models/swin_transformer.py official repository unverified MIT (permissive) · c3e0b48845da21b7 · report
SwinTransformer microsoft/esvit/models/swin_transformer.py official repository unverified MIT (permissive) · 09f9c77057fb0a2e · report
SwinTransformerBlock microsoft/esvit/models/swin_transformer.py official repository unverified MIT (permissive) · 65e2245eb3e718e0 · report
WindowAttention microsoft/esvit/models/swin_transformer.py official repository unverified MIT (permissive) · 9951a2e090a99f11 · report

Tasks

Representation LearningSelf-Supervised Image Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Self-Supervised Image Classification ImageNet EsViT (Swin-B) Number of Params 87M #15 of 144 Archive leaderboard report
Self-Supervised Image Classification ImageNet EsViT (Swin-B) Top 1 Accuracy 81.3 #15 of 144 Archive leaderboard report
Self-Supervised Image Classification ImageNet EsViT (Swin-B) Top 5 Accuracy 95.5 #15 of 144 Archive leaderboard report
Self-Supervised Image Classification ImageNet EsViT(Swin-S) Number of Params 49M #19 of 144 Archive leaderboard report
Self-Supervised Image Classification ImageNet EsViT(Swin-S) Top 1 Accuracy 80.8 #19 of 144 Archive leaderboard report
Self-Supervised Image Classification ImageNet (finetuned) EsViT (Swin-B) Number of Params 87M #40 of 65 Archive leaderboard report
Self-Supervised Image Classification ImageNet (finetuned) EsViT (Swin-B) Top 1 Accuracy 83.9% #40 of 65 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: EsViT

EsViT

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