Abstract
Nonlinear dimensionality reduction (DR) methods like UMAP and t-SNE are widely used for visualizing high-dimensional data but often lack interpretability, functioning as "black boxes." We present featMAP (Feature Preserving Manifold Approximation and Projection), a novel DR method that bridges the gap between high-performance visualization and the interpretability of linear methods. By embedding local tangent spaces, featMAP enables the generation of point-specific feature loadings and saliency maps, revealing the original features driving low-dimensional structures. Our results on image and biological datasets demonstrate that featMAP achieves visualization quality comparable to state-of-the-art methods while providing unique insights into data structure and density.
Introduction
Data scientists frequently encounter a trade-off between the interpretability of linear methods and the representational power of nonlinear ones. Principal Component Analysis (PCA) allows for direct mapping of features to dimensions but fails to capture complex, non-linear manifolds. Conversely, nonlinear methods like t-SNE and UMAP excel at preserving local relationships but offer no inherent meaning for their low-dimensional axes. This lack of transparency is a significant barrier in high-stakes domains like medical diagnostics or model debugging. featMAP addresses this by offering high-performance nonlinear visualization with the interpretability of local feature loadings.
Methodology
The featMAP algorithm operates through three primary stages to preserve the underlying manifold's geometry and feature importance:
- Local Tangent Space Approximation: For each data point, the algorithm identifies its $k$-nearest neighbors and performs a local Singular Value Decomposition (SVD). This process approximates the local manifold with a linear "patch" or tangent space, capturing the feature loadings (variance of original features) at that specific location.
- Tangent Space Embedding: Rather than embedding points in isolation, featMAP embeds these tangent spaces. It utilizes a Kullback–Leibler (KL) divergence loss function to ensure that the relative orientation and alignment of neighboring tangent spaces in the high-dimensional space are maintained in the low-dimensional projection.
- Anisotropic Projection: Finally, data points are projected into the low-dimensional space using an anisotropic approach. Unlike standard UMAP, which assumes uniform data distribution on the manifold, featMAP accounts for varying directional variance, better preserving the original density and shape of data clusters.
Experimental Results
The authors evaluated featMAP across diverse benchmarks, including image datasets (MNIST, Fashion MNIST, COIL-20) and biological data (single-cell RNA-seq).
Quantitative Performance
featMAP performs comparably to t-SNE and UMAP on standard metrics such as Trustworthiness and Continuity. Notably, it excels in capturing global structure, as evidenced by higher Shepard goodness and Triplet Centroid Accuracy in several tests. A key differentiator is density preservation; featMAP achieved a significantly higher correlation ($R^2 \approx 0.16$ to $0.41$) between original and embedded local density, whereas UMAP typically shows near-zero correlation.
Interpretability and Saliency Maps
The most significant contribution of featMAP is its inherent interpretability. Every point in the visualization carries its own local coordinate system. By examining the basis vectors of the embedded tangent space, users can generate saliency maps that highlight which original features (e.g., specific pixels) contribute to a point's position.
This capability was further demonstrated by analyzing adversarial attacks. When a digit "1" is subtly modified to be misclassified as an "8," featMAP's saliency maps reveal that the attack shifted feature importance to match the pattern of an "8," providing a visual explanation for the model's failure even when the change is invisible to the human eye.
Discussion and Limitations
While featMAP offers superior interpretability, it introduces computational overhead due to the requirement of performing an SVD for every data point. This may limit scalability for massive datasets without further optimization. Additionally, the method introduces a hyperparameter $\lambda$ to balance density preservation, which requires tuning to avoid "crushing" distinct clusters. Future work includes optimizing the computational pipeline and applying the feature-preserving paradigm to identify gene drivers in complex biological cell clusters.
Summary updated