English

Model-Agnostic Meta Learning for Class Imbalance Adaptation

Computation and Language 2026-04-22 v1

Abstract

Class imbalance is a widespread challenge in NLP tasks, significantly hindering robust performance across diverse domains and applications. We introduce Hardness-Aware Meta-Resample (HAMR), a unified framework that adaptively addresses both class imbalance and data difficulty. HAMR employs bi-level optimizations to dynamically estimate instance-level weights that prioritize genuinely challenging samples and minority classes, while a neighborhood-aware resampling mechanism amplifies training focus on hard examples and their semantically similar neighbors. We validate HAMR on six imbalanced datasets covering multiple tasks and spanning biomedical, disaster response, and sentiment domains. Experimental results show that HAMR achieves substantial improvements for minority classes and consistently outperforms strong baselines. Extensive ablation studies demonstrate that our proposed modules synergistically contribute to performance gains and highlight HAMR as a flexible and generalizable approach for class imbalance adaptation. Code is available at https://github.com/trust-nlp/ImbalanceLearning.

Keywords

Cite

@article{arxiv.2604.18759,
  title  = {Model-Agnostic Meta Learning for Class Imbalance Adaptation},
  author = {Hanshu Rao and Guangzeng Han and Xiaolei Huang},
  journal= {arXiv preprint arXiv:2604.18759},
  year   = {2026}
}

Comments

Accepted to Findings of ACL 2026

R2 v1 2026-07-01T12:27:01.543Z