Universal Comparability Across Layers

Z-score standardizes weight distributions to a mean of 0 and standard deviation of 1, enabling a consistent outlier threshold for importance scoring across diverse LLM layers, regardless of their original scales.

The top 3

  1. Z-score's Standardization: Unifying Outlier Detection: Z-scores transform data into a common scale with a mean of 0 and a standard deviation of 1, allowing consistent, cross-layer comparison of outlier magnitudes regardless of original layer scales.
  2. Enabling Layer-Wise Bit Allocation for LLMs: Universal comparability using Z-score distribution (ZD) allows quantization algorithms to precisely rank layer importance, enabling allocation of lower bits to less important layers and higher bits to critical ones, significantly retaining performance.
  3. Z-score's Outlier Sensitivity: Enter Robust Z-score: While standard Z-scores can be skewed by outliers and perform unreliably on non-normal data, Robust Z-scores use the median and Median Absolute Deviation (MAD) for a more dependable measure of dispersion and cross-layer comparability in skewed distributions.

Sources

Open the full topic