arXiv:2611.02612cs.CLNov 2026

Manuscript Offprint

arXiv:2611.02612

Scalaris: A Scalable Enterprise Memory Architecture for Conversational AI Assistants

Devarsh Gandhi, Sarthak Pawar, Hemprasad Badgujar, Vaibhav Rathore, Siddharth Sureka, Neha Bhargava

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Enterprise conversational systems require memory to personalize interactions, retain information across sessions, and maintain conversational coherence. At enterprise scale, however, memory must not only retrieve relevant information accurately but also provide it efficiently to the answer-generation model. Existing memory systems face a trade-off between retrieval accuracy and context efficiency. Retrieving more context can improve recall but increases inference cost and latency. We present Scalaris, a scalable enterprise memory architecture that addresses this trade-off through a unified long-term and short-term memory design. We propose that user interactions and assistant responses possess distinct characteristics and roles in a conversation: user interactions capture evolving knowledge about the user and provide value across sessions, whereas assistant responses must be stored efficiently so that only information relevant to the current query is retrieved. We therefore treat them separately and support each with specialized representations and ingestion/retrieval pipelines. Scalaris reaches 92.2% accuracy on LongMemEval-S and 90.77% on LoCoMo using Qwen3-32B, state-of-the-art results on both benchmarks, while supplying the answer-generation model with approximately 10× fewer retrieved context tokens than Hindsight, a leading memory system for conversational AI. When integrated with our proprietary closed-source AI assistants, Scalaris improved overall response quality by 36%. Together, these results establish Scalaris as a cost-effective framework for building scalable, personalized conversational AI systems.

1 Introduction

The emergence of large language models has enabled organizations to deploy conversational AI systems across user-facing applications such as customer support and sales assistance (Yi et al., 2026).

Memory is essential to these systems for maintaining continuity across conversations and personalizing interactions (Wu et al., 2025b). However, simply providing an assistant with prior message history becomes limiting as conversations grow longer and span multiple sessions, since model performance degrades over long contexts (Liu et al., 2024). Existing memory frameworks have therefore explored mechanisms for selectively storing and retrieving information from past conversations (Zhang et al., 2025a), but they often face a trade-off between retrieval accuracy and context efficiency. Zep (Rasmussen et al., 2025), for example, retrieves relatively little context but achieves lower accuracy on long-term memory benchmarks, whereas Hindsight (Latimer et al., 2026) achieves substantially higher accuracy while retrieving considerably more. An effective enterprise memory system must therefore retrieve the information required to answer a query accurately without unnecessarily increasing the context supplied to the answer-generation model (Lewis et al., 2020; Shi et al., 2023; Chhikara et al., 2025).

Conversational memory must also operate across two different timescales. Information such as user preferences, interests, and circumstances may remain useful across sessions and must evolve as new interactions occur (Xu et al., 2025; Zhang et al., 2025b), creating the need for long-term memory. At the same time, an assistant must retain the immediate conversational state required to interpret follow-up questions, resolve references, and maintain coherence within an ongoing session (Packer et al., 2024; Yu et al., 2026), motivating short-term memory. A scalable conversational memory architecture must therefore support both persistent cross-session knowledge and immediate within-session context.

Existing systems typically place all conversational turns under a shared memory representation despite the different roles of user interactions and

Figure

Figure 1: Overview of Scalaris's source-aware memory organization. User interactions are processed to maintain relevant facts, relevant entities, and user and session summaries in a temporal knowledge graph. Assistant responses are decomposed into independently retrievable atomic units and stored in a vector store. In parallel, both user interactions and assistant responses are preserved verbatim in a shared history store.

assistant responses. User interactions contain persistent facts, preferences, and evolving relationships that remain valuable across sessions; assistant responses are largely contextual and often obsolete outside their original dialogue. User interactions therefore benefit from relational representations that capture evolving user knowledge, while assistant responses are better stored as independently retrievable atomic units, so that only the relevant portion of a response is recalled rather than the whole.

Our Proposal: We present Scalaris, a unified long-term and short-term memory architecture designed around this distinction. As illustrated in Figure 1, Scalaris maintains separate memory representations for user interactions and assistant responses. User interactions are organized in a temporal knowledge graph that maintains relevant facts, entities, and evolving user information, together with user and session summaries. Assistant responses are decomposed into independently retrievable atomic units and stored in a vector database, allowing only information relevant to the current query to be retrieved. In parallel, user interactions and assistant responses are preserved verbatim in a shared history store for recent conversational context. By providing specialized ingestion and retrieval pipelines for these different forms of memory, Scalaris aims to preserve the information needed for accurate recall while limiting unnecessary retrieved context.

Our main contributions are as follows:

(1) We present Scalaris, a unified long-term and

short-term memory framework for building scalable, enterprise-ready conversational AI assistants.

(2) We propose that user interactions and assistant responses exhibit distinct characteristics that call for different memory representations, and we support each with a specialized ingestion and retrieval pipeline.

(3) We achieve state-of-the-art performance on both LongMemEval-S (92.2%) and LoCoMo (90.77%) using the relatively small Qwen3-32B model, while requiring approximately 10× fewer retrieved context tokens than Hindsight.