Memorilla
A latent semantic memory scheme designed for LLMs that encodes, organizes and retrieves memories in a latent semantic space rather than at the level of raw text. It aims to address the problems of long-context truncation and the loss of semantic structure in vector retrieval.
Timeline (last 90 days)
Memorilla is released as open source, so researchers and engineers can directly reproduce the results on Qwen3-8B and try migrating it to other frozen models or replacing the document collection.
Memorilla is injected into a fully frozen Qwen3-8B model, requiring no modification of the model parameters.
Memorilla's memory token storage cost is counted by fixed slots and does not grow with the size of the document collection.
Memorilla sits between retrieval-augmented generation (RAG) and parameter fine-tuning, using a fixed number of memory tokens to carry knowledge injection, with controllable inference overhead and memory updates that do not touch the base model.
The original text only gives Memorilla's results on the single FactKG benchmark; there is currently no public data supporting how it performs on tasks requiring long-chain reasoning, multi-hop composition, or fine-grained text understanding.
A Stanford research team has open-sourced Memorilla, a method that compresses a document collection into 16 memory tokens and injects them into a frozen LLM.
Memorilla achieves 84.33% accuracy on the FactKG benchmark.
Memorilla reduces document token consumption by 108x compared with full-context methods.
Memorilla encodes the entire document collection into 16 memory tokens, which are learned latent-space representations rather than excerpts of the original text.
Memorilla is positioned not as a simple vector database wrapper, but as an attempt to organize and manage model memory at the semantic level.
3 more timeline events
All Facts (13)
Memorilla encodes the entire document collection into 16 memory tokens, which are learned latent-space representations rather than excerpts of the original text.
50%UnverifiedMemorilla is injected into a fully frozen Qwen3-8B model, requiring no modification of the model parameters.
50%UnverifiedMemorilla's memory token storage cost is counted by fixed slots and does not grow with the size of the document collection.
50%UnverifiedMemorilla sits between retrieval-augmented generation (RAG) and parameter fine-tuning, using a fixed number of memory tokens to carry knowledge injection, with controllable inference overhead and memory updates that do not touch the base model.
50%UnverifiedThe original text only gives Memorilla's results on the single FactKG benchmark; there is currently no public data supporting how it performs on tasks requiring long-chain reasoning, multi-hop composition, or fine-grained text understanding.
50%UnverifiedMemorilla achieves 84.33% accuracy on the FactKG benchmark.
50%UnverifiedMemorilla reduces document token consumption by 108x compared with full-context methods.
50%UnverifiedMemorilla is a project proposed on Hacker News that aims to build Latent Semantic Memory for LLMs.
50%UnverifiedMemorilla is positioned not as a simple vector database wrapper, but as an attempt to organize and manage model memory at the semantic level.
50%UnverifiedMemorilla emphasizes "latent semantics" rather than "similar fragments"; its starting point is addressing the semantic blind spots of vector retrieval.
50%UnverifiedMemorilla is currently better suited as a reference for ideas than as a production dependency; there is still a considerable distance from concept to reliable engineering implementation.
50%UnverifiedA Stanford research team has open-sourced Memorilla, a method that compresses a document collection into 16 memory tokens and injects them into a frozen LLM.
50%UnverifiedMemorilla is released as open source, so researchers and engineers can directly reproduce the results on Qwen3-8B and try migrating it to other frozen models or replacing the document collection.
50%