Skip to content
Rahul PS

Few-Shot Detection with Self-Supervised Backbones

Deep Learning for Computer Vision

Code, report and slides: github.com/PSRahul/FewShotDet

This project looked at how self-supervised pretraining of the backbone affects a Faster R-CNN object detector when only a few labelled examples are available. It was part of the Data Innovation Lab practical course at TUM, run with the machine learning team at PreciTaste (then PreciBake). The models are built with Detectron2.

Key results

Classification pretraining doesn’t always transfer to detection. A ResNet-50 feature extractor was pretrained with the self-supervised methods DINO and DetCO and then used in the detector. Only the contrastive methods that preserve global and contextual image embeddings improved detection.

A feature pyramid network speeds up training. Adding an FPN to the ResNet backbone trained much faster and reached similar accuracy for the same number of epochs. It also makes objects at different scales easier to detect.

The report and presentation have the full setup and results.