NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable unsupervised alignment of metric and nonmetric structures

Sanketh Vedula, Valentino Maiorca, Lorenzo Basile, Francesco Locatello, Alexander BronsteinAI4Science @ ICML 2024

TL;DR

This paper tackles the challenging problem of aligning data from different sources, like single-cell multiomics, which is computationally expensive and often transductive. They propose a novel framework that learns a scalable linear assignment problem (LAP) whose solution minimizes the original quadratic assignment problem (QAP) of data alignment. This approach is inductive, scalable, and flexible, achieving state-of-the-art performance on various datasets.

What Problem Does This Paper Address?

Aligning data from different domains is a crucial task in machine learning, with applications ranging from computer vision to biology. A prime example is integrating diverse molecular profiles from single-cell experiments (e.g., gene expression, chromatin accessibility). Mathematically, this alignment problem is often framed as minimizing the disagreement between pairwise distances, leading to the Gromov-Hausdorff (GH) and Gromov-Wasserstein (GW) distances. However, these formulations often result in computationally intractable Quadratic Assignment Problems (QAPs). Existing methods that approximate or relax these problems are either limited in scalability to large datasets or are transductive, meaning they need to be re-solved from scratch for new data. This paper aims to develop a scalable and inductive approach to unsupervised data alignment that overcomes these limitations.

Methods

The core innovation of this paper lies in reframing the alignment problem. Instead of directly solving the computationally expensive QAP for Gromov-Wasserstein (GW) distance, the authors propose to learn a related, scalable Linear Assignment Problem (LAP). This is achieved by learning a cost function for an entropic optimal transport (e-OT) problem using neural networks. The key idea is that the solution to this learned e-OT problem will also be a minimizer of the original GW problem.

Specifically, they propose a bilevel optimization problem where the inner problem is a standard e-OT problem, and the outer problem enforces that the resulting assignment minimizes the GW objective. To make this differentiable and trainable via gradient descent, they leverage implicit differentiation techniques for the e-OT solver. This allows them to backpropagate gradients through the e-OT layer to update the parameters of the neural network embeddings.

Furthermore, the paper introduces several extensions:

  • Non-metric dissimilarities: They extend the framework to handle general non-metric dissimilarities by matching distance ranks instead of absolute distances, using differentiable soft ranking operators.
  • Spectral-geometric regularization: They impose a regularization term on the learned cost function, encouraging smoothness on a product graph of the input domains, which helps stabilize training and improve accuracy.
  • Simulated annealing of entropic regularization: They use a schedule for the entropic regularization parameter ($\epsilon$) in the e-OT solver to achieve a coarse-to-fine refinement of the learned cost, breaking symmetries and improving robustness.

Datasets

The paper evaluates their approach on a variety of datasets:

  • Synthetic data: Used to demonstrate the inductive capabilities and scalability of their method.
  • CIFAR100 encodings: Used to test alignment of isometric embeddings.
  • ViT embeddings from rescaled images: Used to test alignment of non-isometric embeddings.
  • scSNARE-seq dataset: A single-cell multiomics dataset containing paired gene expression (RNA) and chromatin accessibility (ATAC) profiles from 1047 cells. This dataset has known ground truth due to its co-assaying nature.
  • Human bone marrow single-cell dataset: Another single-cell dataset with paired RNA-seq and ATAC-seq measurements.

The paper does not introduce new benchmarks but rather uses existing datasets to demonstrate the superiority of their method over existing GW solvers.

Key Insights and Ideas

  • Learning the cost, not just the assignment: The fundamental shift from solving for the assignment directly to learning the cost function (via neural network embeddings) is key to achieving scalability and inductivity.
  • Inductive alignment: By learning embeddings, the model can align new, unseen data without re-training, a significant advantage over transductive methods.
  • Scalability through e-OT: Leveraging efficient entropic optimal transport solvers for the learned cost function allows the framework to scale to much larger datasets than traditional GW solvers.
  • Flexibility beyond metric spaces: The extension to matching distance ranks opens up possibilities for aligning data where absolute distances are not meaningful, a common scenario in multiomics.
  • Regularization for robustness: Spectral-geometric regularization and simulated annealing of $\epsilon$ are crucial for stabilizing training and achieving better performance, especially in the presence of data symmetries.

Key Results

  • Scalability: The proposed method scales significantly better than entropic GW solvers, with entropic GW running out of memory for datasets with N > 25,000, while the proposed method can handle N = 45,000 in an inductive setting.
  • Accuracy: The method achieves state-of-the-art performance, outperforming entropic GW solvers on the scSNARE-seq and human bone marrow single-cell datasets, particularly when using the ranking-based loss. For instance, on the bone marrow dataset, their ranking-based solver achieved a significantly better FOCSTTM score (0.069) compared to entropic GW (0.316).
  • Inductive generalization: The method demonstrates strong generalization to unseen samples in inductive settings, maintaining high accuracy.
  • Robustness: Simulated annealing and spectral-geometric regularization significantly reduce the variance of alignment errors across different random initializations, making the solver more reliable.

Limitations and Future Work

  • NP-hard problem: The authors acknowledge that GW is an NP-hard problem, and their approach, while more scalable and accurate, does not guarantee finding the global minimum.
  • Discrete GW: The current approach focuses on discrete GW problems with explicit correspondence. Future work could explore continuous settings using functional maps.
  • Full batches: The current minimization of the GW loss uses full batches, which limits scalability in the transductive regime. Future work could investigate mini-batch approaches.
  • Non-metric dissimilarities: While they introduce a ranking-based objective for non-metric dissimilarities, a systematic exploration of this new family of distances is deferred to future work.
  • Fused GW and semi-supervised settings: The framework can be extended to fused GW and semi-supervised alignment, which are areas for future exploration.

Summary updated

BibTeX
@inproceedings{vedula2024scalable,
  author = {Sanketh Vedula and Valentino Maiorca and Lorenzo Basile and Francesco Locatello and Alexander Bronstein},
  title = {{Scalable unsupervised alignment of metric and nonmetric structures}},
  booktitle = {AI4Science @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=DmTJkMJ7OB},
}
Figure