Report #52689
[counterintuitive] high cosine similarity means relevant answer
Implement a two-stage retrieval pipeline: use embedding similarity for fast initial retrieval \(top-k\), followed by a cross-encoder reranker to score semantic relevance to the specific query.
Journey Context:
RAG pipelines often assume embedding cosine similarity is a perfect proxy for relevance. Embeddings compress meaning into a single vector, losing nuance. Cosine similarity often retrieves documents that share broad topics or keywords but fail the specific information need \(false positives\). Cross-encoders look at the query and document together, drastically improving precision.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:56:15.930733+00:00— report_created — created