AMA: Adaptive Memory via Multi-Agent Collaboration

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

Adaptive Memory via Multi-Agent Collaboration (AMA) is a novel framework designed to enhance Large Language Model (LLM) agents' long-term memory and reasoning capabilities. It addresses limitations in existing memory systems, such as rigid retrieval granularity and unchecked accumulation of inconsistencies, by employing a multi-agent architecture. AMA features a hierarchical memory design with dynamic retrieval granularity, managed by four coordinated agents: the Constructor, Retriever, Judge, and Refresher. The Constructor builds multi-granular memory (Raw Text, Fact Knowledge, Episode Memory), the Retriever routes queries to appropriate granularities, the Judge verifies relevance and consistency, and the Refresher updates or removes outdated entries. Experiments on LoCoMo and LongMemEvals benchmarks show AMA significantly outperforms state-of-the-art baselines, achieving an LLM Score of 0.774 with GPT-4o-mini and reducing token consumption by approximately 80% compared to full-context methods.

Key takeaway

For AI Architects and NLP Engineers designing advanced LLM agents, AMA offers a robust blueprint for long-term memory management. Its multi-agent, multi-granularity approach significantly improves reasoning accuracy and consistency while drastically cutting token consumption. Consider adopting a similar modular, adaptive memory framework to enhance your agents' performance on complex, long-context tasks and reduce operational costs.

Key insights

AMA uses multi-agent collaboration and hierarchical memory to provide adaptive, consistent long-term memory for LLM agents.

Principles

Method

AMA orchestrates Constructor, Retriever, Judge, and Refresher agents. The Constructor creates multi-granular memory. The Retriever routes queries. The Judge verifies relevance and consistency. The Refresher updates or deletes conflicting entries.

In practice

Topics

Code references

Best for: AI Architect, NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.