# cross-encoder-reranking

Published articles for cross-encoder-reranking.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How Ground Truth Shapes Retrieval Scores: Evidence-Aware Evaluation of a Retrieval-Augmented Generation System for Breast Lesions

DevFeed: [How Ground Truth Shapes Retrieval Scores: Evidence-Aware Evaluation of a Retrieval-Augmented Generation System for Breast Lesions](<https://devfeed.tech/articles/how-ground-truth-shapes-retrieval-scores-evidence-aware-evaluation-of-a-retrieval-augmented-generation-system-for-breast-lesions-98239.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31606>)

Author: Miguel Mochizuki Silva, Samuel Ismael, Mateus C. Dias, Tha\\'is Gaud\\^encio, Yuri Malheiros, Barufaldi

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Ground truth / benchmark quality](<https://devfeed.tech/topics/ground-truth-benchmark-quality.md>), [AI-driven information retrieval](<https://devfeed.tech/topics/ai-driven-information-retrieval.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>), [Trustworthy AI](<https://devfeed.tech/topics/trustworthy-ai.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [all](<https://devfeed.tech/tags/all.md>), [annotation](<https://devfeed.tech/tags/annotation.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [assessment](<https://devfeed.tech/tags/assessment.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [bleu](<https://devfeed.tech/tags/bleu.md>), [bm25](<https://devfeed.tech/tags/bm25.md>), [combined](<https://devfeed.tech/tags/combined.md>), [conclusion](<https://devfeed.tech/tags/conclusion.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cross-encoder](<https://devfeed.tech/tags/cross-encoder.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [generation](<https://devfeed.tech/tags/generation.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [system](<https://devfeed.tech/tags/system.md>)

### AI overview

In an 18-document, 18-query development benchmark for breast lesion management literature, a hybrid retriever using dense embeddings, BM25, and cross-encoder reranking performed best. With 384-token chunks and 20% overlap, it retrieved accepted evidence in the top three results for 17 of 18 queries; Recall@3, R-Precision, MRR@3, and nDCG@3 were each 0.94. Expanding ground-truth annotations from 25 to 37 evidence spans and from 36 to 51 accepted chunk targets did not change rankings, showing that measured scores depend on annotation coverage. Generation was assessed separately on a 512-token index at K=1-5 with claim-level and BLEU/ROUGE metrics. The authors note that the small benchmark and retrieval-informed curation need independent validation, including radiologist assessment of evidence sufficiency.

### Source excerpt

arXiv:2610.31606v1 Announce Type: cross Abstract: Purpose: To describe an evidence-aware retrieval evaluation protocol for a clinical retrieval-augmented generation (RAG) system over breast lesion management literature, addressing the dependence of retrieval scores on annotation coverage. Methods: An 18-document corpus and an 18-query development benchmark, with one Yes/No or WH-question per document, were used. Retrieval combined dense embeddings, BM25, and cross-encoder reranking. Chunk sizes of 128 to 1024 tokens, overlaps of 0 to 20%, and four retriever configurations were evaluated. Relevance was defined by evidence spans mapped to all containing chunks, treating overlapping chunks with equivalent evidence as relevant. Retrieval was evaluated using R-Precision, Recall@K, MRR, and nDCG@K. Separately, generation was assessed on a 512-token index at K=1 to 5 using DeepEval claim-level metrics, with deepseek-v4-pro as the LLM judge, and BLEU/ROUGE metrics. Results: The selected hybrid retriever, using 384-token chunks and 20% overlap, retrieved accepted evidence in the top three results for 17 of 18 queries. Recall@3, R-Precision, MRR@3, and nDCG@3 each reached 0.94. Ground-truth curation increased evidence spans from 25 to 37 and accepted chunk targets from 36 to 51 without changing retrieval rankings. Conclusion: Cross-encoder reranking achieved the highest retrieval scores. Expanded relevance annotations increased recognized evidence without changing rankings, highlighting annotation sensitivity. The small development set and retrieval-informed curation require independent validation, including radiologist assessment of evidence sufficiency.

## My RAG Pipeline Found the Right Documents. Then the Reranker Buried Them.

DevFeed: [My RAG Pipeline Found the Right Documents. Then the Reranker Buried Them.](<https://devfeed.tech/articles/my-rag-pipeline-found-the-right-documents-then-the-reranker-buried-them-92546.md>)

Original publisher: [Read original article](<https://hackernoon.com/my-rag-pipeline-found-the-right-documents-then-the-reranker-buried-them?source=rss>)

Author: trpevski

Published: 2026-10-21T07:24:44Z

Content type: opinion

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [architecture-components](<https://devfeed.tech/topics/architecture-components.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [context](<https://devfeed.tech/tags/context.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [cross-encoder](<https://devfeed.tech/tags/cross-encoder.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [input](<https://devfeed.tech/tags/input.md>), [llm](<https://devfeed.tech/tags/llm.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rag-best-practices](<https://devfeed.tech/tags/rag-best-practices.md>), [reranker](<https://devfeed.tech/tags/reranker.md>), [reranking](<https://devfeed.tech/tags/reranking.md>), [reranking-failures](<https://devfeed.tech/tags/reranking-failures.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>)

### AI overview

The pipeline's vector search retrieved the correct documents, but reranking pushed one from #1 to #4. The article traces this to mismatched document representations between embedding and reranking, weak reranker language support for multilingual content, and input truncation that can hide useful context. Adding title and section signals and increasing the reranker's input length improved results, though it did not eliminate every regression. Reducing the candidate pool lowered reranking latency while keeping retrieval quality close to the vector search baseline. The recommended debugging steps are to compare rankings before and after reranking, inspect what text each stage receives, check language fit and truncation, and measure changes with MRR and Recall@k rather than judging only final answers.

### Source excerpt

A RAG pipeline retrieved the right documents but lost them during reranking. Here's what went wrong and how to improve retrieval quality.

## How to Build a Retriever From Scratch for a Support System

DevFeed: [How to Build a Retriever From Scratch for a Support System](<https://devfeed.tech/articles/how-to-build-a-retriever-from-scratch-for-a-support-system-60586.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-to-build-a-retriever-from-scratch-for-a-support-system?source=rss>)

Author: Pavel Yakovlev

Published: 2026-09-27T13:13:49Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Support](<https://devfeed.tech/topics/support.md>)

Tags: [ai-agents-for-banking](<https://devfeed.tech/tags/ai-agents-for-banking.md>), [bm25](<https://devfeed.tech/tags/bm25.md>), [bm25-and-dense-retrieval](<https://devfeed.tech/tags/bm25-and-dense-retrieval.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [hybrid-rag-architecture](<https://devfeed.tech/tags/hybrid-rag-architecture.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rag-architecture](<https://devfeed.tech/tags/rag-architecture.md>), [rag-customer-support-chatbot](<https://devfeed.tech/tags/rag-customer-support-chatbot.md>), [rag-system-in-banking](<https://devfeed.tech/tags/rag-system-in-banking.md>), [rrf-retrieval-fusion](<https://devfeed.tech/tags/rrf-retrieval-fusion.md>)

### AI overview

The tutorial develops a customer-support retrieval system by separating document search from LLM response generation. It starts with BM25 keyword search, explains its limitations in matching meaning, and introduces sentence embeddings and vector search. It also distinguishes shared reference documents from private customer data.

### Source excerpt

Build a customer-support retriever from scratch: BM25 + dense (E5) + RRF + a cross-encoder, plus an identity-scoped agent path, added step by step.

## Your RAG Pipeline Can Be Correct and Still Miss the Right Answer

DevFeed: [Your RAG Pipeline Can Be Correct and Still Miss the Right Answer](<https://devfeed.tech/articles/your-rag-pipeline-can-be-correct-and-still-miss-the-right-answer-59674.md>)

Original publisher: [Read original article](<https://hackernoon.com/your-rag-pipeline-can-be-correct-and-still-miss-the-right-answer?source=rss>)

Author: Subhash Tatavarthi

Published: 2026-09-24T20:04:20Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [approximate-nearest-neighbor](<https://devfeed.tech/tags/approximate-nearest-neighbor.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [hybrid-search](<https://devfeed.tech/tags/hybrid-search.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [latency](<https://devfeed.tech/tags/latency.md>), [pgvector](<https://devfeed.tech/tags/pgvector.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql-full-text-search](<https://devfeed.tech/tags/postgresql-full-text-search.md>), [postgresql-hnsw](<https://devfeed.tech/tags/postgresql-hnsw.md>), [rag](<https://devfeed.tech/tags/rag.md>), [reciprocal-rank-fusion](<https://devfeed.tech/tags/reciprocal-rank-fusion.md>), [search](<https://devfeed.tech/tags/search.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

This article explains why a RAG pipeline using pgvector and HNSW can return incomplete or incorrect filtered results even when retrieval appears correct. It covers approximate nearest-neighbor tradeoffs, candidate-list sizing, post-index filtering, recall, and hybrid search as a complementary approach.

### Source excerpt

pgvector, HNSW and the filtered-search trap: why your WHERE clause returns fewer rows than it should, and how hybrid search fixes what embeddings cannot.

## Qdrant Summer of Code 2024 - ONNX Cross Encoders in Python

DevFeed: [Qdrant Summer of Code 2024 - ONNX Cross Encoders in Python](<https://devfeed.tech/articles/qdrant-summer-of-code-2024-onnx-cross-encoders-in-python-65205.md>)

Original publisher: [Read original article](<https://qdrant.tech/blog/cross-encoder-integration-gsoc/>)

Author: info@qdrant.tech (Andrey Vasnetsov)

Published: 2024-10-14T05:00:00Z

Content type: article

Language: en

Sources: [Qdrant Blog on Qdrant - Vector Search Engine](<https://devfeed.tech/sources/qdrant-blog-on-qdrant-vector-search-engine.md>)

Topics: [sentence-transformers](<https://devfeed.tech/topics/sentence-transformers.md>), [onnx](<https://devfeed.tech/topics/onnx.md>), [experience report](<https://devfeed.tech/topics/experience-report.md>), [Qdrant](<https://devfeed.tech/topics/qdrant.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [batch-processing](<https://devfeed.tech/tags/batch-processing.md>), [batching](<https://devfeed.tech/tags/batching.md>), [cross-encoder](<https://devfeed.tech/tags/cross-encoder.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [fastembed](<https://devfeed.tech/tags/fastembed.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [qsoc-24](<https://devfeed.tech/tags/qsoc-24.md>), [reranking](<https://devfeed.tech/tags/reranking.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Huong (Celine) Hoang describes adding cross-encoder reranking to FastEmbed during the 2024 Qdrant Summer of Code. The work used ONNX models to score query-document pairs, added batching and model integration, and compared ONNX scores with PyTorch outputs. The support was included in FastEmbed 0.4.0.

### Source excerpt

Editor's note: The score tests check numerical agreement between model implementations. This 2024 post was edited for length and clarity. Read the original version. I'm Huong (Celine) Hoang, and I worked on cross-encoder reranking in FastEmbed during Qdrant Summer of Code 2024. FastEmbed already generated embeddings for retrieval. My project added models that score a query together with each candidate document, so applications could reorder retrieved results. This post records my 2024 internship. For current models and runnable examples, use the FastEmbed reranker documentation.