Papers › Siamese Image Modeling for Self-Supervised Vision Representation Learning

Siamese Image Modeling for Self-Supervised Vision Representation Learning

2 Jun 2022CVPR 2023 1arXiv:2206.01204archive 2025-07-28

Chenxin Tao, Xizhou Zhu, Weijie Su, Gao Huang, Bin Li, Jie zhou, Yu Qiao, Xiaogang Wang, Jifeng Dai

Self-supervised learning (SSL) has delivered superior performance on a variety of downstream vision tasks. Two main-stream SSL frameworks have been proposed, i.e., Instance Discrimination (ID) and Masked Image Modeling (MIM). ID pulls together representations from different views of the same image, while avoiding feature collapse. It lacks spatial sensitivity, which requires modeling the local structure within each image. On the other hand, MIM reconstructs the original content given a masked image. It instead does not have good semantic alignment, which requires projecting semantically similar views into nearby representations. To address this dilemma, we observe that (1) semantic alignment can be achieved by matching different image views with strong augmentations; (2) spatial sensitivity can benefit from predicting dense representations with masked images. Driven by these analysis, we propose Siamese Image Modeling (SiameseIM), which predicts the dense representations of an augmented view, based on another masked view from the same image but with different augmentations. SiameseIM uses a Siamese network with two branches. The online branch encodes the first view, and predicts the second view's representation according to the relative positions between these two views. The target branch produces the target by encoding the second view. SiameseIM can surpass both ID and MIM on a wide range of downstream tasks, including ImageNet finetuning and linear probing, COCO and LVIS detection, and ADE20k semantic segmentation. The improvement is more significant in few-shot, long-tail and robustness-concerned scenarios. Code shall be released at https://github.com/fundamentalvision/Siamese-Image-Modeling.

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="2206.01204")

Code

Syntology Ran 2 of 7 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · fixture could not drive it.

By repository: community (archive-listed): 7 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.

fundamentalvision/siamese-image-modeling officialmentioned in papermentioned on GitHub report
fundamentalvision/unigrad mentioned on GitHubpytorchApache-2.0 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

7 samples harvested; 2 ran; 0 honoured the contract we drafted; 5 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 · fixture could not drive it
5unverified

Licence: 0 of the 7 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 fundamentalvision/unigrad. “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.

accuracy fundamentalvision/unigrad/lineval.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 131a82fd65128218 · report
validate fundamentalvision/unigrad/lineval.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 63ce1d5edf8fb0a0 · report
build_dataloader fundamentalvision/unigrad/project/dataloader.py community (archive-listed) unverified Apache-2.0 (permissive) · 28f62e0c183cc93f · report
build_model fundamentalvision/unigrad/project/model.py community (archive-listed) unverified Apache-2.0 (permissive) · 014a0e97a9d25469 · report
concat_all_gather fundamentalvision/unigrad/project/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 73cecca9f3575f09 · report
get_logger fundamentalvision/unigrad/project/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 3637b63ede9883b8 · report
init_environ fundamentalvision/unigrad/project/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · ed80ac83a60f2121 · report

Tasks

Representation LearningSelf-Supervised LearningSemantic SegmentationSensitivity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

MIMSiamese Network

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