Decoding the Enigma: Benchmarking Humans and AIs on the Many Facets of Working Memory

Ankur Sikarwar, Mengmi Zhang

Working memory (WM) is the "scratchpad" of the mind—a fundamental cognitive process that allows us to temporarily store, manipulate, and recall information to solve problems. While it is a cornerstone of human intelligence, AI research has historically lacked a unified way to measure it. Most studies focus on isolated tasks, leaving a gap between the rich, multifaceted observations of cognitive psychology and the development of modern AI architectures.

To build truly "human-like" AI, researchers argue we must move beyond simple storage tests. We need to evaluate how models handle integration (combining parts into a whole), manipulation (updating information on the fly), and supervision (switching between different rules).

To address this, researchers have introduced WorM, a massive benchmark of 1 million trials across 10 tasks designed to test the "many facets" of Working Memory in both humans and AIs.

The WorM Benchmark

The Working Memory (WorM) benchmark consists of 10 distinct psychophysics tasks. It aggregates behavioral data from decades of existing cognitive science literature to provide a "gold standard" human upper bound for comparison.

The 10 psychophysics tasks comprising the WorM benchmark.

The benchmark's scope covers 4 core functionalities (Storage, Integration, Manipulation, Supervision) and 3 domains (Visual, Spatial, Temporal).

Overview of the memory domains, functionalities, and characteristics evaluated in WorM.

To test AI capabilities, the researchers jointly trained four types of models on all tasks simultaneously: Vanilla RNNs, Gated Recurrent Units (GRUs), Long Short-Term Memory (LSTM) networks, and Transformers (TRF). Crucially, these models were not trained on human behavioral data. They were simply given the tasks and task-specific embeddings (a digital signal indicating which task was being performed).

Key Insights: Do AIs Think Like Us?

By performing "neural population analysis"—essentially looking under the hood to see if the models developed specialized clusters of neurons for different tasks—the researchers uncovered several fascinating parallels and divergences between AI and human memory.

  • Emergent "Human" Quirks: One of the most striking findings was that RNNs and LSTMs naturally exhibited primacy and recency effects (the tendency to remember the start and end of a sequence better than the middle). Because the models weren't explicitly programmed to do this, it suggests these effects might be an inherent property of processing sequential information under capacity constraints.
  • RNNs > Transformers (for now): In the context of these specific working memory tasks, recurrent architectures (LSTMs and GRUs) aligned significantly better with human behavior than Transformers. Transformers often failed to replicate human-like error patterns and struggled with tasks requiring long-term sequential maintenance.
  • Artificial "Brain Regions": Through t-SNE visualization, the team found that the models naturally organized their internal neurons into specialized clusters. For example, one cluster might specialize in spatial recall, while another handles temporal sequences. This mirrors the functional specialization seen in the human prefrontal cortex and hippocampus.
  • The "Supervision" Gap: While models excelled at simple storage, they struggled with "Supervision" tasks, such as Task Switching. Humans are remarkably flexible at changing rules mid-stream; AI models, even when high-performing, showed significant "domain conflict" when trying to juggle different types of information.

Performance and Limitations

Overall, the LSTM-1024 (the largest LSTM tested) achieved the best joint average accuracy across all tasks. Both humans and AIs proved surprisingly adept at fine-grained memory tasks like "Visual Serial Recognition," managing to distinguish between complex patterns even when they differed by only a few pixels.

However, AI models still exhibit non-human failure modes. Like humans, AI accuracy generally dropped as the "set size" (the number of items to remember) increased. Yet, Transformers showed a bizarre, non-human trend where accuracy sometimes increased with set size initially. Furthermore, almost all models failed the "Complex Span" task when cognitive load was high, highlighting a major limitation in how current architectures handle interference.

Future Directions

The authors identify several key hurdles for future research:

  1. Temporal Disconnect: AI operates in discrete "time steps," whereas humans perceive time continuously, making direct speed/accuracy comparisons difficult.
  2. Learning Mechanisms: AI relies on backpropagation (calculating errors globally), while biological brains use synaptic plasticity and Hebbian learning (local updates).
  3. Visual Diet: The models were trained on static, synthetic images, whereas humans develop working memory by interacting with a continuous, 3D video stream of the real world.

The WorM benchmark serves as a vital stepping stone. The next frontier lies in developing bio-inspired models that more closely mimic the structural constraints of the human brain, potentially bridging the remaining performance gaps and unlocking truly human-like working memory in AI.

Summary updated

BibTeX
@inproceedings{sikarwar2023decoding,
  author = {Ankur Sikarwar and Mengmi Zhang},
  title = {{Decoding the Enigma: Benchmarking Humans and AIs on the Many Facets of Working Memory}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=bNFhafcHLB},
}
Figure