LIVE
OpenAI models are coming to Google Cloud21/10/26 · OpenAI|OpenAI details ChatGPT's new advertising infrastructure21/10/26 · OpenAI|Anthropic reportedly posted a net loss of over $80 billion in H1 202620/10/26 · Anthropic|Self-Evolving Interfaces Help a Mid-Sized Open Model Beat GPT-5.5 and Claude Opus20/10/26|Sweden bans ChatGPT and Claude across government offices23/10/26|SpectralCanary: A Lightweight Method to Detect Unauthorized Training Data Use22/10/26|Low-bit n-gram tables cut memory use in language models22/10/26|NVIDIA releases OpenShell, a runtime for fleets of autonomous AI agents22/10/26 · NVIDIA|Ai2 releases OlmoEarth v1.3, an upgraded geospatial embeddings model22/10/26 · Ai2|NVIDIA Introduces Minerva, an Observability Platform for AI Factories22/10/26 · NVIDIA|Google DeepMind maps the world's forest types at global scale22/10/26 · Google DeepMind|AI's hidden storage bill: what inference leaves behind22/10/26|OpenAI models are coming to Google Cloud21/10/26 · OpenAI|OpenAI details ChatGPT's new advertising infrastructure21/10/26 · OpenAI|Anthropic reportedly posted a net loss of over $80 billion in H1 202620/10/26 · Anthropic|Self-Evolving Interfaces Help a Mid-Sized Open Model Beat GPT-5.5 and Claude Opus20/10/26|Sweden bans ChatGPT and Claude across government offices23/10/26|SpectralCanary: A Lightweight Method to Detect Unauthorized Training Data Use22/10/26|Low-bit n-gram tables cut memory use in language models22/10/26|NVIDIA releases OpenShell, a runtime for fleets of autonomous AI agents22/10/26 · NVIDIA|Ai2 releases OlmoEarth v1.3, an upgraded geospatial embeddings model22/10/26 · Ai2|NVIDIA Introduces Minerva, an Observability Platform for AI Factories22/10/26 · NVIDIA|Google DeepMind maps the world's forest types at global scale22/10/26 · Google DeepMind|AI's hidden storage bill: what inference leaves behind22/10/26|
Research

Low-bit n-gram tables cut memory use in language models

A new study finds that quantizing n-gram embedding tables to 4 bits cuts their memory footprint by roughly 75% while retaining over 99% of the performance gain they provide.

October 22, 20263 min readPublished byarXiv

A growing number of recent open-weight language models rely on n-gram embedding tables, which store learned representations of short token sequences, such as pairs or triples, retrieved by the model during inference. This mechanism improves performance but comes with a steep memory cost: DeepSeek-V4.1-Flash, for instance, dedicates 196 billion parameters to its n-gram memory component, called Engram.

A new study addresses this issue by asking whether that memory overhead can be reduced without losing the performance benefits the tables provide. The authors propose storing n-gram embeddings at reduced numerical precision and systematically test various quantization schemes and bit allocations across tables. Experiments on models trained from scratch in the nanochat, Llama, and GPT-2 families show that four-bit tables save about 75% of table memory while preserving more than 99% of the validation-loss improvement the tables originally delivered.

Pushing precision lower leads to a larger performance drop, but the researchers find that a brief fine-tuning phase recovers much of the lost ground. More notably, they show that the memory freed up can be reinvested into larger tables, allowing the model to surpass the performance of the original full-precision tables while still using less memory overall.

The approach also holds up on existing large-scale models: tested on DeepSeek-V4.1-Flash and Qwen3.8-Flash-Next, low-bit tables cut memory usage by 47 to 55%, with perplexity increasing by less than 1.2% and downstream task performance largely intact. The findings point to low-bit quantization as a practical lever for managing the memory demands of n-gram-based architectures, a concern that is likely to grow as these tables scale up in production systems.

Tags
quantizationembeddingsmodel-compressionefficiencyllm-architecture

Read also

Low-bit n-gram tables cut memory use in language models · nAIvigate