Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Vendrell, Victor Conchello, Masdemont, Arnau Padres, Grillo, Niccolò, Ros-Giralt, Jordi, Behboodi, Arash, Massoli, Fabio Valerio
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914578887081984
author Vendrell, Victor Conchello
Masdemont, Arnau Padres
Grillo, Niccolò
Ros-Giralt, Jordi
Behboodi, Arash
Massoli, Fabio Valerio
author_facet Vendrell, Victor Conchello
Masdemont, Arnau Padres
Grillo, Niccolò
Ros-Giralt, Jordi
Behboodi, Arash
Massoli, Fabio Valerio
contents Recurrent LLM architectures have emerged as a promising approach for improving reasoning, as they enable multi-step computation in the embedding space without generating intermediate tokens. Models such as Ouro perform reasoning by iteratively updating internal representations while retaining a standard Key-Value (KV) cache across iterations, causing memory consumption to grow linearly with reasoning depth. Consequently, increasing the number of reasoning iterations can lead to prohibitive memory usage, limiting the practical scalability of such architectures. In this work, we propose Memory-Efficient Looped Transformer (MELT), a novel architecture that decouples reasoning depth from memory consumption. Instead of using a standard KV cache per layer and loop, MELT maintains a single KV cache per layer that is shared across reasoning loops. This cache is updated over time via a learnable gating mechanism. To enable stable and efficient training under this architecture, we propose to train MELT using chunk-wise training in a two phase procedure: interpolated transition, followed by attention-aligned distillation, both from the LoopLM starting model to MELT. Empirically, we show that MELT models fine-tuned from pretrained Ouro parameters outperform standard LLMs of comparable size, while maintaining a memory footprint comparable to those models and dramatically smaller than Ouro's. Overall, MELT achieves constant-memory iterative reasoning without sacrificing LoopLM performance, using only a lightweight post-training procedure.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07721
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Models
Vendrell, Victor Conchello
Masdemont, Arnau Padres
Grillo, Niccolò
Ros-Giralt, Jordi
Behboodi, Arash
Massoli, Fabio Valerio
Computation and Language
Artificial Intelligence
Machine Learning
Recurrent LLM architectures have emerged as a promising approach for improving reasoning, as they enable multi-step computation in the embedding space without generating intermediate tokens. Models such as Ouro perform reasoning by iteratively updating internal representations while retaining a standard Key-Value (KV) cache across iterations, causing memory consumption to grow linearly with reasoning depth. Consequently, increasing the number of reasoning iterations can lead to prohibitive memory usage, limiting the practical scalability of such architectures. In this work, we propose Memory-Efficient Looped Transformer (MELT), a novel architecture that decouples reasoning depth from memory consumption. Instead of using a standard KV cache per layer and loop, MELT maintains a single KV cache per layer that is shared across reasoning loops. This cache is updated over time via a learnable gating mechanism. To enable stable and efficient training under this architecture, we propose to train MELT using chunk-wise training in a two phase procedure: interpolated transition, followed by attention-aligned distillation, both from the LoopLM starting model to MELT. Empirically, we show that MELT models fine-tuned from pretrained Ouro parameters outperform standard LLMs of comparable size, while maintaining a memory footprint comparable to those models and dramatically smaller than Ouro's. Overall, MELT achieves constant-memory iterative reasoning without sacrificing LoopLM performance, using only a lightweight post-training procedure.
title Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2605.07721