Why AI Researchers Are Teaching Chatbots To Manage Their Own Memories

Two academic papers published this month, AutoMem and SelfMem, argue that memory shouldn’t be a rigid feature engineered by developers using static rules.
An artificial intelligence (AI) sign sits illuminated at Mobile World Congress 2025 on March 6, 2025 in Barcelona, Spain
An artificial intelligence (AI) sign sits illuminated at Mobile World Congress 2025 on March 6, 2025 in Barcelona, Spain. (Photo by Cesc Maymo/Getty Images)
Profile Image
Rounak Jain·Stocktwits
Updated Jul 16, 2026   |   1:27 PM EDT
Share
·
Add us onAdd us on Google
Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...Loading...
  • Despite taking different approaches, both papers report substantial gains on long-horizon benchmarks by allowing agents to actively manage their own memories.
  • Researchers believe that this kind of selective memory will become increasingly important as AI agents take on longer-running tasks.
  • The push for smarter memory is arriving right as the AI industry shifts away from simple, one-off chat prompts toward autonomous “agents” designed to operate over days, weeks, or months.

Advertisement|Remove ads.

For years, the race to build better artificial intelligence centered on making models bigger, feeding them more data, and expanding the amount of information they could process at once. Now, a fresh frontier is emerging as researchers increasingly explore smarter memory management as another way to build more capable AI systems.

Two academic papers published this month, AutoMem and SelfMem, argue that memory shouldn't be a rigid feature engineered by developers using static rules. Instead, they propose that AI systems can learn to manage their own memories.

Read Next
Loading...
Loading...

They take different approaches: AutoMem trains AI to manage an external memory system, while SelfMem lets agents refine their own memory strategies through feedback, and both report substantial gains on long-horizon benchmarks.

Advertisement|Remove ads.

Imagine working with an AI coding assistant on a project for months. Instead of repeatedly reminding it about your project's architecture and coding style, a smarter memory system could retain the decisions that matter while discarding obsolete information.

Researchers believe that this kind of selective memory will become increasingly important as AI agents take on longer-running tasks.

From Bigger Context Windows To Smarter Memory

One way developers have tried to build more capable chatbots is by expanding their context windows, which are the immediate digital scratchpad an AI considers during a conversation.

Advertisement|Remove ads.

While larger context windows let models process more information, they also increase computational costs and don't necessarily help AI distinguish useful information from irrelevant details.

The papers instead explore an alternative approach based on active memory curation.

In AutoMem, Stanford University researchers introduced a memory manager that decides when to create, update, search, and delete records, allowing the AI to maintain a compact memory instead of continuously accumulating information.

Advertisement|Remove ads.

Tested on grueling, complex video games like NetHack and Crafter, this memory-management approach slashed the agent's memory growth rate by 95% and doubled its task performance, allowing a 32-billion-parameter open-weight model to perform competitively with frontier models including Claude Opus 4.5 and Gemini 3.1 Pro Thinking on the evaluated long-horizon benchmarks.

SelfMem takes a completely parameter-free approach. Instead of editing model weights, it gives the AI a dedicated workspace and tools to inspect an unchangeable transcript store.

It allows the agent to inspect, write, review, and revise its own memory, outperforming traditional retrieval pipelines by more than 40% on the BEAM benchmark while using only a fraction of the computational cost.

Advertisement|Remove ads.

Why Memory Matters For AI Agents

The push for smarter memory comes as AI companies shift from one-off chatbots to autonomous agents designed to work over days or weeks. Whether writing software, tracking supply chains, or managing research projects, these systems must retain relevant information while discarding details that no longer matter.

That is where autonomous memory management changes the equation. Instead of forcing a user to repeatedly copy-paste instructions, an agent equipped with an optimized memory workflow seamlessly recalls structural boundaries, tracks cumulative progress, and discards transient data that is no longer relevant.

Better memory could also reduce the computational cost of repeatedly processing the same information, a potential advantage as AI companies look to deploy agents more efficiently at scale.

Advertisement|Remove ads.

Research And Industry Are Moving In The Same Direction

Over the past year, leading AI companies like OpenAI, Google, and Anthropic have introduced basic memory features, allowing consumer chatbots to retain user preferences and custom instructions across distinct chat sessions.

Today's commercial memory features generally rely on predefined mechanisms for deciding what information is retained. AutoMem and SelfMem instead point toward AI systems capable of independently evaluating and regulating their own memories.

As tech companies race to build AI systems capable of executing truly long-horizon work, the findings suggest memory management may become an increasingly important complement to larger models.

Advertisement|Remove ads.

Future AI systems may be judged not only by how much they know, but also by how effectively they decide what information is worth keeping.

Meanwhile, tech-focused ETFs have performed well over the past year. The Invesco QQQ Trust (QQQ) is up 27% over the past 12 months, while the Global X Artificial Intelligence & Technology ETF (AIQ) is up 35%.

The iShares U.S. Technology ETF (IYW) is up 38% during this period, while the Fidelity MSCI Information Technology Index ETF (FTEC) is up 35%.

Advertisement|Remove ads.

Also See: Trump Replaces Proposed 20% Strait Of Hormuz Toll With Investment Deals With Gulf States — ‘Those Investments Will Be Massive’

For updates and corrections, email newsroom[at]stocktwits[dot]com.

Comments
Share your thoughts...

Comments posted here will also appear on symbol pages.

Follow on Google News
Read about our editorial guidelines and ethics policy

Advertisement|Remove ads.