Report #68804
[counterintuitive] Embedding similarity search can handle negation and exclusion queries
Use metadata filtering or keyword extraction for exclusion criteria; do not rely on vector distance to represent 'not X' or 'without Y'.
Journey Context:
Developers intuitively map semantic meaning to vector space, assuming 'not happy' will be far from 'happy'. In reality, token overlap causes 'not happy' and 'happy' to have highly similar embeddings. Vector spaces lack a reliable negation operator; subtracting the 'happy' vector often results in an unrelated vector \(like 'sad'\) rather than 'everything except happy'. Pure vector search fails silently on exclusion logic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:58:19.247122+00:00— report_created — created