Papers › A Self-Supervised Descriptor for Image Copy Detection

A Self-Supervised Descriptor for Image Copy Detection

21 Feb 2022CVPR 2022 1arXiv:2202.10261archive 2025-07-28

Ed Pizzi, Sreya Dutta Roy, Sugosh Nagavara Ravindra, Priya Goyal, Matthijs Douze

Image copy detection is an important task for content moderation. We introduce SSCD, a model that builds on a recent self-supervised contrastive training objective. We adapt this method to the copy detection task by changing the architecture and training objective, including a pooling operator from the instance matching literature, and adapting contrastive learning to augmentations that combine images. Our approach relies on an entropy regularization term, promoting consistent separation between descriptor vectors, and we demonstrate that this significantly improves copy detection accuracy. Our method produces a compact descriptor vector, suitable for real-world web scale applications. Statistical information from a background image distribution can be incorporated into the descriptor. On the recent DISC2021 benchmark, SSCD is shown to outperform both baseline copy detection models and self-supervised architectures designed for image classification by huge margins, in all settings. For example, SSCD out-performs SimCLR descriptors by 48% absolute. Code is available at https://github.com/facebookresearch/sscd-copy-detection.

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

Code

Syntology Ran 0 of 9 code samples harvested from 1 repository linked to this paper; 9 have no recorded run.

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

facebookresearch/sscd-copy-detection officialmentioned in papermentioned on GitHubpytorchMIT report
claserken/SISS 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

9 samples harvested; 0 ran; 0 honoured the contract we drafted; 9 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.

9unverified

Licence: 9 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 facebookresearch/sscd-copy-detection. “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.

blocks_from_directories facebookresearch/sscd-copy-detection/sscd/datasets/copydays.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 2f540d9f03c030f7 · report
call_using_args facebookresearch/sscd-copy-detection/sscd/lib/util.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · cf395356094aa302 · report
coalesce_outputs facebookresearch/sscd-copy-detection/sscd/lib/inference.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 6a76269cf741376b · report
dataset_split facebookresearch/sscd-copy-detection/sscd/disc_eval.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 9dc49fcf121100bb · report
get_codecs facebookresearch/sscd-copy-detection/sscd/disc_eval.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 5f38bf55430d5065 · report
is_l2_normalized facebookresearch/sscd-copy-detection/sscd/disc_eval.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 22815c23b0f2a541 · report
parse_bool facebookresearch/sscd-copy-detection/sscd/lib/util.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · b78a605710379f86 · report
score_ap_from_ranks_1 facebookresearch/sscd-copy-detection/sscd/datasets/copydays.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 25e5e19c61be203b · report
score_macro_AP facebookresearch/sscd-copy-detection/sscd/datasets/copydays.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 9d2777b83a097bde · report

Tasks

Contrastive LearningCopy DetectionImage Classificationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockColorJitterContrastive LearningConvolutionDense ConnectionsEntropy RegularizationFeedforward NetworkGlobal Average PoolingKaiming InitializationMax PoolingNT-XentRandom Gaussian BlurRandom Resized CropReLUResidual BlockResidual ConnectionSimCLR

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