Abstract
The reliable recovery and uncertainty quantification of a fixed effect function $\mu$ in a functional mixed model, for modelling population- and object-level variability in noisily observed functional data, is a notoriously challenging task: variations along the $x$ and $y$ axes are confounded with additive measurement error, and cannot in general be disentangled. The question then as to what properties of $\mu$ may be reliably recovered becomes important. We demonstrate that it is possible to recover the size-and-shape of a square-integrable $\mu$ under a Bayesian functional mixed model. The size-and-shape of $\mu$ is a geometric property invariant to a family of space-time unitary transformations, viewed as rotations of the Hilbert space, that jointly transform the $x$ and $y$ axes. A random object-level unitary transformation then captures size-and-shape preserving deviations of $\mu$ from an individual function, while a random linear term and measurement error capture size-and-shape altering deviations. The model is regularized by appropriate priors on the unitary transformations, posterior summaries of which may then be suitably interpreted as optimal data-driven rotations of a fixed orthonormal basis for the Hilbert space. Our numerical experiments demonstrate utility of the proposed model, and superiority over the current state-of-the-art.
Introduction
In functional data analysis (FDA), researchers study data in the form of curves or functions, such as human growth rates or electrocardiogram (ECG) signals. A persistent challenge in this field is that individual curves vary in two distinct ways: amplitude (the magnitude of a peak) and phase (the timing of that peak).
Standard models often struggle because these types of variability are confounded. For instance, if two children have growth spurts at different ages, a simple average of their growth curves results in a smeared, featureless line rather than a curve reflecting a distinct spurt. When measurement noise is added, recovering the true underlying population mean ($\mu$) becomes a difficult "deconvolution" problem. This paper proposes that while recovering $\mu$ perfectly may be impossible, we can reliably recover its geometric size-and-shape.
Methodology: Phase as Rotation
The core innovation of this research is a Bayesian size-and-shape functional mixed model that reinterprets phase variation as a rotation in Hilbert space.
Norm-Preserving Transformations
Traditional "value-preserving" warping methods simply slide points along the x-axis. In contrast, this model employs a norm-preserving transformation: $D_\gamma(f) = (f \circ \gamma)\sqrt{\dot{\gamma}}$. Mathematically, this is a unitary transformation—essentially a rotation of the function that preserves its total "energy" ($L_2$ norm). By focusing on size-and-shape (norm-preserving) rather than just shape (value-preserving), the model creates a more robust mathematical framework for finding the mean in the presence of noise.
The Bayesian Framework
The observed function $f_i$ is modeled as a rotated version of the mean plus individual deviations and noise: $f_i = D_{\gamma_i}(\mu + v_i + \epsilon_i)$. Here, $\gamma_i$ handles timing shifts, while $v_i$ and $\epsilon_i$ account for magnitude changes. The authors utilize Markov chain Monte Carlo (MCMC) for estimation, offering both efficient one-parameter priors and flexible nonparametric Dirichlet-based priors for the warping functions.
Key Results and Empirical Evaluation
The model was tested against the current state-of-the-art frequentist method, warpMix, using both simulated and real-world datasets, including Berkeley Growth Data and PQRST complexes (heartbeats).
Avoiding "The Blob"
A common failure of existing methods is over-smoothing, which turns distinct peaks into a "blob." This Bayesian approach preserves local topological features—such as the number of peaks and valleys—far more effectively. In simulations, the proposed model reduced estimation error by up to 82% compared to warpMix.
Real-World Utility
- Growth Data: The model successfully identified two distinct growth spurts (early childhood and puberty) in the Berkeley dataset, whereas
warpMixonly identified one. - ECG Modeling: The model produced clear estimates for PQRST complexes, a task where competing models often fail due to the complexity and sharpness of the signal peaks.
Conclusion and Future Work
By viewing time-warping as a coordinate rotation, this model provides a powerful geometric perspective for functional data analysis. While the computational cost of MCMC remains a limitation (taking approximately 90–110 minutes for 30 functions), the gains in accuracy and feature preservation are significant. Future research aims to extend these norm-preserving rotations to 2D surfaces and higher-dimensional geometric objects.
Summary updated