Improving Long-Term Conversational Abilities of Large Language Models Through Behavior Memory

Although Large Language Models (LLMs) have achieved significant results in the field of natural language processing, there are still challenges in handling long-term memory in open domain dialogue systems. Processing lengthy conversation histories requires a significant amount of computational resources, which limits the input window of LLM and makes it unable to effectively handle tasks that require long-term memory. To this end, this article proposes a memory enhancement mechanism based on behavioral memory, which enhances the long-term memory ability of LLM by extracting, storing, and retrieving key behavioral information from conversations through association. This method does not require modifying the internal structure of LLM and is compatible with various open source and closed source models. We conducted experiments on the Generated Virtual Dataset and the results showed that compared to methods based on abstracts and vector databases, the behavioral memory mechanism significantly improved memory retrieval accuracy, response accuracy, and contextual coherence.

Authors

Institutions

Publication Details

Published
2024-09-27
DOI
https://doi.org/10.1109/eiecs63941.2024.10799986
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving Long-Term Conversational Abilities of Large Language Models Through Behavior Memory

Honggen Xiao
2 links
Topic Modeling
article

Improving Long-Term Conversational Abilities of Large Language Models Through Behavior Memory

Honggen Xiao
article en

Abstract

Although Large Language Models (LLMs) have achieved significant results in the field of natural language processing, there are still challenges in handling long-term memory in open domain dialogue systems. Processing lengthy conversation histories requires a significant amount of computational resources, which limits the input window of LLM and makes it unable to effectively handle tasks that require long-term memory. To this end, this article proposes a memory enhancement mechanism based on behavioral memory, which enhances the long-term memory ability of LLM by extracting, storing, and retrieving key behavioral information from conversations through association. This method does not require modifying the internal structure of LLM and is compatible with various open source and closed source models. We conducted experiments on the Generated Virtual Dataset and the results showed that compared to methods based on abstracts and vector databases, the behavioral memory mechanism significantly improved memory retrieval accuracy, response accuracy, and contextual coherence.

Hangzhou Dianzi University (CN)
Quality Education
Openalex Percentile: Top 78%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.