ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Scalable In-context Ranking with Generative Models — Problem 1: MRR lacks the requested cutoff and empty predictions count as correct

Original paper: Gupta, Nilesh; You, Chong; Bhojanapalli, Srinadh; Kumar, Sanjiv; Dhillon, Inderjit; Yu, Felix. Scalable In-context Ranking with Generative Models. Advances in Neural Information Processing Systems, vol. 38, 2025, pp. 36590–36613. https://doi.org/10.52202/085713-1228
Source version: NeurIPS 2025 official proceedings PDF (current publisher bytes, checked 2026-10-21)
Source location: Section 5.1, PDF p. 8; current src/blockrank/utils.py, evaluation metrics lines 352–358 and 412–443; scripts/eval_attn.py, incremental evaluator

Question: What does the recorded analysis establish about “MRR lacks the requested cutoff and empty predictions count as correct”?
Bounded finding:
The current released metric helpers still violate their cutoff and empty-output contracts. Correcting affected scores requires predictions and relevance labels; no numerical change to the paper’s original tables has been established.

Recorded check:
The current evaluation requests untruncated recip_rank and copies that one result into every reported MRR cutoff.
For one query with \(11\) candidates, only the last relevant, predicting only the first \(10\) causes unpredicted candidates to be filled with zero scores. The relevant item then contributes \(1/11\) to the release’s MRR@\(10\), although no relevant item was returned within the cutoff and the correct truncated value is zero. Separately, an empty prediction becomes an empty top-one set; the code’s subset test accepts it against any ground-truth set. Precision@\(1\) requires an actual relevant first item, so this empty-output success is false. These are current source behaviors, not reconstructed historical table measurements.

Case-wide limitations:
- No author program, attention kernel, model or old verifier was executed. The public PyTorch release is later than the original JAX/TPU experiments. Missing historical predictions prevent estimating metric or ranking effects on the paper’s tables. Normalization is a documented version difference whose intent and empirical merits remain unestablished.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
Motivated by these observations, we introduce BlockRank (Blockwise In-context Ranking), a novel method that adapts the attention operation in an LLM by (a) architecturally enforcing the observed inter-document block sparsity, reducing attention complexity from quadratic to linear without loss in performance, and (b) optimizing query-document block relevance for true relevant documents during fine-tuning using an auxiliary contrastive training objective, improving retrieval in attention.
Source: NeurIPS 2025 official proceedings PDF (current publisher bytes, checked 2026-10-21)
Locator: Abstract, PDF p. 1
Source PDF SHA-256: 26032701ea72dcfc4881ea8a6810ea2b2a6ee7e9dc6ae2ba8fde463753d0afb3

Review status: Independent review pending
Case: neurips2025-0030-scalable-in-context-ranking-with-generative-models
Revision: 1
Record created: 2026-10-21T07:13:27.568206+00:00
Permalink: https://elvia-atlas.org/atlas/cases/neurips2025-0030-scalable-in-context-ranking-with-generative-models.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/neurips2025-0030-scalable-in-context-ranking-with-generative-models/records/neurips2025-0030-scalable-in-context-ranking-with-generative-models.r1.json
Canonical record SHA-256: 31b221883a76174b8d6c1d343d3a6df5cda2dff79a9cf1dfddb1e285acbe0df1
The page follows the latest revision; the versioned record identifies this snapshot.

Analysis citation:
Minhao Liu. ELVIA analysis of: Scalable In-context Ranking with Generative Models — Problem 1: MRR lacks the requested cutoff and empty predictions count as correct. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/neurips2025-0030-scalable-in-context-ranking-with-generative-models.html#problem-1
Case neurips2025-0030-scalable-in-context-ranking-with-generative-models; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/neurips2025-0030-scalable-in-context-ranking-with-generative-models/records/neurips2025-0030-scalable-in-context-ranking-with-generative-models.r1.json

Source claim (paraphrase):
The paper reports MRR@\(10\) and P@1.

Full finding analysis:
The current evaluation requests untruncated recip_rank and copies that one result into every reported MRR cutoff.
For one query with \(11\) candidates, only the last relevant, predicting only the first \(10\) causes unpredicted candidates to be filled with zero scores. The relevant item then contributes \(1/11\) to the release’s MRR@\(10\), although no relevant item was returned within the cutoff and the correct truncated value is zero. Separately, an empty prediction becomes an empty top-one set; the code’s subset test accepts it against any ground-truth set. Precision@\(1\) requires an actual relevant first item, so this empty-output success is false. These are current source behaviors, not reconstructed historical table measurements.

Finding and scope:
The current released metric helpers still violate their cutoff and empty-output contracts. Correcting affected scores requires predictions and relevance labels; no numerical change to the paper’s original tables has been established.

Proposed correction:
Apply the rank cutoff before reciprocal-rank scoring; return zero for empty predictions; preserve IDs/scores explicitly.
The latest author default head retains both the copied untruncated reciprocal-rank result and empty-set subset check. The original paper explicitly used JAX/TPU, so the later PyTorch evaluator is not assumed to be its historical evaluator.

Displayed problem statement:
The paper reports MRR@\(10\) and P@1.

Source PDF SHA-256: 26032701ea72dcfc4881ea8a6810ea2b2a6ee7e9dc6ae2ba8fde463753d0afb3
Repair verification: pending
Author adoption: not_requested