ClarityRank Reranker v2
ClarityRank Reranker v2 is a compact cross-encoder that rescores the top 50 passages returned by the first-stage retriever behind Clarity Search. It replaces the v1 reranker in the documentation and support knowledge-base pipeline, where answers must be grounded in a single cited passage.
Release decision
- Sweep run:
run_distill - Checkpoint:
step_2000(step 2000) - Overall macro average: 0.7655
- p95 latency per query on the 8 vCPU evaluation box: 84.5 ms
The checkpoint above is the release candidate picked from the completed sweep: it satisfies every release gate and has the lowest p95 latency among the checkpoints that do.
Benchmark scores
All scores are means over the frozen v2 evaluation sets and are reported with three decimal places. The release floor for every individual benchmark is 0.700.
| Group | Benchmark | Score | Release floor |
|---|---|---|---|
| Retrieval Accuracy | ndcg_at_10 | 0.785 | 0.700 |
| Retrieval Accuracy | mrr_at_10 | 0.779 | 0.700 |
| Retrieval Accuracy | map_at_10 | 0.765 | 0.700 |
| Retrieval Accuracy | recall_at_50 | 0.763 | 0.700 |
| Query Robustness | typo_robustness | 0.773 | 0.700 |
| Query Robustness | ocr_noise_robustness | 0.755 | 0.700 |
| Query Robustness | long_query_robustness | 0.777 | 0.700 |
| Query Robustness | cross_lingual_robustness | 0.771 | 0.700 |
| Domain Coverage | legal_retrieval | 0.764 | 0.700 |
| Domain Coverage | medical_retrieval | 0.748 | 0.700 |
| Domain Coverage | financial_retrieval | 0.758 | 0.700 |
| Domain Coverage | code_retrieval | 0.746 | 0.700 |
Group macro averages
Each value is the unweighted mean of the four benchmark scores in the group; the release floor for a group macro average is 0.745.
| Group | Macro average |
|---|---|
| Retrieval Accuracy | 0.7730 |
| Query Robustness | 0.7692 |
| Domain Coverage | 0.7544 |
Usage
from sentence_transformers import CrossEncoder
reranker = CrossEncoder("clarityrank-reranker-v2", max_length=512)
scores = reranker.predict([("how do I reset my password", passage) for passage in passages])
Inputs longer than 512 tokens are truncated from the right; truncate the passage, never the query.
Limitations
- Trained on English documentation and support tickets. Cross-lingual pairs are scored through a translated index and are noticeably weaker than the monolingual ones.
- The model is a reranker, not a retriever: scoring more than roughly 100 candidates per query costs more latency than it buys in recall.
- Scores are not calibrated across domains, so do not compare raw logits between the legal and code slices.
Citation
@misc{claritylabs2026clarityrankv2,
title = {ClarityRank Reranker v2},
author = {Clarity Labs Retrieval Team},
year = {2026},
note = {Cross-encoder reranker for Clarity Search}
}
Contact
Open an issue in the internal clarity-search/rerankers repository or ping #clarity-retrieval on Slack.