Nemori: Self-Organizing Agent Memory Inspired by Cognitive Science

2508.03341v1 cs.AI 2025-08-06
Авторы:

Jiayan Nan, Wenquan Ma, Wenlong Wu, Yize Chen

Резюме на русском

**Резюме:** В статье представлена архитектура Nemori — инновационная самоорганизующаяся система памяти для автономных агентов, вдохновленная принципами когнитивной науки. Существующие методы обработки памяти в моделях языка (LLMs) страдают от неспособности сохранять постоянную память в длинных контекстах и ограниченности пассивными, правилом управляемыми механизмами. Nemori решает эту проблему, используя два ключевых принципа: **Two-Step Alignment Principle**, основанный на Event Segmentation Theory, который разбивает неструктурированные диалоги на семантически единые эпизоды, и **Predict-Calibrate Principle**, вдохновленный Free-energy Principle, позволяющий агенту адаптивно обучаться из прогнозных разногласий. Эксперименты на LoCoMo и LongMemEval показывают, что Nemori значительно превосходит существующие системы, особенно в длинных контекстах, открывая путь к эффективным динамическим рабочим процессам автономных агентов.

Abstract

Large Language Models (LLMs) demonstrate remarkable capabilities, yet their inability to maintain persistent memory in long contexts limits their effectiveness as autonomous agents in long-term interactions. While existing memory systems have made progress, their reliance on arbitrary granularity for defining the basic memory unit and passive, rule-based mechanisms for knowledge extraction limits their capacity for genuine learning and evolution. To address these foundational limitations, we present Nemori, a novel self-organizing memory architecture inspired by human cognitive principles. Nemori's core innovation is twofold: First, its Two-Step Alignment Principle, inspired by Event Segmentation Theory, provides a principled, top-down method for autonomously organizing the raw conversational stream into semantically coherent episodes, solving the critical issue of memory granularity. Second, its Predict-Calibrate Principle, inspired by the Free-energy Principle, enables the agent to proactively learn from prediction gaps, moving beyond pre-defined heuristics to achieve adaptive knowledge evolution. This offers a viable path toward handling the long-term, dynamic workflows of autonomous agents. Extensive experiments on the LoCoMo and LongMemEval benchmarks demonstrate that Nemori significantly outperforms prior state-of-the-art systems, with its advantage being particularly pronounced in longer contexts.

Ссылки и действия