NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedArtificial Intelligence

Memorilla gives LLMs access to document collections through 16 memory tokens

The researchers report that Memorilla outperformed comparison systems on five of eight benchmarks while keeping the language model’s parameters frozen.

Published: 8 Nov 2026, 07:00 UTC
A stream of documents is condensed into a grid of sixteen glowing tiles connected to an abstract neural network.
Conceptual illustration: information from a document collection reaches a language model through compact memory tokens.

Researchers have introduced Memorilla, a memory system that gathers information from a document collection into a fixed number of query-dependent memory tokens for a frozen large language model. The paper was first submitted on October 15, 2026, with its third and latest version submitted on November 3.

The system encodes documents, such as user conversations or book chapters, once into reusable embeddings. It then learns to retrieve information relevant to each query and place it in the LLM’s input embedding space. This gives the model access to accumulated material while keeping its context short.

According to the authors, Memorilla achieved the best performance on five of eight benchmarks covering personalization, long-document questions and knowledge-intensive question answering, using only 16 memory tokens. Comparisons included Mem0 and MemoRAG. On FactKG, it reached 84.33% accuracy against 80.43% with full-context inference, using 108 times fewer tokens to represent the source documents.

The researchers also tested Memorilla in TextWorld, where an agent’s history grows as it acts. They report that the system reduced wandering between previously explored rooms and increased the average success rate from 18.6% with full-history in-context learning to 24.2%.

Original source: arxiv.org ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Hacker News