SwePub
Sök i LIBRIS databas

  Utökad sökning

WFRF:(Garcia SV)
 

Sökning: WFRF:(Garcia SV) > MemoryBank: Enhanci...

MemoryBank: Enhancing Large Language Models with Long-Term Memory

Zhong, Wanjun (författare)
Sun Yat-Sen University, Sun Yat-Sen University
Guo, Lianghong (författare)
Sun Yat-Sen University, Sun Yat-Sen University
Gao, Qiqi (författare)
Harbin Institute of Technology, Harbin Institute of Technology
visa fler...
Ye, He (författare)
KTH,Teoretisk datalogi, TCS
Wang, Yanlin (författare)
Sun Yat-Sen University, Sun Yat-Sen University
visa färre...
 (creator_code:org_t)
Association for the Advancement of Artificial Intelligence (AAAI), 2024
2024
Engelska.
Ingår i: <em>Proceedings Of The Aaai Conference On Artificial Intelligence</em>. - : Association for the Advancement of Artificial Intelligence (AAAI). ; , s. 19724-19731
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • Large Language Models (LLMs) have drastically reshaped our interactions with artificial intelligence (AI) systems, showcasing impressive performance across an extensive array of tasks. Despite this, a notable hindrance remains—the deficiency of a long-term memory mechanism within these models. This shortfall becomes increasingly evident in situations demanding sustained interaction, such as personal companion systems, psychological counseling, and secretarial assistance. Recognizing the necessity for long-term memory, we propose MemoryBank, a novel memory mechanism tailored for LLMs. MemoryBank enables the models to summon relevant memories, continually evolve through continuous memory updates, comprehend, and adapt to a user’s personality over time by synthesizing information from previous interactions. To mimic anthropomorphic behaviors and selectively preserve memory, MemoryBank incorporates a memory updating mechanism, inspired by the Ebbinghaus Forgetting Curve theory. This mechanism permits the AI to forget and reinforce memory based on time elapsed and the relative significance of the memory, thereby offering a more human-like memory mechanism and enriched user experience. MemoryBank is versatile in accommodating both closed-source models like ChatGPT and open-source models such as ChatGLM. To validate MemoryBank’s effectiveness, we exemplify its application through the creation of an LLM-based chatbot named SiliconFriend in a long-term AI Companion scenario. Further tuned with psychological dialog data, SiliconFriend displays heightened empathy and discernment in its interactions. Experiment involves both qualitative analysis with real-world user dialogs and quantitative analysis with simulated dialogs. In the latter, ChatGPT acts as multiple users with diverse characteristics and generates long-term dialog contexts covering a wide array of topics. The results of our analysis reveal that SiliconFriend, equipped with MemoryBank, exhibits a strong capability for long-term companionship as it can provide emphatic response, recall relevant memories and understand user personality.

Ämnesord

NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)
SAMHÄLLSVETENSKAP  -- Psykologi (hsv//swe)
SOCIAL SCIENCES  -- Psychology (hsv//eng)

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Till lärosätets databas

Hitta mer i SwePub

Av författaren/redakt...
Zhong, Wanjun
Guo, Lianghong
Gao, Qiqi
Ye, He
Wang, Yanlin
Om ämnet
NATURVETENSKAP
NATURVETENSKAP
och Data och informa ...
och Datavetenskap
SAMHÄLLSVETENSKAP
SAMHÄLLSVETENSKA ...
och Psykologi
Artiklar i publikationen
Av lärosätet
Kungliga Tekniska Högskolan

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy