ResearchResearch paperLarge Language Models1 source · Oct 15, 2026

Memorilla: Latent Semantic Memory for LLMs

Here we introduce Memorilla, a memory system that gathers information from an entire document collection into a fixed number of query-dependent 'memory tokens' for a frozen LLM.

Key points

  • Memory enables large language models (LLMs) to use information beyond their parameters, such as past user conversations, long documents, or an agent's earlier actions.
  • Memorilla encodes documents (such as user chats, book chapters) once into reusable embeddings, then learns to retrieve and place query-specific information in the LLM's input embedding space.
  • In a TextWorld environment, we show that Memorilla reduces the agent's tendency to wander between rooms it has already explored, and improves its average success rate from 18.6% with full-history in-context learning to 24.2%.
  • Overall, Memorilla aids frozen LLMs in accumulating and using knowledge effectively across long-context interactions and takes a step towards building continually learning AI systems.

Sources (1)

  • [1]Memorilla: Latent Semantic Memory for LLMs
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 15, 06:55 AM
    Here we introduce Memorilla, a memory system that gathers information from an entire document collection into a fixed number of query-dependent 'memory tokens' for a frozen LLM.
    Memory enables large language models (LLMs) to use information beyond their parameters, such as past user conversations, long documents, or an agent's earlier actions.

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 15, 2026Fractional Power-of-Two Quantization for Efficient and Effective Multiplier-Free LLM Inference
  2. Oct 15, 2026System1-Arena: Which Decisions Can Be Left to System 1?
  3. Oct 15, 2026From Long Context to Selective Memory:A Survey of Memory-Centric Compression for Large Language Models
  4. Oct 15, 2026Librarian Agents: Training LLMs to Curate Long-Context Workspaces that Anticipate Future Queries
  5. Oct 14, 2026Optimal Hydra: Model Heterogeneous Federated Learning for LLMs using Data-Informed Hydra-Nets
  6. Oct 13, 2026Plan or Retrieve First? A Scale Study of Tool Discovery Architectures

Related