arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.29720cs.LGcs.CL
收藏

重采样的隐藏成本:不平衡校正如何降低树集成中的概率校准

The Hidden Cost of Resampling: How Imbalance Correction Degrades Probability Calibration in Tree Ensembles

Zewen Liu

AI总结:

研究SMOTE和随机欠采样对树集成模型概率校准的影响,发现SMOTE校准成本小但欠采样损害严重,后验重校准可有效修复。

摘要:

SMOTE和随机欠/过采样等重采样方法是处理类别不平衡分类的标准工具,通常通过少数类准确率或F1评估。先前工作已确定欠采样通过扭曲训练先验概率而降低概率校准[1]。我们将此视角扩展到合成过采样(SMOTE),并提供一份实用的、基于证据的指南,说明校准损害何时重要以及如何修复。在五个公共数据集(不平衡比1.9-70)和两种集成模型(随机森林、梯度提升)上,使用十个随机种子和配对统计,我们发现:(1)SMOTE的校准成本真实但较小(ECE +0.009;Cliff's delta = +0.27,小到中等),在所研究的不平衡范围(IR 1.9-70)内,其判别增益通常超过校准惩罚;(2)随机欠采样是真正的危险——其损害随不平衡急剧增加,在比例为70的数据集上使ECE从0.008膨胀到0.395,主要是因为生成的训练集太小,无法可靠估计概率;(3)单次事后重校准步骤(Platt或保序回归)可消除损害,将ECE降低高达66%,而排名能力损失可忽略(AUC -0.002,Cliff's delta = -0.07);(4)修复欠采样的分析性先验偏移校正不适用于SMOTE,因为SMOTE扭曲的是类条件密度而不仅仅是先验——因此数据驱动的重校准仍然是必要的。我们建议不平衡学习研究在报告判别能力的同时报告校准,并且当预测概率驱动决策时,实践者在重采样后进行重校准。

英文摘要:

Resampling methods such as SMOTE and random under/over-sampling are standard tools for class-imbalanced classification, almost always evaluated by minority-class accuracy or F1. Prior work has established that undersampling degrades probability calibration by distorting the training prior [1]. We extend this lens to synthetic oversampling (SMOTE) and provide a practical, evidence-based guide to when calibration damage matters and how to fix it. Across five public datasets (imbalance ratio 1.9-70) and two ensemble models (random forest, gradient boosting), with ten seeds and paired statistics, we find: (1) SMOTE's calibration cost is real but small (ECE +0.009; Cliff's delta = +0.27, small-to-moderate) across the studied imbalance range (IR 1.9-70) and its discrimination gains typically outweigh the calibration penalty; (2) random undersampling is the genuine danger -- its damage grows sharply with imbalance, inflating ECE from 0.008 to 0.395 on a dataset with ratio 70, largely because the resulting training sets are too small to estimate probabilities reliably; (3) a single post-hoc recalibration step (Platt or isotonic) eliminates the damage, reducing ECE by up to 66% at a negligible ranking-power cost (AUC -0.002, Cliff's delta = -0.07); and (4) the analytic prior-shift correction that repairs undersampling does not transfer to SMOTE, because SMOTE distorts the class-conditional density rather than only the prior -- so data-driven recalibration remains necessary. We recommend that imbalanced-learning studies report calibration alongside discrimination, and that practitioners recalibrate after resampling whenever predicted probabilities drive decisions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑