HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Posterior Re-calibration for Imbalanced Datasets

Junjiao Tian Yen-Cheng Liu Nathan Glaser Yen-Chang Hsu Zsolt Kira

Posterior Re-calibration for Imbalanced Datasets

Abstract

Neural Networks can perform poorly when the training label distribution is heavily imbalanced, as well as when the testing data differs from the training distribution. In order to deal with shift in the testing label distribution, which imbalance causes, we motivate the problem from the perspective of an optimal Bayes classifier and derive a post-training prior rebalancing technique that can be solved through a KL-divergence based optimization. This method allows a flexible post-training hyper-parameter to be efficiently tuned on a validation set and effectively modify the classifier margin to deal with this imbalance. We further combine this method with existing likelihood shift methods, re-interpreting them from the same Bayesian perspective, and demonstrating that our method can deal with both problems in a unified way. The resulting algorithm can be conveniently used on probabilistic classification problems agnostic to underlying architectures. Our results on six different datasets and five different architectures show state of art accuracy, including on large-scale imbalanced datasets such as iNaturalist for classification and Synthia for semantic segmentation. Please see https://github.com/GT-RIPL/UNO-IC.git for implementation.

Benchmarks

BenchmarkMethodologyMetrics
long-tail-learning-on-cifar-100-lt-r-10CE-DRW-IC
Error Rate: 41.4
long-tail-learning-on-cifar-100-lt-r-100CE-DRW-IC
Error Rate: 56.9
long-tail-learning-on-inaturalist-2018CE-DRW-IC
Top-1 Accuracy: 67.9%

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
Posterior Re-calibration for Imbalanced Datasets | Papers | HyperAI