GRAVITY: Architecture-Agnostic Structured Anchoring for Long-Horizon Conversational Memory

Yushi Sun, Bowen Cao, Dong Fang, Lingfeng Su, Wai Lam
5/3/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Long-horizon memory systems increasingly improve how evidence is stored and retrieved, yet the generator must still reason over fragments whose cross-session relationships are implicit. We study generation-time memory organization as a distinct design dimension and introduce GRAVITY (Generation-time Relational Anchoring Via Injected Topological MemorY), a host-independent auxiliary memory layer.

Show full abstract

GRAVITY consolidates raw dialogue into entity profiles, temporal event traces, and cross-session topic summaries, then retrieves and injects query-relevant records through the prompt interface. Across five heterogeneous memory systems on LongMemEval and LoCoMo, it improves every host--benchmark baseline under two distinct LLM configurations. Controlled analyses separate gains from organizing already available evidence and from consolidating information across the full history. Under a matched LightMem pipeline, the entity--event--topic representation reaches 83.9% on LoCoMo, 3.6% above the strongest of six alternative auxiliary representations. These results show that generation-time structure is a portable complement to existing memory retrieval, while its interaction with host evidence depends on the benchmark and host.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2026gravity,
  title  = {GRAVITY: Architecture-Agnostic Structured Anchoring for Long-Horizon Conversational Memory},
  author = {Yushi Sun and Bowen Cao and Dong Fang and Lingfeng Su and Wai Lam},
  year   = {2026},
  eprint = {2605.01688},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.01688v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.01688.svg)](https://codeofpaper.com/paper/2605.01688)

Discussion