Skip to content
Back to skills

Iclerb Eval

ASecurity

Evaluates embedding models and rerankers on their ability to retrieve contextually useful documents for In-Context Learning (ICL) tasks. It measures retrieval effectiveness by ranking candidate documents based on their utility in improving downstream LLM accuracy, rather than relying solely on semantic similarity. Use when the user wants to benchmark on TruthfulQA, Emotion, ProductER, or asks about evaluating this task. Reports nDCG@10.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
ai-agentspythonperformance

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Iclerb Eval?

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

Security grade badge for Iclerb Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-iclerb-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-iclerb-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: iclerb-eval
description: Evaluates embedding models and rerankers on their ability to retrieve contextually useful documents for In-Context Learning (ICL) tasks. It measures retrieval effectiveness by ranking candidate documents based on their utility in improving downstream LLM accuracy, rather than relying solely on semantic similarity. Use when the user wants to benchmark on TruthfulQA, Emotion, ProductER, or asks about evaluating this task. Reports nDCG@10.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2411.18947
  bibtex_key: [REDACTED]
  confidence: high
---

# iclerb-eval

> ICLERB: In-Context Learning Embedding and Reranker Benchmark — Al Ghossein et al. (2024) (arXiv:2411.18947, 2024)

## What this evaluates

Evaluates embedding models and rerankers on their ability to retrieve contextually useful documents for In-Context Learning (ICL) tasks. It measures retrieval effectiveness by ranking candidate documents based on their utility in improving downstream LLM accuracy, rather than relying solely on semantic similarity.

## Datasets

- **TruthfulQA** — total ?; splits: test (-1)
- **Emotion** — total ?; splits: test (-1)
- **ProductER** — total ?; splits: test (-1)

## Metrics

- `nDCG@10` **(primary)** — range: [0, 1]
  - Normalized Discounted Cumulative Gain at rank 10. It measures the quality of a ranked list by applying a logarithmic discount to the relevance score of each retrieved document, normalized by the ideal DCG@10. Values range from 0 to 1, where 1 indicates a perfect ranking.

## Input / output format

**Input**: A query representing an ICL task or prompt, paired with a pool of candidate documents or context snippets to be retrieved and ranked.

**Output**: A ranked list of candidate documents, typically evaluated on the top-10 results.

## Scoring recipe

```python
def compute_ndcg_at_10(relevance_scores, k=10):
    dcg = sum(rel / math.log2(i + 2) for i, rel in enumerate(relevance_scores[:k]))
    ideal_scores = sorted(relevance_scores, reverse=True)
    idcg = sum(rel / math.log2(i + 2) for i, rel in enumerate(ideal_scores[:k]))
    return dcg / idcg if idcg > 0 else 0.0
```

## Common pitfalls

- Rerankers fine-tuned for general semantic similarity or web search may underperform on ICL tasks compared to embedding models.
- Larger model size does not guarantee better ICL retrieval performance; smaller models can significantly outperform larger counterparts.

## Evidence (verbatim from paper)

> Table 2 presents the ICLERB results, sorted by nDCG@10. The top performers on the benchmark are cm-rerank-mxbai-rlaif-v0.1 (our proposed model, detailed in Section 5), BAAI's bge-en-icl, and NVIDIA's NV-Embed-v2.

## Citation

```bibtex
@misc{alghossein2024iclerb,
  title={ICLERB: In-Context Learning Embedding and Reranker Benchmark},
  author={Al Ghossein et al. (2024)},
  year={2024},
  note={arXiv:2411.18947}
}
```

- arXiv: 2411.18947

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.