TL;DR
This paper demonstrates that Large Language Models (LLMs) lack a fundamental human cognitive trait: intrinsic working memory. By designing tasks that prevent models from "looking back" at their own text, the researchers show that LLMs struggle to maintain and manipulate internal mental states, often resulting in self-contradictions or "thinking of nothing" despite claiming otherwise.
What Problem Does This Paper Address?
In cognitive science, working memory isn't just storage; it’s an active workspace where we hold and manipulate information (like doing mental math or keeping a secret number in mind).
Current LLM evaluations often use the "N-back" task to test memory. However, the authors argue these tests are flawed for AI. Because LLMs have a context window, they can simply "scroll back" through previous tokens to find the answer. This is like a human taking a test with an open book—it measures search and retrieval, not the internal "mental muscle" of working memory.
The researchers set out to answer a provocative question: When an AI says, "I've thought of a number between 1 and 10," is there actually a representation of that number in its "mind" (latent space), or is it just generating tokens that sound like it’s playing along?
Methods
The authors introduced three novel "black-box" experiments designed to isolate internal reasoning from external context:
- Number Guessing: The model is told to "think of a number" but not say it. The researchers then query the model 200 times for every possible number ("Is it 1?", "Is it 2?", etc.). If the AI truly has a number in mind and answers honestly, the sum of the probabilities of it saying "Yes" across all numbers should equal exactly 1.0.
- Yes-No Deduction: A version of "20 Questions" where the AI "thinks" of an object. The user asks comparative questions (e.g., "Is it heavier than an elephant?"). The researchers check for self-contradictions over long sequences (e.g., saying it's heavier than an elephant but lighter than a cat).
- Math Magic: A complex mental arithmetic routine (based on the Josephus Problem) where the model must perform several steps of duplication, rotation, and removal of numbers "in its head" without writing down intermediate steps.
Datasets
The study functions as a benchmark evaluation rather than a training paper.
- Models: The researchers evaluated 17 frontier models, including the GPT-4o family, OpenAI’s o-series (o1, o3, o4), Meta’s Llama 3.1 and 3.3, Qwen 2.5, and DeepSeek (V3 and R1).
- Objects: For the Deduction task, they curated a list of 60 distinct objects categorized by volume, length, weight, density, and hardness to test comparative reasoning.
- Benchmark: The authors are releasing the code and prompts as a new benchmark for evaluating intrinsic working memory in LLMs.
Key Insights and Ideas
- "Thinking of Nothing": In the Number Guessing game, most models produced a probability sum near 0. This suggests that when an LLM says "I have a number in mind," it isn't actually committing to a specific value in its latent space. It is essentially "thinking of nothing" and responding "No" to almost every guess.
- The "Lucky 7" Bias: When models did say "Yes," they showed a massive statistical bias toward the number 7. This mirrors a known human psychological bias, but in LLMs, it suggests they are mimicking human-like distributions found in training data rather than maintaining a private choice.
- Scaling Isn't the Cure: Surprisingly, larger models didn't always perform better. For example, Llama-3.1-8B outperformed the 405B version in producing valid probability distributions. This suggests that working memory might be an architectural limitation of the Transformer itself, not just a matter of parameter count.
- CoT is a Crutch, Not a Solution: While Chain-of-Thought (CoT) helps models solve the Math Magic task by writing steps down, it doesn't improve their internal memory. The models still fail when forced to reason "silently" in their latent space.
Key Results
- Probability Sums: In the number guessing task, models like GPT-4o-mini and Qwen-2.5 had a probability sum of 0. The "best" performer, Llama-3.1-405B, overshot with a sum of 1.195, indicating inconsistent internal states.
- Deduction Failures: Even the most advanced models eventually contradicted themselves. GPT-4o-mini failed 100% of the trials (200/200), usually contradicting itself within 20–30 questions. The larger GPT-4o was more robust but still failed 173 out of 200 trials.
- Math Magic: Without CoT, most models had near-zero accuracy. DeepSeek-R1 achieved 100% accuracy with CoT (externalizing the memory), but the authors note this confirms the model relies on the "token space" (text) rather than "latent space" (internal thought).
Limitations and Future Work
The authors acknowledge that they cannot "see" inside the model's weights directly; they can only infer the lack of working memory through behavioral outputs.
They suggest that to reach Artificial General Intelligence (AGI), we may need to move beyond standard Transformers. Future work should explore architectural innovations like recurrent depth (allowing the model to "ponder" internally for multiple steps before outputting a token) or hybrid symbolic-neural systems that provide a dedicated, persistent internal buffer for reasoning.
Summary updated