Power-of-Two (PoT) Weights in Large Language Models (LLMs)
Mahmoud Elgenedy

TL;DR
This paper explores Power-of-Two (PoT) weight quantization in Large Language Models to reduce memory and computational requirements, demonstrating promising results with minimal performance loss on GPT-2 models.
Contribution
It introduces PoT quantization for LLM weights, enabling efficient memory and computation reduction while maintaining model performance.
Findings
PoT quantization reduces memory usage significantly.
Computational efficiency improves via bit shifting instead of multiplication.
Performance degradation is minimal with 4-6 bits representation.
Abstract
Complexity of Neural Networks is increasing rapidly due to the massive increase in model parameters. Specifically, in Large Language Models (LLMs), the number of model parameters has grown exponentially in the past few years, for example, from 1.5 billion parameters in GPT2 to 175 billion in GPT3. This raises a significant challenge for implementation, especially for Edge devices where memory and processing power are very limited. In this work, we investigate reducing LLM complexity with special type of quantization, power of two (PoT), for linear layers weights and transformer tables. PoT not only provides memory reduction but more importantly provides significant computational reduction through converting multiplication to bit shifting. We obtained preliminary results of PoT quantization on Nano-GPT implementation using Shakespeare dataset. We then extended results to 124-M GPT-2…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Cosine Annealing · Layer Normalization · Linear Warmup With Cosine Annealing · Attention Dropout · Discriminative Fine-Tuning · Byte Pair Encoding · Softmax · Linear Layer · Dropout
