arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11939cs.AIcs.LG
收藏

1-bit LLMs时代的Matmul或无Matmul

Matmul or No Matmul in the Era of 1-bit LLMs

University of South Carolina(南卡罗来纳大学)

Jinendra Malekar, Mohammed E. Elbtity, Ramtin Zand

AI总结:

本文针对1-bit LLMs仅优化投影层的问题,提出适用于该上下文的Amdahl's Law改编版,并通过实验揭示不同架构和硬件配置下的关键差异,为未来研究提供路线图。

摘要:

1-bit large language models (LLMs)的出现引起了广泛关注并开辟了新的研究机会。然而,1-bit LLMs仅通过对投影层应用极端量化来改进模型的一小部分,同时保持注意力头不变。因此,为了避免未来研究中出现根本错误的目标选择,理解1-bit LLMs在计算和内存使用方面能提供的实际改进至关重要。在这项工作中,我们提出了针对1-bit LLM上下文定制的Amdahl's Law改编版,说明了1-bit LLMs中的部分改进如何影响整体模型性能。通过大量实验,我们揭示了不同模型架构和硬件配置之间的关键细微差异,为1-bit LLMs时代的未来研究提供了路线图。

英文摘要:

The advent of 1-bit large language models (LLMs) has attracted considerable attention and opened up new research opportunities. However, 1-bit LLMs only improve a fraction of models by applying extreme quantization to the projection layers while leaving attention heads unchanged. Therefore, to avoid fundamentally wrong choices of goals in future research, it is crucial to understand the actual improvements in computation and memory usage that 1-bit LLMs can deliver. In this work, we present an adaptation of Amdahl's Law tailored for the 1-bit LLM context, which illustrates how partial improvements in 1-bit LLMs impact overall model performance. Through extensive experiments, we uncover key nuances across different model architectures and hardware configurations, offering a roadmap for future research in the era of 1-bit LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑