arXiv paper· machine learning / information retrieval (learning to rank)· empirical study

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

Akifumi Goto

cs.IR · cs.LG

Quick verdict

Claims reweighting-induced top-K collapse is mostly 'slippage' beyond Elkan's odds shift, repairable by per-label isotonic calibration; solid empirics.

Summary

The paper studies a practical failure of one-vs-rest rankers trained with per-label positive-class weights (scale_pos_weight = n−/n+): ranking many rare labels by weighted scores is not Bayes-optimal for top-K precision, and the log-odds shift of ln w_j that Elkan's identity promises is not what a finite learner realizes. The author names the gap 'odds-shift slippage' and measures it on matched LightGBM and MLP pairs differing only in the weights, on Santander (24 labels) and Instacart (top-4,000 labels). On Santander the weight drops MAP@7 from 0.808 to 0.117; the ideal odds shift explains only 23% of the boosted loss (32% on Instacart; 98% for the Santander MLP pair). Proposition 2 proves a leaf-step cap c bounds realized shift at Tηc nat, confirmed by a cap sweep, while uncapped models saturate 16.6–19.4% of cells at float32 1.0, beyond any separable map. Per-label isotonic regression with an explicit prior fallback restores 0.784 (0.780 under the deployment protocol); the identity fallback causes a dead-label takeover. On 11 MULAN datasets and 5 learners the collapse (more than half of MAP@K lost) appears in 8 of 55 cells and the repair works on delicious and Corel5k. Limitations: single runs with unstable collapse depth (0.092 ± 0.052), MAP@K only, code released as oddslip.

Review complete

Assessment at a glance

machine learning / information retrieval (learning to rank)

4

risk flags identified

● high 0

● medium 2

● low 2

Reproducibility readinesshigh
Code & data availableyes
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducible

4 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • The ideal odds shift ln w_j explains only a minority of the top-K loss of weighted boosted rankers — 23% on Santander and 32% on Instacart for LightGBM pairs, versus 98% for the Santander MLP pair — with the remainder being odds-shift slippage.
  • A booster with leaf-step cap c (max_delta_step) cannot realize more than Tηc nat of per-label shift in T rounds (Proposition 2), confirmed by a 5-cap sweep, while uncapped training saturates 16.6% (Santander) and 19.4% (Instacart) of cells at float32 1.0, creating ties no separable post-hoc map can reorder.
  • Per-label isotonic regression with an explicit prior fallback for labels without calibration positives restores the weighted Santander model to 0.784 MAP@7 (0.780 under the deployment protocol), whereas the identity fallback causes a dead-label takeover that ranks dead labels above every calibrated label.
  • On 11 MULAN benchmarks and 5 learners the recommended weight loses more than half of MAP@K in 8 of 55 cells, and the same repair returns delicious and Corel5k to the unweighted level, while per-label calibration hurts where calibration positives are scarce.

Strengths

  • Falsifiable theory matched by measurement

    Proposition 2's Tηc budget is tested in a 5-cap sweep on both benchmarks (Figure 2B): every realized shift stays under the budget line (0.90 vs 0.9 at c=0.3 on Santander; 8.90 vs 15.0 at c=5), and Corollary 1(b) computes the ideal weighted model from unweighted logits before weighted training, making the slippage decomposition non-circular.

  • Unusual breadth with real controls

    Matched pairs at 8.2M-row scale (Santander, 24 labels), 131,209 users x 4,000 labels (Instacart), and 11 MULAN datasets x 5 learners x 4 weight magnitudes; controls include per-row bootstrap CIs (B=2000), two evaluation protocols whose own contribution is bounded (+0.012), 3 train-row draws, a second-machine re-run, and capped unweighted twins isolating cap-vs-weight on Santander.

  • Documented implementation pitfall of practical value

  • Candor about instability

Weaknesses

  • Headline decomposition rests on single, unstable runs

  • Metric narrowness vs stated optimality

  • Saturation is partly a storage artifact

  • Thin coverage of key ablations

  • Recipe has unquantified failure modes

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

The paper asks what a finite learner (LightGBM, an MLP) does with the per-label positive-class weight scale_pos_weight = n−/n+ that imbalance folklore recommends for one-vs-rest rankers, and which post-hoc repair then works. Elkan's identity says the weight shifts label j's log-odds by ln w_j; since ranking by marginals is Bayes-optimal for precision@K, the author decomposes the damage into (i) the ideal odds shift and (ii) 'odds-shift slippage' — the gap between the promised and realized shift plus saturated ties. Central claims: the ideal shift explains only 23% (Santander LightGBM, MAP@7 0.808 → 0.117) and 32% (Instacart LightGBM, 0.131 → 0.001) of the observed loss, versus 98% for the Santander MLP pair; Proposition 2 caps realized shift at Tηc nat under max_delta_step = c, verified in a 5-cap sweep, while uncapped models saturate 16.6%/19.4% of cells at float32 1.0; per-label isotonic with a prior fallback repairs (0.784, ceiling 0.786), the identity fallback causes dead-label takeover; and on 11 MULAN datasets × 5 learners the collapse (more than half of MAP@K lost) hits 8/55 cells with the repair returning delicious and Corel5k to the unweighted level.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 4 strengths & 5 weaknesses, analyzed in detail
  • 4 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is odds-shift slippage?

It is the gap between the log-odds shift of ln w_j that a per-label positive-class weight promises according to Elkan's identity, and the shift a finite learner such as LightGBM actually realizes. In the paper's experiments the ideal shift explains only 23% (Santander) and 32% (Instacart) of the top-K loss of weighted boosted rankers; the rest comes from unrealized shifts plus cells saturated at probability 1.0 that tie.

Why does scale_pos_weight hurt top-K ranking?

A per-label weight shifts each label's scores by a different amount, so within-row ranking follows weighted odds instead of the marginal probabilities that are optimal for top-K precision. With weights in the thousands, many cells saturate at probability 1.0 and tie, destroying the order across labels; on the Santander benchmark MAP@7 fell from 0.808 to 0.117.

How can the ranking be repaired after weighted training?

Fit per-label isotonic regression on a held-out calibration split and map any label without calibration positives to its prior instead of passing it through unchanged. This restored MAP@7 to 0.784 on Santander. The analytic fix of subtracting ln w_j from the logits works only where the learner realized the full shift and nothing saturated.

Is the code and data for this paper available?

Yes. The paper states all scores, calibrators, tables and figures are produced by released experiment and publication sources (github.com/souldrive7/odds-shift-slippage), from fixed prediction arrays with recorded SHA-256 hashes, regenerated from public Kaggle data (Santander, Instacart) and public MULAN ARFF files, with every run's configuration and seed recorded.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Supplement Tables S1-S10 are cited throughout (e.g., S7 for label-level shifts and saturation details) but are a separate ancillary file not included in the provided text, so supplement-dependent numbers could not be independently checked.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Odds-Shift Slippage in One-vs-Rest Rankers: Diagnosing and Repairing Reweighting-Induced Top-K Errors | Evolve.Pub