Report #42720
[architecture] Agent retrieves outdated facts from long-term memory that contradict current context
Implement a decay factor \(exponential decay based on time since last access\) in your vector search scoring. Combine retrieval score = \(alpha \* semantic\_similarity\) \+ \(beta \* recency\) \+ \(gamma \* importance\). Update the 'last\_accessed' timestamp on a memory every time it is retrieved.
Journey Context:
Pure semantic search ignores time. A memory from 2 years ago about the user's 'current address' will semantically match and override the new address they just provided. People try to solve this by just deleting old data, but old data is sometimes still valid. The Generative Agents architecture solved this elegantly with a recency decay factor, ensuring recently accessed or created memories score higher unless an old memory is overwhelmingly important.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:10:33.045295+00:00— report_created — created