Abstract: In many applications, both data samples and features have underlying hierarchical structures. However, existing methods for learning these latent structures typically focus on either samples or features, ignoring possible coupling between them. In this paper, we introduce a coupled hierarchical structure learning method using tree-Wasserstein distance (TWD). Our method jointly computes TWDs for samples and features, representing their latent hierarchies as trees. We propose an iterative, unsupervised procedure to build these sample and feature trees based on diffusion geometry, hyperbolic geometry, and wavelet filters. We show that this iterative procedure converges and empirically improves the quality of the constructed trees. The method is also computationally efficient and scales well in high-dimensional settings. Our method can be seamlessly integrated with hyperbolic graph convolutional networks (HGCN). We demonstrate that our method outperforms competing approaches in sparse approximation and unsupervised Wasserstein distance learning on several word-document and single-cell RNA-sequencing datasets. In addition, integrating our method into HGCN enhances performance in link prediction and node classification tasks.
Introduction
In the world of high-dimensional data—ranging from thousands of gene expressions across hundreds of patients to millions of words across thousands of documents—structure is rarely flat. Instead, data usually hides "family trees" or hierarchies. Patients might cluster into disease subtypes, while the genes themselves are organized into functional pathways.
Standard machine learning tools often look at one side of this coin at a time: they either find a hierarchy for the samples or one for the features. This paper argues that these two modes are intrinsically coupled. When we represent data as a matrix (rows as samples, columns as features), standard Euclidean distances often fail to capture the "parent-child" relationships inherent in real-world datasets. While "Co-Manifold learning" exists to recover smooth geometries for both rows and columns simultaneously, these methods usually assume flat or positively curved surfaces. Hierarchical data is best represented in hyperbolic space (negative curvature), presenting a "chicken and egg" problem: to find a good hierarchy for samples, you need a meaningful distance between features, and vice versa.
Methodology: Iterative Coupled Learning
The core of the proposed framework is an unsupervised iterative algorithm that treats the two modes of the data matrix as mutually informative. The process alternates between updating sample and feature representations to "denoise" the underlying hierarchies.
- Iterative Tree Building: The process begins by building an initial tree for one mode (e.g., features) using hyperbolic embeddings. This tree then defines the "ground metric" for the other mode (samples).
- Tree-Wasserstein Distance (TWD): Instead of using standard distances, the method utilizes TWD. Similar to the "Earth Mover's Distance," the cost of moving "mass" is calculated based on paths along the learned tree. This approach is computationally efficient and inherently hierarchy-aware.
- Haar Wavelet Filtering: This is the framework's critical innovation. At each iteration, the algorithm treats the data as a signal supported on the current tree. It applies a Haar wavelet filter to suppress noise and nuisance components that do not align with the hierarchical structure.
- Alternating Updates: The algorithm repeats this—updating the sample tree, filtering, then using the new sample tree to update the feature tree—until the representations converge.
Experimental Results
The authors validated their approach across three distinct domains: word-document benchmarks (e.g., BBCSPORT, AMAZON), single-cell RNA-sequencing (ZEISEL, CBMC), and hierarchical graphs (e.g., DISEASE, PUBMED).
Sparse Approximation and Classification
The method achieved significantly lower $L_1$ norms for Haar coefficients compared to 17 other baseline methods, indicating that the learned trees represent the data much more efficiently. Furthermore, on scRNA-seq and document datasets, the TWDs learned through this iterative process led to higher k-NN classification accuracy than non-iterative baselines.
Boosting Hyperbolic GCNs
The learned hierarchies serve as excellent "warm starts" for Hyperbolic Graph Convolutional Networks (HGCNs). By pre-processing data with this method, the network is provided with a clear map of the data's geometry. This integration improved link prediction and node classification across the board. For example, on the DISEASE dataset, it helped push link prediction ROC-AUC to 98.4%, outperforming standard HGCNs.
Key Insights and Discussion
- Informed Distances: By using the feature tree to calculate sample distances, the metric becomes "informed" by feature relationships, leading to more stable clusters than treating features as independent dimensions.
- Haar Wavelets as Denoise-rs: Unlike standard Euclidean filtering, using Haar wavelets on the tree allows the algorithm to filter out data points that do not fit the hierarchy, effectively sharpening the tree structure with every iteration.
- Limitations: The method is strictly designed for data that fits a tree structure and may struggle with "loopy" graphs. Additionally, the current tree construction is not fully differentiable, and the framework is presently limited to 2D matrices rather than multi-way tensors.
In conclusion, this coupled learning approach provides a robust, efficient way to recover the latent hierarchical structures of complex datasets, offering significant improvements for both unsupervised and supervised downstream tasks.
Summary updated