Random Forest-Supervised Manifold Alignment

Jake S. Rhodes, Adam G. Rustad · DOI

Abstract

Manifold alignment is a critical technique for integrating data from disparate sources into a unified, low-dimensional space. However, traditional unsupervised and semi-supervised alignment methods often prioritize structural preservation over the specific information required for downstream predictive tasks. This paper introduces a novel supervised framework that utilizes Random Forest (RF) proximities to guide the alignment process. By initializing graph-based algorithms—specifically Manifold Alignment via Stochastic Hopping (MASH) and Shortest Path on the Union of Domains (SPUD)—with task-aware RF proximities, the proposed method significantly enhances classification performance in the shared embedding space. Experiments across 16 UCI datasets demonstrate that this supervised approach consistently outperforms traditional baselines and preserves more learnable information across various data distortions.

Introduction

In modern data science, it is common to observe the same phenomenon through multiple "modalities" or domains. For instance, a medical diagnosis might rely on both high-dimensional genomic data and clinical imaging. Manifold alignment seeks to find a shared representation where these different domains can be compared and combined while preserving their unique internal geometries.

Despite the progress in this field, a persistent challenge remains: alignment for the sake of alignment does not necessarily benefit classification. Many existing methods rely on weak anchors or generic kernels that capture the shape of the data but ignore the class labels. Consequently, models trained on these aligned embeddings often perform worse than models trained on a single domain. This research addresses this gap by injecting supervised intelligence into the alignment process using Random Forest-Geometry- and Accuracy-Preserving Proximities (RF-GAP).

Methodology

RF-GAP: The Supervised Foundation

The core innovation of this work lies in the use of Random Forest proximities to define similarity. In a standard alignment algorithm, similarity between points is often calculated using a Gaussian kernel. In contrast, the authors propose using the internal structure of a trained Random Forest. When data points are passed through an RF, those that consistently land in the same leaf nodes are considered similar.

Because the RF is trained on class labels, these proximities are inherently "task-aware," capturing the geometry most relevant to classification. To prevent overfitting during the initialization phase, the authors utilize "out-of-bag" (OOB) predictions, ensuring the proximities reflect generalized relationships rather than memorized noise.

Alignment Algorithms

The RF-GAP proximities are used to initialize two primary graph-based alignment algorithms:

  1. RF-MASH (Manifold Alignment via Stochastic Hopping): This method employs a diffusion-based approach to establish cross-domain similarities. It uses the RF-initialized graph to power random walks, effectively forming new connections between domains based on shared supervised structures.
  2. RF-SPUD (Shortest Path on the Union of Domains): This approach focuses on learning the shortest paths between domain graphs. By following geodesic curves through "anchor points" (known correspondences between domains), SPUD constructs a global manifold that respects the local supervised geometries provided by the RF.

Experimental Design

The researchers evaluated the proposed methods using 16 classification datasets from the UCI Machine Learning Repository. To simulate the complexities of multi-modal data, they applied several transformation strategies to create synthetic second domains:

  • Feature-level splits: Features were divided into two domains randomly, via a skewed relevance distribution, or an even relevance distribution.
  • Domain Adaptations: To test robustness, the authors introduced Gaussian noise (distort) or applied random rotations to the second domain.

Performance was measured by the classification accuracy of a model trained on the resulting joint embedding, compared against single-domain baselines and state-of-the-art alignment methods like Kernel Manifold Alignment (KEMA) and Semi-Supervised Manifold Alignment (SSMA).

Results and Discussion

Superior Classification Performance

The experimental results indicate that RF-MASH is the most robust performer overall. In many instances, the joint embedding produced by RF-MASH allowed for higher classification accuracy than either of the individual source domains. This suggests that the method successfully fuses complementary information from both domains rather than simply averaging them.

Task-Aware vs. Structure-Aware

The study highlights a shift in perspective: manifold alignment should be viewed as a feature-engineering problem rather than a purely structural one. By using supervised initialization, the "neighbor of my neighbor" logic—where relationships are transferred across domains via anchors—becomes much more reliable for predictive tasks.

Comparative Strengths and Weaknesses

While RF-based methods dominated in scenarios involving noise and feature splitting, they showed a specific limitation regarding rigid geometric rotations. In cases where the primary difference between domains was a rotation, KEMA (a kernel-based method) maintained a performance edge. This suggests that while RF proximities are excellent at capturing class-relevant clusters, they may be less sensitive to global linear transformations than traditional kernel methods.

Conclusion

Random Forest-Supervised Manifold Alignment represents a significant step forward in multi-modal data integration. By leveraging the supervised strengths of Random Forests to initialize graph-based alignments, the authors provide a framework that ensures the resulting shared space is optimized for classification. Future work will focus on reducing the dependency on anchor points and scaling these graph-based methods to handle massive, high-velocity data streams where deep learning may be computationally prohibitive.

Summary updated

BibTeX
@inproceedings{rhodes2024random,
  author = {Jake S. Rhodes and Adam G. Rustad},
  title = {{Random Forest-Supervised Manifold Alignment}},
  booktitle = {IEEE Big Data},
  year = {2024},
  doi = {10.1109/bigdata62323.2024.10825663},
}
Figure