ICML2025

Latent Score-Based Reweighting for Robust Classification on Imbalanced Tabular Data

Yunze Tong, Fengda Zhang, Zihao Tang, Kaifeng Gao, Kai Huang, Pengfei Lyu, Jun Xiao, Kun Kuang

Abstract

Machine learning models often perform well on tabular data by optimizing average prediction accuracy. However, they may underperform on specific subsets due to inherent biases in the training data, such as associations with noncausal features like demographic information. These biases lead to critical robustness issues as models may inherit or amplify them, resulting in poor performance where such misleading correlations do not hold. Existing mitigation methods have significant limitations: some require prior group labels, which are often unavailable, while others focus solely on the conditional distribution P (Y |X), upweighting misclassified samples without effectively balancing the overall data distribution P (X). To address these shortcomings, we propose a latent score-based reweighting framework. It leverages score-based models to capture the joint data distribution P (X, Y ) without relying on additional prior information. By estimating sample density through the similarity of score vectors with neighboring data points, our method identifies underrepresented regions and upweights samples accordingly. This approach directly tackles inherent data imbalances, enhancing robustness by ensuring a more uniform dataset representation. Experiments on various tabular datasets under distribution shifts demonstrate that our method effectively improves performance on imbalanced data. Code is available at https://github.com/YunzeTong/ latent-score-based-reweighting .