HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

AutoMix: Unveiling the Power of Mixup for Stronger Classifiers

Zicheng Liu Siyuan Li Di Wu Zihan Liu Zhiyuan Chen Lirong Wu Stan Z. Li

AutoMix: Unveiling the Power of Mixup for Stronger Classifiers

Abstract

Data mixing augmentation have proved to be effective in improving the generalization ability of deep neural networks. While early methods mix samples by hand-crafted policies (e.g., linear interpolation), recent methods utilize saliency information to match the mixed samples and labels via complex offline optimization. However, there arises a trade-off between precise mixing policies and optimization complexity. To address this challenge, we propose a novel automatic mixup (AutoMix) framework, where the mixup policy is parameterized and serves the ultimate classification goal directly. Specifically, AutoMix reformulates the mixup classification into two sub-tasks (i.e., mixed sample generation and mixup classification) with corresponding sub-networks and solves them in a bi-level optimization framework. For the generation, a learnable lightweight mixup generator, Mix Block, is designed to generate mixed samples by modeling patch-wise relationships under the direct supervision of the corresponding mixed labels. To prevent the degradation and instability of bi-level optimization, we further introduce a momentum pipeline to train AutoMix in an end-to-end manner. Extensive experiments on nine image benchmarks prove the superiority of AutoMix compared with state-of-the-art in various classification scenarios and downstream tasks.

Code Repositories

Westlake-AI/AutoMix
pytorch
Mentioned in GitHub
Westlake-AI/openmixup
Official
pytorch
Mentioned in GitHub
zeyuanyin/tiny-imagenet
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-10ResNeXt-50 (AutoMix)
Percentage correct: 97.84
image-classification-on-cifar-100WRN-28-8 +AutoMix
Percentage correct: 85.16
image-classification-on-cifar-100ResNeXt-50(32x4d) + AutoMix
Percentage correct: 83.64
image-classification-on-imagenetResNet-101 (AutoMix)
Number of params: 44.6M
Top 1 Accuracy: 80.98%
image-classification-on-imagenetResNet-34 (AutoMix)
Number of params: 21.8M
Top 1 Accuracy: 76.1%
image-classification-on-imagenetResNet-50 (AutoMix)
Number of params: 25.6M
Top 1 Accuracy: 79.25%
image-classification-on-imagenetResNet-18 (AutoMix)
Number of params: 11.7M
Top 1 Accuracy: 72.05%
image-classification-on-inaturalist-2018ResNet-50 (AutoMix)
Top-1 Accuracy: 64.73%
image-classification-on-inaturalist-2018ResNeXt-101 (AutoMix)
Top-1 Accuracy: 70.49%
image-classification-on-places205AutoMix (ResNet-50 Supervised)
Top 1 Accuracy: 64.1
image-classification-on-tiny-imagenet-1ResNet18 (AutoMix)
Validation Acc: 67.33%
image-classification-on-tiny-imagenet-1ResNeXt-50 (AutoMix)
Validation Acc: 70.72%

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