TensorX
返回文献探索

Paper · arXiv 2310.11453

BitNet: Scaling 1-bit Transformers for Large Language Models

Hongyu Wang, Shuming Ma, Li Dong, Shaohan Huang, Huaijie Wang, Lingxiao Ma, Fan Yang, Ruiping Wang, Yi Wu, Furu Wei

108 upvotesOctober 17, 2023arXiv 预印本
AI 摘要

BitNet, a 1-bit Transformer architecture, reduces memory and energy consumption while achieving competitive performance in language modeling.

BitNet1-bit TransformerBitLinearnn.Linear1-bit weightsmemory footprintenergy consumption8-bit quantizationFP16scaling lawfull-precision Transformers

Abstract

The increasing size of large language models has posed challenges for deployment and raised concerns about environmental impact due to high energy consumption. In this work, we introduce BitNet, a scalable and stable 1-bit Transformer architecture designed for large language models. Specifically, we introduce BitLinear as a drop-in replacement of the nn.Linear layer in order to train 1-bit weights from scratch. Experimental results on language modeling show that BitNet achieves competitive performance while substantially reducing memory footprint and energy consumption, compared to state-of-the-art 8-bit quantization methods and FP16 Transformer baselines. Furthermore, BitNet exhibits a scaling law akin to full-precision Transformers, suggesting its potential for effective scaling to even larger language models while maintaining efficiency and performance benefits.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号