bioRxiv · 10.64898/2026.05.05.723022
A brain-inspired framework for memory prioritization in neural networks based on valence
Abstract
Improving long-term memory in artificial neural networks remains an open challenge. To address this, we developed a novel brain-inspired framework for memory prioritization based on the principle of emotional valence. Our framework includes: (i) a valence-weighted cross-entropy loss that scales the learning signal by the valence magnitude, analogous to neuromodulation; (ii) an amygdala-inspired module that learns high-dimensional valence embeddings; and (iii) a hippocampus-inspired module that integrates valence embeddings into the attention mechanism to modulate information retrieval. We demonstrated the generalization of our framework across spatial, episodic, and language-based memory tasks, consistently improving memory prioritization and long-term retention of high-salience information. In addition to improving long-term memory, we also showed that our framework can help mitigate the "lost-in-the-middle" problem in language modeling. More generally, this research provides further evidence of the potential of brain-inspired algorithms to advance the field of machine learning.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zbaranska, S., Rajeev, A., Josselyn, S., Laschowski, B.. 2026-05-08. A brain-inspired framework for memory prioritization in neural networks based on valence. https://doi.org/10.64898/2026.05.05.723022
Cite the original work for its findings. Save a collection to share your selection of sources.