Augmentation of cardiovascular flow measurements with generative diffusion models
Authors: Fabio Guglietta, Tianyi Li, Francesco Viola, Luca Biferale
Organizations: INAIL Research, Department of Occupational and Environmental Medicine, Epidemiology and Hygiene, Monte Porzio Catone, Italy. · Tor Vergata University of Rome, Rome, Italy. · INFN Tor Vergata, Rome, Italy. · Gran Sasso Science Institute (GSSI), L’Aquila, Italy.
Cardiovascular imaging offers several ways to measure blood flow, but each provides an incomplete, resolution-limited, or noisy view of the underlying dynamics. Reconstructing the missing information is inherently ambiguous because several flow fields may be compatible with the same observation. Here, we investigate generative diffusion models as tools for cardiovascular-flow generation and reconstruction using a fully controlled state-of-the-art dataset from a digital twin of a healthy human left heart. First, we show how unconditional samples reproduce the changing anatomy and the highly fluctuating statistical properties of the flow throughout the cardiac cycle. Second, we test the conditional inference of our generative model by reconstructing an entire 2D planar section of geometry and flow configurations from a limited portion. Repeated reconstructions allow us to represent a range of plausible completions, going beyond a single deterministic estimate, while their mean retains the principal features of the reference flow. Comparison with a Gaussian process regression baseline on the same reduced domain highlights the main advantage of diffusion models: their reconstructed ensembles capture a broader range of velocity and gradient fluctuations, better encompassing ground-truth features that the baseline distributions can miss. Our results provide a quantitative proof of concept for probabilistic reconstruction of incomplete cardiovascular-flow measurements and demonstrate the potential for groundbreaking applications to the augmentation of in-vivo cardiovascular imaging data.
Figures & tables
Figure 1: Three-dimensional digital twin of the left heart and representative simulated flow. (a) Anatomical model showing the left atrium and ventricle and the ascending and descending aorta. (b) Section plane used to visualize the flow. (c–h) Flow fields at phases t/T=0.00 , 0.60 , 0.63 , 0.66 , 0.90 , and 0.93 , respectively, where T is the cardiac period and the phase origin is chosen at the configuration in (c). Colors indicate the velocity magnitude v=∣u∣ in m/s ; the aortic and mitral valves are shown in orange. (i) Velocity magnitude along the dotted cut in (f) for four simulated heartbeats.
Figure 2: Aortic slices and unconditional generation. (a) Cardiac geometry with the selected aortic region outlined in black. (b) Four ground-truth (GT) slices selected at random from the training dataset. (c) Four fields selected independently at random from the unconditionally generated diffusion-model (DM) ensemble. The GT and DM snapshots are unpaired: their positions in the panels do not indicate correspondence. Grayscale indicates the velocity magnitude v in ms−1 . (d,e) Red streamlines of the velocity projected onto the slice plane for GT and DM snapshots, respectively, with a zoom near the aortic valve. (f-g) PDFs of v/σv and ∣∇v∣/σ∇v , respectively, where the gradient is evaluated in the slice plane; the inset enlarges the PDF peak. Each PDF is rescaled using the standard deviation of the corresponding quantity in its own ensemble. (h) Flatness F(r) of vertical speed increments, as defined in Eq. ( 5 ), with r in meters. Symbols show the midpoint of the mean flatness values obtained from two disjoint random halves of each ensemble; error bars span the interval between these two values. (i) PDF of the maximum cosine similarity (defined in Eq. ( 6 )) between velocity-magnitude gradient fields: generated fields versus training GT fields (DM–GT, orange dashed) and distinct training GT fields versus one another (GT–GT, black solid).
Figure 3: Conditional reconstruction of aortic (upper group) and ventricular (lower group) flow fields. (a,d) A GT slice and three stochastic DM reconstructions of the same slice, with the supplied central strip shaded in green. Grayscale indicates the velocity magnitude v in ms−1 . The red maps show the absolute speed error normalized by the spatial RMS speed of the corresponding GT slice, ek=∣vrec(k)−vGT∣/vrms , where vrms=⟨vGT2⟩Ω and Ω is the full GT fluid domain. Yellow lines mark the vertical cuts used for the profiles. (b,e) Speed along the aortic and ventricular cuts, respectively. (c,f) Absolute directional speed gradient ∣dv/dy∣ along the same cuts. Black curves show GT and dashed cyan curves show the ensemble mean. Colors represent pointwise PDFs across the stochastic reconstructions on a logarithmic density scale; gray bands mark the known intervals. Gradients are computed separately for each reconstruction before ensemble averaging, excluding finite-difference stencils that cross known–missing interfaces. The horizontal axis reports the vertical coordinate y along the cut, in meters.
Figure 4: Comparison of diffusion model (DM) and Gaussian process regression (GPR) reconstructions in the reduced aortic domain of 32×256 points, outlined in red on the reference slice. Green lines bound the known strip and the yellow line marks the vertical cut. (a,c) Three-component speed v along the cut for DM and GPR, respectively. (b,d) Absolute directional speed gradient ∣dv/dy∣ along the same cut. Black curves show GT, dashed cyan curves show ensemble means, and colors encode pointwise probability densities on a logarithmic scale. Gray shading marks the known interval; derivative stencils crossing its boundaries are excluded. (e,f) Ensemble PDFs of v/σv and ∣∇v∣/σ∇v , respectively, evaluated over the fluid domain of the full crop for different GT images and their corresponding DM and GPR reconstructions. In (f), ∇v is the in-plane gradient and the inset enlarges the PDF peak. Each PDF uses the standard deviation of its own ensemble. (g) Flatness of vertical speed increments (see Eq. ( 5 )). In (e-g), DM is orange dashed, GPR blue dash-dotted, and GT black solid. (h) PDFs of the absolute speed error e=∣vrec−vGT∣/vrms,GT at y=0.005m (solid) and y=0.025m (dashed), across reconstructions of the fixed reference slice in (a-d). Both methods and positions use the same GT RMS speed, evaluated over all grid points of the full crop, including the known region. DM is orange and GPR blue; each PDF has unit area.
Figure 5: Evolution of unconditional aortic generation during training. Top: noise-prediction loss LDM versus optimization iteration, on logarithmic axes. Colored vertical lines mark checkpoints A (10K, green), B (50K, orange), C (300K, blue), and D (500K, red). The inset compares the flatness F(r) of vertical speed increments generated at these checkpoints with GT (black), using the definition and split-sample summary described for Fig. 2 . The three rows below show four representative generated fields at checkpoints A, B, and C, respectively. Grayscale represents the velocity magnitude v in ms−1 , using the same color scale in all rows.
Photoplethysmography (PPG) has become an important modality for continuous cardiovascular monitoring, including atrial fibrillation (AF) detection. However, labeled AF recordings remain limited in many clinical settings, making model adaptation difficult when only limited target data are available. Generative modeling offers a natural way to alleviate this scarcity by synthesizing additional AF signals. Existing approaches, however, mainly generate samples that match the target condition without explicitly modeling how an observed source recording should be transformed, making it difficult to leverage abundant source recordings from a specific population or cohort for targeted augmentation. We introduce PulseFlow, a source-conditioned counterfactual generation framework that combines conditional representation learning with invertible latent transport to edit cardiac rhythm while retaining information from the source. Experiments across two clinical cohorts demonstrate effective rhythm transformation, measurable source correspondence, and improved AF classification under limited labels.
Echocardiography is widely used for assessing cardiac function, where clinically meaningful parameters such as left-ventricular ejection fraction (EF) play a central role in diagnosis and management. Generative models capable of synthesising realistic echocardiogram videos with explicit control over such parameters are valuable for data augmentation, counterfactual analysis, and specialist training. However, existing approaches typically rely on computationally expensive multi-step sampling and aggressive temporal normalisation, limiting efficiency and applicability to heterogeneous real-world data. We introduce EchoLVFM, a one-step latent video flow-matching framework for controllable echocardiogram generation. Operating in the latent space, EchoLVFM synthesises temporally coherent videos in a single inference step, achieving a ∼50× improvement in sampling efficiency compared to multi-step flow baselines while maintaining visual fidelity. The model supports global conditioning on clinical variables, demonstrated through precise control of EF, and enables reconstruction and counterfactual generation from partially observed sequences. A masked conditioning strategy further removes fixed-length constraints, allowing shorter sequences to be retained rather than discarded. We evaluate EchoLVFM on the CAMUS dataset under challenging single-frame conditioning. Quantitative and qualitative results demonstrate competitive video quality, strong EF adherence, and 57.9% discrimination accuracy by expert clinicians which is close to chance. These findings indicate that efficient, one-step flow matching can enable practical, controllable echocardiogram video synthesis without sacrificing fidelity. Code available at: https://github.com/EngEmmanuel/EchoLVFM
Emmanuel Oladokun, Sarina Thomas, Jurica Šprem +1
University of Oxford, Oxford, England · GE HealthCare, Cardiovascular Ultrasound R&D, Oslo, Norway
Purpose: Large labeled echocardiography datasets are costly to collect. We use diffusion models to generate synthetic training data for segmentation and cardiac phase classification. Approach: We study three generation approaches on CAMUS: an unconditional image space model, a latent model conditioned on plain English prompts or abstract tokens, and a ControlNet model conditioned on an abstract token and segmentation mask. We evaluate synthesis with Fréchet Inception Distance (FID) and augmentation using segmentation and classification of end diastole and end systole. We also evaluate segmentation within CardiacUDC and directly from CAMUS to CardiacUDC. Results: Conditioning on an abstract token and segmentation mask gives the lowest mean FID, 1.5 compared with 3.2 for the Semantic Diffusion Model. Abstract token augmentation gives the highest classification accuracy, improving ResNet-18 from 83.8% to 87.2% and VGG-16 from 74.5% to 78.7%. Synthetic augmentation gives the highest mean Dice of 87.6% for the CAMUS 2D U-Net and 84.6% for the CardiacUDC nnU-Net. When nnU-Net models are trained on CAMUS and evaluated directly on CardiacUDC, augmentation raises mean Dice from 74.6% to 75.2%. Conclusions: Incorporating synthetic images into training gives modest gains in CAMUS phase classification, segmentation within CAMUS and CardiacUDC, and direct segmentation from CAMUS to CardiacUDC.
Milad Yazdani, Pooria Ashrafian, Moein Heidari +3
Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, BC, Canada · School of Biomedical Engineering, University of British Columbia, Vancouver, BC, Canada · Department of Orthopaedics, University of British Columbia, Vancouver, BC, Canada +2