arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01506cs.LG
收藏

超越Logit调整:一种用于长尾重排的残差分解框架

Beyond Logit Adjustment: A Residual Decomposition Framework for Long-Tailed Reranking

University of Pennsylvania(宾夕法尼亚大学);Children’s Hospital of Philadelphia(费城儿童医院)

Zhanliang Wang, Hongzhuo Chen, Quan Minh Nguyen, Mian Umair Ahsan, Kai Wang

AI总结:

本文提出残差分解框架,用于解决长尾分类中频繁类与稀有类的排序问题,通过分析残差分解的类内和类间组件,提出REPAIR方法以提升重排性能。

摘要:

长尾分类问题中,少数频繁类主导众多稀有类,仍具挑战性,因为模型在推理时系统性地偏向频繁类。现有后验方法如Logit调整通过添加固定类内偏移量来解决,但恢复两个类相对排名所需的修正不一定在输入间恒定,固定偏移无法适应这种变化。本文通过贝叶斯最优重排研究此问题,最优分数与基础分数之间的差距,即残差修正,分解为类内组件(每个类内恒定)和类间组件(依赖输入和竞争标签)。当残差纯为类内时,固定偏移足以恢复贝叶斯最优顺序。进一步证明,当相同标签对在不同上下文中导致不兼容的排序约束时,无固定偏移无法实现恢复。此分解导致可测试的预测,关于何时类间修正能提升性能,何时不能。本文开发REPAIR(通过类间残差修正的重排),一种轻量级后验重排器,结合收缩稳定的类内项和由短名单竞争特征驱动的线性类间项。在五个基准测试中,图像分类、物种识别、场景识别和罕见疾病诊断确认,分解解释了类间修正何时有益,何时类内修正足够。

英文摘要:

Long-tailed classification, where a small number of frequent classes dominate many rare ones, remains challenging because models systematically favor frequent classes at inference time. Existing post-hoc methods such as logit adjustment address this by adding a fixed classwise offset to the base-model logits. However, the correction required to restore the relative ranking of two classes need not be constant across inputs, and a fixed offset cannot adapt to such variation. We study this problem through Bayes-optimal reranking on a base-model top-k shortlist. The gap between the optimal score and the base score, the residual correction, decomposes into a classwise component that is constant within each class, and a pairwise component that depends on the input and competing labels. When the residual is purely classwise, a fixed offset suffices to recover the Bayes-optimal ordering. We further show that when the same label pair induces incompatible ordering constraints across contexts, no fixed offset can achieve this recovery. This decomposition leads to testable predictions regarding when pairwise correction can improve performance and when cannot. We develop REPAIR (Reranking via Pairwise residual correction), a lightweight post-hoc reranker that combines a shrinkage-stabilized classwise term with a linear pairwise term driven by competition features on the shortlist. Experiments on nine benchmarks confirm that the decomposition explains where pairwise correction helps and where classwise correction alone suffices. These span text classification, visual recognition, and multimodal rare-disease diagnosis.

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

↑