On January 12, 2026, DeepSeek quietly published a paper that might matter more than the V4 model that followed it. It describes a technique called Engram, a lookup-based memory module whose large embedding table can be moved out of expensive GPU high-bandwidth memory and into cheaper system RAM when the model is served. The paper and a demonstration implementation are public on GitHub.
The paper does not mention export controls. But it comes from a lab whose CEO has said that chip export bans, not money, are its problem, and its design speaks directly to that problem.
The Hardware Constraint That Matters
Raw compute is not the only limit on training and running large language models. Memory is another. The Engram paper puts it this way: “Scaling model parameters is often constrained by the limited capacity of GPU high-bandwidth memory (HBM).” HBM is the fast RAM that sits on the same package as GPU chips.
HBM is expensive. SemiAnalysis notes that HBM “is much more expensive to produce and has a warranted price premium to DDR5, but demand remains strong for HBM.” And if you’re a Chinese AI company, US export controls make it harder still: CSIS counts advanced-node HBM manufacturing as one of three links in the chip supply chain China has to replicate domestically, and SemiAnalysis records that the US raised its HBM controls in December 2024.
Liang Wenfeng, DeepSeek’s founder and CEO, has been blunt about what the limits cost. CSIS quotes him in a July 2024 interview: “We do not have financing plans in the short term. Money has never been the problem for us; bans on shipments of advanced chips are the problem.” CSIS also reports Liang saying in another interview that US chip restrictions mean Chinese companies “must use two to four times the computing power to achieve the same results,” which CSIS describes as the penalty of using the H800 instead of the H100 for large model training.
On the hardware itself, CSIS writes that DeepSeek has reportedly evaluated Huawei’s Ascend chips and found them “unattractive for training AI models” with each Ascend 910C delivering “roughly 60 percent of the performance of an Nvidia H100 for inferencing AI models.”
Engram is one of the paths DeepSeek has published since.
What Engram Actually Does
Traditional large language models store everything in neural network weights. Every fact, relationship, and pattern the model learns gets encoded into billions of parameters that live in GPU memory. When you ask the model a question, it computes through all those weights to retrieve relevant information.
This approach is wasteful. A lot of what models “know” is simple factual recall — who founded a company, what year something happened, the definition of a word. These lookups don’t require sophisticated reasoning. But they still consume the same expensive GPU memory and compute cycles as complex multi-step problems.
Engram separates knowledge retrieval from reasoning.
Here’s how it works: alongside the neural weights, Engram keeps a large embedding lookup table. For each token, it hashes the preceding suffix N-gram (the paper’s configurations centre on 2-grams and 3-grams) and performs an O(1) lookup to retrieve relevant embeddings. Only a constant number of slots is retrieved per token, so the table can grow without increasing per-token compute.
The retrieved information gets fed into the model’s reasoning layers. During training, the paper shards the tables across GPUs; at inference time, it offloads them to host memory, so the bulk of that stored knowledge can sit in cheaper system RAM instead of scarce GPU HBM.
The Technical Details
The Engram architecture has three key innovations:
1. Tokenizer Compression
Tokens that differ only in case or Unicode form are mapped to a single canonical ID (the paper uses NFKC normalisation and lowercasing), so “Apple” and ” apple” point to the same lookup entry. The paper reports that this cuts the effective vocabulary size by 23% for a 128k tokenizer.
2. Multi-Head Hashing
Hash collisions are inevitable when you’re compressing arbitrary text into table indices. Engram uses K distinct hash functions simultaneously. When retrieving embeddings, the system aggregates across all heads, reducing noise from any single collision event.
3. Context-Aware Gating
Raw retrieval is noisy. The same N-gram might appear in completely different contexts. Engram implements a gating mechanism where the model’s current hidden state decides whether to trust the retrieved memory.
If the memory aligns with what the model is currently processing, the gate opens. If it contradicts the context, the gate tends toward zero, suppressing it. The Transformer’s reasoning layers stay in control.
The Numbers
DeepSeek tested Engram on a 27-billion parameter model against an MoE baseline matched in total parameters and compute. They reduced the number of routing experts from 72 to 55 and reallocated those parameters to a 5.7B-parameter embedding table.
The results (Engram-27B vs. MoE-27B, from the paper’s Table 1):
Knowledge Benchmarks:
- MMLU: +3.0 points (57.4 to 60.4)
- MMLU-Redux: +3.4 points (60.6 to 64.0)
- CMMLU: +4.0 points
Reasoning:
- Big-Bench Hard: +5.0 points
- ARC-Challenge: +3.7 points
Code and Math:
- HumanEval: +3.0 points
- GSM8K: +2.2 points
- MATH: +2.4 points
Long-Context Retrieval:
- Multi-Query Needle-in-a-Haystack (RULER): 97.0 vs. 84.2 for the baseline
That last number is the most striking. The paper’s explanation is that by handing local patterns to lookups, Engram frees attention capacity for global context. The 97.0 vs. 84.2 comparison is the paper’s iso-loss setting, an Engram-27B checkpoint at 46k steps against the fully trained MoE-27B, both after long-context extension.
The 100 Billion Parameter Trick
Here’s the number that matters for the hardware constraints: DeepSeek inserted a 100-billion-parameter Engram layer into dense 4B and 8B models, kept the whole table in host DRAM, and measured inference throughput on NVIDIA H800s. The penalty peaked at 2.8% on the 8B backbone.
The secret is asynchronous PCIe prefetching. Engram lookups are deterministic — the indices depend only on the input token sequence, which is known before the forward pass begins. The system can prefetch embeddings from system RAM while the GPU computes the preceding layers.
The paper’s own conclusion is that “Engram effectively bypasses GPU memory constraints, facilitating aggressive parameter expansion.” That result is for inference throughput; the paper’s training setup still shards Engram tables across GPUs.
Why This Matters for Export Controls
The US semiconductor export controls are designed to slow China’s AI progress by restricting access to advanced chips. The logic: if Chinese labs can’t get enough high-bandwidth memory, they can’t train or run frontier-scale models.
Engram doesn’t eliminate the need for GPUs or HBM. What it could do is move a large share of a model’s parameters out of HBM at serving time. Whether that lets a model run acceptably on older hardware with more system RAM is untested; the paper’s throughput test ran on H800s.
The domestic supply chain is moving too. SemiAnalysis notes that “DRAM national champion CXMT is aggressively expanding HBM capacity, with a large stockpile of tools to insulate from updated export controls,” and that China has planned $200 billion in subsidies for home-grown semiconductors over five years, with a material portion expected to go toward HBM. Engram’s offloaded memory table, by contrast, sits in regular DRAM, the commodity memory that CXMT, which SemiAnalysis calls China’s DRAM national champion, already makes.
The allocation DeepSeek found optimal at the scales it tested — 75-80% of sparse parameters to routed experts, 20-25% to Engram memory — suggests a scaling strategy that works within hardware constraints rather than fighting them.
DeepSeek V4 and What’s Next
Engram isn’t a standalone product. It’s an architectural component, published open so other labs can build on it.
DeepSeek published three efficiency techniques in the weeks around the Engram paper:
- Manifold-Constrained Hyper-Connections (mHC) - more efficient layer communication, published 31 December 2025
- Engram conditional memory - knowledge in RAM instead of GPU memory, published 12 January 2026
- DeepSeek Sparse Attention - reduced attention computation for long contexts, published with DeepSeek-V3.2 on 2 December 2025
Wei Sun, the principal analyst for AI at Counterpoint Research, called the mHC method a “striking breakthrough” when Business Insider asked about it.
DeepSeek’s V4 preview shipped on 24 April 2026 as two open-weight models: V4-Pro with 1.6 trillion total parameters (49 billion active) and V4-Flash with 284 billion (13 billion active), both with a one-million-token context window and MIT-licensed weights. The V4-Pro model card names a hybrid attention architecture and mHC among the series’ upgrades, and says that in the 1M-token context setting V4-Pro “requires only 27% of single-token inference FLOPs and 10% of KV cache compared with DeepSeek-V3.2”. Engram is not mentioned in the release note or the card, nor in DeepSeek’s later API release notes for V4-Pro GA, V4-Flash-Vision-Exp and V4.1-Flash (through 13 November 2026).
Whatever happens to the rest of the stack, the paper shows that one large block of model parameters can be served from system RAM at a small throughput cost. That eases one hardware constraint; it does not replace the GPUs that still do the computing.
The Uncomfortable Implication
Chip export controls rest on the idea that controlling hardware slows capability. Engram is a reminder that this works only up to a point.
DeepSeek published the work openly. The paper and a demonstration implementation are on GitHub under an Apache 2.0 licence, so other labs can study and reimplement the technique. The repository’s README notes that the demo mocks standard components such as attention and MoE to focus on the Engram module.
Export controls are still meaningful. By Liang’s own account, as reported by CSIS, they force Chinese firms to spend more compute for the same results. But they are not a fixed ceiling. When one path is restricted, motivated engineers look for others.
What to Watch
Three things to monitor as Engram and similar techniques mature:
1. Whether Engram-Style Memory Ships The technique is open, but none of DeepSeek’s V4 or V4.1 release materials mention it. Whether a later DeepSeek release, or a Western lab, picks it up is the thing to watch.
2. Adoption by Other Labs Will Western companies integrate Engram-style memory architectures? The technique is openly published and doesn’t require exotic hardware, though the paper’s results come from models of 40B total parameters and below.
3. Policy Response Export control advocates will argue for tightening restrictions. But Engram shows that algorithmic work can ease at least some hardware constraints. The policy question becomes: how much can you really control through chip restrictions alone?
Engram is another example of constraint driving creativity. The most interesting AI innovations of 2026 might not come from the labs with the most GPUs.
They might come from the ones with the least.
Technical Resources: