Figures
Abstract
The hepatitis C virus is a significant global health concern and a major cause of chronic liver disease. Therefore, developing a mathematical model is essential for understanding, controlling and managing its transmission dynamics. In this paper, we developed a mathematical model and simulated the dynamics of transmission of the hepatitis C virus, considering alcohol use, a key factor contributing to increased damage to the liver of infected individuals. Computational investigation of nonlinear biological models by traditional numerical solvers is challenging due to their nonlinearity and inherent complexity. Furthermore, we proposed a deep learning-based technique to solve the nonlinear differential equations governing the model for transmission of the hepatitis C virus in six compartments. The proposed deep learning-based model is compared with other established methods like the Runge-Kutta method and Livermore solver for ordinary differential equations algorithm to validate its efficacy and accuracy in predicting hepatitis C dynamics. The basic reproduction number, R0, is calculated and stability is analyzed at both the disease-free and endemic equilibrium points. Sensitivity analysis is performed to determine key parameters that contribute to hepatitis C transmission. The results indicate that the proposed approach is an efficient and robust solution with better convergence and stability than existing methods. This study highlights the potential of deep learning methods in epidemiology as a promising tool for predicting and controlling infectious diseases such as hepatitis C, particularly in the presence of behavioral risk factors such as alcohol consumption.
Citation: Mannan A, Rahman JU, Alzahrani E, Fiidow OA (2026) A data-driven approach to hepatitis C forecasting using machine learning and epidemiological models. PLoS One 21(8): e0357173. https://doi.org/10.1371/journal.pone.0357173
Editor: Mirza Mienur Meher, Gazipur Agricultural University, BANGLADESH
Received: May 11, 2025; Accepted: August 13, 2026; Published: August 31, 2026
Copyright: © 2026 Mannan et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data are in the manuscript. We confirm that all the author-generated code supporting the findings of our manuscript has been made publicly available without restrictions. The code can be accessed at the following link: https://github.com/jamshaidwarraich/ODNN.
Funding: The author(s) received no specific funding for this work.
Competing interests: The authors declare that they have no conflicts of interest.
Introduction
Hepatitis C is a significant health burden on the health systems of the world because of the development of potentially life-threatening conditions if the disease is not treated [1]. Despite considerable advances on the fronts of diagnosis and treatment, millions of people are infected with undetected or undertreated disease [2]. The most vulnerable populations, and especially the poorest sections of society in the poorest countries, have the highest disease burden as a result of minimal availability of medical resources and public health measures [3]. Pakistan, Egypt, and China have reported especially large numbers of cases, stressing the vital necessity of increased prevention and intervention measures [4].
Initiatives towards curbing the outbreak and effects of the virus have progressed through enhanced diagnostic methods and increasingly accessible antiviral drugs. International health agencies have established lofty goals of drastically lowering infection rates and accompanying fatalities over the next decade. At the heart of these aspirations stand mass screening, timely detection, and effective treatment protocols among susceptible populations [5]. Mathematical and computational models are of fundamental importance for predicting the trends of infection and designing effective health policies, enabling a more systematic approach to combating the epidemic [6].
Chronic alcohol use accelerates the development of liver injury in hepatitis C-infected individuals towards the development of severe liver disease [7,8]. Evidence shows that alcohol abusers have a higher likelihood of developing advanced liver fibrosis and cirrhosis than non-users [9]. Alcohol use and infection by HCV coexist for most cases, especially among those who have pre-existing liver conditions [10]. Alcohol use and disease management are made more complex by this comorbidity and present a formidable barrier towards the delay of hepatic damage progression, especially among populations where alcohol use is common [11].
Additionally, alcohol consumption seems to impair the success of antiviral therapies for the treatment of hepatitis C infection [12]. While the precise relationship is intricate, evidence indicates that heavy drinkers have weaker responses towards interferon-based regimens. Long-term alcohol abstinence, on the other hand, appears to be linked with enhanced therapeutic outcomes [13]. Some studies point towards the fact that alcohol abstinence over time augments the likelihood of a sustained virologic response (SVR), emphasizing the necessity of integrated treatment regimens that cover substance abuse as well as viral eradication [14].
Our model assumptions are reinforced by biological evidence indicating that high alcohol consumption exacerbates liver damage in individuals with HCV, leading to a higher likelihood of progression to chronic disease [15]. The model itself is a modification of existing compartmental models, specifically adapted to incorporate the effects of alcohol consumption on HCV transmission dynamics. The present research was carried out to determine the impact of low- and high-quantity alcohol consumption on patients infected with HCV. The mathematical model SFBHCR consists of six coupled nonlinear differential equations. Finding simulations of this type of ODE system is challenging. Artificial neural networks (ANNs), which are computationally effective approaches, can be used to determine the simulations of these differential equations.
According to the universal approximation theorem, every continuous function can be accurately approximated to an arbitrary level by a neural network having at least one hidden layer with a finite number of neurons and a nonlinear activation function [16]. A feedback mechanism, which is also called a backpropagation algorithm [17,18], is utilised by neural networks. Based on the discrepancy between the network’s actual and expected output, each unit’s weights are modified. These methods have continuous and differentiable solutions, show good interpolation features, and use less memory [19,20]. The necessity to retain just the weights of the neural network makes it less memory-intensive.
Once trained, the neural network provides a closed-form solution, allowing the answer to be recovered at any point within the solution domain. Having an easy-to-use application that helps researchers quickly set up and solve issues would be tremendously helpful, especially given the interest in developing neural networks to solve differential equations. Universal function approximators are multilayer perceptrons, the most basic kind of artificial neural networks (ANNs) [21]. This suggests that using ANNs to simulate the differential equations would be feasible. Previous studies have demonstrated that ANNs may simulate ordinary differential equations (ODEs) under certain initial/boundary conditions [22]. The inverse partial differential equations are simulated using ANNs [23–25], and partial differential equations in large dimensions are simulated [26,27]. Enforcing continuous symmetries in neural networks with knowledge of physics to solve forward and inverse PDE issues [28].
The neural network method is used for the parameter estimation of fractional discrete-time unified systems [29]. An artificial neural network framework for estimating the ideal value of the stabilisation parameter has been suggested [30]. Explain and illustrate the perceptron convergence technique for complex multivalued neural networks (BMVNNs), as well as several other important discoveries in the science of neural networks based on complex algebra [31]. Multi-layer neural networks are used to learn fractional difference equations through data-driven techniques [32]. Recently, researchers have addressed the Ebola virus disease model with a non-linear incidence rate using a Morlet wavelet neural network [33–35] and AI framework for opportunistic screening, staging, and progression risk stratification of steatotic liver disease [36]. Deep learning-based techniques have been used for the computational investigation and modelling of Marburg virus epidemics for health care [37] and the Van der Pol-Mathieu-Duffing oscillator model [38]. ANNs are utilised in the simulation and approximation of the biophysical model [39]. A deep neural network (DNN) is a special type of artificial neural network having two or more hidden layers.
Applications for deep neural networks in science and engineering are numerous and include voice recognition, picture processing, handwriting analysis, signature verification, and stock market forecasting, reflecting their role as interpretable deep learning models in modern computational systems [40]. The discretization of the domain is a necessary step in traditional approaches like the finite volume method (FVM), the Adams-Bashforth-Moulton approach [41], the finite element method (FEM), the finite difference method (FDM) [42], and the Runge-Kutta forward-backward sweep approach [43]. This is a challenging task that becomes more difficult with higher dimensions. Even though the DNNs approach does not require the discretization of the domain or use a mesh, it helps to mitigate some of the shortcomings of more conventional numerical methods. Fig 1 illustrates the architecture of the DNN, which consists of n hidden layers, each of which has n collaborating neurons. There is a single input layer, two or more hidden layers, and a single output layer in this network.
This paper investigates the transmission dynamics of the hepatitis C virus (HCV) using an oscillatory deep neural network-based approach, employing the SFBHCR model. The paper is structured as follows: Section outlines the mathematical modelling of a nonlinear coupled mathematical model for HCV transmission in the context of alcohol consumption. Section discusses the virus-free equilibrium point, the endemic equilibrium point, and the basic reproduction number R0. Stability analyses at both equilibrium points are examined in Section. Section consists of sensitivity analysis, which is conducted to identify the most influential parameters in the model. In Section, the proposed methodology is explained, including the architecture of oscillatory deep neural networks (ODNNs) and an algorithm detailing how ODNNs simulate the HCV transmission model. Section presents a numerical analysis of the HCV transmission model, comparing the outputs of the model using ODNNs against the RK4 method and the LSODA algorithm. Finally, Section summarises the conclusions drawn from the study and future direction.
Model formulation
A mathematical model was constructed to describe the recovery dynamics of HCV-infected individuals as a function of alcohol intake. The model classifies individuals according to the alcohol they drink: those who take small quantities of alcohol (less than one shot) and those who take large quantities (more than one shot). As illustrated by Fig 2, the model follows the dynamics of the movement of the individuals between various compartments.
New susceptible individuals are added into the model at a rate of . Individuals who take alcohol at the lower level move into the F compartment at a transition rate of
, and those who are heavy drinkers move into the B compartment at the rate of
. The transitions from S to F at rate
and from S to B at rate
represent behavioral shifts influenced by social and environmental factors rather than direct infection.
Alcohol consumption, driven by peer pressure or personal choices, increases engagement in risky behaviors such as needle sharing or unprotected contact, which heightens HCV transmission risk. Biologically, excessive alcohol weakens the immune system, making individuals more susceptible to infections. These transitions reflect how individuals gradually move into higher risk categories, even without initial exposure to the virus. Thus, the model captures an indirect but significant pathway that contributes to the spread of HCV. The transitions from F and B to H at rates and
are biologically justified by the strong correlation between alcohol use and high-risk behaviors leading to HCV transmission.
Studies show that alcohol consumption significantly increases the likelihood of engaging in unsafe practices, such as needle sharing, unprotected contact, or other risky behaviors that directly expose individuals to HCV. In addition, alcohol impairs judgment and decision-making, further increasing the probability of infection. These transitions explain the epidemiological reality that individuals in F and B have a higher probability of contracting HCV due to behavioral risks rather than direct force of infection alone. Thus, and
reflect the real-world pathways through which alcohol consumption indirectly but substantially contributes to the acquisition of HCV.
Susceptible (S) move into the hyperacute compartment (H) at the rate . The small alcohol drinkers (F) have the option of transiting into the large alcohol drinkers (B) at the rate
, while the large alcohol drinkers (B) have the ability of decreasing the quantity of alcohol they intake and coming back into the category of small alcohol drinkers (F) at the rate
. The hyperacute compartment (H) progresses to the chronic compartment (C) at the rate
. The chronic compartment (C) recovers at the rate
. Recovered compartment (R) individuals may return to susceptibility at rate
. D and
refer to the “new recruitment rate” and the “death rate,” respectively. The model of the system represented by Fig 2 is as follows:
where with S > 0,
,
,
,
,
and S + F + H + B + C + R = N.
represents the recruitment rate of susceptible individuals into the population, which biologically accounts for new individuals entering the system through birth or immigration. It determines the influx of susceptible who may later become infected, impacting HCV transmission dynamics. Tables 1 and 2 explain the parameters of the SFBHCR model. By adding the above system of Eq 1 and we get,
Therefore, Eq 4 shows the viable area for the above systme of Eq 1 is,
Dimensional analysis of model
For verification of the accuracy and uniformity of the presented model, we now do a dimensional system of Eq 1 analysis. Analysis ensures that all the terms in every differential equation are dimensionally homogeneous, required for the biological interpretability of the model.
The state variables all represent the number of individuals. Accordingly, the dimensions of the state variables are
The dimensions of the model’s parameters are given as:
First of all, consider the susceptible compartment:
On the left-hand side, (). All of the terms on the right-hand side also have the same dimension
.
Recalling the test on the remaining compartments (F, B, H, C, R) establishes that all of the terms in the system are dimensionally consistent. Thus, system of Eq 1 is dimensionally homogeneous, both sides of every equation in (). This attests to the mathematical stability and biological importance of the model.
Equilibrium analysis
By using stability analysis, which is based on the system of Eq. 1, the disease-free equilibrium point can be found. System of Eq 1 must all equal zero to determine the equilibrium point, which means:
Now, we determined disease free equilibrium and endemic equilibrium points
Virus free equilibrium point
The equilibrium points of a Virus free state are those points where disease does not spread, which are F = 0, B = 0, H = 0 and C = 0. After solving the system of Eq 5, we determine the Virus free equilibrium point that is .
Endemic equilibrium point
After solving the system of Eq 5, we determine the endemic equilibrium point that is given by Eq 6,
where
and
Z = {,
,
,
,
,
,
,
,
,
,
,
,
,
,
.
The basic reproduction number, R0, is a key epidemiological threshold parameter used to characterize the dynamics of the endemic model. It represents the average number of secondary infections produced by a single infectious individual in a completely susceptible population. The value of R0 governs the qualitative behavior of disease transmission. In particular, if R0 < 1, the disease will eventually die out, whereas if R0 > 1, the disease persists and becomes endemic in the population. Consequently, public health interventions such as vaccination, treatment strategies, and quarantine measures are often designed and evaluated based on the magnitude of R0. Theorem 1 proves the disease-free equilibrium’s stability by showing eradication of the infection as a result of keeping R0 < 1. Through the next generation matrix method [45,46], R0 equals the spectral radius of the matrix gq-1, where g and q are the Jacobians of G and Q, respectively. Let the state of the system be defined as Y = (S, F, B, H, C, R).
Therefore,
where Q(x) indicates how people move among compartments and G(X) indicates the rate at which new cases of infection are produced. This gives us
At virus free equilibrium point , the derivatives of G and Q are now calculated, obtaining matrices g and q which are:
and
Thus, the required basic reproduction number is given by Eq 7
where,
,
,
,
,
,
and
are given in Eq 6.
Stability analysis
This section contains the model’s stability analysis. It is now needed to determine the Jacobian matrix based on system Eq 1 to examine stability. First, we find the Jacobian matrix at the virus free equilibrium point that is:
The jacobian matrix J(P1) have the following eigenvalues:
It should be noted that in the proposed model, all the parameters are taken to be positive. With this, all the eigenvalues ,
,
,
,
, and
of the Jacobian matrix J(P1) have negative real parts. It implies that R0 < 1 and the disease-free equilibrium P1 is locally asymptotically stable. Stability at the disease-free state thus ensures that there can be no outbreak or pandemic risk in the population.
Now, we find the Jacobian matrix at the endemic equilibrium point that is:
where are given in Eq 6. Now, we determine the characteristic equation of the matrix J(P2). Hence, the characteristic equation is given by Eq 14
with
,
,
.
Calculated the values of the coefficients by substituting parametric values given in Table 1. We get b0 = 1.0206, b1 = 0.7377, b2 = 0.006. Solving Eq 8 determined two solutions or
which meets Routh-Hurwitz criteria (if real roots of the characteristic equation have negative sign then the system is stable)[47]. Hence, P2 is locally asymptotically stable.
Sensitivity analysis
The significance of each parameter in influencing the dynamics of disease transmission is analyzed through sensitivity analysis. This method helps identify key factors that have a substantial impact on the basic reproduction number R0. Specifically, the normalized forward sensitivity index of a variable with respect to a parameter quantifies the ratio of the relative change in the variable to the relative change in the parameter [48]. The normalized forward sensitivity index of R0, which is differentiable with respect to a parameter , is given by:
This index measures the relative change in the basic reproduction number R0 in response to a relative change in each parameter. It provides important insights into the sensitivity of R0 to parameter variations, facilitating the evaluation of each parameter’s impact on disease transmission dynamics. The computed sensitivity indices are given in Table 3 and graphically presented in Fig 3, demonstrating how the model outcomes respond to changes in parameters based on the baseline values given in Table 2. A positive sensitivity index indicates that an increase in the parameter leads to an increase in R0, whereas a negative value signifies that an increase in the parameter results in a decrease in R0. These sensitivity indices help determine the direction of R0 changes with respect to each parameter, aiding in the development of targeted intervention strategies for disease control. e development of targeted intervention strategies for disease control.
The sensitivity analysis results in Table 3 provide important epidemiological insights into the transmission dynamics of hepatitis C virus under alcohol consumption. The parameters ,
,
, and
exhibit negative sensitivity indices, indicating that increasing these parameters leads to a reduction in the basic reproduction number R0, thereby contributing to disease control. In particular, the natural death rate
shows the strongest negative influence, suggesting that factors reducing the average infectious lifespan significantly suppress disease transmission. Similarly, transition rates such as
,
, and
reflect movement between behavioral and infected compartments, and their negative sensitivity highlights the role of reduced high-risk progression in lowering infection spread.
On the other hand, positive sensitivity indices are observed for parameters such as ,
, and
, indicating that increases in these parameters may contribute to an increase in R0. In particular,
plays a key role in moving individuals from susceptibility into alcohol consumption related compartments, thereby indirectly increasing infection risk. The recovery related parameter
and the relapse parameter
also show positive contributions, suggesting that reinfection or loss of immunity may sustain transmission dynamics. Overall, these results identify key leverage points for intervention strategies, emphasizing that controlling alcohol related transitions and improving sustained recovery can significantly reduce hepatitis C transmission.
Proposed methodology
In this section, we have examined our proposed methodology and the architecture of ODNNs, including an exploration of mean square error (MSE) employed within ODNNs to measure the disparity between actual and predicted values. Furthermore, we will explore how ODNNs simulate the SFBHCR alcohol model.
Neural networks method
Consider t belonging to D, a subset of the real numbers , and Eq. 16 express the differential equation in its general form as:
In this context, t serves as the independent variable of the differential equation, while v(t) represents its solution. To address ordinary differential equations (ODEs) using neural networks, a trial solution is often formulated. The objective of this trial solution lies in fulfilling the prescribed initial and boundary conditions. Typically, the following general form given in Eq 17 is employed in its formulation.
The neural network output, denoted as N(t,r), where t denotes time and r represents parameters (including weights and biases). Additionally, the form of the specific ordinary differential equation determines the functions F(t, N(t,r)) and Z(t), which fulfil the initial or boundary conditions appropriately. The neural network adjusts its weights and biases iteratively to minimize error and approximate the solution to the problem. Utilizing mean squared error, it computes and applies necessary adjustments to minimize the error effectively.
DNNs have been shown to effectively solve systems of first-order ordinary differential equations (ODEs) [49]. When dealing with a system given in Eq 18, consisting of m ODEs,
With , i = 1,2,3,...,m. Each differential equation’s trial solution is constructed by Eq 19.
Here, the model’s effectiveness during training is evaluated by computing the average discrepancy between the expected and actual output values. Mean squared error (MSE) serves as a widely employed metric in regression problems [50]. The mathematical expression of MSE is determined by the system of ODEs specified by Eq 20.
ODNNs framework
Using ODNNs to approximate the SFBHCR model for HCV transmission under boozing. The design, as illustrated in Fig 4, comprises building an input layer with initial conditions and model parameters, then three hidden layers, each with 32 neurons, and an output layer that predicts how S, F, B, H, C, and R compartments will change over time. In the hidden layers, we use the sine activation function [50]. In order to improve the network’s ability to capture complex nonlinear dynamics in the SFBHCR model, the sine activation function is employed to enhance transformations between neurons. The choice of oscillatory activation is motivated by the oscillatory nature of biological neural activity, where neuronal firing often exhibits rhythmic behavior. In contrast, standard activation functions such as ReLU and Sigmoid are non-oscillatory and may struggle to represent periodic or wave-like dynamics commonly observed in epidemiological systems [51].
When the underlying dynamics are oscillatory or periodic, the sine function provides a more suitable representation due to its inherent periodicity. Unlike ReLU and Sigmoid, it naturally captures cyclic behavior, leading to improved approximation of nonlinear epidemic processes. Its smoothness, boundedness, and periodic structure contribute to stable and accurate learning in continuous dynamical models. This justifies the use of ODNNs in this study, particularly for epidemiological forecasting problems where conventional machine learning approaches are limited in capturing oscillatory behavior. Additionally, two essential components are integrated into the formulation of the loss function. The boundary/initial condition loss penalizes differences between specified initial conditions and predicted conditions, and the ordinary differential equation Residual loss quantifies deviations between predicted and SFBHCR-derived derivatives for S, F, B, H, C, and R compartments.
The ODNNs train iteratively via data generation, weight initialization, optimization [52] using algorithms such as Adam (adaptive moment estimation), and parameter adjustments through backpropagation [53]. Accuracy and robustness in predicting HCV transmission dynamics are ensured by hyperparameter fine-tuning along with validation using SFBHCR model solutions. For the SFBHCR model, we can build the trial solution as Eq 21.
with S(0)=S0, F(0)=F0, B(0)=B0, H(0)=H0, C(0)=C0, R(0)=R0.
Algorithm
How the SFBHCR model is simulated using ODNNs. The parameters of ODNNs are displayed in Table 4.
- (i). Initialization
- Define the SFBHCR model’s parameters and initial conditions:
,
,
,
,
,
,
,
,
,
,
,
,
.
- (ii). ODNNs Framework Setup
- Input layer
In.
- Hidden Layers
b, w, sine activation
- Output Layer
Out
- (iii). Loss Function Formulation
- Loss
MSE.
- (iv). Training Process
- Generating the training data from SFBHCR model.
- Weights initialization
w,b.
- Optimization
Minimize Loss.
- Update weights
w
w – r.
Loss.
- Update baises
b
b – r.
Loss.
- Update weights
- (v). Prediction and evaluation
- Validation
Use ODNNs for prediction.
- Predicted outputs
Out.
- Evaluation metrics
Accuracy.
- Predicted outputs
- (vi). Hyperparameter Tuning
- Adjusting hyperparameters
Layers, Neurons, Learning rate.
- Validation
Assess the model performance.
The steps for using ODNNs to simulate the SFBHCR model are shown in the above algorithm. The steps in the process are building the ODNNs, specifying the loss function to describe the SFBHCR dynamics, training the network, predicting outcomes, and modifying hyperparameters to enhance model performance.
Numerical results and discussion
In this section, we will elaborate on the simulation outcomes attained through the utilization of the proposed method, ODNNs, and the traditional method, RK4. The values of the parameters given in Table 2. These simulations were conducted to examine the impacts of alcohol. Additionally, a comparison between both methods will be provided, along with a discussion on the advantageous aspects of ODNN, notably its adaptability to various step sizes.
RK4 simulations
Figs 5 and 6 illustrate the outcomes corresponding to two different step sizes, denoted as h. In Fig 5, for a step size of h = 2.1, the Runge-Kutta method of order four (RK4) yields negative values in compartment (F). Conversely, in Fig 6, RK4 yields positive results for smaller step sizes h = 0.1. It is notable that the efficacy of this method is contingent upon the step size and convergence criteria. Consequently, adopting larger step sizes can lead to undesirable outcomes, such as negativity and divergence, which are inherent drawbacks of the traditional RK4 approach.
ODNNs simulations
The ODNNs method operates in a mesh-free manner, obviating the need for domain discretization and offering potential mitigation of certain limitations inherent in conventional numerical techniques such as RK4. Graphical representations validate that the proposed ODNNs approach effectively maintains convergence toward equilibrium points and upholds the essential positivity property.
Fig 7 depicts the simulations of the SFBHCR model of HCV transmission under alcohol consumption, as predicted by the ODNNs method. Within a span of 35 days, 10 individuals from S enter the F compartment. Subsequently, after 145 days, 5 individuals who had commenced alcohol consumption reverted back to the susceptible compartment. Additionally, within 50 days, 8 individuals from S move to the B compartment. Following this, after 150 days, 5 individuals engaged in high alcohol consumption returned to the susceptible compartment. Over a period of 60 days, 5 susceptible people recover from the infection. Furthermore, within 90 days, 7 individuals initially engaged in lower levels of alcohol consumption escalated to high alcohol consumption, and after 170 days, individuals engaged in high alcohol consumption moved to lower levels. Moreover, within 40 days, 10 individuals from H progress to the C compartment. Finally, during a time frame of 80 days, 7 individuals who engaged in lower levels of alcohol consumption recovered from the infection. Within a span of 10 days, 5 individuals exhibiting high levels of alcohol consumption have successfully undergone recovery. Conversely, over the course of 35 days, ten individuals initially diagnosed with acute hepatitis C virus (HCV) have progressed to chronic stages, primarily due to the intricate nature of the disease. It is imperative to note that individuals moving to the chronic phase of HCV are at heightened risk of experiencing health-related complications post-recovery.
In Fig 8, the training and validation loss are depicted. The training loss reflects the performance of the ODNNs on the training set by indicating the disparity between target values and predicted values throughout the training phase. Conversely, the validation loss signifies the performance of the ODNNs on unseen data, utilizing an independent dataset for computation. The trajectories of both training and validation losses illustrate the degree to which the ODNNs approximate solutions of the HCV transmission model. A decreasing trend in both training and validation losses over time suggests that the ODNNs effectively approximate the nonlinear models.
Comparative analysis of simulations
Fig 9 represents the comparison between the simulations obtained by RK4 and ODNNs. The static lines denote the RK4 approach, while the solid lines represent the ODNNs’ approximation. Utilizing RK4 and other numerical methodologies can entail significant computational costs, especially when applied to complex systems.
To substantiate the proposed ODNNs-based approach, an error analysis was conducted, and the model’s accuracy was evaluated, as depicted in Fig 10. The graphical representation involves scrutinizing error fluctuations over time and across compartments. Comparatively, the predictions of the HCV model by ODNNs and RK4 exhibit closer alignment, manifesting in diminished error values. In Fig 10, it is discernible that ODNNs yield superior approximations, as evidenced by the convergence of error values across all compartments towards zero.
We present a comparative analysis of the results achieved using our proposed approach and those obtained through the LSODA algorithm, employing numerical methods such as Adams Bashforth and the Backward Differentiation Formula (BDF). Recently, the LSODA algorithm has been utilized to predict the transmission dynamics of the Marburg virus [54]. The comparison between the simulations obtained using LSODA and ODNNs is illustrated in Fig 11. The static lines represent the LSODA approach, while the solid lines depict the ODNNs’ approximation.
To validate the proposed ODNNs-based approach an error analysis was performed and the model’s accuracy was assessed as shown in Fig 12.
From a practical and policy perspective, the proposed ODNN-based HCV model provides a useful computational framework for evaluating the impact of behavioral and medical interventions on disease transmission. The results demonstrate that alcohol-related behavioral transitions significantly influence the progression toward chronic infection, indicating that effective control strategies must address not only antiviral treatment but also alcohol consumption patterns. In particular, the model can assist public health authorities in assessing the potential effectiveness of intervention strategies such as early screening, awareness campaigns, alcohol reduction programs, and improved treatment adherence before their implementation. Moreover, the ability of the ODNN framework to generate stable and reliable predictions under different parameter settings makes it a valuable decision-support tool for planning and optimizing resource allocation in healthcare systems. Overall, the findings highlight that integrated intervention policies combining medical treatment with behavioral modification are essential for effective long-term control of hepatitis C transmission.
Conclusion
In this paper, we developed a mathematical model of HCV transmission under the effect of boozing. The HCV model consists of six coupled nonlinear differential equations. For computational analysis of the nonlinear HCV model, we proposed an oscillatory deep neural network approach. The sine activation function is used in deep neural networks to investigate the dynamics of the model. The generated results are compared with the Runge-Kutta method and LSODA algorithm to verify the ODNNs’ accuracy. We simulated the nonlinear HCV transmission model using three different approaches and found that the classical Runge-Kutta does not converge to the equilibrium states of the model at each time step and does not preserve the positive characteristic. Even so, the suggested ODNNs approach maintains positivity and is unconditionally convergent.
The basic reproduction number R0 is calculated using the next-generation matrix method. The stability of the model is discussed at both the disease-free and endemic equilibrium points. The disease-free equilibrium point is locally and asymptotically stable. Additionally, a sensitivity analysis is performed to determine the most influential parameters in the model. Our extensive results show that the suggested approach works better than traditional approaches, such as the Runge-Kutta methods, and provides more reliability for epidemiological models. Along with methodological improvement, our research has clear policy implications for public health. The dominant contribution of alcohol-related factors to disease transmission indicates that the prevention of hepatitis C is not merely an issue of medical treatment but also of community-level interventions aimed at lowering alcohol consumption. Our computational method can be modified by policymakers to predict intervention policies and determine the most efficient deployment of resources, which makes this framework a useful tool for evidence-based decision-making.
References
- 1. Bertino G, Ardiri A, Proiti M, Rigano G, Frazzetto E, Demma S, et al. Chronic hepatitis C: This and the new era of treatment. World J Hepatol. 2016;8(2):92–106. pmid:26807205
- 2. Platt L, Easterbrook P, Gower E, McDonald B, Sabin K, McGowan C, et al. Prevalence and burden of HCV co-infection in people living with HIV: a global systematic review and meta-analysis. Lancet Infect Dis. 2016;16(7):797–808. pmid:26922272
- 3.
World Health Organization. Hepatitis C. https://www.who.int/news-room/fact-sheets/detail/hepatitis-c. 2021.
- 4. Mohamed AA, Elbedewy TA, El-Serafy M, El-Toukhy N, Ahmed W, Ali El Din Z. Hepatitis C virus: A global view. World J Hepatol. 2015;7(26):2676–80. pmid:26609344
- 5. Alqhtani M, Saad KM, Zarin R, Khan A, Hamanah WM. Qualitative behavior of a highly non-linear Cutaneous Leishmania epidemic model under convex incidence rate with real data. Math Biosci Eng. 2024;21(2):2084–120. pmid:38454675
- 6. Oguntolu FA, Peter OJ, Yusuf A, Omede BI, Bolarin G, Ayoola TA. Mathematical model and analysis of the soil-transmitted helminth infections with optimal control. Model Earth Syst Environ. 2023;10(1):883–97.
- 7. Fong TL, Kanel GC, Conrad A, Valinluck B, Charboneau F, Adkins RH. Clinical significance of concomitant hepatitis C infection in patients with alcoholic liver disease. Hepatology. 1994;19(3):554–7. pmid:7509769
- 8. Wang Z, Li Y, Wang X, Zhang W, Chen Y, Lu X, et al. Precision Strike Strategy for Liver Diseases Trilogy with Xiao-Chai-Hu Decoction: A Meta-Analysis with Machine Learning. Phytomedicine. 2025;142:156796. pmid:40347886
- 9. Coelho-Little ME, Jeffers LJ, Bernstein DE, Goodman JJ, Reddy KR, de Medina M, et al. Hepatitis C virus in alcoholic patients with and without clinically apparent liver disease. Alcohol Clin Exp Res. 1995;19(5):1173–6. pmid:8561287
- 10. Poynard T, Bedossa P, Opolon P. Natural history of liver fibrosis progression in patients with chronic hepatitis C. The Lancet. 1997;349(9055):825–32.
- 11. Wiley TE, McCarthy M, Breidi L, McCarthy M, Layden TJ. Impact of alcohol on the histological and clinical progression of hepatitis C infection. Hepatology. 1998;28(3):805–9.
- 12. Harris DR, Gonin R, Alter HJ, Wright EC, Buskell ZJ, Hollinger FB, et al. The relationship of acute transfusion-associated hepatitis to the development of cirrhosis in the presence of alcohol abuse. Ann Intern Med. 2001;134(2):120–4. pmid:11177315
- 13. Loguercio C, Di Pierro M, Di Marino MP, Federico A, Disalvo D, Crafa E, et al. Drinking habits of subjects with hepatitis C virus-related chronic liver disease: prevalence and effect on clinical, virological and pathological aspects. Alcohol Alcohol. 2000;35(3):296–301. pmid:10869251
- 14. Teklu SW. Impacts of optimal control strategies on the HBV and COVID-19 co-epidemic spreading dynamics. Sci Rep. 2024;14(1):5328. pmid:38438440
- 15. Walsh K, Alexander G. Alcoholic liver disease. Postgrad Med J. 2000;76(895):280–6. pmid:10775280
- 16. Xiang J, Meng X, Zhao Y, Wu F-X, Li M. HyMM: hybrid method for disease-gene prediction by integrating multiscale module structure. Brief Bioinform. 2022;23(3):bbac072. pmid:35275996
- 17. Hecht-Nielsen R. Theory of the backpropagation neural network. Neural Networks. 1988;1:445.
- 18.
Zisad SN, Hossain MS, Andersson K. Speech emotion recognition in neurological disorders using Convolutional Neural Network. Brain Informatics. Cham, Switzerland: Springer. 2020. p. 287–96. https://doi.org/10.1007/978-3-030-59277-6_26
- 19. Zhou S, Wang S, Wu Q, Azim R, Li W. Predicting potential miRNA-disease associations by combining gradient boosting decision tree with logistic regression. Comput Biol Chem. 2020;85:107200. pmid:32058946
- 20. Liu G, Long J, Liu C, Chen J. Development and verification of a nomogram for predicting portal vein tumor thrombosis in hepatocellular carcinoma. Am J Transl Res. 2024;16(12):7511–20. pmid:39822560
- 21. Hornik K, Stinchcombe M, White H. Multilayer feedforward networks are universal approximators. Neural Networks. 1989;2(5):359–66.
- 22.
Flamant C, Protopapas P, Sondak D. Solving differential equations using neural network solution bundles. 2020. https://arxiv.org/abs/2006.14372
- 23. Ul Rahman J, Danish S, Lu D. Deep Neural Network-Based Simulation of Sel’kov Model in Glycolysis: A Comprehensive Analysis. Mathematics. 2023;11(14):3216.
- 24. Basu A, Bhattacharjee JK. When Hopf meets saddle: bifurcations in the diffusive Selkov model for glycolysis. Nonlinear Dyn. 2022;111(4):3781–95.
- 25. Pakravan S, Mistani PA, Aragon-Calvo MA, Gibou F. Solving inverse-PDE problems with physics-aware neural networks. J Comput Phys. 2021;440:110414.
- 26. Lagari PL, Tsoukalas LH, Safarkhani S, Lagaris IE. Systematic Construction of Neural Forms for Solving Partial Differential Equations Inside Rectangular Domains, Subject to Initial, Boundary and Interface Conditions. Int J Artif Intell Tools. 2020;29(05):2050009.
- 27. Sirignano J, Spiliopoulos K. DGM: A deep learning algorithm for solving partial differential equations. J Comput Phys. 2018;375:1339–64.
- 28. Zhang ZY, Zhang H, Zhang LS, Guo LL. Enforcing continuous symmetries in physics-informed neural network for solving forward and inverse problems of partial differential equations. J Comput Phys. 2023;492:112415.
- 29. Wu Z-Q, Wu G-C, Zhu W. Neural Network Method For Parameter Estimation Of Fractional Discrete-time Unified SystemS. Fractals. 2023;32(01).
- 30. Yadav S, Ganesan S. Artificial neural network-augmented stabilized finite element method. J Comput Phys. 2023;499:112702.
- 31. Alpay D, Diki K, Vajiac M. A note on the complex and bicomplex valued neural networks. Applied Mathematics and Computation. 2023;445:127864.
- 32. Ul Rahman J, Danish S, Lu D. Mathematical modeling and simulation of biophysics systems using neural network. Int J Mod Phys B. 2023;38(5):2450066.
- 33. Mannan A, Shoket N, Ul Rahman J, Uwitije R. Dynamic analysis of ebola virus disease with non-linear incidence rate using morlet wavelet neural networks and hybrid optimization techniques. Model Earth Syst Environ. 2025;11(2).
- 34. Guedri K, Zarin R, Oreijah M, Alharbi SK, Khalifa HAE-W. Artificial neural network-driven modeling of Ebola transmission dynamics with delays and disability outcomes. Comput Biol Chem. 2025;115:108350. pmid:39826237
- 35. Ashraf A, Virk AUR, Ishtiaq U, Samy Mohamed Elwahsh A, Popa I-L. Design of Morlet wavelet neural networks integrated with sequential quadratic programming to analyze the dynamics of Ebola virus disease. Results in Engineering. 2025;26:105396.
- 36. Gao Y, Li C, Chang W, Du B, Ye X, Yeo YH, et al. Multi-modal AI for opportunistic screening, staging and progression risk stratification of steatotic liver disease. Nat Commun. 2026;17(1):1562. pmid:41672973
- 37. Mustafa N, Rahman JU, Ishtiaq U, Popa I-L. Artificial Neural Network-Based Approach for Dynamic Analysis and Modeling of Marburg Virus Epidemics for Health Care. Symmetry. 2025;17(4):578.
- 38. Ali AH, Amir M, Rahman JU, Raza A, Arif GE. Design of Morlet Wavelet Neural Networks for Solving the Nonlinear Van der Pol–Mathieu–Duffing Oscillator Model. Computers. 2025;14(1):14.
- 39. Peng Y, Hu D, Xu ZQJ. A non-gradient method for solving elliptic partial differential equations with deep neural networks. J Comput Phys. 2023;472:111690.
- 40. Ren D, Wang C, Wei X, Zhang Y, Han S, Xu W. Harmonizing physical and deep learning modeling: A computationally efficient and interpretable approach for property prediction. Scripta Materialia. 2025;255:116350.
- 41. Oshinubi K, Peter OJ, Addai E, Mwizerwa E, Babasola O, Nwabufo IV, et al. Mathematical Modelling of Tuberculosis Outbreak in an East African Country Incorporating Vaccination and Treatment. Computation. 2023;11(7):143.
- 42. Zarin R. Numerical study of a nonlinear COVID-19 pandemic model by finite difference and meshless methods. Partial Differ Equ Appl Math. 2022;6:100460. pmid:36348759
- 43. Peter OJ, Madubueze CE, Ojo MM, Oguntolu FA, Ayoola TA. Modeling and optimal control of monkeypox with cost-effective strategies. Model Earth Syst Environ. 2022;9(2):1989–2007.
- 44. Shah N, Yeolekar B, Shukla N. Vertical Transmission of Hepatitis-C Virus (HCV) with Optimal Control on Treatment Expenses. ARJOM. 2018;8(4):1–12.
- 45. Diekmann O, Heesterbeek JAP, Roberts MG. The construction of next-generation matrices for compartmental epidemic models. J R Soc Interface. 2010;7(47):873–85. pmid:19892718
- 46.
Routh EJ. A treatise on the stability of a given state of motion, particularly steady motion: being the essay to which the Adams prize was adjudged in 1877, in the University of Cambridge. Macmillan and Company. 1877.
- 47. Aroztegui JM, Machado TJ. Solucoes numericas de equacoes diferenciais com redes neurais artificiais. VETOR-Revista de Ciencias Exatas e Engenharias. 2021;31(2):2–13.
- 48. Vahedi SM, Pordanjani AH, Raisi A, Chamkha AJ. Sensitivity analysis and optimization of MHD forced convection of a Cu-water nanofluid flow past a wedge. Eur Phys J Plus. 2019;134(3).
- 49.
Yong H, Huang J, Hua X, Zhang L. Gradient Centralization: A New Optimization Technique for Deep Neural Networks. Lecture Notes in Computer Science. Springer International Publishing. 2020. p. 635–52. https://doi.org/10.1007/978-3-030-58452-8_37
- 50.
Parascandolo G, Huttunen H, Virtanen T. Taming the waves: sine as activation function in deep neural networks. In: ICLR; 2017. Available from: https://openreview.net/forum?id=Sks3zF9eg
- 51.
Rahman JU, Makhdoom F, Lu D. Amplifying sine unit: An oscillatory activation function for deep neural networks to recover nonlinear oscillations efficiently. 2023. https://doi.org/10.48550/arXiv.2304.09759
- 52. Wright LG, Onodera T, Stein MM, Wang T, Schachter DT, Hu Z, et al. Deep physical neural networks trained with backpropagation. Nature. 2022;601(7894):549–55. pmid:35082422
- 53.
Ariff NAM, Ismail AR. Study of Adam and Adamax Optimizers on AlexNet Architecture for Voice Biometric Authentication System. In: 2023 17th International Conference on Ubiquitous Information Management and Communication (IMCOM), 2023. 1–4. https://doi.org/10.1109/imcom56909.2023.10035592
- 54. Mustafa N, Rahman JU, Omame A. Modelling of Marburg virus transmission dynamics: a deep learning-driven approach with the effect of quarantine and health awareness interventions. Model Earth Syst Environ. 2024;10(6):7337–57.