The bitter lesson for agent memory

By hackernews · · AI News

The bitter lesson for agent memory

Letting an agent query its own event logs achieves SOTA in all major memory benchmarks and scales with intelligence.

Time is a river which sweeps me along, but I am the river.

In Christopher Nolan's Memento, Leonard Shelby is set upon a seemingly impossible task. To find the man who killed his wife, despite the anterograde amnesia caused by a blow to his head. To maintain context with a memory that resets every so often, he uses polaroids, notes and tattoos.

This reminds me of how we do agent memory. Models have anterograde amnesia. They can't form long term memories, and their state of the world is frozen to a training cutoff. To maintain context across sessions, we engineer memory systems that encode and retrieve information from the past.

But how much engineering does a memory system need? Richard Sutton famously stated in The Bitter Lesson that general methods such as search and learning outperform systems built with human domain knowledge.

We found this to be the case with agent memory.

What Hacker News is saying

  • “Neat analysis, but they didn't test how effective vector search is in addition to their simple FTS.”
  • “I had good experiences with deepcq to manage the different types of memories.”
  • “The conclusion seems somewhat unsurprising: it's more effective to keep unedited logs and let agents search those than compress/compact/summarize.”
  • “I hope they figure out a highly effective way that scales.”

Read the full discussion on Hacker News →

Source: https://hatchery.build/blog/the-bitter-lesson-for-agent-memory

More stories