Skip to content
简体中文

切换主题

arXiv 2610.21810 · cs.LG · 2026-10-15

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

Donghoon Han, Minseop Jung, Dong Woo Kwak, SeungJae Lee, Junhoo Lee

Dnotitia Inc.

新论文

一句话要点

提出一种基于两比特编码的条件记忆表示方法,通过共享重建程序压缩n-gram记忆表,在不损失性能的前提下将DeepSeek模型的存储量从203GB降至51GB。

A two-bit conditional memory representation reduces storage from 203GB to 50GB in DeepSeek while improving reconstruction accuracy over baseline methods.

要点

  • 语言模型中的条件记忆依赖完整嵌入表,但存储开销巨大,现有方法难以在不牺牲性能的前提下压缩表结构。
  • 提出Conditional Program(CP)表示法,通过短码与局部缩放因子重建请求行,并共享跨表的重建程序,实现高效压缩。
  • 在三个训练好的n-gram记忆家族上验证,Gaussian trellis结构能有效捕捉坐标统计特性,优于拟合码本和低秩残差模型。
  • 在DeepSeek模型中,CP方法将嵌入表存储从203GB降至51GB,为模型扩展工作负载提供了空间,但未涉及训练过程或推理延迟的评估。
English overview

Conditional memory in language models requires full embedding tables, leading to high storage costs. The authors propose Conditional Program (CP), a compressed representation that reconstructs only requested rows using short codes and shared reconstruction programs. A Gaussian trellis structure enables efficient and accurate row reconstruction. Experiments on three n-gram memory families show CP outperforms codebook and low-rank variants under equal storage. In DeepSeek, CP reduces table size from 203GB to 51GB with improved reconstruction quality.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

8HF 点赞
–GitHub stars
–引用(Semantic Scholar)
–热度分

阅读 arXiv 原文 PDF Hugging Face 讨论

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-10-15。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)