Abstract
Aligning complex, multimodal datasets across different domains is a notoriously hard unsupervised learning problem that is highly prone to local minima. This paper introduces Hierarchical Wasserstein Alignment (HiWA), a novel method that leverages the clustered structure of data to perform optimal transport-based alignment. By breaking the problem into a nested optimization of cluster-level and point-level matching, HiWA achieves robust, scalable alignment with theoretical guarantees, proving especially powerful for unsupervised neural decoding tasks.
Introduction
In transfer learning, domain adaptation, and biological data analysis, aggregating related datasets—such as matching neural activity recorded on different days—is a critical task. Optimal Transport (OT) is a preferred tool for this as it respects the underlying geometry of the data. However, simultaneously matching distributions and learning a transformation between latent spaces (the OT Procrustes problem) is challenging when data is multimodal. Standard global OT methods often fail by getting trapped in local minima and scale poorly with dataset size. HiWA addresses these issues by using the inherent clustered structure of multimodal data to regularize the OT problem, avoid local minima, and accelerate computation.
Methodology
HiWA formulates alignment as a nested Optimal Transport problem consisting of two levels:
- Outer Level (Cluster Matching): Resolves correspondences between macroscopic clusters using a transport matrix.
- Inner Level (Point Matching): Resolves point-wise correspondences within matched clusters using the Wasserstein distance.
Key technical innovations include:
- Stiefel Manifold Constraints: Transformations are restricted to be unitary (e.g., rotations and reflections), preserving internal cluster geometry.
- Sinkhorn Regularization: Entropically regularized OT improves sample complexity and speed.
- Distributed ADMM Algorithm: An Alternating Direction Method of Multipliers solver splits the optimization into parallel tasks for cluster pairs, followed by a consensus step to aggregate local transformations.
Experimental Results
Synthetic Benchmarks
The method was tested on synthetic low-rank Gaussian Mixture Models (GMMs) projected into random subspaces. HiWA significantly outperformed baseline methods like standard Wasserstein Alignment (WA), Subspace Alignment (SA), and Iterative Closest Point (ICP), particularly in higher dimensions where sign ambiguities often cause other methods to fail.
As shown in Figure 1, HiWA demonstrates superior sample complexity and lower alignment errors across various configurations. A key insight is that randomly spaced clusters are easier to align than equally spaced ones, as they provide asymmetric "anchors" for the global rotation.
Neural Population Decoding
HiWA was applied to real-world electrophysiology data from a macaque monkey's primary motor cortex during a reaching task. The goal was to align a 3D latent representation of neural activity to 3D movement kinematics without labels.
In this task, HiWA successfully aligned neural latent spaces to movement directions. It proved highly sample-efficient, maintaining over 70% decoding accuracy even when downsampled to 5% density (approximately 8 points per cluster), as illustrated in Figure 3. Unlike brute-force baselines, HiWA correctly utilized local cluster asymmetries to resolve global symmetries in movement distributions.
Conclusion
HiWA offers a robust and scalable solution for multimodal data alignment by exploiting hierarchical structures. By decomposing the global optimization problem into local, parallelizable sub-problems, it avoids common local minima and scales efficiently. Future work will explore extending this framework to non-rigid transformations and applying it to higher-dimensional datasets without external behavioral covariates.
Summary updated