Skip to main navigation Skip to search Skip to main content

SCM: Enhancing Large Language Model with Self-Controlled Memory Framework

  • Bing Wang
  • , Xinnian Liang
  • , Jian Yang*
  • , Hui Huang
  • , Zhenhe Wu
  • , Shuang Zhi Wu
  • , Zejun Ma
  • , Zhoujun Li
  • *Corresponding author for this work
  • Beihang University
  • Harbin Institute of Technology
  • ByteDance Ltd.

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Large Language Models (LLMs) are constrained by their lack of a long-term memory mechanism, which hinders their ability to maintain context over extended periods and leads to the loss of crucial historical information. To address this limitation, in this paper, we propose the Self-Controlled Memory (SCM) framework to enhance the ability of LLMs to maintain long-term memory and recall relevant information. Our SCM framework comprises three key components: an LLM-based agent serving as the backbone of the framework, a memory stream storing agent memories, and a memory controller updating memories and determining when and how to use the memories from the memory stream. Furthermore, we annotate a dataset, MemoEval, to assess the efficiency of SCM in utilizing memories and processing lengthy inputs. The MemoEval dataset covers three tasks: long-term dialogues, book summarization, and meeting summarization. Experimental results reveal that our SCM framework significantly increases overall accuracy by about 40% compared to vanilla ChatGPT on the long-term dialogue task (code: https://github.com/wbbeyourself/SCM4LLMs).

Original languageEnglish
Title of host publicationDatabase Systems for Advanced Applications - 30th International Conference, DASFAA 2025, Proceedings
EditorsFeida Zhu, Ee-Peng Lim, Philip S. Yu, Akiyo Nadamoto, Kyuseok Shim, Wei Ding, Bingxue Zhang
PublisherSpringer Science and Business Media Deutschland GmbH
Pages188-203
Number of pages16
ISBN (Print)9789819541577
DOIs
StatePublished - 2026
Event30th International Conference on Database Systems for Advanced Applications, DASFAA 2025 - Singapore, Singapore
Duration: 26 May 202529 May 2025

Publication series

NameLecture Notes in Computer Science
Volume15991 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference30th International Conference on Database Systems for Advanced Applications, DASFAA 2025
Country/TerritorySingapore
CitySingapore
Period26/05/2529/05/25

Keywords

  • Large language model
  • memory retrieval
  • self-controlled memory

Fingerprint

Dive into the research topics of 'SCM: Enhancing Large Language Model with Self-Controlled Memory Framework'. Together they form a unique fingerprint.

Cite this