SrvfNet: A Generative Network for Unsupervised Multiple Diffeomorphic Functional Alignment

Elvis Nunez, Andrew Lizarraga, Shantanu H. Joshi

Abstract

We present SrvfNet, a generative deep learning framework for the joint multiple alignment of large collections of functional data comprising square-root velocity functions (SRVF) to their templates. Our proposed framework is fully unsupervised and is capable of aligning to a predefined template as well as jointly predicting an optimal template from data while simultaneously achieving alignment. Our network is constructed as a generative encoder-decoder architecture comprising fully-connected layers capable of producing a distribution space of the warping functions. We demonstrate the strength of our framework by validating it on synthetic data as well as diffusion profiles from magnetic resonance imaging (MRI) data.

Introduction

Functional data, such as ECG/EEG signals or geological time-series, often exhibit variations in both amplitude and phase. A core challenge in analyzing such data is alignment: two signals may share a common underlying shape but appear shifted or stretched in time. Traditional alignment methods like Dynamic Time Warping (DTW) or geometric averaging (Karcher mean) are computationally intensive and struggle to scale to the massive datasets common in modern research.

SrvfNet addresses these limitations by introducing a generative deep learning framework for unsupervised functional alignment. By leveraging the Square-Root Velocity Function (SRVF) representation, the framework transforms complex alignment metrics into simpler Euclidean distances, enabling efficient, scalable, and geometrically consistent alignment.

Methods

SrvfNet utilizes a VAE-inspired generative architecture to learn a distribution of warping functions. The network consists of an encoder that maps input signals to a low-dimensional latent space and a decoder that generates the corresponding warping function $\gamma$.

The SrvfNet architecture features a generative encoder-decoder structure with specialized layers for diffeomorphic constraint satisfaction.

Key components of the methodology include:

  1. SRVF Representation: Signals are transformed into SRVFs, which simplifies the Fisher-Rao metric into an $L^2$ distance on a unit sphere, preserving shape integrity during alignment.
  2. Diffeomorphic Constraints: A specialized layer ensures that generated warping functions are smooth and strictly increasing, maintaining the physical validity of the temporal transformation.
  3. Unsupervised Template Learning: The model can either align data to a fixed template or jointly learn an optimal population template by iteratively estimating the mean of the warped data.

Experimental Results

The framework was evaluated on both synthetic "bump" datasets and large-scale real-world MRI diffusion profiles.

Synthetic Validation

In experiments with multi-peak signals, SrvfNet demonstrated a sophisticated ability to match structural features. For instance, in a "two-to-three bump" scenario, the network successfully learned to warp a two-peak signal to align with the corresponding peaks in a three-peak template.

MRI Diffusion Profiles

The model was applied to Fractional Anisotropy (FA) values from human brain MRI, covering five white matter fiber bundle subclasses. With training sets exceeding 300,000 samples, SrvfNet achieved alignment results comparable to traditional methods but with a 150x speedup—reducing processing time from 25 hours to under 30 minutes.

Alignment of MRI diffusion profiles across various brain tracts (Arcuate, CST, CCFmin, SLF, Th Rad) shows significantly reduced noise and clearer structural patterns after warping.

Key Insights and Conclusion

SrvfNet represents a significant advancement in functional data analysis. Its generative nature allows for sampling the latent space to understand the statistical distribution of alignments within a population. By maintaining geometric integrity through the SRVF framework, it avoids the "smearing" artifacts typical of simpler averaging techniques.

While the model shows high efficiency and accuracy, future work will address its sensitivity to low signal-to-noise ratios and the uniqueness of predicted templates. Overall, SrvfNet provides a powerful, scalable tool for unsupervised alignment in high-stakes domains like medical imaging and signal processing.

Summary updated

BibTeX
@inproceedings{nunez2021srvfnet,
  author = {Elvis Nunez and Andrew Lizarraga and Shantanu H. Joshi},
  title = {{SrvfNet: A Generative Network for Unsupervised Multiple Diffeomorphic Functional Alignment}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  url = {https://openreview.net/forum?id=Pu9wmAnUKS},
}
Figure