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

Harmonic Alignment

Jay S. Stanley, Scott Gigante, Guy Wolf, Smita Krishnaswamy · DOI

Abstract

We propose a novel framework for combining datasets via alignment of their intrinsic geometry. This alignment can be used to fuse data originating from disparate modalities, or to correct batch effects while preserving intrinsic data structure. Importantly, we do not assume any pointwise correspondence between datasets, but instead rely on correspondence between a (possibly unknown) subset of data features. We leverage this assumption to construct an isometric alignment between the data. This alignment is obtained by relating the expansion of data features in harmonics derived from diffusion operators defined over each dataset. These expansions encode each feature as a function of the data geometry. We use this to relate the diffusion coordinates of each dataset through our assumption of partial feature correspondence. Then, a unified diffusion geometry is constructed over the aligned data, which can also be used to correct the original data measurements. We demonstrate our method on several datasets, showing in particular its effectiveness in biological applications including fusion of single-cell RNA sequencing (scRNA-seq) and single-cell ATAC sequencing (scATAC-seq) data measured on the same population of cells, and removal of batch effect between biological samples.

The Correspondence Problem in Data Integration

In fields like single-cell biology, researchers often face a "correspondence problem." For instance, one might have a dataset measuring gene expression (scRNA-seq) and another measuring chromatin accessibility (scATAC-seq) from the same tissue. However, because the measurement process often destroys the cell, it is impossible to measure both in the exact same cell. This results in two "views" of the same biological system without a direct 1-to-1 mapping to link them.

Existing methods often struggle with this, requiring partial bijections or being highly sensitive to "batch effects"—technical noise introduced by different experimental runs. Harmonic Alignment addresses this by focusing on the intrinsic geometry of the data—the "shape" the data points form in high-dimensional space—rather than the points themselves.

Methodology: Bridging Geometry and Signal Processing

The core of the framework is the bridge between Diffusion Geometry and Graph Signal Processing. The process follows several key steps:

  1. Diffusion Maps: A diffusion operator is constructed for each dataset to capture local connectivity and global manifold structure. The eigenvectors of this operator serve as "harmonics," analogous to sines and cosines for the data's shape.
  2. Features as Signals: Measured features (e.g., gene expression levels) are treated as signals defined over these manifolds. Using a Graph Fourier Transform (GFT), these features are represented in terms of the manifold's harmonics.
  3. Bandlimited Correlation: Assuming that while points don't correspond, features do (at least partially), the method calculates a correlation matrix between the harmonics of the two datasets. "Bandlimiting" is used to compare only harmonics with similar "frequencies," making the alignment robust to noise.
  4. Rigid Alignment: Using Singular Value Decomposition (SVD), the optimal orthogonal transformation is found to align the two diffusion spaces, essentially performing a Procrustes analysis in the frequency domain.
The Harmonic Alignment pipeline: from batch-affected data to a joint aligned graph.

Experimental Validation and Performance

The authors validated Harmonic Alignment across diverse datasets, ranging from controlled benchmarks to complex biological systems.

MNIST Digits

Using MNIST as a controlled benchmark, features (pixels) were artificially corrupted to test neighborhood recovery. Harmonic Alignment maintained over 80% classification accuracy even when 85% of the features were corrupted, significantly outperforming Mutual Nearest Neighbors (MNN) and MAGAN.

Performance on MNIST benchmark: classification accuracy under feature corruption (a) and visual reconstructions (b).

Biological Applications

  • CyTOF (Mass Cytometry): In data from Dengue fever patients, the method successfully removed technical batch effects between patients, allowing researchers to observe shared biological responses. While standard denoising often increased technical artifacts, Harmonic Alignment restored expected biological correlations between inflammatory cytokines like IFNγ and TNFα.
  • sci-CAR (Multimodal Single-Cell): In a dataset of mouse kidney cells, Harmonic Alignment achieved the highest "neighborhood overlap" when linking gene expression and chromatin accessibility, effectively placing the same cell types from different modalities into the same integrated neighborhood.

Discussion and Future Directions

Harmonic Alignment suggests that the "shape" of a biological process is consistent across different measurement technologies. By moving the problem into the harmonic domain, it provides a universal language to link disparate modalities. The "bandlimiting" step is particularly vital for avoiding overfitting to noise by focusing on global data structures.

However, the method relies on the assumption of partial feature correspondence. If datasets share no common features or if the data is extremely high-dimensional and "unstructured," the diffusion harmonics may be less informative. Future work may focus on optimizing the computational complexity, which currently involves $O(N^3)$ operations in naive implementations, though randomized strategies offer paths toward scalability.

Summary updated

BibTeX
@inproceedings{stanley2020harmonic,
  author = {Jay S. Stanley and Scott Gigante and Guy Wolf and Smita Krishnaswamy},
  title = {{Harmonic Alignment}},
  booktitle = {SDM},
  year = {2020},
  doi = {10.1137/1.9781611976236.36},
}
Figure