ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
536
Citations
109
Influential Citations
arXiv.org
Venue
2024
Year
Recent research, such as BitNet, is paving the way for a new era of 1-bit Large Language Models (LLMs). In this work, we introduce a 1-bit LLM variant, namely BitNet b1.58, in which every single parameter (or weight) of the LLM is ternary {-1, 0, 1}. It matches the full-precision (i.e., FP16 or BF16) Transformer LLM with the same model size and training tokens in terms of both perplexity and end-task performance, while being significantly more cost-effective in terms of latency, memory, throughput, and energy consumption. More profoundly, the 1.58-bit LLM defines a new scaling law and recipe for training new generations of LLMs that are both high-performance and cost-effective. Furthermore, it enables a new computation paradigm and opens the door for designing specific hardware optimized for 1-bit LLMs.
The proliferation of large language models (LLMs) has been accompanied by escalating computational demands, particularly in terms of memory, latency, and energy consumption. Traditional LLMs rely on full-precision (FP16 or BF16) weights, which, while effective, are resource-intensive. The introduction of BitNet b1.58, a 1-bit LLM variant with ternary weights {-1, 0, 1}, represents a significant step toward cost-effective and efficient LLMs. By matching the performance of full-precision Transformers of the same size and training tokens, this work challenges the assumption that high precision is necessary for high performance.
The paper's significance lies in its potential to redefine the scaling laws for LLMs. If 1-bit LLMs can achieve comparable results with substantially lower computational costs, the economics of training and deploying LLMs could shift dramatically. This could democratize access to state-of-the-art models and enable new applications that were previously infeasible due to resource constraints. Furthermore, the work hints at a new computation paradigm, paving the way for hardware specifically optimized for 1-bit operations, which could lead to further efficiency gains.
The abstract reports that BitNet b1.58 achieves performance on par with full-precision Transformer LLMs of identical size and training tokens, as measured by perplexity and end-task performance. Crucially, it is significantly more cost-effective in terms of latency, memory, throughput, and energy consumption. While specific numbers are not provided in the abstract, the qualitative claims suggest order-of-magnitude improvements in efficiency. The paper likely includes detailed benchmarks comparing BitNet b1.58 to FP16/BF16 baselines across various model sizes and tasks, demonstrating consistent parity in performance with substantial reductions in resource usage.
The broader impact of this work is twofold. First, it offers a practical path to reducing the carbon footprint and operational costs of LLMs, making them more sustainable and accessible. Second, by establishing a new scaling law, it encourages the exploration of ultra-low-precision training regimes, which could lead to further innovations in model architecture and training algorithms. The potential for custom hardware optimized for 1-bit LLMs could also spur advancements in chip design, creating a virtuous cycle of efficiency improvements. Ultimately, BitNet b1.58 challenges the community to rethink the precision-performance trade-off and may herald an era where 1-bit LLMs become the norm for resource-constrained environments.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba