Skip to content
Back to skills

Srbench Eval

ASecurity

Evaluates sequential recommendation models across accuracy, fairness, stability, and efficiency dimensions. It tests whether models can correctly rank items based on user interaction history and assesses their robustness, bias, and computational cost. Use when the user wants to benchmark on Yelp, ML-100K, Beauty, or asks about evaluating this task. Reports Recall@5.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythonperformancedocumentation

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Srbench Eval?

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

Security grade badge for Srbench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-srbench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-srbench-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: srbench-eval
description: Evaluates sequential recommendation models across accuracy, fairness, stability, and efficiency dimensions. It tests whether models can correctly rank items based on user interaction history and assesses their robustness, bias, and computational cost. Use when the user wants to benchmark on Yelp, ML-100K, Beauty, or asks about evaluating this task. Reports Recall@5.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2604.09553
  bibtex_key: lib2026srbench
  confidence: high
---

# srbench-eval

> SRBench: A Comprehensive Benchmark for Sequential Recommendation with Large Language Models — Li et al. (2026) (arXiv:2604.09553, 2026)

## What this evaluates

Evaluates sequential recommendation models across accuracy, fairness, stability, and efficiency dimensions. It tests whether models can correctly rank items based on user interaction history and assesses their robustness, bias, and computational cost.

## Datasets

- **Yelp** — total ?; splits: test (-1)
- **ML-100K** — total ?; splits: test (-1)
- **Beauty** — total ?; splits: test (-1)

## Metrics

- `Recall@5` **(primary)** — range: [0, 1]
  - Standard recommendation metric: fraction of ground-truth items in the top-5 recommended list. Exact calculation follows standard recsys conventions.
- `NDCG@5` — range: [0, 1]
  - Normalized Discounted Cumulative Gain at rank 5. Measures ranking quality with position-based discounting.
- `ARP` — range: other
  - Benchmark-specific fairness metric measuring average recommendation popularity exposure. Exact formula defined in SRBench documentation.
- `ARQ` — range: other
  - Benchmark-specific fairness metric measuring average recommendation quality exposure. Exact formula defined in SRBench documentation.
- `ARQV` — range: other
  - Benchmark-specific stability metric measuring recommendation quality variance across runs. Exact formula defined in SRBench documentation.
- `ARR` — range: other
  - Benchmark-specific stability metric measuring recommendation consistency/rank stability. Exact formula defined in SRBench documentation.
- `ART(s)` — range: other
  - Benchmark-specific efficiency metric measuring average recommendation time in seconds.

## Input / output format

**Input**: Structured user-item interaction sequences converted into natural language prompts via a unified paradigm with role-playing and semantic enrichment. Few-shot mode uses the 5 most recent interactions ordered chronologically.

**Output**: Unstructured natural language text containing ranked item recommendations. Must be parsed by extracting numerical item IDs and aligning them chronologically.

## Scoring recipe

```python
def score(predictions, ground_truth):
    # predictions: list of item IDs from LLM output
    # ground_truth: list of actual next-item IDs
    top5 = predictions[:5]
    recall = sum(1 for item in top5 if item in ground_truth) / len(ground_truth)
    ndcg = compute_ndcg(top5, ground_truth, k=5)
    # Fairness/Stability/Efficiency computed per SRBench protocol
    return recall, ndcg
```

## Common pitfalls

- LLMs may hallucinate non-existent item IDs, requiring strict ID verification against the catalog.
- Output instability persists even at temperature=0 due to transformer architecture, necessitating multiple runs and averaging.
- Popularity bias skews fairness metrics (ARP/ARQ), causing models to favor popular items over quality.
- Sequence length significantly impacts performance; few-shot (k=5) often outperforms full-length in accuracy/fairness/efficiency.

## Evidence (verbatim from paper)

> As shown in Figure 6, on same MovieLens dataset, Caser's Recall@5 tested by SRBench is 0.0637, which is very close to Caser's own proposed evaluation result (0.0632) (Tang & Wang, 2018). Above consistency demonstrates that SRBench is capable of accurately evaluating SR models.

## Citation

```bibtex
@misc{lib2026srbench,
  title={SRBench: A Comprehensive Benchmark for Sequential Recommendation with Large Language Models},
  author={Li et al. (2026)},
  year={2026},
  note={arXiv:2604.09553}
}
```

- arXiv: 2604.09553

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.