July 01, 2026
Implicit neural representations (INRs) are well suited to cardiac motion estimation, providing continuous, compact representations of motion fields. However, fitting an INR to each image sequence is time-consuming and sensitive to the optimisation trajectory. Learned priors can help guide optimisation towards plausible motion fields and enable faster adaptation, but learning priors for cardiac motion INRs remains under-explored. In this work, we compare four strategies for learning cardiac motion priors, including a population prior learned by joint optimisation, a consensus prior obtained by weight averaging, auto-decoders, and meta-learning. Using short-axis tagged cardiac magnetic resonance images from the UK Biobank, we evaluate their impact on tracking accuracy, motion behaviour, and adaptation trajectory.
All learned priors substantially improved early adaptation performance compared with random initialisation. While the simple consensus prior was effective, auto-decoders recovered large deformations faster during early adaptation. Meta-learning achieved strong early performance and maintained the best adaptation trajectory over 50 iterations.
Implicit neural representations (INRs) are continuous parametrisations of signals using neural networks. INRs have been used to represent a variety of medical data, including images, anatomical shapes, segmentation labels, and physical fields such as motion [1]. INRs are well suited to cardiac motion estimation [2]–[5], since physiological constraints allow compact low-dimensional motion representations, despite motion being defined over high-dimensional image domains [6].
Estimating motion from images is an ill-posed inverse problem [7], requiring additional constraints to recover physiologically plausible solutions [8]. Furthermore, per-case INR optimisation is highly time-consuming and sensitive to the optimisation trajectory. This motivates the use of learned priors [9]–[11] which can rapidly recover plausible solutions. However, learning priors for cardiac motion fields remains relatively unexplored, with existing works relying on simple prior formulations [11] or providing only limited analysis of the resulting motion fields [12].
In this work, we investigate learning-based approaches for constructing cardiac motion priors for INRs, including population, consensus, auto-decoder and meta-learning formulations. Using short-axis tagged cardiac magnetic resonance images from the UK Biobank, we compare these formulations to basic initialisation strategies and evaluate their effects on few-step adaptation performance and optimisation trajectory. To our knowledge, this work provides the first systematic evaluation of prior learning strategies for INR-based cardiac motion estimation.
An INR can be used to approximate a velocity field \(v_\theta: \mathbb{R}^{d+1} \rightarrow \mathbb{R}^d\) mapping \(d\)-dimensional spatial coordinate \(X\) and time \(t\) to a velocity vector \(v_\theta(X,t)\). Since ground truth motion is not typically available, previous works optimised network parameters \(\theta\) according to inter-frame correspondence [5], [8], [13]. This assumes that an image frame \(I_t\) should be similar to some reference image \(I_r\) after applying motion \(v(t)\). Thus, INR parameters \(\theta\) can be learnt as
\[\theta^\star = \arg\min_{\theta} \mathcal{L}_{sim} \bigl( I_t, I_r \circ v_\theta(t) \bigr), \label{eq:sim}\tag{1}\] where \(\mathcal{L}_{sim}\) is an image similarity loss and \(\circ\) denotes image warping. This objective does not uniquely identify a solution for \(\theta^\star\), making the optimisation problem ill-posed. Moreover, in real imaging data, noise, artefacts, and violations of brightness constancy create a mismatch between the image similarity objective and the true underlying motion field. Regularisation terms based on smoothness or mechanics help constrain solutions to plausible motion fields [8], but balancing these terms against image observations remains challenging. Furthermore, fitting a new INR for every image sequence requires an expensive per-case optimisation procedure, which can become prohibitive for high-dimensional cardiac image data. This motivates learning a prior to improve the INR initialisation.
Early works fit INRs to cardiac motion from a random initialisation, using regularisation to encourage plausible solutions [2], [10]. Alvarez-Florez et al. [3] proposed reusing parameters between successive motion fields, which accelerated fitting, but did not leverage population-level motion information. More recently, they learned a ‘consensus’ prior by averaging weights across INRs fit to a training set. This led to faster convergence in new cases, with improved motion plausibility [11]. These results show the benefit of a learned motion prior, but weight averaging is a simple heuristic that does not explicitly model the distribution of cardiac motion.
More principled approaches include auto-decoders [14], which use latent codes to represent inter-subject variation within a distribution, and meta-learning [15], which seeks an optimal initialisation for rapid adaptation to new signals. To our knowledge, meta-learning has not been investigated for INR-based cardiac motion priors, and no systematic comparison of these strategies has been reported.
We represent cardiac motion using a neural velocity field (NVF) based on previous work [5]. The NVF is an INR which takes spatial coordinates and time as input, and predicts an instantaneous spatial velocity vector. Formally, we represent \(d\)-dimensional cardiac motion as an NVF \(v:\mathbb{R}^{d+1} \rightarrow \mathbb{R}^d\), and obtain Lagrangian motion \(\varphi_{t_0 \rightarrow t}\) of coordinate \(X\) by integrating the ordinary differential equation \[\frac{d \varphi_{t_0 \rightarrow t}(X)}{dt} = v(\varphi_{t_0 \rightarrow t}(X),t), \quad \varphi_{t_0 \rightarrow t_0}(X)=X.\] using a second-order Runge-Kutta method with three sub-steps per frame interval. The resulting trajectories define the displacement field between any pair of time points. To encourage periodicity of cardiac motion, we map each time point to a periodic encoding \[\tau(t)=(\sin(\theta), \cos(\theta)) \quad \theta=\left(\frac{2\pi t}{T}\right),\] where T is the total number of time frames [5].
To optimise the NVF \(v\) over an image sequence \(I \in \mathbb{R}^{T\times H \times W}\) we assume in-plane appearance-correspondence and use a similarity objective as in Equation 1 . The displacement fields required for image warping are obtained by integrating the NVF between adjacent time points. Specifically, we use normalised cross-correlation (NCC) as the similarity loss between the current frame and forward- and backward-warped adjacent frames: \[\mathcal{L}_{\mathrm{sim}} = -\mathrm{NCC} \left( I_t, I_{t+1} \circ \varphi_{t+1 \rightarrow t} \right) - \mathrm{NCC} \left( I_t, I_{t-1} \circ \varphi_{t-1 \rightarrow t} \right),\] We also assume that cardiac motion is spatially and temporally smooth, and define a smoothing loss \[\mathcal{L}_{\mathrm{smooth}} = \|\nabla_X v\|^2_F + \left\| \frac{\partial v}{\partial t} \right\|_2^2.\] A further assumption is that the myocardium is approximately incompressible, and that the underlying motion field preserves local topology. Computing deformation gradients from integrated trajectories at each step is computationally expensive. We therefore employ a first-order approximation based on the instantaneous velocity Jacobian \(\tilde{F} = \mathbb{I} + \Delta t \nabla_X v\), where \(\mathbb{I}\) is the identity matrix and \(\Delta t\) is the temporal interval between adjacent frames. We then encourage volume and topology preservation with respective penalties: \[\mathcal{L}_{\mathrm{volume}} = ( \det(\tilde{F})-1 )^2, \quad \mathcal{L}_{\mathrm{fold}} = \mathrm{ReLU}( -\det (\tilde{F}))^2,\]The final objective \(\mathcal{L}\) is given by the weighted sum of the loss terms according to hyperparameters \(\lambda = \{\lambda_{\mathrm{sim}}, \lambda_\mathrm{{smooth}}, \lambda_{\mathrm{volume}}, \lambda_{\mathrm{fold}}\}\).
In this section, we abstract the NVF objective as a function and describe the formulation of each prior in this notation. Let \(\mathcal{F}\) denote a distribution of functions and let \(T=\{f_i^\star\}_{i=1}^{N}\) be a training set sampled from \(\mathcal{F}\). Each function \(f_i^\star:X\rightarrow Y\) is observed at coordinates \(\{x_k\}_{k=1}^{K}\subset X\), and reconstruction quality is measured using an objective function \(\mathcal{L}:Y\times Y\rightarrow\mathbb{R}\). The goal is to learn prior parameters that enable rapid adaptation to unseen functions sampled from \(\mathcal{F}\).
Population Prior As a simple baseline, we define a population prior \(\theta^P\) as the parameters obtained by jointly optimising a single INR across all training instances: \[\theta^P = \arg\min_{\theta} \mathbb{E}_{f^\star \sim F} \left[ \sum_{k=1}^{K} \mathcal{L} \bigl( f_{\theta}(x_k), f^\star(x_k) \bigr) \right]. \label{eq:population}\tag{2}\]
Consensus Prior We define a consensus prior \(\theta^C\) as the mean of independently optimised parameters for each training function: \[\theta^C = \frac{1}{N} \sum_{i=1}^{N} \arg\min_{\theta} \sum_{k=1}^{K} \mathcal{L} \bigl( f_{\theta}(x_k), f_i^\star(x_k) \bigr). \label{eq:consensus}\tag{3}\] Although parameter alignment is not guaranteed across independently trained INRs, consensus priors can nevertheless be meaningful when training starts from a common initialisation [11].
Auto-decoder Prior Each training instance is assigned a latent code \(z_i \in \mathbb{R}^{\mathcal{Z}}\). For each hidden layer \(l\), a linear modulation network \(m_l\) maps the latent code to layer-wise scale and shift parameters, which modulate the periodic MLP activations [16]. Network parameters \(\theta\), modulation parameters \(\kappa\), and subject-latent matrix \(z\in\mathbb{R}^{N\times \mathcal{Z}}\) are jointly optimised:
\[(\theta^\star,z^\star, \kappa^\star)= \arg\min_{\theta,z, \kappa} \sum_{f_i^\star \in T} \sum_{k=1}^{K} \mathcal{L} \bigl( f_{\theta,z_i,\kappa}(x_k), f_i^\star(x_k) \bigr)+ \lambda_z \|z_i\|_2^2, \label{eq:autodecoder}\tag{4}\] where \(\lambda_z\) is a latent-space regularisation weight. During adaptation to an unseen case, the decoder and modulation parameters are fixed and a new latent code is optimised.
Meta-learned Prior We use second-order Meta-SGD to jointly learn an initialisation \(\theta_0\) and layer-wise adaptation step sizes \(\gamma=\{\gamma_l\}_{l=1}^{L}\). Let \(\theta^\epsilon\) denote the parameters obtained after adapting \(\theta^*\) to a function \(f^\star\sim\mathcal{F}\) for \(\epsilon\) inner-loop adaptation steps. The objective is to minimise the post-adaptation loss:
\[(\theta^*, \gamma)= \arg\min_{(\theta^*, \gamma)} \mathbb{E}_{f^\star\sim\mathcal{F}} \left[ \sum_{k=1}^{K} \mathcal{L} \bigl( f_{\theta^\epsilon}(x_k), f^\star(x_k) \bigr) \right]. \label{eq:meta}\tag{5}\] During adaptation, parameters are updated according to \[\theta^{(s+1)}_l= \theta^{(s)}_l - \gamma_l \nabla_{\theta^{(s)}_l} \mathcal{L} \bigl( f_{\theta^{(s)}}, f^\star \bigr), \qquad l=1,\ldots,L, \label{eq:metasgd}\tag{6}\] where \(s\) is the adaptation step and \(\gamma_l\) is the learnable step size associated with layer \(l\).
The UK Biobank (UKB) is a population-based dataset with health, genomic, and imaging data. A subset of participants underwent cardiac magnetic resonance (CMR) imaging, details of which are given in [17]. In this work, we use short-axis tagged CMR, including apical, mid-ventricular and basal slices. Reference point tracks and segmentations of the left ventricle (LV) myocardium for tagged CMR slices were obtained using semi-automated analysis (CIM Tag2D, University of Auckland) as described previously [4], [18]. Images and annotations were cropped to the left ventricle with 20 pixels of padding and rescaled to consistent dimensions. We randomly split the data by slice, giving 500 training slices (469 subjects), 100 validation slices (98 subjects), and 100 test slices (93 subjects).
All priors initialised a SIREN network with three hidden layers of 256 nodes [19]. During training and adaptation, 512 random spatial coordinates were sampled per frame, yielding \(K = 10{,}240\) spatio-temporal coordinates per iteration used to fit the NVF. For meta-learning, an additional 2048 query coordinates per frame were sampled to evaluate post-adaptation performance. The NVF regularisation weights were set to \(\lambda_{\mathrm{smooth}}=0.01\), \(\lambda_{\mathrm{volume}}=10^{-3}\), and \(\lambda_{\mathrm{fold}}=10^{-3}\); the latent regularisation weight was \(\lambda_z=10^{-4}\) for the auto-decoder. Adaptation learning rates were tuned on the validation set to minimise the objective after five adaptation steps, resulting in learning rates of \(10^{-4}\) (population), \(10^{-5}\) (consensus), and \(3 \times 10^{-2}\) (auto-decoder). Meta-learning was trained using \(\epsilon = 5\) inner-loop adaptation steps to match the evaluation protocol, and learns its own layer-wise learning rates. To investigate the effect of latent dimensionality, the auto-decoder was trained with various latent dimensions \(\mathcal{Z}\in\{32, 64, 128, 256, 512, 1024\}\).
Priors were evaluated by fitting an NVF to each test case, initialised from the corresponding prior. We compared performance after 5 iterations and the longer-term adaptation trajectory over 50 iterations. Performance was assessed using tracking accuracy, segmentation overlap, and mechanical plausibility. Specifically, the fitted NVFs were used to warp a set of reference points across the cardiac cycle, which were compared to manually tracked points using mean Euclidean distance (displacement error). Furthermore, the reference segmentation mask was warped according to the fitted NVFs and compared to manually segmented time-varying masks with Dice score. Mechanical plausibility was assessed using the NVF’s deformation Jacobian determinants and Green–Lagrange strains.
| Prior | ||||
| (mm) | ||||
| (mm) | ||||
| (LVM) | Det(F) | |||
| Random | 3.45 \(\pm\) 0.51 | 4.62 \(\pm\) 0.77 | 0.850 | 0.99 |
| Population | 1.85 \(\pm\) 0.49 | 2.69 \(\pm\) 0.97 | 0.911 | 0.96 |
| Consensus | 1.82 \(\pm\) 0.49 | 2.62 \(\pm\) 0.89 | 0.916 | 0.97 |
| Auto-decoder | 1.80 \(\pm\) 0.48 | 2.11 \(\pm\) 0.74 | 0.917 | 0.94 |
| Meta-learning | 1.66 \(\pm\) 0.42 | 2.32 \(\pm\) 0.75 | 0.921 | 0.97 |
Table 1 shows that all learned priors substantially outperformed random initialisation after five adaptation steps, reducing the mean displacement error from 3.45 mm to 1.66–1.85 mm. Meta-learning achieved the lowest overall displacement error (1.66 mm), whereas the auto-decoder prior had the lowest end-systolic displacement error (2.11 mm). All methods produced deformation fields with mean Jacobian determinants close to 1 in the LV and no cases of folding. While metrics between prior formulations were relatively similar after five adaptation steps, the differences became more apparent over longer adaptation trajectories.
Although the meta-learned prior was optimised for five-step adaptation, performance continued to improve well beyond this horizon (Fig. 1). In contrast, the auto-decoder prior converged rapidly but plateaued after approximately ten iterations. Changing the latent dimensionality had little effect on the adaptation trajectory (Fig. 1, right panels), suggesting that the plateau arises from the modulation mechanism rather than the latent-space capacity. While both simple priors had good early performance, the population prior begins to deteriorate after 30–40 iterations while the consensus prior continues to improve. Since the population prior is optimised to represent an average motion field, it may converge to a compromise solution from which further adaptation is more difficult.
Fig. 2 shows that all learned priors recovered smooth physiological strain patterns after five adaptation steps. However, the auto-decoder produced larger strain magnitudes than the other methods, particularly near end-systole, consistent with its lower end-systolic displacement error. Fig. 3 further shows that the auto-decoder recovers large deformations more rapidly than the other priors but exhibits little improvement with prolonged adaptation. In contrast, the population prior produces noticeably noisier displacement fields after 50 adaptation steps compared with a random initialisation. Although the population prior provides a strong starting point, these results indicate that it becomes less favourable for longer-term optimisation.
Learned priors substantially improved the speed and quality of INR-based cardiac motion estimation. A consensus prior, created by averaging INR weights, was a simple and effective initialisation. Auto-decoders were able to recover large deformations with just five adaptation steps, while meta-learning had the strongest optimisation trajectory over a 50 step adaptation horizon. These results show that the choice of learned prior dictates both adaptation speed as well as optimisation trajectory.
This work was supported by the Engineering and Physical Sciences Research Council (EPSRC) Doctoral Training Partnership [EP/W524475/1] and EPSRC project grant [Z5336762]. This study was conducted using the UK Biobank resource under access application 2964.