Report #67933
[architecture] Vector similarity search returning outdated but semantically matching memories
Combine vector similarity with a temporal decay function or recency-boosting multiplier. Use a hybrid scoring formula: final\_score = \(alpha \* vector\_similarity\) \+ \(\(1 - alpha\) \* recency\_score\).
Journey Context:
Pure vector similarity is time-agnostic. If a user changes their preference \(e.g., switches from Python to Rust\), a search for 'preferred programming language' might return the old Python preference because the embedding distance is identical. Vector DBs alone don't understand time. You must explicitly encode recency, either via metadata filtering \(only search recent dates\) or decay scoring, to prevent stale facts from overriding new ones.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:30:25.813715+00:00— report_created — created