arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.16540cs.CVcs.AI
收藏

Prior2Posterior:面向长尾学习的模型先验校正

Prior2Posterior: Model Prior Correction for Long-Tailed Learning

Honda R&D Co., Ltd.(本田研发有限公司)

S Divakar Bhat, Amit More, Mudit Soni, Surbhi Agrawal

AI总结:

针对长尾识别中不平衡先验导致尾部类别性能差的问题,提出Prior2Posterior(P2P)方法,在训练后利用后验概率建模并校正有效先验,去除残余偏差,在多个基准上达到SOTA且可事后提升现有方法性能。

摘要:

基于学习的长尾识别解决方案在平衡测试数据集上的泛化面临困难。由于数据先验不平衡,学习到的后验分布偏向最频繁的(头部)类别,导致在最不频繁的(尾部)类别上性能较差。通常,通过消除使用类样本数量(频率)建模的不平衡先验的影响来去除这种偏差,可以提升性能。我们首先观察到,模型在训练结束时学习到的类别的有效先验,可能与使用类频率获得的经验先验不同。因此,我们提出一种新方法,利用后验概率准确建模已训练模型的有效先验。我们提出在训练后以事后方式,使用计算出的先验校正预测的后验概率(Prior2Posterior: P2P),并表明这能提升模型性能。我们提出理论分析,证明该方法对使用朴素交叉熵损失和logit adjusted loss训练的模型的最优性。实验表明,所提方法在长尾文献的多个基准数据集上,于logit adjustment方法类别中取得了新的最先进(SOTA)表现。此外,所提方法可用于检查任何现有方法以捕获有效先验并去除残余偏差,事后提升其性能,无需模型重训练。我们还表明,通过使用所提事后方法,许多现有方法的性能可进一步提升。

英文摘要:

Learning-based solutions for long-tailed recognition face difficulties in generalizing on balanced test datasets. Due to imbalanced data prior, the learned \textit{a posteriori} distribution is biased toward the most frequent (head) classes, leading to an inferior performance on the least frequent (tail) classes. In general, the performance can be improved by removing such a bias by eliminating the effect of imbalanced prior modeled using the number of class samples (frequencies). We first observe that the \textit{effective prior} on the classes, learned by the model at the end of the training, can differ from the empirical prior obtained using class frequencies. Thus, we propose a novel approach to accurately model the effective prior of a trained model using \textit{a posteriori} probabilities. We propose to correct the imbalanced prior by adjusting the predicted \textit{a posteriori} probabilities (Prior2Posterior: P2P) using the calculated prior in a post-hoc manner after the training, and show that it can result in improved model performance. We present theoretical analysis showing the optimality of our approach for models trained with naive cross-entropy loss as well as logit adjusted loss. Our experiments show that the proposed approach achieves new state-of-the-art (SOTA) on several benchmark datasets from the long-tail literature in the category of logit adjustment methods. Further, the proposed approach can be used to inspect any existing method to capture the \textit{effective prior} and remove any residual bias to improve its performance, post-hoc, without model retraining. We also show that by using the proposed post-hoc approach, the performance of many existing methods can be improved further.

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

↑