Handling Inter-class and Intra-class Imbalance in Class-imbalanced Learning

Zhining Liu, Pengfei Wei, Zhepei Wei, Boyang Yu, Jing Jiang +3 more
11/24/2021
cs.LGcs.AI

Official code: AnonAuthorAI/duplebalance (10 stars, Python, MIT, last commit 2022-10-31).

Abstract

Class-imbalance is a common problem in machine learning practice. Typical Imbalanced Learning (IL) methods balance the data via intuitive class-wise resampling or reweighting.

Show full abstract

However, previous studies suggest that beyond class-imbalance, intrinsic data difficulty factors like overlapping, noise, and small disjuncts also play critical roles. To handle them, many solutions have been proposed (e.g., noise removal, borderline sampling, hard example mining) but are still confined to a specific factor and cannot generalize to broader scenarios, which raises an interesting question: how to handle both class-agnostic difficulties and the class-imbalance in a unified way? To answer this, we consider both class-imbalance and its orthogonal: intra-class imbalance, i.e., the imbalanced distribution over easy and hard samples. Such distribution naturally reflects the complex influence of class-agnostic intrinsic data difficulties thus providing a new unified view for identifying and handling these factors during learning. From this perspective, we discuss the pros and cons of existing IL solutions and further propose new balancing techniques for more robust and efficient IL. Finally, we wrap up all solutions into a generic ensemble IL framework, namely DuBE (Duple-Balanced Ensemble). It features explicit and efficient inter-\&intra-class balancing as well as easy extension with standardized APIs. Extensive experiments validate the effectiveness of DuBE. Code, examples, and documentation are available at https://github.com/AnonAuthorAI/duplebalance and https://duplebalance.readthedocs.io.

View on arXivView PDF

Code Implementations(1)

MIT

DuBE: Duple-balanced Ensemble Learning from Skewed Data

104PythonNov 19, 20214 years agoMIT
class-imbalanceensemble-learningimbalanced-classificationimbalanced-datamachine-learning

Similar Papers

Cite this paper

@article{liu2021handling,
  title  = {Handling Inter-class and Intra-class Imbalance in Class-imbalanced Learning},
  author = {Zhining Liu and Pengfei Wei and Zhepei Wei and Boyang Yu and Jing Jiang and Wei Cao and Jiang Bian and Yi Chang},
  year   = {2021},
  eprint = {2111.12791},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12791}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12791.svg)](https://codeofpaper.com/paper/2111.12791)

Discussion