Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

HeLa-Mem: Hebbian Learning and Associative Memory for LLM Agents

About

Long-term memory is a critical challenge for Large Language Model agents, as fixed context windows cannot preserve coherence across extended interactions. Existing memory systems represent conversation history as unstructured embedding vectors, retrieving information through semantic similarity. This paradigm fails to capture the associative structure of human memory, wherein related experiences progressively strengthen interconnections through repeated co-activation. Inspired by cognitive neuroscience, we identify three mechanisms central to biological memory: association, consolidation, and spreading activation, which remain largely absent in current research. To bridge this gap, we propose HeLa-Mem, a bio-inspired memory architecture that models memory as a dynamic graph with Hebbian learning dynamics. HeLa-Mem employs a dual-level organization: (1) an episodic memory graph that evolves through co-activation patterns, and (2) a semantic memory store populated via Hebbian Distillation, wherein a Reflective Agent identifies densely connected memory hubs and distills them into structured, reusable semantic knowledge. This dual-path design leverages both semantic similarity and learned associations, mirroring the episodic-semantic distinction in human cognition. Experiments on LoCoMo demonstrate superior performance across four question categories while using significantly fewer context tokens. Code is available on GitHub: https://github.com/ReinerBRO/HeLa-Mem

Jinchang Zhu, Jindong Li, Cheng Zhang, Jiahong Liu, Menglin Yang• 2026

Related benchmarks

TaskDatasetResultRank
Multi-hop Question AnsweringLocomo
F140.14
125
Open-domain Question AnsweringLocomo
F10.297
111
Single-hop Question AnsweringLocomo
F10.5189
111
Temporal Question AnsweringLocomo
F10.5079
85
Question AnsweringLocomo
Single Hop F143.7
45
Dialogue Memory AccuracyLongMemEval-S (N=500)
Temporal Accuracy50.38
24
Long-term memory evaluationLongMemEvalS
Overall Score65.4
23
Showing 7 of 7 rows

Other info

Follow for update