[KongchangAI]
ConceptEngram记忆架构 / n-gram记忆

Engram

An internal memory mechanism introduced in DeepSeek-V4.1-Flash that allocates a portion of the model's weight capacity—197B parameters—as an n-gram memory table. High-frequency language patterns are handled via lookup rather than forward computation, reducing inference cost.

Core Facts

Timeline (last 90 days)

Oct 23

The Engram n-gram memory module of DeepSeek-V4.1-Flash occupies 196 billion parameters.

Unverified50%
Oct 18

DeepSeek 1017's expert weights are already FP4 (4 bits per parameter), so conventional 4-bit quantization is of little help; the Engram memory table can be placed on SSD (reading only about 12KB per token), but the expert weights must reside in high-speed memory, because the router selects 6 of 384 experts per layer and makes a different selection for each token.

Unverified50%
Oct 17

Engram represents a new memory superseding an old one via a SUPERSEDES edge; old memories are marked superseded but not deleted, and recall filters to active status by default.

Unverified50%
Oct 17

Engram's provenance path is Tool -[:RAN]-> Session -[:CAPTURED]-> Memory -[:SUPERSEDES]-> Memory, achieving provenance by traversing edges without needing synchronized JSON fields.

Unverified50%
Oct 17

Engram performs one-hop traversal via RELATED_TO entity edges, enabling recall of memories that don't directly mention the query terms, because entity co-occurrence strengthens the edges.

Unverified50%
Oct 17

Cursor and Gemini CLI read the same Engram graph via MCP, but require manually adding the engram_recall prompt because they lack a hook system.

Unverified50%
Oct 17

Engram is a graph-database-based shared memory system built by developers at FalkorDB's Graph Hacks hackathon, providing shared memory for all AI tools.

Unverified50%
Oct 17

Engram automatically captures memories via Claude Code's session hooks, with no need for users to explicitly say "remember this" — decisions land in the graph at session end.

Unverified50%
Oct 17

In the Engram approach, MCP reads rely on the prompt's self-discipline, and automatic capture is available only in tools that support hooks — these are the current approach's limitations.

Unverified50%
Oct 17

Engram's local web UI draws the real graph, with nodes colored by status and SUPERSEDES edges highlighted, showing real data rather than a conceptual diagram.

Unverified50%

13 more timeline events

All Facts (20)

Verified

DeepSeek-V4.1-Flash's KV cache is compressed to 890 bytes per token, only one-quarter that of V4 Flash.

65%
Unverified

The Engram n-gram memory module of DeepSeek-V4.1-Flash occupies 196 billion parameters.

50%
Unverified

DeepSeek 1017's expert weights are already FP4 (4 bits per parameter), so conventional 4-bit quantization is of little help; the Engram memory table can be placed on SSD (reading only about 12KB per token), but the expert weights must reside in high-speed memory, because the router selects 6 of 384 experts per layer and makes a different selection for each token.

50%
Unverified

Cursor and Gemini CLI read the same Engram graph via MCP, but require manually adding the engram_recall prompt because they lack a hook system.

50%
Unverified

Engram automatically captures memories via Claude Code's session hooks, with no need for users to explicitly say "remember this" — decisions land in the graph at session end.

50%
Unverified

Engram performs one-hop traversal via RELATED_TO entity edges, enabling recall of memories that don't directly mention the query terms, because entity co-occurrence strengthens the edges.

50%
Unverified

Engram's provenance path is Tool -[:RAN]-> Session -[:CAPTURED]-> Memory -[:SUPERSEDES]-> Memory, achieving provenance by traversing edges without needing synchronized JSON fields.

50%
Unverified

Engram is a graph-database-based shared memory system built by developers at FalkorDB's Graph Hacks hackathon, providing shared memory for all AI tools.

50%
Unverified

Engram represents a new memory superseding an old one via a SUPERSEDES edge; old memories are marked superseded but not deleted, and recall filters to active status by default.

50%
Unverified

In the Engram approach, MCP reads rely on the prompt's self-discipline, and automatic capture is available only in tools that support hooks — these are the current approach's limitations.

50%
Unverified

Engram's local web UI draws the real graph, with nodes colored by status and SUPERSEDES edges highlighted, showing real data rather than a conceptual diagram.

50%
Unverified

Engram is a hash-based n-gram memory stored in host memory and attached to 2 of the 72 layers; mHC replaces the traditional single residual stream with 4 residual streams.

50%
Unverified

Engram positions AI as a "new type of instrument" that expands human capability rather than an "automatic composition machine" that replaces humans.

50%
Unverified

Engram combines a sampler with a groovebox, aiming to cover the complete chain from sound capture and AI processing to rhythm arrangement.

50%
Unverified

Engram presents AI audio processing in a groovebox form factor, emphasizing that performers make decisions in the moment rather than repeatedly tweaking parameters in a software interface.

50%
Unverified

Engram explicitly states that it is not "Suno in a box" and is not a one-click song-generation device.

50%
Unverified

Engram is a hardware device that combines a sampler and a groovebox, using AI to mangle input audio and generate entirely new sounds.

50%
Unverified

Harvey and Engram used the model to build a synthetic law firm, achieving an average score of 67 across 250 legal tasks, higher than all models evaluated in the study.

50%
Unverified

Engram dedicates one quarter of the entire checkpoint's capacity to n-gram memory, reaching a scale of 197B parameters.

50%
Unverified

Engram is part of the model's internal weight structure, rather than calling an external knowledge base like RAG.

50%

Source Articles