MixMask: Revisiting Masking Strategy for Siamese ConvNets

Kirill Vishniakov, Eric Xing, Zhiqiang Shen
10/20/2022
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: kirill-vish/MixMask (0 stars, Python, MIT, last commit 2024-08-18).

Abstract

The recent progress in self-supervised learning has successfully combined Masked Image Modeling (MIM) with Siamese Networks, harnessing the strengths of both methodologies. Nonetheless, certain challenges persist when integrating conventional erase-based masking within Siamese ConvNets.

Show full abstract

Two primary concerns are: (1) The continuous data processing nature of ConvNets, which doesn't allow for the exclusion of non-informative masked regions, leading to reduced training efficiency compared to ViT architecture; (2) The misalignment between erase-based masking and the contrastive-based objective, distinguishing it from the MIM technique. To address these challenges, this work introduces a novel filling-based masking approach, termed \textbf{MixMask}. The proposed method replaces erased areas with content from a different image, effectively countering the information depletion seen in traditional masking methods. Additionally, we unveil an adaptive loss function that captures the semantics of the newly patched views, ensuring seamless integration within the architectural framework. We empirically validate the effectiveness of our approach through comprehensive experiments across various datasets and application scenarios. The findings underscore our framework's enhanced performance in areas such as linear probing, semi-supervised and supervised finetuning, object detection and segmentation. Notably, our method surpasses the MSCN, establishing MixMask as a more advantageous masking solution for Siamese ConvNets. Our code and models are publicly available at https://github.com/kirill-vish/MixMask.

View on arXivView PDF

Code Implementations(1)

MIT

Code for experiments for "MixMask: Revisiting Masking Strategy for Siamese ConvNets"

00PythonAug 18, 20242 years agoMIT
computer-visionconvnetdeep-learningself-supervised-learningsiamese-network

Similar Papers

Cite this paper

@article{vishniakov2022mixmask,
  title  = {MixMask: Revisiting Masking Strategy for Siamese ConvNets},
  author = {Kirill Vishniakov and Eric Xing and Zhiqiang Shen},
  year   = {2022},
  eprint = {2210.11456},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11456}
}

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/2210.11456.svg)](https://codeofpaper.com/paper/2210.11456)

Discussion