HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

RSG: A Simple but Effective Module for Learning Imbalanced Datasets

Jianfeng Wang Thomas Lukasiewicz Xiaolin Hu Jianfei Cai Zhenghua Xu

RSG: A Simple but Effective Module for Learning Imbalanced Datasets

Abstract

Imbalanced datasets widely exist in practice and area great challenge for training deep neural models with agood generalization on infrequent classes. In this work, wepropose a new rare-class sample generator (RSG) to solvethis problem. RSG aims to generate some new samplesfor rare classes during training, and it has in particularthe following advantages: (1) it is convenient to use andhighly versatile, because it can be easily integrated intoany kind of convolutional neural network, and it works wellwhen combined with different loss functions, and (2) it isonly used during the training phase, and therefore, no ad-ditional burden is imposed on deep neural networks duringthe testing phase. In extensive experimental evaluations, weverify the effectiveness of RSG. Furthermore, by leveragingRSG, we obtain competitive results on Imbalanced CIFARand new state-of-the-art results on Places-LT, ImageNet-LT, and iNaturalist 2018. The source code is available at https://github.com/Jianf-Wang/RSG.

Code Repositories

Jianf-Wang/RSG
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
long-tail-learning-on-cifar-100-lt-r-100LDAM-DRW-RSG
Error Rate: 55.5
long-tail-learning-on-cifar-100-lt-r-50LDAM-DRW-RSG
Error Rate: 51.5
long-tail-learning-on-imagenet-ltLDAM-DRS-RSG
Top-1 Accuracy: 51.8
long-tail-learning-on-inaturalist-2018LDAM-DRS-RSG
Top-1 Accuracy: 70.3%
long-tail-learning-on-places-ltLDAM-DRS-RSG
Top-1 Accuracy: 39.3

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