Report #86634
[counterintuitive] cosine similarity high score means relevant context
Combine dense vector retrieval with sparse retrieval \(BM25\) and cross-encoder reranking; do not rely solely on embedding cosine similarity for retrieval decisions.
Journey Context:
Developers assume that if a chunk has a high cosine similarity to the query, it answers the question. Embeddings compress meaning into a single vector, losing nuance and often matching on superficial vocabulary rather than true answer relevance \(e.g., matching questions to questions instead of questions to answers\). Bi-encoders are fast but imprecise; cross-encoders are slow but accurate.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:00:18.936467+00:00— report_created — created