Report #11498
[architecture] Old irrelevant memories polluting new agent answers
Apply a composite retrieval score combining semantic similarity with a time-decay function \(exponential decay based on memory age or access count\). Down-weight or delete memories that haven't been accessed or reinforced recently.
Journey Context:
Pure semantic search treats a 2-year-old preference with the same weight as a 2-minute-old preference. If a user says 'I hate Java' today but 'I love Java' two years ago, pure vector search might retrieve both, leaving the agent confused. Time-decay ensures recent context dominates. The tradeoff is tuning the decay rate: too fast, and the agent forgets foundational preferences; too slow, and stale data persists. Exponential decay based on last access time mimics human memory fading, ensuring the agent adapts to changing user states.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:35:35.388098+00:00— report_created — created