Highlight
Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
Implementation of a module that modernizes classic N-gram embeddings for O(1) lookup.
Based on
github.com
Read original article →This repository contains the official implementation of a conditional memory module, Engram, which is a new axis of sparsity for large language models.
It formulates the trade-off between neural computation and static memory, identifying a U-shaped scaling law that guides optimal capacity allocation. The module demonstrates consistent improvements over MoE baselines across knowledge, reasoning, code, and math domains.
Share
Take the next step
Try CoreModels, talk with our team, or explore more resources.