Towards Fine-grained Visual Representations by Combining Contrastive Learning with Image Reconstruction and Attention-weighted Pooling

Jonas Dippel, Steffen Vogler, Johannes Höhne
4/9/2021
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: bayer-science-for-a-better-life/contrastive-reconstruction (13 stars, Python, GPL-3.0, TensorFlow, last commit 2022-02-22).

Abstract

This paper presents Contrastive Reconstruction, ConRec - a self-supervised learning algorithm that obtains image representations by jointly optimizing a contrastive and a self-reconstruction loss. We showcase that state-of-the-art contrastive learning methods (e.g.

Show full abstract

SimCLR) have shortcomings to capture fine-grained visual features in their representations. ConRec extends the SimCLR framework by adding (1) a self-reconstruction task and (2) an attention mechanism within the contrastive learning task. This is accomplished by applying a simple encoder-decoder architecture with two heads. We show that both extensions contribute towards an improved vector representation for images with fine-grained visual features. Combining those concepts, ConRec outperforms SimCLR and SimCLR with Attention-Pooling on fine-grained classification datasets.

View on arXivView PDF

Code Implementations(1)

TensorFlowGPL-3.0

Tensorflow-keras implementation for Contrastive Reconstruction (ConRec) : a self-supervised learning algorithm that obtains image representations by jointly optimizing a contrastive and a self-reconstruction loss.

133PythonApr 9, 20214 years agoGPL-3.0
attention-poolingconrecfinegrainedkerasrepresenation-learning+4 more

Similar Papers

Cite this paper

@article{dippel2021towards,
  title  = {Towards Fine-grained Visual Representations by Combining Contrastive Learning with Image Reconstruction and Attention-weighted Pooling},
  author = {Jonas Dippel and Steffen Vogler and Johannes Höhne},
  year   = {2021},
  eprint = {2104.04323},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04323}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.04323.svg)](https://codeofpaper.com/paper/2104.04323)

Discussion