Abstract
Supervised dimensionality reduction techniques like RF-PHATE are powerful for visualizing high-dimensional data but suffer from being transductive, making out-of-sample extension computationally expensive. We introduce the Random Forest Proximity Reconstruction Network (RF-PRN), which learns a functional mapping by training an autoencoder to reconstruct Random Forest proximities. This approach captures the "supervised logic" of the forest. By utilizing proximity-based prototypes (RF-PRN-PRO), we achieve a 40% reduction in training time while maintaining high visualization quality. Our method is robust to small training sets and hyperparameter variations, providing an efficient solution for extending supervised visualizations to new data.
Introduction
Dimensionality reduction (DR) is essential for interpreting high-dimensional datasets. Supervised DR methods, such as RF-PHATE, are particularly effective as they utilize label information to emphasize relevant patterns. However, many manifold learning algorithms are transductive, meaning they generate coordinates only for a fixed dataset. When new data points arrive, the entire computationally intensive process must often be repeated. Existing solutions like Nyström extension frequently struggle with complex, diffusion-based visualizations. This paper addresses the need for a functional mapping—an encoder—that can accurately and efficiently project unseen points into a pre-existing supervised visualization space.
Methodology
The proposed approach, RF-PRN (Random Forest Proximity Reconstruction Network), combines the supervised learning capabilities of Random Forests (RF) with the flexible function-learning of Autoencoders (AE). The architecture moves beyond standard AEs by reconstructing "knowledge" rather than raw data features.
Key Architectural Components
- Geometry Regularization: The encoder is constrained by a bottleneck loss ($L_{geom}$), forcing latent representations to align with the original RF-PHATE coordinates of the training data.
- Proximity Reconstruction: Instead of reconstructing raw input features, the decoder targets Random Forest proximities (specifically RF-GAP). This forces the network to learn the underlying manifold structure deemed important by the supervisor.
- Proximity-Based Prototypes (RF-PRN-PRO): To scale to large datasets, the model reconstructs proximities relative to "prototypes"—representative points for each class—rather than the entire dataset.
Experimental Results
The researchers validated RF-PRN across 26 benchmark datasets (including MNIST and Parkinson’s) and stress-tested it using Fashion-MNIST to evaluate performance scaling.
Performance and Efficiency
The prototype-based variant, RF-PRN-PRO, achieved a significant 40% reduction in training time compared to full proximity reconstruction. Statistical validation using the Mantel test showed that the extended embeddings maintain a high correlation (~0.85 to 0.87) with the ground-truth full embeddings.
Data Efficiency and Robustness
A key finding was the model's extreme data efficiency; using only 10% of the training data yielded results comparable to using 90%. Furthermore, proximity-reconstructing networks proved much less sensitive to the regularization weight ($\lambda$) than standard geometry-regularized autoencoders, indicating a more stable learning process.
Conclusion
RF-PRN provides a robust, semi-supervised framework for extending supervised visualizations. By focusing on reconstructing the logic of Random Forest proximities rather than raw data, the method achieves high fidelity and efficiency. Future work may explore applying this proximity-reconstruction logic to unsupervised similarity measures like UMAP or t-SNE kernels to further improve autoencoder robustness in broader contexts.
Summary updated