Sequence-to-Sequence Models with Attention Mechanistically Map to the Architecture of Human Memory Search

Nikolaus Salvatore, Qiong Zhang
6/20/2025
q-bio.NCcs.LG

No confident code implementation found for this paper.

Abstract

Past work has long recognized the important role of context in guiding how humans search their memory. While context-based memory models can explain many memory phenomena, it remains unclear why humans develop such architectures over possible alternatives in the first place. In this work, we demonstrate that foundational architectures in neural machine translation -- specifically, recurrent neural network (RNN)-based sequence-to-sequence models with attention -- exhibit mechanisms that directly correspond to those specified in the Context Maintenance and Retrieval (CMR) model of human memory. Since neural machine translation models have evolved to optimize task performance, their convergence with human memory models provides a deeper understanding of the functional role of context in human memory, as well as presenting new ways to model human memory. Leveraging this convergence, we implement a neural machine translation model as a cognitive model of human memory search that is both interpretable and capable of capturing complex dynamics of learning. We show that our model accounts for both averaged and optimal human behavioral patterns as effectively as context-based memory models. Further, we demonstrate additional strengths of the proposed model by evaluating how memory search performance emerges from the interaction of different model components.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{salvatore2025sequencetosequence,
  title  = {Sequence-to-Sequence Models with Attention Mechanistically Map to the Architecture of Human Memory Search},
  author = {Nikolaus Salvatore and Qiong Zhang},
  year   = {2025},
  eprint = {2506.17424},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.17424v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.17424.svg)](https://codeofpaper.com/paper/2506.17424)

Discussion