Quantifying Deviation Significance
Z-scores measure how many standard deviations a weight is from its mean, providing a statistically grounded metric for its 'unusualness' that directly relates to the probability of observing such a value under a normal distribution.
The top 3
- Z-score's "Rule of Three": Outlier Detection Thresholds: For normally distributed data, an absolute Z-score exceeding 3 typically flags an outlier, signifying a data point more than three standard deviations from the mean, encompassing 99.7% of data within this range.
- Modified Z-score: Robustness for Skewed LLM Weights: The Modified Z-score, utilizing median and Median Absolute Deviation (MAD), offers superior robustness for identifying outliers in non-normal or skewed LLM weight distributions, unlike the standard Z-score's sensitivity to mean and standard deviation.
- Z-score's Computational Edge: Rapid Outlier Detection: Z-score's simple calculation (mean subtraction, standard deviation division) provides a significant computational advantage for efficiently quantifying deviation significance across massive LLM weight matrices, leveraging vectorized operations in libraries like NumPy.
Sources
Open the full topic