HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Boosting Discriminative Visual Representation Learning with Scenario-Agnostic Mixup

Siyuan Li Zicheng Liu Zedong Wang Di Wu Zihan Liu Stan Z. Li

Boosting Discriminative Visual Representation Learning with Scenario-Agnostic Mixup

Abstract

Mixup is a well-known data-dependent augmentation technique for DNNs, consisting of two sub-tasks: mixup generation and classification. However, the recent dominant online training method confines mixup to supervised learning (SL), and the objective of the generation sub-task is limited to selected sample pairs instead of the whole data manifold, which might cause trivial solutions. To overcome such limitations, we comprehensively study the objective of mixup generation and propose \textbf{S}cenario-\textbf{A}gnostic \textbf{Mix}up (SAMix) for both SL and Self-supervised Learning (SSL) scenarios. Specifically, we hypothesize and verify the objective function of mixup generation as optimizing local smoothness between two mixed classes subject to global discrimination from other classes. Accordingly, we propose $η$-balanced mixup loss for complementary learning of the two sub-objectives. Meanwhile, a label-free generation sub-network is designed, which effectively provides non-trivial mixup samples and improves transferable abilities. Moreover, to reduce the computational cost of online training, we further introduce a pre-trained version, SAMix$^\mathcal{P}$, achieving more favorable efficiency and generalizability. Extensive experiments on nine SL and SSL benchmarks demonstrate the consistent superiority and versatility of SAMix compared with existing methods.

Code Repositories

Westlake-AI/openmixup
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-100WRN-28-8 +SAMix
Percentage correct: 85.50
image-classification-on-cifar-100ResNeXt-50(32x4d) + SAMix
Percentage correct: 84.42
image-classification-on-imagenetResNet-18 (SAMix)
Number of params: 11.7M
Top 1 Accuracy: 72.33%
image-classification-on-imagenetResNet-101 (SAMix)
Number of params: 44.6M
Top 1 Accuracy: 81.08%
image-classification-on-imagenetResNet-34 (SAMix)
Number of params: 21.8M
Top 1 Accuracy: 76.35%
image-classification-on-imagenetResNet-50 (SAMix)
Number of params: 25.6M
Top 1 Accuracy: 79.41%
image-classification-on-inaturalist-2018ResNeXt-101 (SAMix)
Top-1 Accuracy: 70.54%
image-classification-on-inaturalist-2018ResNet-50 (SAMix)
Top-1 Accuracy: 64.84%
image-classification-on-places205SAMix (ResNet-50 Supervised)
Top 1 Accuracy: 64.3
image-classification-on-tiny-imagenet-1ResNeXt-50 (SAMix)
Validation Acc: 72.18%
image-classification-on-tiny-imagenet-1ResNet18 (SAMix)
Validation Acc: 68.89%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Boosting Discriminative Visual Representation Learning with Scenario-Agnostic Mixup | Papers | HyperAI