How Scale Breaks "Normalized Stress" and KL Divergence: Rethinking Quality Metrics
Kiran Smelser, Kaviru Gunaratne, Jacob Miller, Stephen Kobourov
TL;DR
The paper tackles the problem that widely used DR quality metrics, notably normalized stress and KL divergence, are sensitive to uniform scaling of embeddings, which can mislead comparisons across methods. It introduces scale-invariant variants—Scale-Normalized Stress (SNS) and Scale-Normalized KL (SNKL)—and related measures like FSNS and FSKL, deriving their motivations and computation. Through extensive experiments on diverse datasets and DR techniques, the authors show that SNS and SNKL yield more consistent, interpretable rankings and align with expected performance, whereas scale-sensitive metrics can produce misleading conclusions (including random embeddings appearing superior). The work provides practical recommendations for robust DR evaluation, supports reproducibility with open-source code and interactive demonstrations, and highlights the need for scale-aware benchmarking in visualization and ML contexts.
Abstract
Complex, high-dimensional data is ubiquitous across many scientific disciplines, including machine learning, biology, and the social sciences. One of the primary methods of visualizing these datasets is with two-dimensional scatter plots that visually capture some properties of the data. Because visually determining the accuracy of these plots is challenging, researchers often use quality metrics to measure the projection's accuracy and faithfulness to the original data. One of the most commonly employed metrics, normalized stress, is sensitive to uniform scaling (stretching, shrinking) of the projection, despite this act not meaningfully changing anything about the projection. Another quality metric, the Kullback--Leibler (KL) divergence used in the popular t-Distributed Stochastic Neighbor Embedding (t-SNE) technique, is also susceptible to this scale sensitivity. We investigate the effect of scaling on stress and KL divergence analytically and empirically by showing just how much the values change and how this affects dimension reduction technique evaluations. We introduce a simple technique to make both metrics scale-invariant and show that it accurately captures expected behavior on a small benchmark.
