Low-Bit N-Gram Embeddings for Language Models
Many recent open-weight language models use n-gram embedding tables to improve performance. These tables store learned representations of short token sequences, such as pairs or triples of consecutive tokens, which the model retrieves during processing. However, they can require substantial memory: DeepSeek-V4.1-Flash, for example, allocates 196 billion parameters to its Engram
Reading in Plain English mode — toggle below to switch
Many recent open-weight language models use n-gram embedding tables to improve performance. These tables store learned representations of short token sequences, such as pairs or triples of consecutive tokens, which the model retrieves during processing. However, they can require substantial memory: DeepSeek-V4.1-Flash, for example, allocates 196 billion parameters to its Engram
Reducing the memory footprint of n-gram embeddings is crucial for deploying large language models more efficiently, especially on resource-constrained hardware. This research directly addresses a significant cost component in modern LLMs, making them more accessible and scalable.