论文前沿n-gram嵌入量化模型压缩DeepSeek论文

[论文] Low-Bit N-Gram Embeddings for Language Models

来源:arXiv AI 论文收录:2026/10/23

✦ AI 解读

该论文研究如何降低语言模型中n-gram嵌入表的内存开销。近期开源模型(如DeepSeek-V4.1-Flash)使用n-gram嵌入表提升性能,但参数量巨大(1960亿)。作者提出以低精度存储n-gram嵌入,并系统探究不同量化方法和比特分配。在nanochat、Llama和GPT-2系列模型上从头训练,四比特表可节省约75%的表内存,同时保持性能提升。

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 n-gram memory. We therefore investigate whether this memory cost can be reduced while preserving the performance improvement that the tables provide. We propose storing n-gram embeddings at low precision and systematically investigate different quantization methods and bit allocations across tables. Across nanochat-, Llama-, and GPT-2-family models trained from scratch, four-bit tables save approximately 75% of tabl
查看原文 ↗

相关推荐

Rapidly scaling online storage to serve over 1 billion ChatGPT users (Part II)
✦ AI 摘要OpenAI 发布技术博客第二部分,详解如何通过可靠的多租户架构、全局缓存和 Azure Cosmos DB 扩展 Habitat 在线存储系统,以支撑超过 10 亿 ChatGPT 用户,并实现读取速度提升 12 倍。文章聚焦大规模分布式存储的工程实践,对 AI 基础设施从业者具有参考价值。
AI Is Getting Good at Math. Here’s Why.
✦ AI 摘要文章探讨了AI模型在数学问题求解上日益增强的能力,并指出这些成功案例中正浮现出一种模式,该模式有望帮助预测AI接下来能解决哪些数学问题。内容涉及模型推理能力的评估与趋势分析,对关注AI数学推理进展的研究者和从业者具有参考价值。
AI Article Reviews Dominate Human Peer Reviews at Their Best [pdf]
✦ AI 摘要哈佛大学 Gary King 等人发布论文《Peerless》,研究 AI 文章评审与人类同行评审的对比。研究发现,在最佳情况下,AI 评审的表现优于人类同行评审,引发对学术评审流程中 AI 应用的讨论。该论文为 PDF 格式,在 Hacker News 上获得 1 分、0 条评论。