Revive Re-weighting in Imbalanced Learning by Density Ratio Estimation

Jiaan Luo, Feng Hong, Jiangchao Yao, Bo Han, Ya Zhang +1 more
2/3/2026

No official code found. Best implementation: GoodMorningPeter/RDR (2 stars, MIT, last commit 2025-06-09).

Abstract

In deep learning, model performance often deteriorates when trained on highly imbalanced datasets, especially when evaluation metrics require robust generalization across underrepresented classes. To address the challenges posed by imbalanced data distributions, this study introduces a novel method utilizing density ratio estimation for dynamic class weight adjustment, termed as Re-weighting with Density Ratio (RDR). Our method adaptively adjusts the importance of each class during training, mitigates overfitting on dominant classes and enhances model adaptability across diverse datasets. Extensive experiments conducted on various large scale benchmark datasets validate the effectiveness of our method. Results demonstrate substantial improvements in generalization capabilities, particularly under severely imbalanced conditions. The code is available here.

DOISemantic Scholar

Code Implementations(1)

MIT

PyTorch implementation for "Revive Re-weighting in Imbalanced Learning by Density Ratio Estimation"

20PythonOct 6, 20241 years agoMIT

Cite this paper

@article{luo2026revive,
  title  = {Revive Re-weighting in Imbalanced Learning by Density Ratio Estimation},
  author = {Jiaan Luo and Feng Hong and Jiangchao Yao and Bo Han and Ya Zhang and Yanfeng Wang},
  year   = {2026},
  doi    = {10.52202/079017-2539},
  url    = {https://doi.org/10.52202/079017-2539},
  journal = {NEURIPS 2024 2024}
}

Discussion