K-Means' Core Advantage in 3-Bit LLM Quantization

K-Means clustering in Q3_K_S efficiently maps continuous LLM weights to just 8 discrete values by finding optimal centroids, minimizing distortion even at 3-bit precision. This non-uniform approach aligns with the natural distribution of weights, preserving more accuracy than simpler linear methods.

Sources

Open the full topic