cs.IRSep 12, 2026

Odds-Shift Slippage in One-vs-Rest Rankers: Diagnosing and Repairing Reweighting-Induced Top-K Errors

Authors: Akifumi Goto

Organizations: Graduate School of Data Science, Shiga University Hikone, Shiga, Japan

Abstract

One-vs-rest rankers that show each user the top-KK of many rare labels usually counter imbalance with a per-label positive-class weight, scale_pos_weight =n−/n+= n_-/n_+. Elkan's identity says such a weight shifts label jj's log-odds by ln⁡wj\ln w_j, so the model ranks by weighted odds rather than by the marginal that is Bayes-optimal for precision@KK, and suggests inverting the shift afterwards; what a finite learner does with a weight in the thousands, and which repair then works, has not been measured. We call the gap between the promised and the realized shift odds-shift slippage and measure it on matched pairs of LightGBM and MLP models that differ only in the weights. On Santander the weight takes MAP@7 from 0.808 to 0.117; for the boosted pairs the ideal odds shift accounts for 23% of that loss (32% on Instacart; 98% for an MLP pair on the same rows) and slippage for the rest. We prove that a booster whose leaf steps are capped at cc realizes at most TηcTηc nat of shift in TT rounds at rate ηη, which a cap sweep confirms, and show that without a cap saturated cells tie at exactly 1.0, beyond the reach of any separable map. The analytic inversion therefore pays only where the shift was realized and nothing saturated, whereas per-label isotonic regression returns the Santander model to 0.784 (0.780 with the calibrator fitted on the validation period), but only if labels without calibration positives are mapped to their prior rather than passed through. On 11 public MULAN benchmarks and 5 learners the weighted model loses more than half of its MAP@KK in 8 of 55 cells, and on delicious and Corel5k the same repair returns it to the unweighted level; per-label calibration hurts where positives are scarce, a harm that a cross-validated rule removes. The recipe is released as oddslip.

Figures & tables

Explore similar work

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

    Apr 2, 2026Zhanliang Wang, Hongzhuo Chen, Quan Minh Nguyen +2Long-Tailed ClassificationLearning to Rank

  2. Calibrated Preference Learning: The Case of Label Ranking

    May 28, 2026Santo M. A. R. Thies, Viktor Bengs, Timo Kaufmann +2Probability CalibrationLearning to Rank

  3. Exact and Certified Data Shapley for Weighted k-Nearest-Neighbor Regression and Soft-Label Prediction

    Jul 12, 2026Zongye LyuShapley Value Attributionk-Nearest Neighbors