Report #76715
[counterintuitive] High cosine similarity in embeddings means the text is semantically relevant to the query
Combine embedding similarity with keyword/lexical search \(hybrid search\) or cross-encoder reranking; do not rely solely on bi-encoder embedding distance for final relevance decisions.
Journey Context:
Developers treat embedding cosine similarity as a proxy for 'relevance.' However, embeddings compress meaning into a single vector; they often capture topical similarity but miss nuance, negation, or specific entity relationships. A document can have high cosine similarity to a query but actually contradict it. Bi-encoders are fast but shallow; cross-encoders are needed for deep relevance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:21:07.409202+00:00— report_created — created