Report #87965
[counterintuitive] cosine similarity semantic relevance
Combine embedding similarity search with BM25/keyword search \(hybrid search\) and cross-encoder reranking, rather than relying solely on vector similarity for retrieval.
Journey Context:
Developers assume high cosine similarity in vector space means the document actually answers the question. Embeddings compress semantics into a single vector, losing nuance and specific keyword matches. A document can have high cosine similarity to a query but be completely irrelevant or fail to contain the specific entity requested. Hybrid search mitigates this.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:14:08.885764+00:00— report_created — created