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

Jinendra Malekar, Mohammed E. Elbtity, Ramtin Zand
8/21/2024
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{malekar2024matmul,
  title  = {Matmul or No Matmul in the Era of 1-bit LLMs},
  author = {Jinendra Malekar and Mohammed E. Elbtity and Ramtin Zand},
  year   = {2024},
  eprint = {2408.11939},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.11939v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.11939.svg)](https://codeofpaper.com/paper/2408.11939)

Discussion