DiffRed: Dimensionality Reduction guided by stable rank
Prarabdh Shukla, Gagan Raj Gupta, Kunal Dutta
TL;DR
DiffRed integrates PCA-based subspace preservation with Gaussian random projections applied to the residual, guided by stable rank, to achieve tighter distortion bounds than traditional random maps. The method provides theoretical guarantees: Stress $=O\left(\sqrt{\frac{1-p}{k_2}}\right)$ and $\Lambda_{M1}=O\left(\frac{(1-p)}{\sqrt{k_2\rho(A^*)}}\right)$, with Monte Carlo iterations further reducing failure probabilities. Empirically, DiffRed consistently outperforms PCA, Random Maps, and related approaches across diverse real-world datasets, achieving near-zero M1 and substantially lower Stress, including a notable $6{\times}10^6$-to-$10$ reduction in dimensionality with large Stress gains. The results underscore the practical value of incorporating stable rank into dimensionality reduction, enabling smaller target dimensions while preserving global structure and enabling downstream tasks like visualization and similarity search.
Abstract
In this work, we propose a novel dimensionality reduction technique, DiffRed, which first projects the data matrix, A, along first $k_1$ principal components and the residual matrix $A^{*}$ (left after subtracting its $k_1$-rank approximation) along $k_2$ Gaussian random vectors. We evaluate M1, the distortion of mean-squared pair-wise distance, and Stress, the normalized value of RMS of distortion of the pairwise distances. We rigorously prove that DiffRed achieves a general upper bound of $O\left(\sqrt{\frac{1-p}{k_2}}\right)$ on Stress and $O\left(\frac{(1-p)}{\sqrt{k_2*ρ(A^{*})}}\right)$ on M1 where $p$ is the fraction of variance explained by the first $k_1$ principal components and $ρ(A^{*})$ is the stable rank of $A^{*}$. These bounds are tighter than the currently known results for Random maps. Our extensive experiments on a variety of real-world datasets demonstrate that DiffRed achieves near zero M1 and much lower values of Stress as compared to the well-known dimensionality reduction techniques. In particular, DiffRed can map a 6 million dimensional dataset to 10 dimensions with 54% lower Stress than PCA.
