Dense-and-Sparse Quantization: The Core Innovation

The primary technical innovation behind SqueezeLLM's speed is its Dense-and-Sparse Quantization, which separates weight matrices into a heavily quantized dense component and an unquantized sparse component for sensitive outliers, optimizing both memory and accuracy.

The top 3

  1. LLM's Memory Wall: Why Dense-Sparse Quantization?: This innovation emerged to tackle the memory bandwidth bottleneck in LLM inference and the challenge of accurately quantizing weights containing significant outlier values.
  2. Outlier-Aware Weight Splitting: The Core Method: Dense-and-sparse quantization's core innovation involves splitting LLM weight matrices into two components: a dense part for aggressive low-precision quantization and a sparse part to preserve crucial outlier values, thereby maintaining model accuracy.
  3. SqueezeLLM's Performance: 2.1x Accuracy, 2.3x Speed: SqueezeLLM, a framework utilizing dense-and-sparse quantization, achieves up to a 2.1x reduction in perplexity gap and a 2.3x inference speedup for 3-bit LLaMA models compared to FP16 baselines. SqueezeLLM

Sources

Open the full topic