Saved in:
Bibliographic Details
Main Author: Zeppieri, Stefano
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.01710
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917123788374016
author Zeppieri, Stefano
author_facet Zeppieri, Stefano
contents Large Language Models (LLMs) excel at generating coherent text within a single prompt but fall short in sustaining relevance, personalization, and continuity across extended interactions. Human communication, however, relies on multiple forms of memory, from recalling past conversations to adapting to personal traits and situational context. This paper introduces the Mixed Memory-Augmented Generation (MMAG) pattern, a framework that organizes memory for LLM-based agents into five interacting layers: conversational, long-term user, episodic and event-linked, sensory and context-aware, and short-term working memory. Drawing inspiration from cognitive psychology, we map these layers to technical components and outline strategies for coordination, prioritization, and conflict resolution. We demonstrate the approach through its implementation in the Heero conversational agent, where encrypted long-term bios and conversational history already improve engagement and retention. We further discuss implementation concerns around storage, retrieval, privacy, and latency, and highlight open challenges. MMAG provides a foundation for building memory-rich language agents that are more coherent, proactive, and aligned with human needs.
format Preprint
id arxiv_https___arxiv_org_abs_2512_01710
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MMAG: Mixed Memory-Augmented Generation for Large Language Models Applications
Zeppieri, Stefano
Computation and Language
Information Retrieval
Large Language Models (LLMs) excel at generating coherent text within a single prompt but fall short in sustaining relevance, personalization, and continuity across extended interactions. Human communication, however, relies on multiple forms of memory, from recalling past conversations to adapting to personal traits and situational context. This paper introduces the Mixed Memory-Augmented Generation (MMAG) pattern, a framework that organizes memory for LLM-based agents into five interacting layers: conversational, long-term user, episodic and event-linked, sensory and context-aware, and short-term working memory. Drawing inspiration from cognitive psychology, we map these layers to technical components and outline strategies for coordination, prioritization, and conflict resolution. We demonstrate the approach through its implementation in the Heero conversational agent, where encrypted long-term bios and conversational history already improve engagement and retention. We further discuss implementation concerns around storage, retrieval, privacy, and latency, and highlight open challenges. MMAG provides a foundation for building memory-rich language agents that are more coherent, proactive, and aligned with human needs.
title MMAG: Mixed Memory-Augmented Generation for Large Language Models Applications
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2512.01710