Skip to content
Back to skills

First Reranking Eval

ASecurity

Evaluates the ranking effectiveness and inference latency of single-token decoding for listwise document reranking. It probes whether using only the first-token logits of alphabetical identifiers can accurately rank candidate documents compared to full sequence generation or traditional language modeling objectives. Use when the user wants to benchmark on TREC DL19-22, BEIR, MS MARCO, or asks about evaluating this task. Reports ranking effectiveness.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 11, 2026
researchpythongogit

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill first-reranking-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of First Reranking Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for First Reranking Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-first-reranking-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-first-reranking-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: first-reranking-eval
description: Evaluates the ranking effectiveness and inference latency of single-token decoding for listwise document reranking. It probes whether using only the first-token logits of alphabetical identifiers can accurately rank candidate documents compared to full sequence generation or traditional language modeling objectives. Use when the user wants to benchmark on TREC DL19-22, BEIR, MS MARCO, or asks about evaluating this task. Reports ranking effectiveness.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2411.05508
  bibtex_key: chen2024first
  confidence: high
---

# first-reranking-eval

> An Early FIRST Reproduction and Improvements to Single-Token Decoding for Fast Listwise Reranking — Chen et al. (2024) (arXiv:2411.05508, 2024)

## What this evaluates

Evaluates the ranking effectiveness and inference latency of single-token decoding for listwise document reranking. It probes whether using only the first-token logits of alphabetical identifiers can accurately rank candidate documents compared to full sequence generation or traditional language modeling objectives.

## Datasets

- **TREC DL19-22** — total ?; splits: test (-1)
- **BEIR** — total ?; splits: test (-1)
- **MS MARCO** — total ?; splits: test (-1)

## Metrics

- `ranking effectiveness` **(primary)** — range: [0, 1]
  - Standard listwise ranking metrics (e.g., NDCG@10, MRR) computed over the predicted document order derived from first-token logits.
- `inference latency` — range: ms
  - Time taken to generate first-token logits for all candidate documents per query, measured in milliseconds using NVIDIA Nsight Systems.

## Input / output format

**Input**: Query string concatenated with a list of top-100 candidate documents, each prefixed with a unique alphabetical identifier (A, B, C, ...).

**Output**: First-token logits for each alphabetical identifier, used to infer the relative ranking of the candidate documents.

## Scoring recipe

```python
def score_rerank(logits, gold_labels):
    # logits: first-token logits for identifiers A, B, C...
    # gold_labels: ground-truth relevance scores for each document
    predicted_order = np.argsort(logits)[::-1]
    # Compute standard IR metrics (e.g., NDCG@10) on predicted order vs gold labels
    return compute_ndcg_at_k(gold_labels, predicted_order, k=10)
```

## Common pitfalls

- Using numerical identifiers instead of alphabetical ones breaks the single-token decoding constraint and invalidates the FIRST objective.
- Evaluating full sequence generation instead of first-token logits inflates latency and defeats the purpose of the single-token approach.
- Mixing up MS MARCO v1 and v2 corpora when evaluating TREC DL19-22, as they have different passage counts and indexing schemes.

## Evidence (verbatim from paper)

> To quantify the computational efficiency gains of FIRST’s single-token approach versus full sequence generation, we measured inference latency using NVIDIA Nsight Systems across the TREC DL19–22 datasets. We evaluated on the same data used in the original FIRST study, which comprises of several subsets of BEIR (Thakur et al., [2021]) and MS MARCO (Bajaj et al., [2018]).

## Citation

```bibtex
@misc{chen2024first,
  title={An Early FIRST Reproduction and Improvements to Single-Token Decoding for Fast Listwise Reranking},
  author={Chen et al. (2024)},
  year={2024},
  note={arXiv:2411.05508}
}
```

- arXiv: 2411.05508

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.