HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Manifold Mixup: Better Representations by Interpolating Hidden States

Vikas Verma; Alex Lamb; Christopher Beckham; Amir Najafi; Ioannis Mitliagkas; Aaron Courville; David Lopez-Paz; Yoshua Bengio

Manifold Mixup: Better Representations by Interpolating Hidden States

Abstract

Deep neural networks excel at learning the training data, but often provide incorrect and confident predictions when evaluated on slightly different test examples. This includes distribution shifts, outliers, and adversarial examples. To address these issues, we propose Manifold Mixup, a simple regularizer that encourages neural networks to predict less confidently on interpolations of hidden representations. Manifold Mixup leverages semantic interpolations as additional training signal, obtaining neural networks with smoother decision boundaries at multiple levels of representation. As a result, neural networks trained with Manifold Mixup learn class-representations with fewer directions of variance. We prove theory on why this flattening happens under ideal conditions, validate it on practical situations, and connect it to previous works on information theory and generalization. In spite of incurring no significant computation and being implemented in a few lines of code, Manifold Mixup improves strong baselines in supervised learning, robustness to single-step adversarial attacks, and test log-likelihood.

Code Repositories

rahulmadanahalli/manifold_mixup
tf
Mentioned in GitHub
chris-tng/semi-supervised-nlp
pytorch
Mentioned in GitHub
yhu01/PT-MAP
pytorch
Mentioned in GitHub
Westlake-AI/openmixup
pytorch
Mentioned in GitHub
allenhaozhu/ease
pytorch
Mentioned in GitHub
makeyourownmaker/mixup
pytorch
Mentioned in GitHub
erichson/noisy_mixup
pytorch
Mentioned in GitHub
DaikiTanak/manifold_mixup
pytorch
Mentioned in GitHub
vikasverma1077/manifold_mixup
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-10Manifold Mixup WRN 28-10
Percentage correct: 97.45
image-classification-on-cifar-100Manifold Mixup
Percentage correct: 81.96
image-classification-on-omnibenchmarkManifold
Average Top-1 Accuracy: 31.6

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