PulseAugur
中
实时 04:21:21
English(EN) From Attention Sensitivity to Layer Role: Revisiting Mixed-Precision Quantization of Transformers

新的量化方法优化Transformer注意力输出

研究人员开发了一种新的Transformer模型量化方法,重点关注注意力机制的Q、K和V投影。这种方法被称为JAB,直接优化注意力输出而不是单个权重矩阵,在Mistral-7B的3位量化上表现出改进的性能。然而,当包含MLP层时,该方法的有效性会降低,在这种情况下,一种与角色相关的偏移规则被证明更成功,在Mistral-7B上实现了接近全精度困惑度但压缩显著。 AI

影响 这项研究可能通过改进量化技术,从而降低计算成本和内存需求,从而实现更高效的Transformer模型。

排序理由 详细介绍模型量化新方法的学术论文。[lever_c_demoted from research: ic=1 ai=1.0]

在 Hugging Face Daily Papers 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

新的量化方法优化Transformer注意力输出

报道来源 [1]

  1. Hugging Face Daily Papers TIER_1 English(EN) ·

    从注意力敏感性到层角色:重新审视Transformer的混合精度量化

    Most post-training quantization pipelines fit each weight matrix to its pretrained counterpart, one matrix at a time. Whether that proxy tracks what an attention block actually computes, or how errors in the Q, K and V projections compound inside the softmax, is rarely checked. W…