Beyond Logit Adjustment: A Residual Decomposition Framework for Long-Tailed Reranking
Zhanliang Wang, Hongzhuo Chen, Quan Minh Nguyen, Mian Umair Ahsan, Kai Wang

TL;DR
This paper introduces a residual decomposition framework for long-tailed reranking, highlighting when classwise or pairwise corrections improve model performance, and proposes a lightweight post-hoc reranker called REPAIR.
Contribution
It develops a residual decomposition approach that distinguishes classwise and pairwise corrections, and introduces REPAIR, a new reranking method for long-tailed classification.
Findings
Decomposition explains when pairwise correction improves performance.
REPAIR combines classwise and pairwise residual corrections effectively.
Experiments confirm the framework's predictions across five benchmarks.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
