Random Forest Autoencoders for Guided Representation Learning

Adrien Aumon, Shuang Ni, Myriam Lizotte, Guy Wolf, Kevin R. Moon +1 more
2/18/2025
cs.LG

No official code found. Best implementation: patjiang/RandomForestAutoEncoder (1 star, last commit 2025-09-22).

Abstract

Extensive research has produced robust methods for unsupervised data visualization. Yet supervised visualization$\unicode{x2013}$where expert labels guide representations$\unicode{x2013}$remains underexplored, as most supervised approaches prioritize classification over visualization. Recently, RF-PHATE, a diffusion-based manifold learning method leveraging random forests and information geometry, marked significant progress in supervised visualization. However, its lack of an explicit mapping function limits scalability and its application to unseen data, posing challenges for large datasets and label-scarce scenarios. To overcome these limitations, we introduce Random Forest Autoencoders (RF-AE), a neural network-based framework for out-of-sample kernel extension that combines the flexibility of autoencoders with the supervised learning strengths of random forests and the geometry captured by RF-PHATE. RF-AE enables efficient out-of-sample supervised visualization and outperforms existing methods, including RF-PHATE's standard kernel extension, in both accuracy and interpretability. Additionally, RF-AE is robust to the choice of hyperparameters and generalizes to any kernel-based dimensionality reduction method.

View on arXivView PDF

Code Implementations(1)

open source implementation of RF-AE (https://arxiv.org/pdf/2502.13257)

10Python, Jupyter NotebookSep 22, 20251 years ago

Similar Papers

Cite this paper

@article{aumon2025random,
  title  = {Random Forest Autoencoders for Guided Representation Learning},
  author = {Adrien Aumon and Shuang Ni and Myriam Lizotte and Guy Wolf and Kevin R. Moon and Jake S. Rhodes},
  year   = {2025},
  eprint = {2502.13257},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13257v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.13257.svg)](https://codeofpaper.com/paper/2502.13257)

Discussion