CLAG: Adaptive Memory Organization via Agent-Driven Clustering for Small Language Model Agents

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Roh, Taeyun, Jang, Wonjune, Jung, Junha, Kang, Jaewoo
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917419722735616
author Roh, Taeyun
Jang, Wonjune
Jung, Junha
Kang, Jaewoo
author_facet Roh, Taeyun
Jang, Wonjune
Jung, Junha
Kang, Jaewoo
contents Large language model agents heavily rely on external memory to support knowledge reuse and complex reasoning tasks. Yet most memory systems store experiences in a single global retrieval pool which can gradually dilute or corrupt stored knowledge. This problem is especially pronounced for small language models (SLMs), which are highly vulnerable to irrelevant context. We introduce CLAG, a CLustering-based AGentic memory framework where an SLM agent actively organizes memory by clustering. CLAG employs an SLM-driven router to assign incoming memories to semantically coherent clusters and autonomously generates cluster-specific profiles, including topic summaries and descriptive tags, to establish each cluster as a self-contained functional unit. By performing localized evolution within these structured neighborhoods, CLAG effectively reduces cross-topic interference and enhances internal memory density. During retrieval, the framework utilizes a two-stage process that first filters relevant clusters via their profiles, thereby excluding distractors and reducing the search space. Experiments on multiple QA datasets with three SLM backbones show that CLAG consistently improves answer quality and robustness over prior memory systems for agents, remaining lightweight and efficient.
format Preprint
id arxiv_https___arxiv_org_abs_2603_15421
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CLAG: Adaptive Memory Organization via Agent-Driven Clustering for Small Language Model Agents
Roh, Taeyun
Jang, Wonjune
Jung, Junha
Kang, Jaewoo
Computation and Language
Artificial Intelligence
Large language model agents heavily rely on external memory to support knowledge reuse and complex reasoning tasks. Yet most memory systems store experiences in a single global retrieval pool which can gradually dilute or corrupt stored knowledge. This problem is especially pronounced for small language models (SLMs), which are highly vulnerable to irrelevant context. We introduce CLAG, a CLustering-based AGentic memory framework where an SLM agent actively organizes memory by clustering. CLAG employs an SLM-driven router to assign incoming memories to semantically coherent clusters and autonomously generates cluster-specific profiles, including topic summaries and descriptive tags, to establish each cluster as a self-contained functional unit. By performing localized evolution within these structured neighborhoods, CLAG effectively reduces cross-topic interference and enhances internal memory density. During retrieval, the framework utilizes a two-stage process that first filters relevant clusters via their profiles, thereby excluding distractors and reducing the search space. Experiments on multiple QA datasets with three SLM backbones show that CLAG consistently improves answer quality and robustness over prior memory systems for agents, remaining lightweight and efficient.
title CLAG: Adaptive Memory Organization via Agent-Driven Clustering for Small Language Model Agents
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2603.15421