R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression

Memory plays a key role in enhancing LLMs' performance when deployed to real-world applications.Existing solutions face trade-offs: explicit memory designs based on external storage require complex management and incur storage overhead, while implicit memory designs that store information via parameters struggle with reliable retrieval.In this paper, we propose R 3 Mem, a memory network that optimizes both information Retention and Retrieval through Reversible context compression.Specifically, R 3 Mem employs virtual memory tokens to compress and encode infinitely long histories, further enhanced by a hierarchical compression strategy that refines information from document-to entity-level for improved assimilation across granularities.For retrieval, R 3 Mem employs a reversible architecture, reconstructing raw data by invoking the model backward with compressed information.Implemented via parameter-efficient fine-tuning, it can integrate seamlessly with any Transformerbased model.Experiments demonstrate that our memory design achieves state-of-the-art performance in long-context language modeling and retrieval-augmented generation tasks.It also significantly outperforms conventional memory modules in long-horizon interaction tasks like conversational agents, showcasing its potential for next-generation retrieval systems.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.235
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression

Suyuchen Wang, Yun Zhu, Xiaoqiang Wang, Bang Liu
Topic Modeling
article

R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression

Suyuchen Wang, Yun Zhu, Xiaoqiang Wang, Bang Liu
article en

Abstract

Memory plays a key role in enhancing LLMs' performance when deployed to real-world applications.Existing solutions face trade-offs: explicit memory designs based on external storage require complex management and incur storage overhead, while implicit memory designs that store information via parameters struggle with reliable retrieval.In this paper, we propose R 3 Mem, a memory network that optimizes both information Retention and Retrieval through Reversible context compression.Specifically, R 3 Mem employs virtual memory tokens to compress and encode infinitely long histories, further enhanced by a hierarchical compression strategy that refines information from document-to entity-level for improved assimilation across granularities.For retrieval, R 3 Mem employs a reversible architecture, reconstructing raw data by invoking the model backward with compressed information.Implemented via parameter-efficient fine-tuning, it can integrate seamlessly with any Transformerbased model.Experiments demonstrate that our memory design achieves state-of-the-art performance in long-context language modeling and retrieval-augmented generation tasks.It also significantly outperforms conventional memory modules in long-horizon interaction tasks like conversational agents, showcasing its potential for next-generation retrieval systems.

Canadian Institute for Advanced Research, Natural Sciences and Engineering Research Council of Canada
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression — Suyuchen Wang, Yun Zhu, et al. · (2025) | TGRS Research Map | TGRS