Skip to main content
archive Search
Submit Donate Log in

Press Enter to search · Advanced search

Computer Science > Artificial Intelligence

arXiv:2605.29640 (cs)
[Submitted on 28 May 2026 (v1), last revised 12 Jun 2026 (this version, v3)]

Title:VikingMem: A Memory Base Management System for Stateful LLM-based Applications

Authors:Jiajie Fu, Junwen Chen, Mengzhao Wang, Aoxiang He, Maojia Sheng, Xiangyu Ke, Yifan Zhu, Yunjun Gao
View a PDF of the paper titled VikingMem: A Memory Base Management System for Stateful LLM-based Applications, by Jiajie Fu and 7 other authors
View PDF HTML (experimental)
Abstract:Large Language Models have revolutionized interactive applications; however, their finite context windows pose a critical data management challenge for maintaining stateful, long-term interactions. Existing memory approaches often rely on simplistic extraction methods that lead to incomplete memories or use rigid, single-purpose memory extraction prompts tailored to a single use case, such as chatbots. Consequently, they lack generalizability and perform poorly across diverse downstream tasks. To bridge this gap, we introduce the Memory Base, a novel data management paradigm for managing the persistent state of long-term interactions. It is characterized by three core principles: selective extraction of high-value memories from raw information streams; inherent statefulness and evolution, where memory content is progressively summarized, corrected, and temporally weighted to prioritize recent interactions; and a generalizable abstraction paradigm designed for robust transferability across diverse applications, including education, recommendation, and agent memory. Building on this foundation, we present VikingMem, an end-to-end Memory Base Management System implemented on the VikingDB vector engine. VikingMem materializes this paradigm through interconnected event and entity abstractions. It features event-centric memory extraction to selectively handle complex information streams, while entities are dynamically updated by events to achieve stateful evolution. Using temporal compression via a topic-wise timeline and time-weighted recall, the system progressively produces high-level summary memories, prioritizes recent items, and compresses and fades older ones. Extensive evaluations on long-term memory benchmarks demonstrate that VikingMem outperformes baselines by up to 30% in memory retrieval effectiveness while maintaining the low latency essential for interactive applications.
Comments: Accepted by VLDB26
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2605.29640 [cs.AI]
  (or arXiv:2605.29640v3 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2605.29640
arXiv-issued DOI via DataCite

Submission history

From: Jiajie Fu [view email]
[v1] Thu, 28 May 2026 09:07:42 UTC (1,782 KB)
[v2] Fri, 29 May 2026 02:43:30 UTC (1,782 KB)
[v3] Fri, 12 Jun 2026 09:51:27 UTC (1,782 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled VikingMem: A Memory Base Management System for Stateful LLM-based Applications, by Jiajie Fu and 7 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Additional Features

  • Audio Summary

Current browse context:

cs.AI
< prev   |   next >
new | recent | 2026-05
Change to browse by:
cs

References & Citations

  • SciX
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
✕

Wait! Don't Go Yet 🚀

Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!

No spam. Unsubscribe anytime.