LLMs Can't Play Hangman: On the Necessity of a Private Working Memory for Language Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
As LLMs move from text completion toward autonomous agents, they remain constrained by the standard chat interface, which lacks private working memory. This raises a fundamental question: can agents reliably perform interactive tasks that depend on hidden state? We define Private State Interactive Tasks (PSITs), which require agents to generate and maintain hidden information while producing public responses consistent with a fixed hidden state. We show theoretically that any agent restricted to the public conversation history cannot both keep the secret unresolved in the transcript and respond consistently with a fixed hidden state in PSITs, yielding an architectural impossibility theorem. To empirically validate this limitation, we introduce a self-consistency testing protocol that evaluates whether agents can maintain a hidden secret across forked dialogue branches. Standard chat-based LLMs and retrieval-based memory baselines fail this test regardless of scale, demonstrating that semantic retrieval does not enable true state maintenance. To address this, we propose a novel architecture incorporating an explicit private working memory; we demonstrate that this mechanism restores consistency with a fixed hidden state, establishing private state as a necessary component for PSIT-capable language agents. Our code is available at https://github.com/chandar-lab/Hangman
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 41 of its 61 references that are in the map. First posted on arXiv 11 Jan 2026.
Builds on
41 of 61 references.
Closest ancestors · 7
Same direction, newest first
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul
- 2025Memory OS of AI Agent30 May
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model18 Aug
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 34
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2025Qwen3 Technical Reportcited by 8,820
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
22 more
- 2023Cognitive Architectures for Language Agentscited by 429
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
- 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 281
- 2025Why Language Models Hallucinatecited by 220
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
- 2025AI Agents vs. Agentic AI: A Conceptual Taxonomy, Applications and Challengescited by 169
- 2025Deep Research Agents: A Systematic Examination And Roadmapcited by 128
- 2024Are self-explanations from Large Language Models faithful?cited by 101
- 2022DDXPlus: A New Dataset For Automatic Medical Diagnosiscited by 88
- 2023On Measuring Faithfulness or Self-consistency of Natural Language Explanationscited by 73
- 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 73
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 23
- 2024On the Brittle Foundations of ReAct Prompting for Agentic Large Language Modelscited by 17
- 2025LLMs Don't Know Their Own Decision Boundaries: The Unreliability of Self-Generated Counterfactual Explanationscited by 16
- 2025A Survey on Agent Workflow -- Status and Futurecited by 14
- 2024Unlocking Structured Thinking in Language Models with Cognitive Promptingcited by 8
- 2025Eliciting Reasoning in Language Models with Cognitive Toolscited by 6
- 2025Do LLMs Strategically Reveal, Conceal, and Infer Information? A Theoretical and Empirical Analysis in The Chameleon Gamecited by 5
- 2025Unified Mind Model: Reimagining Autonomous Agents in the LLM Eracited by 5
- 2025Codifying Character Logic in Role-Playingcited by 5
- 2025Are Large Language Models Good Temporal Graph Learners?cited by 3
- 2025RAG+: Enhancing Retrieval-Augmented Generation with Application-Aware Reasoningcited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026The Topological Trouble With Transformerscited by 3
- 2026Can You Keep a Secret? Involuntary Information Leakage in Language Model Writingcited by 1
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMscited by 0
- 2026Mutable Transcripts: Mitigating Context Pollution through Editable Conversation Statecited by 0
- 2026Mutable Transcripts: Mitigating Context Pollution through Editable Conversation State25 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026Can You Keep a Secret? Involuntary Information Leakage in Language Model Writing11 May 2026
- 2026The Topological Trouble With Transformers18 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems
- 2026Can Agents Forget When Asked? A Benchmark for Memory Unlearning in LLM Agents
- 2026Stateless Yet Not Forgetful: Implicit Memory as a Hidden Channel in LLMs
- 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
- 2026Evaluating Memory Structure in LLM Agents