cd /news/large-language-models/unlocking-the-working-memory-of-larg… · home topics large-language-models article
[ARTICLE · art-19135] src=arxiv.org pub= topic=large-language-models verified=true sentiment=· neutral

Unlocking the Working Memory of Large Language Models for Latent Reasoning

Researchers have developed Reasoning in Memory (RiM), a latent reasoning method that replaces the autoregressive generation of intermediate reasoning steps with fixed memory blocks processed in a single forward pass. The approach, which draws on the human cognitive principle of working memory, enables large language models to hold and manipulate information internally without externalizing thoughts. In experiments across multiple model families and sizes, RiM matched or exceeded existing latent reasoning methods while avoiding the computational cost of generating intermediate tokens.

read2 min publishedMay 31, 2026
[Submitted on 28 May 2026]


[View PDF](/pdf/2605.30343)

[HTML (experimental)](https://arxiv.org/html/2605.30343v1)

Abstract:To improve the reasoning capabilities of large language models, test-time compute is typically scaled by generating intermediate tokens before the final answer. However, this couples reasoning to autoregressive generation and thereby conflates internal computation with external communication. In contrast, human cognition can use working memory to hold and manipulate information internally without the need to externalize intermediate thoughts. Drawing on this principle, we introduce Reasoning in Memory (RiM), a latent reasoning method that replaces the autoregressive generation of reasoning steps with memory blocks. These memory blocks are fixed sequences of special tokens that unlock the working-memory capacity of large language models. Since they are fixed rather than generated, they can be processed in a single forward pass, enabling compute-efficient latent reasoning. To operationalize these memory blocks, we employ a two-stage curriculum. First, we ground them by predicting explicit reasoning steps after each memory block. Second, we discard this step-level supervision and iteratively refine the final answer after each memory block. Our experiments on reasoning benchmarks show that, across language models of different families and sizes, RiM matches or exceeds existing latent reasoning methods while avoiding the autoregressive generation of thoughts. These results demonstrate that large language models can be trained to use working memory as an effective mechanism for latent reasoning.

Submission history #

From: Lukas Aichberger [[view email](/show-email/9ead69ee/2605.30343)]

**[v1]** Thu, 28 May 2026 17:59:49 UTC (17,205 KB)

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?)# Code, Data and Media Associated with this Article alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?)# Demos Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?)# arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #large-language-models 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/unlocking-the-workin…] indexed:0 read:2min 2026-05-31 ·