[KongchangAI]
Conceptternary quantization / 三值化

Ternary Quantization

An extreme quantization method that constrains neural network weights to three discrete values: -1, 0, and +1, combined with a shared scaling factor to preserve weight magnitude. This approach yields approximately 1.58–1.7 bits per weight and serves as a core technique in research such as BitNet.

Timeline (last 90 days)

Nov 29

Ternary quantization maps each floating-point weight to {-1, 0, +1}, theoretically about 1.585 bit/weight and practically about 1.76 bit/weight, roughly 2.4 times the compression rate of 4-bit quantization, but it is very sensitive to PTQ/QAT quality.

Unverified50%
Nov 29

Bonsai 2.5 27B is compressed from Qwen 3.8 27B, with each weight restricted to three values of -1, 0, and +1, about 1.76 bit/weight, roughly 9 times smaller than the original full-precision model.

Unverified50%
Nov 25

The multiply-add operations of ternary quantization can be reduced to additions, subtractions, and conditional selection, which can lower energy consumption and latency on specific hardware.

Unverified50%
Nov 25

Ternary quantization typically requires quantization-aware training (QAT) or carefully designed scaling factors to maintain performance, at the cost of limited expressiveness.

Unverified50%
Nov 25

The Ternary Bonsai series uses ternary quantization, constraining weights to three values {-1, 0, 1}, with scaling factors to restore the values.

Unverified50%
Nov 25

Ternary quantization reduces the model's ability to distinguish "similar but different" instructions, and in multi-turn agent tasks the error is amplified along the chain, manifesting as going in circles or over-expanding.

Unverified50%
Nov 25

The core advantage of ternary quantization is that matrix multiplication can degenerate into "select-and-accumulate": multiplying by -1 negates, multiplying by 0 skips, and multiplying by 1 keeps the original value, so hardware can replace multipliers with adders and multiplexers.

Unverified50%
Nov 25

Ternary quantization theoretically requires only log₂3≈1.58 bits per weight, and with per-channel or per-group scaling factors (usually stored in FP16) it actually reaches about 1.76 bits per weight.

Unverified50%
Nov 25

Ternary quantization usually requires quantization-aware training or distillation, otherwise the accuracy loss is very pronounced.

Unverified50%
Nov 25

Ternary Bonsai 2.5 27B is a ternary quantized model whose weights are constrained to -1, 0 and 1.

Unverified50%

10 more timeline events

All Facts (20)

Unverified

Ternary quantization theoretically requires only approximately 1.58 bits (log₂3) per weight for representation.

60%
Unverified

Ternary quantization maps each floating-point weight to {-1, 0, +1}, theoretically about 1.585 bit/weight and practically about 1.76 bit/weight, roughly 2.4 times the compression rate of 4-bit quantization, but it is very sensitive to PTQ/QAT quality.

50%
Unverified

Bonsai 2.5 27B is compressed from Qwen 3.8 27B, with each weight restricted to three values of -1, 0, and +1, about 1.76 bit/weight, roughly 9 times smaller than the original full-precision model.

50%
Unverified

The multiply-add operations of ternary quantization can be reduced to additions, subtractions, and conditional selection, which can lower energy consumption and latency on specific hardware.

50%
Unverified

Ternary quantization typically requires quantization-aware training (QAT) or carefully designed scaling factors to maintain performance, at the cost of limited expressiveness.

50%
Unverified

Ternary quantization reduces the model's ability to distinguish "similar but different" instructions, and in multi-turn agent tasks the error is amplified along the chain, manifesting as going in circles or over-expanding.

50%
Unverified

The Ternary Bonsai series uses ternary quantization, constraining weights to three values {-1, 0, 1}, with scaling factors to restore the values.

50%
Unverified

Ternary quantization theoretically requires only log₂3≈1.58 bits per weight, and with per-channel or per-group scaling factors (usually stored in FP16) it actually reaches about 1.76 bits per weight.

50%
Unverified

The core advantage of ternary quantization is that matrix multiplication can degenerate into "select-and-accumulate": multiplying by -1 negates, multiplying by 0 skips, and multiplying by 1 keeps the original value, so hardware can replace multipliers with adders and multiplexers.

50%
Unverified

Ternary Bonsai 2.5 27B is a ternary quantized model whose weights are constrained to -1, 0 and 1.

50%
Unverified

Ternary quantization usually requires quantization-aware training or distillation, otherwise the accuracy loss is very pronounced.

50%
Unverified

For ternary quantization, gradients cannot pass directly through the discrete quantization function during backpropagation, and a common approach is to use a straight-through estimator (STE).

50%
Unverified

Ternary quantization can in theory compress each weight from 16-bit floating point to about 2 bits of information.

50%
Unverified

When migrating ternary quantization to a vector database, embedding vectors are usually generated by external models and cannot be retrained, so the quantizer can only perform post-hoc mapping and needs to calibrate the distribution of each dimension.

50%
Unverified

Kitten-TTS 2 is a 1.58-bit TTS model whose linear layer weights are ternary {-1, 0, +1}, paired with scaling factors with a group size of 128.

50%
Unverified

Compared with FP16, ternary quantization is about 10 times smaller per parameter.

50%
Unverified

Moondream forces each weight in the Parakeet encoder into one of three values—−1, 0, or +1 (ternary quantization), requiring approximately 1.58 bits of storage per weight.

50%
Unverified

Ternary quantization is applied only to the encoder and not the decoder, which is one of the key reasons for the small accuracy loss.

50%
Unverified

Bonsai uses ternary quantization, compressing each weight to one of three values—-1, 0, or +1—with a shared scaling factor per 128 weights, requiring approximately 1.7 bits per weight, roughly 9 times smaller than 16-bit full precision.

50%
Unverified

Ternary quantization restricts weights to three values — -1, 0, and +1 — enabling addition and subtraction to replace multiplication in order to reduce hardware computational load, and is related to Microsoft's BitNet series of research.

50%

Source Articles