Original Reddit post

I’ve been reading the MemGPT paper recently and started thinking about memory systems for AI agents/home assistants. I’m giving data to llm like - Last 10 massages (PostgreSQL), sensors live data (Redis), chunks (related Vector from VD). Now, this VD will increase with time. so we cant retrieve important chat bcz off there are already stored many unimportant chats… so, we have to define how we detect which chat is important to store and which are not… so llm cant get confused and we retrieve correct and important chunks from VD. One thing I still don’t fully understand is: How should an AI system decide:

  • which memories are important enough to store long-term
  • which memories should be ignored
  • and when old memories should be updated or forgotten? For example: Suppose a smart home assistant learns that:
  • 2 months ago, the user preferred AC temperature at 24°C
  • but recently, the user keeps setting it to 26°C Now the system has to decide:
  • Should it overwrite the old memory?
  • Store both?
  • Increase confidence for the newer preference?
  • Decay old memories over time? Another challenge is: How do we even identify whether something is an “important memory” in the first place? Example:
  • preferred room temperature → probably important
  • one random weather question → probably not important So what signals are people using to classify memory importance? Saving every interaction forever obviously becomes noisy and inefficient, so I’m curious how people are approaching this in real-world AI agent systems. Are you using:
  • memory scoring systems?
  • summarization pipelines?
  • reflection loops?
  • vector retrieval only?
  • heuristic rules?
  • reinforcement-style updates? Would love to hear how others are solving evolving preferences + long-term memory management in AI agents. NOTE: I generated this text using ChatGPT. submitted by /u/tensor_001

Originally posted by u/tensor_001 on r/ArtificialInteligence