Megadose AI progress, ranked daily.

N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Models

· HF Daily Papers ·
The researchers cut DeepSeek’s memory-table storage from 203GB to 51GB while reconstructing only the rows an input needs.

Their Conditional Program stores each row as a short code and a local scale, decoded through a shared reconstruction program. Its two-bit code reduces output KL divergence by 41–63% compared with two-bit round-to-nearest quantization. Across three trained n-gram memory families, the shared trellis beats the tested fitted codebooks and low-rank residual variants at matched storage budgets. The smaller table leaves room for larger workloads when kept on GPU.

HF Daily Papers' note

score 5

Categories: Research