DeepFRC: An End-to-End Deep Learning Model for Functional Registration and Classification

Siyuan Jiang, Yihan Hu, Wenjie Li, Pengcheng Zeng

TL;DR

DeepFRC is the first end-to-end deep learning framework that jointly performs functional data registration (alignment) and classification. By unifying these tasks, the model leverages class labels to produce more meaningful alignments and achieves state-of-the-art accuracy while maintaining the smooth, "diffeomorphic" properties essential for analyzing curves and trajectories.

The Challenge of Phase Variability

In Functional Data Analysis (FDA), researchers work with data representing continuous processes over time or space—such as growth curves, EEG signals, or motion sensor trajectories. A major hurdle in this field is phase variability: temporal misalignments where two similar signals look different simply because one "starts later" or "moves faster" than the other.

Traditionally, this is solved in two disconnected steps:

  1. Registration: Aligning the curves to a common template (often ignoring class labels).
  2. Classification: Using the aligned curves to predict a category.

The authors argue that this decoupled approach is inefficient. Labels often dictate the "pace" of a curve, and alignment can provide critical features for classification. DeepFRC addresses this by learning to align and classify simultaneously, ensuring that the registration process actively improves the downstream prediction task.

DeepFRC Architecture

DeepFRC integrates three core components into a single neural architecture:

DeepFRC Architecture
  • Neural Deformation Operator: A 1D Convolutional Neural Network (CNN) that learns to generate "velocity fields." These fields are transformed into diffeomorphic warping functions—smooth, invertible mappings of time that ensure the curves are stretched or compressed without being broken or folded.
  • Spectral Representation: Once aligned, the functions are embedded into a compact spectral basis using Fourier functions. This acts as a regularizer, ensuring the model treats the data as continuous curves rather than just high-dimensional vectors.
  • Class-aware Contrastive Loss: The model uses a specialized loss function based on the Square-Root Velocity Function (SRVF) representation. This loss encourages curves within the same class to align closely (intra-class coherence) while pushing different classes apart (inter-class separation).

Crucially, the authors provide theoretical guarantees, proving that their model can approximate optimal warpings and establishing a generalization bound that links registration quality directly to classification performance.

Key Insights and Efficiency

  • Mutual Reinforcement: The core insight is that registration shouldn't just be a preprocessing step. When the model knows the class label, it can find a more "canonical" version of that class's signal, which in turn makes the classifier's job much easier.
  • Diffeomorphism by Design: By using a monotone cumulative sum of squared features from the CNN, the model guarantees that the time-warping is valid and smooth, satisfying the mathematical requirements of elastic FDA.
  • Computational Efficiency: Unlike traditional methods like Dynamic Time Warping (DTW), which have quadratic complexity $O(n^2)$, DeepFRC achieves linear time complexity $O(Nn)$ relative to sequence length, making it highly scalable for long trajectories.

Experimental Results

The model was evaluated on synthetic benchmarks and real-world datasets including Wave, Yoga, Symbol, and MotionSense.

Alignment Progression and Metrics
  • Superior Accuracy: DeepFRC consistently outperformed state-of-the-art models. For example, on the MotionSense dataset, it achieved 95% accuracy, significantly higher than the joint-model baseline TTN (85%).
  • Better Alignment: Using the Adjusted Total Variance (ATV) metric, DeepFRC produced much cleaner, more interpretable alignments than unsupervised methods. The progression of alignment over epochs demonstrates the model's ability to smoothly resolve phase variability.
  • Speed: On real-world datasets, DeepFRC had an average training runtime of 60 seconds, compared to 1000+ seconds for traditional DTW-based methods.
  • Robustness: The model proved resilient to noise (maintaining high performance even at $\sigma=0.20$) and missing data (handling 5-10% missing observations with minimal degradation).

Limitations and Future Work

While DeepFRC is a significant step forward, the authors note a few areas for improvement. The model relies on the assumption of smooth, diffeomorphic warpings, meaning it might struggle with highly volatile data featuring sharp, discontinuous jumps. Additionally, because the alignment is "class-aware," significant noise in the training labels could potentially degrade the quality of the registration. Future directions include exploring more adaptive architectures and robust loss designs that can explicitly handle non-smooth functions and noisier label environments.

Summary updated

BibTeX
@inproceedings{jiang2026deepfrc,
  author = {Siyuan Jiang and Yihan Hu and Wenjie Li and Pengcheng Zeng},
  title = {{DeepFRC: An End-to-End Deep Learning Model for Functional Registration and Classification}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=5vdw8Qmrre},
}
Figure