Termsslug: memory-tokens

Memory Tokens

记忆 token

A fixed number of query-dependent embedding vectors produced by a memory system and prepended to a frozen LLM's input sequence t

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Models
74 pts
Memorilla Compresses Long Context into 16 Memory Tokens for Frozen LLMs

Memorilla introduces a latent semantic memory system for frozen LLMs: documents are encoded once into reusable embeddings, and the system learns to retrieve and inject query-specific information into the model's input embedding space as a fixed set of memory tokens. With only 16 memory tokens, it beats baselines such as Mem0 and MemoRAG on five of eight benchmarks covering personalization, long-document and knowledge-intensive QA, and reaches 84.33% on FactKG versus 80.43% for full-context inference while using roughly 108x fewer tokens.