Next Article in Journal
Perceptions of Generative Artificial Intelligence Among Biomedical Academics with Career Trajectories in Healthcare: A Mixed Methods Study
Previous Article in Journal
LLM-ROM: A Novel Framework for Efficient Spatiotemporal Prediction of Urban Pollutant Dispersion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Data-Driven Modeling and Classification of Brain Blood-Flow Pathologies

1
Department of Biomedical Sciences, University of Padova, 35131 Padova, Italy
2
Faculty of Engineering and Natural Sciences, Kadir Has University, Istanbul 34083, Türkiye
3
Lavrentyev Institute of Hydrodynamics, 630090 Novosibirsk, Russia
4
Sobolev Institute of Mathematics, 630090 Novosibirsk, Russia
5
ICTP—The Abdus Salam International Centre for Theoretical Physics, 34151 Trieste, Italy
6
Department of Mathematics, Imperial College London, London SW7 2AZ, UK
7
Cell Biology and Biophysics Unit, EMBL—European Molecular Biology Laboratory, 69117 Heidelberg, Germany
*
Author to whom correspondence should be addressed.
AI 2026, 7(3), 105; https://doi.org/10.3390/ai7030105
Submission received: 10 December 2025 / Revised: 9 February 2026 / Accepted: 3 March 2026 / Published: 11 March 2026

Abstract

Cerebral aneurysms and arteriovenous malformations are life-threatening hemodynamic pathologies of the brain. While surgical intervention is often essential to prevent fatal outcomes, it carries significant risks both during the procedure and in the postoperative period, making the management of these conditions highly challenging. Parameters of cerebral blood flow, routinely monitored during medical interventions or with modern noninvasive high-resolution imaging methods, could potentially be utilized in machine-learning-assisted protocols for risk assessment and therapeutic prognosis. To this end, we developed a linear oscillatory model of blood velocity and pressure for clinical data acquired from neurosurgical operations. Using the method of Sparse Identification of Nonlinear Dynamics (SINDy), the parameters of our model can be reconstructed online within milliseconds from a short time series of the hemodynamic variables. The identified parameter values enable automated classification of the blood-flow pathologies by means of logistic regression, achieving a balanced accuracy of 74%. Our results demonstrate the potential of this model for both diagnostic and prognostic applications, providing a robust and interpretable framework for assessing cerebral blood vessel conditions.

Graphical Abstract

1. Introduction

Intracranial arterial aneurysms (AA) and arteriovenous malformations (AVM) are cerebral blood-flow defects that can lead to life-threatening hemorrhage or neurological pathologies [1,2]. Often, these threatening conditions warrant surgical intervention. However, due to the significant uncertainty of the risks associated with both the pathologies and their treatment, determining whether such an intervention is advisable is a challenging medical question even for experienced specialists, who must judge on a wide range of complex factors.
AAs represent swollen areas caused by weakened blood-vessel walls, which can expand and rupture. No unified theory of their genesis exists, though most researchers attribute aneurysms to degenerative changes in the vascular walls caused by various factors. An aneurysm consists of a neck, body, and dome, with the dome formed by a single layer of intima (thinnest)—the most vulnerable part where ruptures typically occur. The risk of hemorrhage from an unruptured aneurysm is about 1% per year, but a recurrent hemorrhage is significantly more frequent: 15–25% within the first two weeks and 50% within the first six months. The risk of hemorrhage also increases with the size of the aneurysm: defects under 5 mm have a lifetime rate of 2.5%. Aneurysms of 6–10 mm in size burst in 41% of cases, and those in the range of 11–15 mm in 87%. Repeated hemorrhages are generally more severe than initial ones, with a fatality rate of 32% in the first week, 43% by the second week, and up to 63% within the first year. Surgical treatment for cerebral AAs involves either open aneurysm clipping or conservative endovascular methods, though the latter is only applicable to pathologies of a small size.
AVMs are congenital pathologies manifested as entangled blood vessels that disrupt the oxygen supply of the surrounding tissues, thereby provoking cell death. In severe cases, they can rupture, resulting in intracranial hemorrhage with the frequency reported in the range of 30–82% [3]. The high morbidity and disability rates highlight the dangers associated with this pathology. A common method of treating AVMs is embolization: embolizing agents, such as N-butyl-2-cyanoacrylate or a non-adhesive copolymer of ethylene and vinyl alcohol (ONYX) [4], are delivered by a micro-catheter to block the pathological vessels. The mortality rate of treated patients with AVMs achieves 9.3% during the period of hospitalization.
The decision on surgical intervention requires a careful risk assessment before and after the treatment, as a re-operation may be deemed necessary [5,6,7]. Therefore, modeling hemodynamic flows in patients with AAs and AVMs is a mathematical problem of utter practical importance.
Due to the increasing role of computational methods in medicine, with the rapid improvement in dataset quality and methods of their processing, there is a growing interest in applying machine learning to clinical data to assist medical decision-making, treatment planning, and execution [8,9,10,11,12]. In this report, we explore the use of modern machine learning techniques on data acquired during the treatment of AAs and AVMs in real time. In particular, we leverage the Sparse Identification of Nonlinear Dynamical Systems (SINDy) [13] as the model-discovery framework and apply logistic regression to characterize and to automatically classify blood flow with pathologies before and after surgery.
Our proposed methodology offers a novel approach to analyzing cerebral blood flow in patients undergoing surgery for cerebral blood vessel malformations. Classification of the identified model parameters could help medical doctors make more informed decisions in surgical planning. Additionally, our findings highlight the prospects of using larger datasets to design automatic diagnostic tools for blood pathologies or methods for forecasting the outcome of a surgical treatment.

1.1. Background

During surgical interventions, physical parameters of patients’ blood flow, such as velocity v ( t ) and pressure p ( t ) , are continuously monitored [14,15,16], as illustrated in Figure 1. While detailed physical models for their dynamics are fairly complicated [12,17,18,19,20,21], in this work, we adopt a phenomenological approach from Refs. [15,16], where the time series of these hemodynamic variables are fitted to a family of parsimonious nonlinear equations of the Liénard type [22]:
p ¨ ( t ) + A [ p ( t ) ] p ˙ ( t ) + B [ p ( t ) ] p ( t ) = ϵ v ( t ) ,
where A ( p ) = a 0 + a 1 p + a 2 p 2 + and B ( p ) = b 0 + b 1 p + b 2 p 2 + are algebraic polynomials in p ( t ) with coefficients a 0 , 1 , 2 and b 0 , 1 , 2 , .
Simulations of Equation (1) represent the direct (well-posed) Cauchy problem with the initial-value conditions p ( 0 ) = p 0 and p ˙ ( 0 ) = p ˙ 0 . In Refs. [15,16], the coefficients of algebraic polynomials a 0 , 1 , 2 , b 0 , 1 , 2 , and the initial conditions p 0 and p ˙ 0 are determined from experimental data [ p ( t i ) , v ( t i ) ] i = 0 , 1 , 2 , , n using techniques from inverse-problem theory [23,24]. However, this approach is computationally expensive and sensitive to initial parameter guesses [25,26], as it often involves iterative, high-dimensional optimization, especially with nonlinear polynomial terms, making it costly.
Common regression techniques, including Least Squares, LASSO, and Ridge regression, often face limitations in online short-latency applications due to high computational demands or sensitivity to initial parameter guesses [27]. Moreover, fitting data to a minimal model risks misinterpretation, as patient-specific variations may not be adequately captured by a universal set of terms. A robust approach would, therefore, benefit from starting with a larger model framework that can adaptively reduce complexity based on individual patient data. To address the computational challenge, L 2 -norm-based approaches, like Ridge regression, are often employed for their speed. However, while effective at controlling over-fitting, they do not inherently reduce the number of terms, resulting in models that may remain unnecessarily complex. Conversely, L 1 -norm-based methods such as LASSO can achieve sparsity by eliminating terms with minimal contribution, but their iterative nature makes them too slow for online short-latency applications.

1.2. Overview

The data-driven discovery of dynamical systems offers a novel approach to modeling and understanding complex real-world systems [28]. Expanding on the previous works [14,15,16], we explore this approach and present advances in two directions: data-driven modeling of the blood-flow dynamics with short-latency identification of the system parameters, and the potential clinical applications of the relationships learned from this data.
To address the limitations of the original model (1), we expanded the basis functions by constructing a more comprehensive candidate library, Θ , which includes not only polynomials in p ( t ) and its time derivatives, but also other nonlinear terms:
p ¨ + c 01 p ˙ + c 02 p ˙ 2 + c 03 p ˙ 3 + ( c 10 + c 11 p ˙ + c 12 p ˙ 2 ) p + ( c 20 + c 21 p ˙ ) p 2 = ϵ v ,
where c i j are the coefficients to be determined. This expanded equation allows us to assess the contribution of higher-order terms to the accuracy of the model and determine whether the original model is optimal in terms of fit and simplicity.
To determine the coefficients c i j , we apply the Sparse Identification of Nonlinear Dynamical Systems (SINDy) method [13] with Sequentially Thresholded Least Squares (STLS) optimization, which is computationally efficient and converges to a sparse solution rapidly as an alternative to the traditional regression techniques [29]. By adjusting the sparsity threshold, we systematically eliminate terms, with the original equation (Equation (1)) being recoverable for appropriate threshold values. This trade-off between simplicity and computational feasibility makes SINDy a suitable method for online short-latency applications. A detailed explanation of the SINDy method is provided in Methods.
Since the inception of the SINDy methodology, its limitations have been explored and extensions have been proposed to address outstanding challenges [30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]. However, because the clinical data in our possession consist of time series with low levels of noise, and the forcing term v ( t ) partially incorporates much information about latent variables in our model, these limitations do not present difficulties in our work. Moreover, since the number of candidate basis functions is much smaller than the length of the time series, the regression problem is overdetermined, favoring stable L 2 -regularized solutions [50]. Therefore, we are able to apply the original methodology already implemented in an open-source code [51,52].
SINDy has been shown to work well with libraries composed of truncated Taylor expansions [13,53]. Therefore, we start from the most general Liénard system based on the second-order power series (2) in ( p , p ˙ ) . By varying the sparsity threshold ( η ), we sought a balance between the model complexity and its accuracy. Observing that the fitting and prediction error remains unchanged or even decreases (for AVM patients) while η increases and, thus, the higher-order terms are progressively eliminated (Section 3.1), we identified the value of the sparsity threshold that robustly renders a linear structure of the governing equation for all patients in our clinical data.
Specifically, in the regression procedure [29], we simplify the inverse problem by setting p ( 0 ) to the experimental value p 0 = p ( t 0 ) , estimating p ˙ ( 0 ) from the forward-difference formula p 0 = [ p ( t 1 ) p ( t 0 ) ] / ( t 1 t 0 ) , thus excluding these values from the fitting parameters. By setting the sparsity threshold at η = 1.0 , the nonlinear terms of order O ( p 3 ) are eliminated, and by η = 5.0 , Equation (2) is reduced to a linear model of a forced damped harmonic oscillator
p ¨ ( t ) + a p ˙ ( t ) + b p ( t ) = ϵ v ( t ) ,
where a, b and ϵ are constants. This linear approximation retained only three key parameters—a, b, and ϵ —resulting in a model that strikes the balance between simplicity and accuracy.
Our findings indicate that, while achieving a slightly better forecasting accuracy (Section 3.4), the complex nonlinear model proposed in Refs. [15,16] may be overly detailed. The simplified linear model, with only three parameters, effectively captures the essential dynamics of blood flow and offers a more practical, interpretable solution. We specifically evaluated the reproducibility of parameter values across datasets, observing that, even in the worst case, the relative deviation of the parameters did not exceed 24% (see Results). In addition, by reducing the fitting problem to solving an overdetermined linear system, SINDy does not require an initial parameter guess, which is one of the critical aspects in the original technique of Refs. [15,16]. This efficiency enables rapid model construction at scale, making it well-suited for clinical and short-latency applications.
Further, we explore whether the fitted values of the model parameters, viewed as means of data-dimensionality reduction, could act as predictor variables for pathologies or treatment prognosis in higher-tier machine learning models. To pursue this line of inquiry, we applied logistic regression to classify blood-flow anomalies and surgically treated vessels based on the parameters of Equation (3) inferred from the patient data. In this application, our automatic classifier discriminates between three classes—flows with AA, AVM, and in surgically treated vessels—with a balanced accuracy of 74%, which is a surprisingly promising result given the limited data.

2. Materials and Methods

In this study, we employ a multi-step approach to analyze clinical data and apply machine learning for classification. First, the clinical data is reconstructed using sparse regression methods, which help identify relevant features while reducing model complexity. Next, we apply logistic regression to classify the reconstructed data into distinct categories of blood flow anomalies, based on clinical outcomes. The following subsections describe the details of the data acquisition, the sparse regression procedure, and the classification methodology [29].

2.1. Clinical Data

Blood velocity and pressure were recorded using a Doppler sonography from an intravascular guidewire with a diameter 0.34 mm. The signals were processed through an analogue-to-digital converter at a frequency of 200 Hz. A digital low-pass filter of order N = 198 with a Hamming window and a cutoff frequency of 7 Hz was used for noise suppression (Nyquist frequency 99 Hz, sampling frequency 198 Hz). Filtering with identical parameters was applied to both pressure and velocity signals in a single forward pass, followed by compensation of the filter group delay ( N / 2 points), resulting in an effective zero-phase response.
Velocity and pressure data were collected before, during, and after surgery from ten patients: five with AAs, and five with AVMs, all of whom underwent a successful surgical treatment. The boundaries of individual cardiac cycles were determined by the points of local minima in the pressure signal (diastolic minimum). Five consecutive cardiac cycles were extracted from the recording for further analysis. Each time series thus lasted between 3.345–5.375 s, with a time step of Δ t = 5   ms . The time-averaged values of pressure and velocity were subtracted from each trajectory before fitting the data to theoretical models.

2.2. Sparse Identification of Blood-Flow Dynamics

Many dynamical systems of variables x ( t ) R n are described by governing equations of the form x ˙ ( t ) = f [ x ( t ) ] , which contain just a few terms in the expression for f ( x ) . Therefore, such equations are sparse in some basis (set) of functions. SINDy was motivated by this observation and aims to solve this sparse identification problem [13,51]. In the same spirit, given an observed dependency of velocity on time, we are looking for a governing equation of pressure dynamics in the form of a second-order differential equation:
p ¨ ( t ) = f [ p ( t ) , p ˙ ( t ) , v ( t ) ] ,
given the initial values p ( 0 ) and p ˙ ( 0 ) .
In vector form, we denote the time series as P = p ( t 0 ) , p ( t 1 ) , , p ( t n ) , P ˙ = p ˙ ( t 0 ) , p ˙ ( t 1 ) , , and V = v ( t 0 ) , v ( t 1 ) , for the consecutive instances of time t i = 0 , 1 , 2 , , n . By performing a sparse regression on the linear equation
P ¨ = Θ ( P ˙ , P , V ) Ξ ,
we seek a vector of coefficients, Ξ , that identifies the system’s dynamics within the basis of candidate functions such as p ( t ) , p ˙ ( t ) , p 2 ( t ) , and others. These candidate functions are organized into a library, represented by the matrix
Θ ( P ˙ , P , V ) = | | | | | | p ( t ) p ˙ ( t ) p ( t ) p ˙ ( t ) p ( t ) 2 p ˙ ( t ) 2 v ( t ) | | | | | | R n + 1 × k ,
with each column containing one of the k basis functions evaluated at the consecutive instances of time t i = 0 , 1 , 2 , , n . To compose Θ , we approximate the derivative of the pressure numerically p ˙ ( t ) as
p ˙ ( t i ) = p ( t i + 1 ) p ( t i 1 ) t i + 1 t i 1 + O ( Δ t 3 ) , if 0 < i < n p ( t 1 ) p ( t 0 ) t 1 t 0 + O ( Δ t 2 ) , for i = 0 , p ( t n ) p ( t n 1 ) t n t n 1 + O ( Δ t 2 ) , for i = n ,
and similarly to calculate P ¨ given this approximation of P ˙ . The central finite differences in the above equation are accurate up to the second order in Δ t = t i + 1 t i for all instants t 0 < i < n , except the boundaries t 0 and t n , where it is not applicable, and we have to resort to the first-order forward and backward finite differences, respectively. The coefficients Ξ are determined by STLS, which starts with an ordinary least squares solution
Ξ ^ = arg min Ξ P ¨ Θ ( P , V ) Ξ 2 ,
and eliminates the coefficients Ξ that are smaller than the predefined sparsity threshold η . Then, another least squares solution is obtained for Ξ on the remaining coefficients, which are compared to the threshold again. This procedure is iterated until no more coefficients can be zeroed out.
By increasing the sparsity threshold η , we can select progressively simpler models with fewer significant non-zero terms. In our case, larger thresholds lead to models that consistently highlight the same key terms across different patients, as their data share similar patterns. This ensures that the model captures the most universally relevant dynamics without over-fitting [54]. We have tested values of η { 0.1 , 1.0 , 5.0 } .
The accuracy of identified models can be characterized by the normalized root mean squared error (NRMSE):
NRMSE ( p , p ^ ) = 1 max p ( t ) min p ( t ) 1 n + 1 i = 0 n p ( t i ) p ^ ( t i ) 2 .
where p ( t ) represents the ground-truth time series of pressure, while p ^ ( t ) is the trajectory generated by the identified model, starting from the same initial conditions, p ^ ( 0 ) = p ( 0 ) and p ^ ˙ ( 0 ) = p ˙ ( 0 ) , and using the best-fit parameter values, Ξ ^ . NRMSE provides a way to assess how closely the identified model replicates the observed data over time.
To benchmark the computational cost of fitting, we measured the time taken for seven runs of the optimization routine, each consisting of 10 3 iterations, executed on a single core of an Intel Core i7-13700 processor (manufactured by Intel Corporation, Santa Clara, CA, USA).

2.3. Logistic Regression for Classification of Blood-Flow Dynamics

Using several hundred elements of two-dimensional time series of the velocity and pressure p ( t i ) , v ( t i ) , we identify between three and ten coefficients Ξ ^ depending on the assumed model, effectively reducing the number of descriptors representing the same data.
However, features of blood flow differ between the experimental conditions, i.e., before, during, or after the surgery (Figure 1). Since the pressure–velocity relationship is encoded in the parameters Ξ ^ , these learned parameters from the patients’ data can be used as inputs in a classification problem. Here, we consider three categories of interest for each patient
Y ( Ξ ^ ( i ) ) = 0 for AA flow , 1 for AVM flow , 2 for flow after a successful treatment ,
where Y ( Ξ ^ ( i ) ) refers to the actual class of the patient i and the last category is interpreted as a pathology-free condition.
In the context of a multi-class logistic regression [27,54], which we adopt in this report, the probability for the parameter values Ξ ^ ( i ) of the ith patient to belong to the category m { 0 , 1 , 2 } can be encoded by the softmax function (Section 7.4, Equation (79) [54]) as
P m ( Ξ ^ ( i ) ) = exp j w m j Ξ ^ j ( i ) m = 0 2 exp j w m j Ξ ^ j ( i ) ,
where the summation over j includes all input coefficients Ξ ^ j , namely a, b and ϵ . The input arguments Xi j are extended by a bias term Ξ ^ 0 = 1 , and w m j are the weights that the model optimizes to assign categories. To determine these weights, maximizing the multinomial log-likelihood function (Section 7.4, cf. Equations (80) and (81) [54]),
w ^ = arg max w i m = 0 2 y m ( i ) ln P m ( Ξ ^ ( i ) ) + ( 1 y m ( i ) ) ln 1 P m ( Ξ ^ ( i ) ) ,
we use the L-BFGS algorithm [55], which ensures efficient and reliable convergence to the optimal values w m j . In Equation (12), we set y m ( i ) = 1 if the ith time series has the label m, Y ( Ξ ^ ( i ) ) = m , or y m ( i ) = 0 otherwise.

2.4. Software

System identification (Section 2.2) and pathology classification (Section 2.3) were implemented in Python 3.12.11 [29] and based on the packages PySINDy [51,52] and scikit-learn [56], respectively. For visualization, we used the Python package MLxtend [57] and Wolfram Mathematica [58].

3. Results

3.1. Efficient Identification of Blood-Flow Dynamics

To identify the most efficient model from the same family as Equation (1), we progressively increased the sparsity threshold η . This process starts with a more general candidate library Θ (Equation (2)), including polynomials of the pressure and its time derivatives up to the third degree, along with a linear term proportional to the velocity of the blood flow. We varied the sparsity threshold η over a range of values, from a small threshold η = 0.1 and an intermediate value η = 1.0 to the maximum η = 5.0 .
The threshold value η = 0.1 narrows down the candidate library to the form of Equation (1) for all patients’ data (Figure S1A). The majority of the nonlinear terms disappear at η = 1.0 (Figure S1B). Finally, the linear Equation (3) emerges robustly across all patients’ data at the threshold η = 5.0 (Figure S1C).
To validate the identified models, the system was simulated using the inferred parameters. The time series thus generated were then compared against the experiments (Figure 2). While the sparsest solution demonstrates the best performance, reinforcing its utility for generalization, on certain patients’ data, the higher-order models may appear indistinguishable from it (Figure 2A), or even strikingly inefficient (Figure 2B). Higher-order models show average NRMSE similar to the simplest linear Equation (3) for AA patients (Figure 2C). However, on AVM patients (Figure 2D), the linear model performs strikingly better than the alternatives. For both AA and AVM data, the linear model prevails by the computational cost.
The inefficiency of higher-order equations may seem counterintuitive, as one might expect more complex models to perform better at intermediate thresholds. However, it can be explained by the fitting process, which aims to reproduce the pressure derivatives evaluated numerically rather than the original time series. The higher-order equations robustly fit the derivative data tighter than the linear model (Figure S2 with the same patients as in Figure 2).
As the time derivatives of pressure in our method are calculated numerically from time series, artifacts due to noise, filtering, or smoothing in the data can occur. While advanced techniques like Kalman filtering or other smoothing methods [52] could potentially reduce such artifacts and improve consistency, finding the optimal method for numerical differentiation is beyond the scope of this study. Moreover, such approaches do not always guarantee a reliable performance, particularly given the variability in clinical data. Instead, selecting a large sparsity threshold η effectively isolates the most significant terms and ensures robustness even in the presence of artifacts related to the numerical differentiation. These features make the combination of a large threshold η with the finite-difference technique for computing time derivatives sufficient to achieve a balance between simplicity, consistency, and accuracy.
When evaluating the statistics and performance across all our clinical data, the sparsest model (3), which is computationally most efficient, achieves accuracy close to the higher-order models used in the earlier works. Overall, the linear model performs strikingly better than its more complex alternatives on the AVM data as quantified by the average NRMSE (Figure 2D, orange bars).

3.2. Reproducibility and Forecasting Performance of the Linear Model

The linear model (3) inferred by SINDy accurately captures patients’ blood-flow pressure from the velocity time series with a set of just three coefficients ( a , b , ϵ ) . The simulated trajectories are in good agreement with the experimental time series (Figure 3), and display a counterclockwise current—the circulation commonly found in arteries [15,16]. Assessing the reproducibility of the fitted parameters for the same patient is crucial for validating the analysis and demonstrating the robustness of the methodology. To evaluate reproducibility, we divided the time series into two equal parts and independently applied our fitting procedure to each half of the data (Figure 4A). Values of the parameters thus learned differed at the most by 24% relative to the estimate inferred from the whole series across all patients’ data considered, underscoring the robustness of the model across all patient data considered (Figure 4B).
To test the effect of the training-set length on the forecasting performance of our method, we inferred the model parameter values from time series of varied length. By forecasting, we mean the reconstruction of pressure dynamics conditioned on the measured velocity signal. Because the time series for each patient consists of a total of five cardiac cycles (Section 2.1), we partition each signal into five equal temporal segments, effectively corresponding to the individual cycles. We reserve the fifth segment for validation, and the first three for fitting. The fourth cycle is not used in either training or testing to allow time correlations to decay and prevent temporal leakage between training and validation data. We fitted a total of 1, 2, or 3 consecutive cardiac cycles from the training set. The forecasting performance is then characterized by NRMSE (9) of the simulations reproducing the validation cycle.
Training the model on a dataset covering a single cardiac cycle enables excellent predictions of the experimental time series for the same duration (Figure 5). Extending the training set to encompass up to three cardiac cycles does not significantly affect the NRMSE, though it expectedly increases the computational cost. This vindicates the SINDy method and its robustness in the present medical application due to the low variance of the experimental time series over different cycles and, thus, to low overfitting, even when training on such short time series.

3.3. Machine Learning Classification of Arteriovenous Pathologies

Since the patients’ data used in this work contain successfully treated blood-flow defects, the post-surgery time series of pressure and velocity may serve as proxies of healthy vessels. Consequently, we investigate whether the parameters of Equation (3) learned from observations (Tables S1 and S2) can be used to discriminate between the normal and abnormal flow dynamics, and to identify the pathological defect in the latter case.
Using multi-class logistic regression [27,54], we train the softmax classifier Equation (11) with the feature set Ξ = ( Ξ 0 , Ξ 1 , Ξ 2 , Ξ 3 ) = ( 1 , a , b , ϵ ) , where Ξ 0 and its associated weight w m 0 correspond to the constant bias term (see Materials and Methods for details). The classifier is trained to categorize the output into three categories, m { 0 , 1 , 2 } : arterial aneurysm, arteriovenous malformations, and treated vessels, respectively, cf. Equation (10).
To exploit a small set of twenty examples—comprising five arterial aneurysms and five arteriovenous malformations, both pre- and post-surgery—we first resample the data into 100 partitions, each with training and test subsets of 16 (80%) and 4 (20%) examples, respectively. Note that in total, there are over 4800 such unique partitions. Then, to obtain a more robust estimate of classifier performance, we apply grouped cross-validation that prevents patient-level data leakage but reduces the number of partitions.
The average accuracy of the logistic regression, evaluated over the 100 random partitions, is 73 ± 2 % . To investigate further properties of the classification, we constructed decision boundaries by optimizing Equation (11) over the full set of 20 examples in the 3-dimensional feature space (Figure 6), as well as their 2-dimensional projections (Figure 7).
Most of the patients’ data, with a single exception, fall into the regime of an underdamped harmonic oscillator with a 2 < b (Figure S3). We notice that AA occupies the region of small frequencies b and low dissipation a (Figure 6A). In contrast, examples of the treated vessels reside in the high-dissipation and moderate-frequencies area (Figure 6C). Arteriovenous malformations belong in a layer of relatively smaller volume in between these two categories. In addition, boundaries of the arterial aneurysms’ region appear parallel to the direction of the axis ϵ and, therefore, independent of the coupling strength between the pressure and velocity.
To guard against the patient-level leakage, we apply a grouped cross-validation scheme. Specifically, to keep the original 80/20 train–test ratio, we trained the classifier with the data of 8 out of 10 patients, thus leaving 2 patients per fold for testing. Over all possible combinations of patients’ data, which amount to 45 folds in total, the classifier achieved an accuracy of 0.75 ± 0.22 , a balanced accuracy of 0.74 ± 0.22 , and a macro-F1 score of 0.69 ± 0.26 . Its performance was the highest for treated vessels, with the lowest and more variable precision and recall for the AVM data (Table 1).
The average confusion matrix (Table 2) exhibits strong diagonal dominance, with misclassifications mainly involving the AVM class. AA pathologies are almost never confused with treated vessels. Perhaps the most critical property for clinical applications, verified in our analysis, is that treated vessels are classified more reliably.

3.4. Comparative Performance of Linear-Model Fitting with SINDy

To compare the computational complexity and cost of our method with the original approach of Refs. [15,16], we use the fitting results over the full duration of each time series in our AA and AVM datasets. Although the original inverse-problem technique can be parallelized to significantly improve its performance, we refer to its serial implementation, since we do not explore concurrent-execution strategies for SINDy.
On average, the serial implementation of the original inverse-problem technique takes approximately 10 s to reconstruct Equation (1) for a single patient, compared to only the ms -scale performance of our method based on Refs. [51,52] and the linear Equation (3). As expected, the original method, which incorporates higher-order nonlinear terms with more fitting parameters, achieves slightly better accuracy than the linear model proposed in our approach (Figure 8). This difference appears negligible for the intended applications, e.g., in the classification of pathologies. Moreover, when revisiting the original polynomial formulation in Equation (1), we observed that the constant terms a 0 and b 0 dominated in the trend of A ( p ) and B ( p ) p averaged over patients, while higher-order terms were negligible (Figure S4), supporting the suitability of the linear model in Equation (3) to capture the core dynamics of blood flow. Therefore, the significant gain in computational efficiency offered by our method outweighs the marginal loss in expressive power, especially for online short-latency applications.

4. Discussion

Our work illustrates the potential of modern machine learning techniques to enhance the analysis of hemodynamical data routinely monitored during cardiovascular surgeries in real time. By overcoming the computational challenges faced by the original method [15,16], the combination of SINDy renders our procedure faster and more robust (Section 3.4, Figure 8), while describing the system by a simpler linear model (5). These enhancements make our approach well-suited for online short-latency applications. One potential application, the identification of pathologies, we have proposed and tested here.
Through SINDy, the computational cost of handling general models becomes manageable, where the sparsity threshold offers a way to find a balance between accuracy and complexity. Unlike direct methods of linear-model fitting, the model-selection capabilities of SINDy allow additional control over observations that are poorly described by Equation (5). The occurrences of such time series in medical applications can be used to trigger exceptional procedures or fallback to the higher-order models.
Although our study relies on direct measurements, which have the advantage of being more precise, noninvasive techniques of measuring blood-flow variables also exist [59,60,61,62,63]. Therefore our method, which succinctly encodes the observations of hemodynamic data with just a few interpretable parameters and exhibits excellent forecasting capabilities, could be used in various clinical settings, e.g., for therapeutic assessment before the intervention stage.
Indeed, the hemodynamic descriptors obtained through our procedure prove to be sufficiently informative for the automated detection of pathological blood flows. By using the logistic regression over a small set of training data, we achieved a 74% balanced accuracy of discrimination between arterial aneurysms, arteriovenous malformations, and treated vessels. Moreover, this method, in combination with a linear model, renders it accessible to analysis and physically interpretable decision boundaries. Incorporating the model parameters into surgical planning can enhance medical decision-making and reduce the risk of unnecessary reoperation.
The hemodynamic descriptors produced by our method can also serve as effective means for dimensionality reduction. When combined with complementary techniques—such as physics-informed neural networks (PINNs), which leverage sparse imaging data and physical laws to predict brain hemodynamics [9]—they can form the foundation for a complex analytical framework.
While our findings are based on a limited sample size, the use of cross-validation partially mitigates overfitting risks. Importantly, our grouped cross-validation analysis shows that the successfully treated vessels are identified most reliably. Future work should prioritize the acquisition of larger patient datasets to enable more robust assessment of the classification performance. Moreover, beyond diagnostic applications, illustrated here by the classification of pathologies, one may pursue a more ambitious goal of predicting hemodynamic parameters after surgical intervention. Such predictions would facilitate the development of a therapeutic prognosis, helping in medical decisions and improving the statistics of treatment outcomes.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/ai7030105/s1, Figure S1: Sparse structure of Equation (2); Figure S2: Accuracy of numerical differentiation; Figure S3: Parameters of the autonomous part (left-hand side) of Equation (3); Figure S4: Coefficients of the Lienard Equation (1); Table S1: Parameter values of Equation (3) inferred from the AA patients’ data; Table S2: Parameter values of Equation (3) inferred from the AVM patients’ data.

Author Contributions

Conceptualization, all authors; methodology, all authors; software, I.T.; validation, all authors; formal analysis, all authors; investigation, I.T., A.C., Y.B., M.S., and D.E.; data curation, A.C. and Y.B.; writing—original draft preparation, I.T. and R.B.; writing—review and editing, all authors; visualization, I.T.; supervision, J.B., D.E., É.R., and R.B.; and project administration, É.R. and R.B.; All authors have read and agreed to the published version of the manuscript.

Funding

A.C. and Y.B. acknowledge the support of the state assignment of LIH SB RAS (Theme no. FWGG-2021-0009-2.3.1.2.10). M.S. acknowledges the support of the state assignment of IM SB RAS (Theme No. FWNF-2024-0001). É.R. acknowledges financial support from PNRR MUR project PE0000023-NQSTI. D.E. was partially supported by TUBITAK (118C236), UKRI (EP/Z002656/1), and the BAGEP Award of the Science Academy. R.B. acknowledges funding from the EMBL. The APC was funded by EMBL.

Institutional Review Board Statement

The clinical data used in this report were acquired during neurosurgical operations at the Meshalkin Research Institute of Circulation Pathology (Novosibirsk, Russia) between March 2012 and September 2017. The investigation was conducted in accordance with the Helsinki Declaration and approved by the Inspection Commission of the E.N. Meshalkin National Medical Research Center (Session No. 549).

Informed Consent Statement

All patients involved in the study gave their informed consent. The authors do not have access to information that could identify individual participants during or after data collection.

Data Availability Statement

The original data presented in the study are openly available at https://github.com/lffrrnt/HemodynamicsDiscovery/tree/main/data (accessed on 2 March 2026).

Acknowledgments

I.T., J.B., É.R., and R.B. thank the London Mathematical Laboratory school for establishing the initial framework of this collaboration.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AAArterial aneurysms
AVMArteriovenous malformations
LASSOLeast absolute shrinkage and selection operator
SINDySparse identification of nonlinear dynamical systems
STLSSequentially thresholded least squares

References

  1. Brisman, J.L.; Song, J.K.; Newell, D.W. Cerebral Aneurysms. N. Engl. J. Med. 2006, 355, 928–939. [Google Scholar] [CrossRef] [PubMed]
  2. Al-Shahi, R. A systematic review of the frequency and prognosis of arteriovenous malformations of the brain in adults. Brain 2001, 124, 1900–1926. [Google Scholar] [CrossRef] [PubMed]
  3. Mast, H.; Mohr, J.P.; Osipov, A.; Pile-Spellman, J.; Marshall, R.S.; Lazar, R.M.; Stein, B.M.; Young, W.L. ‘Steal’ Is an Unestablished Mechanism for the Clinical Presentation of Cerebral Arteriovenous Malformations. Stroke 1995, 26, 1215–1220. [Google Scholar] [CrossRef]
  4. Solomon, R.A.; Connolly, E.S. Arteriovenous Malformations of the Brain. N. Engl. J. Med. 2017, 376, 1859–1866. [Google Scholar] [CrossRef] [PubMed]
  5. Martin, N.A.; Bentson, J.; Viñuela, F.; Hieshima, G.; Reicher, M.; Black, K.; Dion, J.; Becker, D. Intraoperative digital subtraction angiography and the surgical treatment of intracranial aneurysms and vascular malformations. J. Neurosurg. 1990, 73, 526–533. [Google Scholar] [CrossRef]
  6. Thompson, R.C.; Steinberg, G.K.; Levy, R.P.; Marks, M.P. The Management of Patients with Arteriovenous Malformations and Associated Intracranial Aneurysms. Neurosurgery 1998, 43, 202–211. [Google Scholar] [CrossRef]
  7. Platz, J.; Berkefeld, J.; Singer, O.C.; Wolff, R.; Seifert, V.; Konczalla, J.; Güresir, E. Frequency, risk of hemorrhage and treatment considerations for cerebral arteriovenous malformations with associated aneurysms. Acta Neurochir. 2014, 156, 2025–2034. [Google Scholar] [CrossRef]
  8. Arsalidou, M.; Skuratov, N.; Khalezov, E.; Bernstein, A.; Burnaev, E.; Sharaev, M. Effects of age, gender, and hemisphere on cerebrovascular hemodynamics in children and young adults: Developmental scores and machine learning classifiers. PLoS ONE 2022, 17, e0263106. [Google Scholar] [CrossRef]
  9. Sarabian, M.; Babaee, H.; Laksari, K. Physics-Informed Neural Networks for Brain Hemodynamic Predictions Using Medical Imaging. IEEE Trans. Med. Imaging 2022, 41, 2285–2303. [Google Scholar] [CrossRef]
  10. Pedrett, R.; Mascagni, P.; Beldi, G.; Padoy, N.; Lavanchy, J.L. Technical skill assessment in minimally invasive surgery using artificial intelligence: A systematic review. Surg. Endosc. 2023, 37, 7412–7424. [Google Scholar] [CrossRef]
  11. Marmarelis, V.Z.; Shin, D.C.; Kang, Y.; Novak, V. Data-based modeling of cerebral hemodynamics quantifies impairment of cerebral blood flow regulation in type-2 diabetes. J. Cereb. Blood Flow Metab. 2024, 44, 1288–1301. [Google Scholar] [CrossRef]
  12. Vakitbilir, N.; Froese, L.; Gomez, A.; Sainbhi, A.S.; Stein, K.Y.; Islam, A.; Bergmann, T.J.G.; Marquez, I.; Amenta, F.; Ibrahim, Y.; et al. Time-Series Modeling and Forecasting of Cerebral Pressure–Flow Physiology: A Scoping Systematic Review of the Human and Animal Literature. Sensors 2024, 24, 1453. [Google Scholar] [CrossRef]
  13. Brunton, S.L.; Proctor, J.L.; Kutz, J.N.; Bialek, W. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proc. Natl. Acad. Sci. USA 2016, 113, 3932–3937. [Google Scholar] [CrossRef] [PubMed]
  14. Orlov, K.; Panarin, V.; Berestov, V.; Krivoshapkin, A.; Kislitsin, D.; Chupakhin, A.; Baranov, V.; Cherevko, A.; Khe, A.; Telegina, N. Method for Intraoperative Doppler Control of Radicality of Arteriovenous Malformation Embolisation. RU-2511235C2, 2014. Available online: https://patenton.ru/patent/RU2511235C2/en (accessed on 2 March 2026).
  15. Cherevko, A.A.; Mikhaylova, A.V.; Chupakhin, A.P.; Ufimtseva, I.V.; Krivoshapkin, A.L.; Orlov, K.Y. Relaxation oscillation model of hemodynamic parameters in the cerebral vessels. J. Phys. Conf. Ser. 2016, 722, 012045. [Google Scholar] [CrossRef]
  16. Parshin, D.V.; Ufimtseva, I.V.; Cherevko, A.A.; Khe, A.K.; Orlov, K.Y.; Krivoshapkin, A.L.; Chupakhin, A.P. Differential properties of Van der Pol — Duffing mathematical model of cerebrovascular haemodynamics based on clinical measurements. J. Phys. Conf. Ser. 2016, 722, 012030. [Google Scholar] [CrossRef]
  17. Ye, D.; Krzhizhanovskaya, V.; Hoekstra, A.G. Data-driven reduced-order modelling for blood flow simulations with geometry-informed snapshots. J. Comput. Phys. 2024, 497, 112639. [Google Scholar] [CrossRef]
  18. Kaczmarek, W.; Magdziarz Ibrahim-El-Nur, J.; Łoś, M.; Roleder, T. Reconstructing cerebral hemodynamics from sparse data using Neural Operator Transformers. Comput. Biol. Med. 2025, 195, 110492. [Google Scholar] [CrossRef]
  19. Csala, H.; Mohan, A.; Livescu, D.; Arzani, A. Physics-constrained coupled neural differential equations for one dimensional blood flow modeling. Comput. Biol. Med. 2025, 186, 109644. [Google Scholar] [CrossRef]
  20. Isaev, A.; Dobroserdova, T.; Danilov, A.; Simakov, S. Physically Informed Deep Learning Technique for Estimating Blood Flow Parameters in Four-Vessel Junction after the Fontan Procedure. Computation 2024, 12, 41. [Google Scholar] [CrossRef]
  21. Blanco, P.J.; Müller, L.O. One-Dimensional Blood Flow Modeling in the Cardiovascular System. From the Conventional Physiological Setting to Real-Life Hemodynamics. Int. J. Numer. Methods Biomed. Eng. 2025, 41, e70020. [Google Scholar] [CrossRef]
  22. Strogatz, S.H. Liénard systems. In Nonlinear Dynamics and Chaos, 2nd ed.; CRC Press: London, UK, 2019; Chapter 7.4. [Google Scholar]
  23. Kabanikhin, S.I. Inverse and Ill-Posed Problems; Inverse and Ill-Posed Problems Series; De Gruyter: Berlin, Germany, 2011. [Google Scholar]
  24. Bugai, Y.V.; Cherevko, A.A.; Shishlenin, M.A. Classification of cerebrovascular pathologies in real-time using nonlinear ODE-based surrogate model. J. Inverse Ill-Posed Probl. 2025, 34, 71–85. [Google Scholar] [CrossRef]
  25. Hanke, M.; Neubauer, A.; Scherzer, O. A convergence analysis of the Landweber iteration for nonlinear ill-posed problems. Numer. Math. 1995, 72, 21–37. [Google Scholar] [CrossRef]
  26. Kabanikhin, S.; Shishlenin, M. Quasi-solution in inverse coefficient problems. J. Inverse Ill-Posed Probl. 2008, 16, 705–713. [Google Scholar] [CrossRef]
  27. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. An Introduction to Statistical Learning: With Applications in R; Springer Publishing Company, Incorporated: New York, NY, USA, 2014. [Google Scholar]
  28. Brunton, S.L.; Kutz, J.N. Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control; Cambridge University Press: Cambridge, UK, 2019. [Google Scholar] [CrossRef]
  29. Topal, I. HemodynamicsDiscovery. Source Code Supporting Our Findings. 2025. Available online: https://github.com/lffrrnt/HemodynamicsDiscovery (accessed on 2 March 2026).
  30. Kaiser, E.; Kutz, J.N.; Brunton, S.L. Sparse identification of nonlinear dynamics for model predictive control in the low-data limit. Proc. R. Soc. A Math. Phys. Eng. Sci. 2018, 474, 20180335. [Google Scholar] [CrossRef]
  31. Thaler, S.; Paehler, L.; Adams, N.A. Sparse identification of truncation errors. J. Comput. Phys. 2019, 397, 108851. [Google Scholar] [CrossRef]
  32. Zhang, L.; Schaeffer, H. On the Convergence of the SINDy Algorithm. Multiscale Model. Simul. 2019, 17, 948–972. [Google Scholar] [CrossRef]
  33. Lagergren, J.H.; Nardini, J.T.; Michael Lavigne, G.; Rutter, E.M.; Flores, K.B. Learning partial differential equations for biological transport models from noisy spatio-temporal data. Proc. R. Soc. A Math. Phys. Eng. Sci. 2020, 476, 20190800. [Google Scholar] [CrossRef]
  34. Nardini, J.T.; Lagergren, J.H.; Hawkins-Daarud, A.; Curtin, L.; Morris, B.; Rutter, E.M.; Swanson, K.R.; Flores, K.B. Learning Equations from Biological Data with Limited Time Samples. Bull. Math. Biol. 2020, 82, 119. [Google Scholar] [CrossRef]
  35. Reinbold, P.A.K.; Gurevich, D.R.; Grigoriev, R.O. Using noisy or incomplete data to discover models of spatiotemporal dynamics. Phys. Rev. E 2020, 101, 010203. [Google Scholar] [CrossRef]
  36. Reinbold, P.A.K.; Kageorge, L.M.; Schatz, M.F.; Grigoriev, R.O. Robust learning from noisy, incomplete, high-dimensional experimental data via physically constrained symbolic regression. Nat. Commun. 2021, 12, 3219. [Google Scholar] [CrossRef]
  37. Hirsh, S.M.; Barajas-Solano, D.A.; Kutz, J.N. Sparsifying priors for Bayesian uncertainty quantification in model discovery. R. Soc. Open Sci. 2022, 9, 211823. [Google Scholar] [CrossRef] [PubMed]
  38. Fasel, U.; Kutz, J.N.; Brunton, B.W.; Brunton, S.L. Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control. Proc. R. Soc. A Math. Phys. Eng. Sci. 2022, 478, 20210904. [Google Scholar] [CrossRef]
  39. Goyal, P.; Benner, P. Discovery of nonlinear dynamical systems using a Runge-Kutta inspired dictionary-based sparse regression approach. Proc. R. Soc. A Math. Phys. Eng. Sci. 2022, 478, 20210883. [Google Scholar] [CrossRef]
  40. Lejarza, F.; Baldea, M. Data-driven discovery of the governing equations of dynamical systems via moving horizon optimization. Sci. Rep. 2022, 12, 11836. [Google Scholar] [CrossRef]
  41. Delahunt, C.B.; Kutz, J.N. A Toolkit for Data-Driven Discovery of Governing Equations in High-Noise Regimes. IEEE Access 2022, 10, 31210–31234. [Google Scholar] [CrossRef]
  42. Cortiella, A.; Park, K.C.; Doostan, A. A Priori Denoising Strategies for Sparse Identification of Nonlinear Dynamical Systems: A Comparative Study. J. Comput. Inf. Sci. Eng. 2022, 23, 011004. [Google Scholar] [CrossRef]
  43. Anjos, L.d.; Naozuka, G.T.; Volpatto, D.T.; Godoy, W.A.C.; Costa, M.I.d.S.; Almeida, R.C. A new modelling framework for predator-prey interactions: A case study of an aphid-ladybeetle system. Ecol. Inform. 2023, 77, 102168. [Google Scholar] [CrossRef]
  44. Brummer, A.B.; Xella, A.; Woodall, R.; Adhikarla, V.; Cho, H.; Gutova, M.; Brown, C.E.; Rockne, R.C. Data driven model discovery and interpretation for CAR T-cell killing using sparse identification and latent variables. Front. Immunol. 2023, 14, 1115536. [Google Scholar] [CrossRef]
  45. Gutierrez-Vilchis, A.; Perfecto-Avalos, Y.; Garcia-Gonzalez, A. Modeling bacteria pairwise interactions in human microbiota by Sparse Identification of Nonlinear Dynamics (SINDy)*. In Proceedings of the 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Sydney, Australia, 24–27 July 2023; pp. 1–4. [Google Scholar] [CrossRef]
  46. Prokop, B.; Gelens, L.; Pelz, P.F.; Friesen, J. Challenges in identifying simple pattern-forming mechanisms in the development of settlements using demographic data. Phys. Rev. E 2023, 107, 064305. [Google Scholar] [CrossRef]
  47. Prokop, B.; Gelens, L. From biological data to oscillator models using SINDy. iScience 2024, 27, 109316. [Google Scholar] [CrossRef]
  48. Fung, L.; Fasel, U.; Juniper, M. Rapid Bayesian identification of sparse nonlinear dynamics from scarce and noisy data. Proc. R. Soc. A Math. Phys. Eng. Sci. 2025, 481, 20240200. [Google Scholar] [CrossRef]
  49. Gerardos, A.; Ronceray, P. Principled model selection for stochastic dynamics. Phys. Rev. Lett. 2025, 135, 167401. [Google Scholar] [CrossRef] [PubMed]
  50. Topal, I.; Eroglu, D. Reconstructing Network Dynamics of Coupled Discrete Chaotic Units from Data. Phys. Rev. Lett. 2023, 130, 117401. [Google Scholar] [CrossRef]
  51. de Silva, B.M.; Champion, K.; Quade, M.; Loiseau, J.C.; Kutz, J.N.; Brunton, S.L. PySINDy: A Python package for the sparse identification of nonlinear dynamical systems from data. J. Open Source Softw. 2020, 5, 2104. [Google Scholar] [CrossRef]
  52. Kaptanoglu, A.A.; de Silva, B.M.; Fasel, U.; Kaheman, K.; Goldschmidt, A.J.; Callaham, J.; Delahunt, C.B.; Nicolaou, Z.G.; Champion, K.; Loiseau, J.C.; et al. PySINDy: A comprehensive Python package for robust sparse system identification. J. Open Source Softw. 2022, 7, 3994. [Google Scholar] [CrossRef]
  53. Kaheman, K.; Kutz, J.N.; Brunton, S.L. SINDy-PI: A robust algorithm for parallel implicit sparse identification of nonlinear dynamics. Proc. R. Soc. A Math. Phys. Eng. Sci. 2020, 476, 20200279. [Google Scholar] [CrossRef]
  54. Mehta, P.; Bukov, M.; Wang, C.H.; Day, A.G.; Richardson, C.; Fisher, C.K.; Schwab, D.J. A high-bias, low-variance introduction to Machine Learning for physicists. Phys. Rep. 2019, 810, 1–124. [Google Scholar] [CrossRef]
  55. Zhu, C.; Byrd, R.H.; Lu, P.; Nocedal, J. Algorithm 778: L-BFGS-B: Fortran Subroutines for Large-Scale Bound-Constrained Optimization. ACM Trans. Math. Softw. 1997, 23, 550–560. [Google Scholar] [CrossRef]
  56. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  57. Raschka, S. MLxtend: Providing machine learning and data science utilities and extensions to Python’s scientific computing stack. J. Open Source Softw. 2018, 3, 638. [Google Scholar] [CrossRef]
  58. Wolfram Research, Inc. Mathematica; Version 14.1; Wolfram Research, Inc.: Champaign, IL, USA, 2024. [Google Scholar]
  59. van Zijl, P.C.; Eleff, S.M.; Ulatowski, J.A.; Oja, J.M.; Uluǧ, A.M.; Traystman, R.J.; Kauppinen, R.A. Quantitative assessment of blood flow, blood volume and blood oxygenation effects in functional magnetic resonance imaging. Nat. Med. 1998, 4, 159–167. [Google Scholar] [CrossRef]
  60. Lee, D.C.; Simonetti, O.P.; Harris, K.R.; Holly, T.A.; Judd, R.M.; Wu, E.; Klocke, F.J. Magnetic Resonance Versus Radionuclide Pharmacological Stress Perfusion Imaging for Flow-Limiting Stenoses of Varying Severity. Circulation 2004, 110, 58–65. [Google Scholar] [CrossRef] [PubMed]
  61. Schuchardt, F.; Schroeder, L.; Anastasopoulos, C.; Markl, M.; Bäuerle, J.; Hennemuth, A.; Drexl, J.; Valdueza, J.M.; Mader, I.; Harloff, A. In vivo analysis of physiological 3D blood flow of cerebral veins. Eur. Radiol. 2015, 25, 2371–2380. [Google Scholar] [CrossRef]
  62. Errico, C.; Pierre, J.; Pezet, S.; Desailly, Y.; Lenkei, Z.; Couture, O.; Tanter, M. Ultrafast ultrasound localization microscopy for deep super-resolution vascular imaging. Nature 2015, 527, 499–502. [Google Scholar] [CrossRef] [PubMed]
  63. Morgan, A.G.; Thrippleton, M.J.; Wardlaw, J.M.; Marshall, I. 4D flow MRI for non-invasive measurement of blood flow in the brain: A systematic review. J. Cereb. Blood Flow Metab. 2020, 41, 206–218. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Examples of time series for blood flow velocity (A,C) and pressure (B,D) in clinical data before, during, and after surgery: patient with an arterial aneurysm (A,B), and patient with an arteriovenous malformation (C,D). The pressure and velocity values (vertical axes) are demeaned and span five cardiac cycles (Section 2.1).
Figure 1. Examples of time series for blood flow velocity (A,C) and pressure (B,D) in clinical data before, during, and after surgery: patient with an arterial aneurysm (A,B), and patient with an arteriovenous malformation (C,D). The pressure and velocity values (vertical axes) are demeaned and span five cardiac cycles (Section 2.1).
Ai 07 00105 g001
Figure 2. Examples of fitting with various sparsity thresholds η . For illustration, we select one AA (A) and one AVM (B) patient, whose models display the worst match between the simulations and experiments. NRMSEs averaged over all AA (C) and AVM (D) patients summarize the overall performance of the learned model (orange bars, standard deviation shown by whiskers). Computational time in (C,D) is reported for the patients in (A,B) (blue bars, average over several runs).
Figure 2. Examples of fitting with various sparsity thresholds η . For illustration, we select one AA (A) and one AVM (B) patient, whose models display the worst match between the simulations and experiments. NRMSEs averaged over all AA (C) and AVM (D) patients summarize the overall performance of the learned model (orange bars, standard deviation shown by whiskers). Computational time in (C,D) is reported for the patients in (A,B) (blue bars, average over several runs).
Ai 07 00105 g002
Figure 3. Examples of pressure–velocity diagrams before (blue), during (orange) and after (green) surgery for time series of a patient with an arterial aneurysm (AC) and with an arteriovenous malformation (DF). We simulate Equation (3) for each patient by using the initial condition of the experimental pressure.
Figure 3. Examples of pressure–velocity diagrams before (blue), during (orange) and after (green) surgery for time series of a patient with an arterial aneurysm (AC) and with an arteriovenous malformation (DF). We simulate Equation (3) for each patient by using the initial condition of the experimental pressure.
Ai 07 00105 g003
Figure 4. Reproducibility of AA patients’ parameter values. (A) Example of splitting in half the pressure trajectory taken from an AA patient before surgery. First, we infer parameters from each part (blue and orange trajectories) independently, and then from the whole time series. (B) The maximum relative difference of model parameters learned from the two halves shown in (A) (blue and orange) with respect to the values inferred from the entire series, emphasizing the reproducibility of our results.
Figure 4. Reproducibility of AA patients’ parameter values. (A) Example of splitting in half the pressure trajectory taken from an AA patient before surgery. First, we infer parameters from each part (blue and orange trajectories) independently, and then from the whole time series. (B) The maximum relative difference of model parameters learned from the two halves shown in (A) (blue and orange) with respect to the values inferred from the entire series, emphasizing the reproducibility of our results.
Ai 07 00105 g004
Figure 5. Forecasting performance of Equation (3). We split the pressure time series into training and test sets. Simulations of the model with parameter values learned from the training sets of various lengths are compared with the time series of the test set. (A) An example of splitting an AA patient’s pressure time series. The training sets (solid blue line) are delimited by the red vertical lines. The last cardiac cycle (dashed blue line), kept as the test set, is compared with the simulated model (solid black line). Averaged NRMSE of the simulated pressure on a test set of a single cardiac cycle across all AA patients indicates negligible changes in the accuracy with the increasing size of the training set, which expectedly offsets the computational cost (B). The orange whiskers in (B) indicate the standard deviation over all AA patients.
Figure 5. Forecasting performance of Equation (3). We split the pressure time series into training and test sets. Simulations of the model with parameter values learned from the training sets of various lengths are compared with the time series of the test set. (A) An example of splitting an AA patient’s pressure time series. The training sets (solid blue line) are delimited by the red vertical lines. The last cardiac cycle (dashed blue line), kept as the test set, is compared with the simulated model (solid black line). Averaged NRMSE of the simulated pressure on a test set of a single cardiac cycle across all AA patients indicates negligible changes in the accuracy with the increasing size of the training set, which expectedly offsets the computational cost (B). The orange whiskers in (B) indicate the standard deviation over all AA patients.
Ai 07 00105 g005
Figure 6. Decision boundaries of the logistic classifier Equation (12) in the 3-dimensional feature space of parameters a, b, and ϵ from Equation (3). These boundaries separate the regions of 5 AA patients (blue circles, blue area in (A)) and 5 AVM patients (orange circles, orange area in (B)) before the surgery from the same patients’ data after the surgery (green circles, green area in (C)). The decision boundaries between these three classes are constructed by using Wolfram Mathematica [58].
Figure 6. Decision boundaries of the logistic classifier Equation (12) in the 3-dimensional feature space of parameters a, b, and ϵ from Equation (3). These boundaries separate the regions of 5 AA patients (blue circles, blue area in (A)) and 5 AVM patients (orange circles, orange area in (B)) before the surgery from the same patients’ data after the surgery (green circles, green area in (C)). The decision boundaries between these three classes are constructed by using Wolfram Mathematica [58].
Ai 07 00105 g006
Figure 7. Decision boundaries of pathology classification by logistic regression. Decision boundaries of the logistic classifier Equation (12) are projected onto the a b -, ϵ a -, and ϵ b -planes cutting the third axis of the full 3-dimensional feature space at the mean values of the parameters ϵ , b, and a over all patients’ data, respectively. The full dataset contains model parameters based on 5 AA patients and 5 AVM patients before surgery, and the same patients’ data after the surgery. The decision boundaries between these three classes are constructed by using the MLxtend [57] Python module.
Figure 7. Decision boundaries of pathology classification by logistic regression. Decision boundaries of the logistic classifier Equation (12) are projected onto the a b -, ϵ a -, and ϵ b -planes cutting the third axis of the full 3-dimensional feature space at the mean values of the parameters ϵ , b, and a over all patients’ data, respectively. The full dataset contains model parameters based on 5 AA patients and 5 AVM patients before surgery, and the same patients’ data after the surgery. The decision boundaries between these three classes are constructed by using the MLxtend [57] Python module.
Ai 07 00105 g007
Figure 8. Comparison of NRMSE between the Equations (3) fitted with SINDy and (1) fitted with the original inverse-problem technique from [15,16] (2016) over five cardiac cycles per each AA and AVM patient data.
Figure 8. Comparison of NRMSE between the Equations (3) fitted with SINDy and (1) fitted with the original inverse-problem technique from [15,16] (2016) over five cardiac cycles per each AA and AVM patient data.
Ai 07 00105 g008
Table 1. Performance of pathology classifier in the grouped leave-two-out cross-validation.
Table 1. Performance of pathology classifier in the grouped leave-two-out cross-validation.
AAAVMTreated Vessel
Recall 0.62 ± 0.46 0.49 ± 0.47 0.79 ± 0.29
Precision 0.62 ± 0.46 0.42 ± 0.43 0.88 ± 0.24
Table 2. Row-normalized confusion matrix of the pathology classifier averaged over 45 folds of the data for the grouped leave-two-out cross-validation.
Table 2. Row-normalized confusion matrix of the pathology classifier averaged over 45 folds of the data for the grouped leave-two-out cross-validation.
AAAVMTreated Vessels
AA0.800.200.00
AVM0.180.620.20
Treated vessels0.010.200.79
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Topal, I.; Cherevko, A.; Bugai, Y.; Shishlenin, M.; Barbier, J.; Eroglu, D.; Roldán, É.; Belousov, R. Data-Driven Modeling and Classification of Brain Blood-Flow Pathologies. AI 2026, 7, 105. https://doi.org/10.3390/ai7030105

AMA Style

Topal I, Cherevko A, Bugai Y, Shishlenin M, Barbier J, Eroglu D, Roldán É, Belousov R. Data-Driven Modeling and Classification of Brain Blood-Flow Pathologies. AI. 2026; 7(3):105. https://doi.org/10.3390/ai7030105

Chicago/Turabian Style

Topal, Irem, Alexander Cherevko, Yuriy Bugai, Maxim Shishlenin, Jean Barbier, Deniz Eroglu, Édgar Roldán, and Roman Belousov. 2026. "Data-Driven Modeling and Classification of Brain Blood-Flow Pathologies" AI 7, no. 3: 105. https://doi.org/10.3390/ai7030105

APA Style

Topal, I., Cherevko, A., Bugai, Y., Shishlenin, M., Barbier, J., Eroglu, D., Roldán, É., & Belousov, R. (2026). Data-Driven Modeling and Classification of Brain Blood-Flow Pathologies. AI, 7(3), 105. https://doi.org/10.3390/ai7030105

Article Metrics

Back to TopTop