BitNet v2: Native 4-bit Activations with Hadamard Transformation for 1-bit LLMs
🤗 Upvotes: 25 | cs.CL, cs.LG
Authors:
Hongyu Wang, Shuming Ma, Furu Wei
Title:
BitNet v2: Native 4-bit Activations with Hadamard Transformation for 1-bit LLMs
Arxiv:
http://arxiv.org/abs/2504.18415v1
Abstract:
Efficient deployment of 1-bit Large Language Models (LLMs) is hindered by activation outliers, which complicate quantization to low bit-widths. We introduce BitNet v2, a novel framework enabling native 4-bit activation quantization for 1-bit LLMs. To tackle outliers in attention and feed-forward network activations, we propose H-BitLinear, a module applying an online Hadamard transformation prior to activation quantization. This transformation smooths sharp activation distributions into more Gaussian-like forms, suitable for low-bit representation. Experiments show BitNet v2 trained from scratch with 8-bit activations matches BitNet b1.58 performance. Crucially, BitNet v2 achieves minimal performance degradation when trained with native 4-bit activations, significantly reducing memory footprint and computational cost for batched inference.
You May Also Like

Human Factors Minute
Human Factors Cast

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

Dr. Chapa’s OBGYN Clinical Pearls
Dr. Chapa’s Clinical Pearls

Eye On The Sky
Vermont Public

Farm Small Farm Smart Daily
The Modern Grower Podcast Network

Stuff To Blow Your Mind
iHeartPodcasts

The Best of Coast to Coast AM
iHeartPodcasts and Coast to Coast AM

MinuteEarth
Minute Earth

Bedtime Astronomy
Synthetic Universe

Something You Should Know
Mike Carruthers | OmniCast Media
Community discussion