Autoencoding Random Forests

Binh Duc Vu, Jan Kapar, Marvin Wright, David S. Watson
5/27/2025
stat.MLcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We propose a principled method for autoencoding with random forests. Our strategy builds on foundational results from nonparametric statistics and spectral graph theory to learn a low-dimensional embedding of the model that optimally represents relationships in the data. We provide exact and approximate solutions to the decoding problem via constrained optimization, split relabeling, and nearest neighbors regression. These methods effectively invert the compression pipeline, establishing a map from the embedding space back to the input space using splits learned by the ensemble's constituent trees. The resulting decoders are universally consistent under common regularity assumptions. The procedure works with supervised or unsupervised models, providing a window into conditional or joint distributions. We demonstrate various applications of this autoencoder, including powerful new tools for visualization, compression, clustering, and denoising. Experiments illustrate the ease and utility of our method in a wide range of settings, including tabular, image, and genomic data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vu2025autoencoding,
  title  = {Autoencoding Random Forests},
  author = {Binh Duc Vu and Jan Kapar and Marvin Wright and David S. Watson},
  year   = {2025},
  eprint = {2505.21441},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.21441v3}
}

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/2505.21441.svg)](https://codeofpaper.com/paper/2505.21441)

Discussion