Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
Back to list
aiqbench takeAI Products

aiqbench analysis

This paper introduces RSM-full, an online clustered-memory pipeline that optimizes the quality-token trade-off for long-horizon LLM deployments under strict context budgets. By combining a cosine-gated max-member merge rule with an atom-aware grouped context packer, the method achieves 83% of full-context quality at only 32% of the token cost on key benchmarks. The results demonstrate that efficient memory management in agentic systems relies heavily on streaming merge strategies and retrieval assembly rather than raw recall metrics alone.
1
Source coveringarXiv

Compact-Memory LLM Agents via Online Max-Member Clustering and Atom-Aware Packing

arXiv·September 7, 2026·1 min read

From arXiv

Full text

Many long-horizon LLM deployments face tight prompt budgets: latency, cost, and context limits make full-context prompting impractical as interaction length grows. The key question is then not raw recall alone, but which memory design gives the best quality–token trade-off in the compact-memory regime. We present RSM-full, an online clustered-memory pipeline designed for a strong quality–token Pareto point. RSM-full combines two design choices: a cosine-gated max-member merge write rule and an atom-aware grouped context packer.

On AMA-Bench, our primary compact-memory benchmark, it reaches $83%$ of Full-Context quality at $32%$ of the token cost at a 44k budget; under four-seed averaging it beats the closest streaming-clustered baseline (Online K-Means) by $+3.5$--6.06.0,pp (p<.001p{<}.001) across the whole ${\sim}2.6$k--${\sim}5$k regime. Three-seed ablations show most of this gain comes from the merge rule ($+5.7$,pp over Online K-Means and matched-τ\tau DP-means) and the grouped packer ($+5.0$,pp over flat concatenation). The pattern reproduces on RealMem, an independent long-horizon persona-memory benchmark: RSM-full improves on Budget-RAG ($+0.69$,pp, p=.006p{=}.006), is on par with BM25-RAG (paired Δ=+0.27\Delta{=}{+}0.27,pp, p=.47p{=}.47; we do not claim BM25 equivalence in the equivalence-test sense), and significantly outperforms Streaming-Proto ($+2.97$,pp) and the closest reproduced 2025 agentic-memory baseline A-MEM ($+1.65$,pp, p<.001p{<}.001).

Across benchmarks the message is consistent: under tight budgets, compact-memory performance is driven mainly by how streaming memories are merged and how retrieved content is assembled. Overall, RSM-full is most useful when answeroughly 2k2k--5k5k prompt tokens, where itdefines a strong compact-memory Pareto point; higher-token baselines remain stronger outside this regime.

Full text under the publisher's open licence · 241 words

Read at arXiv ↗Ask about this article

Article info

Source

arXiv

Published

September 7, 2026

Read time

1 min

Category

AI Products
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account