Skip to main content
QUICK REVIEW

[Paper Review] MixSiam: A Mixture-based Approach to Self-supervised Representation Learning

X. Guo, Tianhao Zhao|arXiv (Cornell University)|Nov 4, 2021
Domain Adaptation and Few-Shot LearningComputer Science51 references8 citations
TL;DR

MixSiam proposes a mixture-based self-supervised learning method that enhances Siamese contrastive learning by introducing hard augmented samples via MixUp and enforcing invariance to discriminative representations derived from feature maximization. The approach achieves state-of-the-art performance on ImageNet and small-scale datasets with improved robustness and generalization, outperforming SimSiam by up to 0.64% accuracy on ImageNet under the same training setup.

ABSTRACT

Recently contrastive learning has shown significant progress in learning visual representations from unlabeled data. The core idea is training the backbone to be invariant to different augmentations of an instance. While most methods only maximize the feature similarity between two augmented data, we further generate more challenging training samples and force the model to keep predicting discriminative representation on these hard samples. In this paper, we propose MixSiam, a mixture-based approach upon the traditional siamese network. On the one hand, we input two augmented images of an instance to the backbone and obtain the discriminative representation by performing an element-wise maximum of two features. On the other hand, we take the mixture of these augmented images as input, and expect the model prediction to be close to the discriminative representation. In this way, the model could access more variant data samples of an instance and keep predicting invariant discriminative representations for them. Thus the learned model is more robust compared to previous contrastive learning methods. Extensive experiments on large-scale datasets show that MixSiam steadily improves the baseline and achieves competitive results with state-of-the-art methods. Our code will be released soon.

Motivation & Objective

  • To address the limited robustness of Siamese contrastive learning in handling large intra-class variations.
  • To improve model generalization by introducing hard, diverse training samples beyond standard data augmentations.
  • To enhance feature discrimination by learning a maximally informative representation from two augmented views of the same image.
  • To achieve competitive performance with smaller batch sizes by leveraging stronger invariance constraints.

Proposed method

  • The model uses a siamese encoder structure with shared weights to process two augmented views of the same image.
  • Feature representations from the two augmented views are combined via element-wise maximum to form a discriminative representation that captures the most informative features.
  • A third input is created by linearly mixing the two augmented views using MixUp, forming a hard, challenging sample for the model to predict.
  • The predictor head is trained to produce predictions that are similar to the discriminative representation, enforcing invariance across diverse inputs.
  • A weighted loss function combines the contrastive loss on positive pairs and the consistency loss on the mixed sample, with hyperparameter λ balancing the two.
  • The method leverages standard data augmentation (crop, color jitter, blur, random grayscale) and MixUp to generate diverse training samples.

Experimental results

Research questions

  • RQ1Can introducing hard, virtual samples via MixUp improve the robustness of self-supervised representation learning in siamese contrastive frameworks?
  • RQ2Does combining feature maximization across augmented views with invariance to mixed samples lead to better generalization than standard contrastive learning?
  • RQ3How does the balance between easy positive pairs and hard mixed samples affect model performance, and what optimal trade-off exists?
  • RQ4Can MixSiam achieve competitive accuracy with smaller batch sizes compared to state-of-the-art methods?

Key findings

  • MixSiam achieves 93.35% top-1 accuracy on CIFAR-10, outperforming the SimSiam baseline by 0.64%.
  • On ImageNet, MixSiam achieves 81.9% top-1 accuracy with a batch size of 256, matching or exceeding state-of-the-art methods under similar training conditions.
  • The ablation study confirms that feature maximization (maximum aggregation) yields the best performance, improving accuracy by 0.64% over average pooling.
  • The hyperparameter λ = 0.5 provides the optimal trade-off, balancing the two loss components and yielding the highest performance across datasets.
  • The visualization shows that mixed images are visually blurred and contain overlapping features, making them challenging for prediction and thus improving model robustness.
  • The method consistently improves performance across multiple benchmarks, including CIFAR-10, CIFAR-100, and Food101, demonstrating strong generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.