A 1-bit LLM is a large language model whose weights are restricted to two or three possible values, typically {-1, +1} or {-1, 0, +1}, instead of 16-bit floating-point numbers. The ternary form is often called a 1.58-bit LLM, because encoding three states requires log2(3), or about 1.58 bits, and the best-known family of such models is BitNet.
In Edge AI, the appeal is direct: weights shrink roughly tenfold compared with FP16, and most multiplications in the linear layers become additions and subtractions. That combination lowers memory, bandwidth and energy demands enough to bring capable language models to laptops, phones and embedded boards without a cloud connection.
How 1-bit and ternary weights work
A 1-bit LLM replaces the standard linear layers of a Transformer with a quantized linear layer, called BitLinear in the BitNet papers. During the forward pass, each weight matrix is scaled by a single factor and rounded to the allowed values; in the ternary variant, an absmean scheme divides weights by their mean absolute value and rounds them to -1, 0 or +1.
Activations are usually not reduced to one bit. They are typically quantized to 8-bit integers with an absmax scale per token, and normalization layers, embeddings and the output head often stay in higher precision. The name therefore describes the weights of the linear layers, which hold the overwhelming majority of the parameters.
The zero in ternary weights matters more than it seems. It lets the model switch off individual connections, a built-in form of sparsity, and this extra expressiveness is the main reason 1.58-bit models are reported to perform clearly better than strictly binary ones.
Memory and compute savings
The main benefit is a smaller model footprint, which on edge hardware usually decides whether a model runs at all. Token generation is limited mostly by memory bandwidth, so moving fewer bytes per weight also speeds up decoding.
The table below gives approximate weight storage for a model with 7 billion parameters. Real files are somewhat larger because embeddings, scales and packing overhead are not included.
| Weight format | Bits per weight | Approximate size |
|---|---|---|
| FP16 | 16 | About 14 GB |
| INT8 | 8 | About 7 GB |
| 4-bit quantization | 4 to 4.5 | About 3.5 to 4 GB |
| Ternary, packed in 2 bits | 2 | About 1.75 GB |
| Ternary, ideal encoding | 1.58 | About 1.4 GB |
Compute changes as well. With weights limited to -1, 0 and +1, a matrix-vector product reduces to selectively adding or subtracting activations, which lowers the energy per operation. Specialized CPU kernels, such as those in the bitnet.cpp inference framework, exploit this with lookup tables and packed formats.
Training a 1-bit LLM
A 1-bit LLM is normally trained from scratch with quantization in the loop, rather than produced by compressing an existing model. The optimizer keeps full-precision latent weights, the forward pass uses their quantized version, and the straight-through estimator passes gradients through the non-differentiable rounding step.
This approach is a form of quantization-aware training, but applied from the first step. Simply applying post-training quantization to an FP16 model at 1 or 1.58 bits typically destroys its quality, because the rounding error is far too large to be absorbed without retraining.
| Approach | Starting point | Quality at about 1.58 bits |
|---|---|---|
| Post-training quantization | Finished FP16 model | Usually unusable |
| Quantization-aware fine-tuning | Finished FP16 model | Partly recovered, task dependent |
| Native ternary training | Random initialization | Competitive at the same size and data |
1-bit LLMs compared with related compression methods
A 1-bit LLM differs from other compression methods in how far precision is reduced and in when the reduction happens. Earlier binarized neural networks and ternary neural networks applied similar ideas to vision models, but transferring them to Transformer language models at scale was demonstrated only recently.
| Technique | Typical precision | When applied | Main trade-off |
|---|---|---|---|
| 1.58-bit LLM | Ternary weights, 8-bit activations | During pretraining | High training cost, few available models |
| GPTQ or AWQ | 3 to 4-bit weights | After training | Small accuracy loss, broad model support |
| NF4 | 4-bit weights | After training, often for fine-tuning | Mainly a memory saving |
| Binarized neural network | 1-bit weights and activations | During training | Large accuracy loss on complex tasks |
| Pruning | Full precision, fewer weights | During or after training | Speedups need sparse kernels |
Limitations and open questions
The approach is promising but not yet a general replacement for higher-precision models. Most published evidence covers models of a few billion parameters, and the quality claims depend on training budgets that only a few organizations have reproduced.
- Limited model choice: few open ternary models exist, so teams cannot simply convert a preferred model.
- Hardware support is immature: mainstream GPUs and NPUs have no native ternary arithmetic, so gains depend on custom kernels.
- Activation and cache memory remain: the key-value cache and activations still need conventional precision.
- Scaling behavior is uncertain: whether the gap to FP16 stays small at very large sizes is still debated.
The short version
A normal language model stores each of its billions of numbers with high precision. A 1-bit LLM keeps only three choices per number: minus one, zero or plus one. That makes the model about ten times smaller in memory.
Think of a recipe that lists every amount to the milligram. A 1-bit version says only “add”, “skip” or “remove”. It sounds crude. Yet when the model learns this way from the start, it still writes useful text. The result is a model small and efficient enough to run on an ordinary laptop or phone.
Where it makes a difference
A manufacturer of rugged field tablets for utility inspectors wants an offline assistant that summarizes inspection notes and answers questions about maintenance manuals. The devices have 8 GB of shared memory and no guaranteed network coverage in rural areas, and battery life must last a full shift.
The engineering team compares a 4-bit quantized model of about 3 billion parameters with a 2-billion-parameter ternary model running on a CPU inference framework. The ternary model needs well under 1 GB for its weights, leaves more memory for the manuals index and generates text at a comfortable reading speed on the tablet CPU. Answer quality on the team’s own test set of 300 questions is close between the two, while the ternary model draws noticeably less power per answer. The team ships the ternary model and keeps the 4-bit model as a fallback for tasks where its accuracy is clearly better.