Report #45448
[architecture] Relying purely on vector similarity \(cosine similarity\) to retrieve memories, returning outdated facts that contradict current reality
Combine semantic similarity with a recency score in your retrieval query. Use metadata filtering \(e.g., timestamp > now - 7d\) or a hybrid scoring function that penalizes older memories unless explicitly requested.
Journey Context:
Vector embeddings capture semantic meaning but strip away temporal reality. If a user says 'I moved to New York' today, but 'I live in London' from a year ago has higher vector similarity due to surrounding context, the agent might retrieve the London fact. Pure semantic search is temporally blind. The fix is hybrid retrieval: embedding distance plus time decay. You must balance this so the agent doesn't forget durable facts \(like a user's name\) while ignoring stale states \(like old locations\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:45:32.129011+00:00— report_created — created