atlas

Research map / Large language models / AI and society

Working Memory Capacity of ChatGPT: An Empirical Study

AAAI 2024 · Large language models › AI and society · approach: Data commons and human baselines · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Assesses ChatGPT's working memory capacity via verbal and spatial n-back tasks with several variants, finding a capacity limit near n=3 similar to humans and proposing n-back as an LLM working-memory benchmark.

Problem

Whether LLMs such as ChatGPT have a working memory capacity limit comparable to humans, and whether n-back performance can serve as a benchmark for LLM working memory.

Approach

Applies human cognitive-science n-back paradigms (verbal and spatial, with noise, feedback, chain-of-thought, abstract-reasoning and grid-size variants) to prompted LLMs, using d' with a threshold of 1 to define capacity limit, and compares across several LLMs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase n from 1 to 3 in the base verbal taskChatGPT (GPT-3.5) · Verbal n-backd'Hurt
Add noise symbols to verbal stimuli (ablation)ChatGPT (GPT-3.5) · Verbal n-backworking memory capacityHurt
Add step-by-step reasoning prompt (ablation)ChatGPT (GPT-3.5) · Spatial n-backperformanceHelped
Use spatial rather than verbal stimuli (ablation)ChatGPT (GPT-3.5) · n-back taskworking memory capacityHurt
Require abstract spatial reasoning (ablation)ChatGPT (GPT-3.5) · Spatial n-backworking memory capacityHurt
Increase spatial grid size (ablation)ChatGPT (GPT-3.5) · Spatial n-backworking memory capacityHelped
Use GPT-4 instead of the open-source LLMs testedVerbal n-back · Base verbal taskworking memory capacityHelped
Use the tested open-source LLMs instead of GPT-3.5/GPT-4Verbal n-back · Base verbal taskworking memory capacityHurt

Surprising findings

Limitations

Experimental setup

Benchmarks: verbal n-back spatial n-back

Metrics: d' (detection sensitivity) hit rate false alarm rate accuracy

Baselines: GPT-4 Bloomz-7B Bloomz-7B1-mt ChatGLM-6B_v1.0 ChatGLM-6B_v1.1 Vicuna-7B Vicuna-13B

Builds on: chain-of-thought prompting executive attention hypothesis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy