Autoencoding Random Forests
Binh Duc Vu, Jan Kapar, Marvin N. Wright, David S. Watson
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d02e36aa-f415-4706-9f40-bfaec9064881Builds on6
- On Completeness-aware Concept-Based Explanations in Deep Neural NetworksChih-Kuan Yeh, Been Kim, Sercan Ömer Arik, Chun-Liang Li et al.NeurIPS 2020 · 390 citations
- Language Modeling Is CompressionGrégoire Delétang, Anian Ruoss, Paul-Ambroise Duquenne, Elliot Catt et al.ICLR 2024 · 243 citations
- Mixed-Type Tabular Data Synthesis with Score-based Diffusion in Latent SpaceHengrui Zhang, Jiani Zhang, Zhengyuan Shen, Balasubramaniam Srinivasan et al.ICLR 2024 · 233 citations
- Joints in Random ForestsAlvaro H. C. Correia, Robert Peharz, Cassio P. de CamposNeurIPS 2020 · 44 citations
- Random Forest Autoencoders for Guided Representation LearningAdrien Aumon, Shuang Ni, Myriam Lizotte, Guy Wolf et al.NeurIPS 2025 · 7 citations
Related papers
- The tree autoencoder model, with application to hierarchical data visualizationMiguel Á. Carreira-Perpiñán, Kuat GazizovNeurIPS 2024 · 3 citations
- Shape-Informed Clustering of Multi-Dimensional Functional Data via Deep Functional AutoencodersSamuel V. Singh, Shirley Coyle, Mimi ZhangNeurIPS 2025 · 7 citations
- Rate-distortion optimization guided autoencoder for isometric embedding in Euclidean latent spaceKeizo Kato, Jing Zhou, Tomotake Sasaki, Akira NakagawaICML 2020 · 16 citations
- NRGBoost: Energy-Based Generative Boosted TreesJoão BravoICLR 2025
- Target-Embedding Autoencoders for Supervised Representation LearningDaniel Jarrett, Mihaela van der SchaarICLR 2020 · 18 citations
