Blog cover

A Self-Supervised Descriptor for Image Copy Detection

Detect image duplicates using SSL

Introduction

This blog post reviews the paper 'A Self-Supervised Descriptor for Image Copy Detection'. The authors have built upon the work of SimCLR and successfully tackled its limitations. This paper is worth reading for those looking to generate powerful embeddings/descriptors for their image datasets.

Links: Paper | Code

Good things about the paper

Regularization term

The paper introduces a regularization term based on Entropy, which is used to make the descriptors more sparse. This means that negative images won't be as 'close' to each other as they used to be in SimCLR. By doing this, it overcomes a major drawback of SimCLR where a descriptor of size 128 was as efficient as a descriptor of size 512.

Robust augmentations

It adds more robust augmentations to its augmentation pipeline. The authors have also adapted the InfoNCE loss function to make it suitable for cut-mix/mixup augmentation.

GeM Pooling

The paper makes good use of GeM Pooling, which was heavily used in the Instance matching genre. Ablation studies also prove its importance.

Post-processing of descriptors

The post-processing of descriptors is very innovative. The use of whitening + L2 norm from the impressive FAISS library is something that warrants further investigation.

Bad things about the paper

Choice of base model

The authors could have started with a more powerful model like ViT instead of a ResNet. It would be worth checking their code to see if it can be modified for 'plug n play' with different models. Encoders for transformers should be modified to give suitable descriptors, as Encoders are known for their pre-training capabilities and can be used for larger images as well.

Potential for further improvements

SWaV could also be an inspiration to build upon this paper as it uses clustering algorithms to provide training time labels. For a task of copy detection, this looks like a suitable approach.

Conclusion

Despite some areas for potential improvement, this paper presents a significant advancement in self-supervised learning for image copy detection. The innovative approaches to regularization, augmentation, and post-processing make it a valuable contribution to the field.