Diabetic retinopathy (DR) is a major cause of vision loss. Accurate grading of DR is critical to ensure timely and appropriate intervention. DR progression is primarily characterized by the presence of biomarkers including microaneurysms, hemorrhages, and exudates. These markers are small, scattered, and challenging to detect. To improve DR grading accuracy, we propose FF-ResNet-DR, a deep learning model that leverages frequency domain attention. Traditional attention mechanisms excel at capturing spatial-domain features but neglect valuable frequency domain information. Our model incorporates frequency channel attention modules (FCAM) and frequency spatial attention modules (FSAM). FCAM refines feature representation by fusing frequency and channel information. FSAM enhances the model's sensitivity to fine-grained texture details. Extensive experiments on multiple public datasets demonstrate the superior performance of FF-ResNet-DR compared to state-of-the-art models. It achieves an AUC of 98.1% on the Messidor binary classification task and a joint accuracy of 64.1% on the IDRiD grading task. These results highlight the potential of FF-ResNet-DR as a valuable tool for the clinical diagnosis and management of DR.
Citation: Chang Yu, Qian Ma, Jing Li, Qiuyang Zhang, Jin Yao, Biao Yan, Zhenhua Wang. FF-ResNet-DR model: a deep learning model for diabetic retinopathy grading by frequency domain attention[J]. Electronic Research Archive, 2025, 33(2): 725-743. doi: 10.3934/era.2025033
Related Papers:
[1]
Xuejuan Lu, Lulu Hui, Shengqiang Liu, Jia Li .
A mathematical model of HTLV-I infection with two time delays. Mathematical Biosciences and Engineering, 2015, 12(3): 431-449.
doi: 10.3934/mbe.2015.12.431
[2]
Yu Yang, Gang Huang, Yueping Dong .
Stability and Hopf bifurcation of an HIV infection model with two time delays. Mathematical Biosciences and Engineering, 2023, 20(2): 1938-1959.
doi: 10.3934/mbe.2023089
[3]
Jiawei Deng, Ping Jiang, Hongying Shu .
Viral infection dynamics with mitosis, intracellular delays and immune response. Mathematical Biosciences and Engineering, 2023, 20(2): 2937-2963.
doi: 10.3934/mbe.2023139
[4]
Ning Bai, Rui Xu .
Mathematical analysis of an HIV model with latent reservoir, delayed CTL immune response and immune impairment. Mathematical Biosciences and Engineering, 2021, 18(2): 1689-1707.
doi: 10.3934/mbe.2021087
[5]
Cameron Browne .
Immune response in virus model structured by cell infection-age. Mathematical Biosciences and Engineering, 2016, 13(5): 887-909.
doi: 10.3934/mbe.2016022
[6]
Bing Li, Yuming Chen, Xuejuan Lu, Shengqiang Liu .
A delayed HIV-1 model with virus waning term. Mathematical Biosciences and Engineering, 2016, 13(1): 135-157.
doi: 10.3934/mbe.2016.13.135
[7]
Ting Guo, Zhipeng Qiu .
The effects of CTL immune response on HIV infection model with potent therapy, latently infected cells and cell-to-cell viral transmission. Mathematical Biosciences and Engineering, 2019, 16(6): 6822-6841.
doi: 10.3934/mbe.2019341
[8]
Yan Wang, Minmin Lu, Daqing Jiang .
Viral dynamics of a latent HIV infection model with Beddington-DeAngelis incidence function, B-cell immune response and multiple delays. Mathematical Biosciences and Engineering, 2021, 18(1): 274-299.
doi: 10.3934/mbe.2021014
[9]
Xiaohong Tian, Rui Xu, Jiazhe Lin .
Mathematical analysis of an age-structured HIV-1 infection model with CTL immune response. Mathematical Biosciences and Engineering, 2019, 16(6): 7850-7882.
doi: 10.3934/mbe.2019395
[10]
Jinhu Xu, Yicang Zhou .
Bifurcation analysis of HIV-1 infection model with cell-to-cell transmission and immune response delay. Mathematical Biosciences and Engineering, 2016, 13(2): 343-367.
doi: 10.3934/mbe.2015006
Abstract
Diabetic retinopathy (DR) is a major cause of vision loss. Accurate grading of DR is critical to ensure timely and appropriate intervention. DR progression is primarily characterized by the presence of biomarkers including microaneurysms, hemorrhages, and exudates. These markers are small, scattered, and challenging to detect. To improve DR grading accuracy, we propose FF-ResNet-DR, a deep learning model that leverages frequency domain attention. Traditional attention mechanisms excel at capturing spatial-domain features but neglect valuable frequency domain information. Our model incorporates frequency channel attention modules (FCAM) and frequency spatial attention modules (FSAM). FCAM refines feature representation by fusing frequency and channel information. FSAM enhances the model's sensitivity to fine-grained texture details. Extensive experiments on multiple public datasets demonstrate the superior performance of FF-ResNet-DR compared to state-of-the-art models. It achieves an AUC of 98.1% on the Messidor binary classification task and a joint accuracy of 64.1% on the IDRiD grading task. These results highlight the potential of FF-ResNet-DR as a valuable tool for the clinical diagnosis and management of DR.
1.
Introduction
AIDS (acquired immunodeficiency syndrome) is a syndrome caused by HIV (human immunodeficiency virus). HIV is a lentivirus (a subetaoup of retrovirus). It infects vital cells in the human immune system, such as helper T cells (specifically CD4+ T cells), macrophages, and dendritic cells [1]. When the number of CD4+ T cells declines below a critical level, cell-mediated immunity is lost, and the body becomes progressively more susceptible to opportunistic infections, leading to the development of AIDS. Mathematical modeling has contributed a lot to the understanding of HIV infection (see, for example, the review by Perelson and Ribeiro [2] for within-host models).
In the simplest and earliest models of HIV infection, only the key players were taken into account. These models include uninfected target cells (T), productively infected cells (T∗), and free viruses (V). One such model is described by the following system of ordinary differential equations,
dTdt=λ−dT−kVT,dT∗dt=kVT−δT∗,dVdt=pT∗−cV.
For more detail, we refer the readers to Ribeiro and Perelson [3]. Inspired by this model, researchers have proposed many other HIV models by considering, for example, different uninfected target cell growth and incidence, latently infected CD4+ T cells, treatment, drug resistance, and immune response (to name a few, see [4,5,6,7,8,9,10,11,12,13,14,15,16]).
Time delay is commonly observed in many biological processes. For HIV infection, on the one hand, it roughly takes about 1 day for a newly infected cell to become productive and then to be able to produce new virus particles [17]. On the other hand, during CTL response, effector CTLs need time to recognize infected cells and destroy them. Herz et al.[18] were the first to introduce an intracellular delay to describe the time between the initial viral entry into a target cell and subsequent viral production. They obtained the effect of the delay on viral load change. Since then, delayed HIV models have attracted the attention of many researchers. See, for example, [19,20,21,22,23,24,25,26] and the references therein.
In this paper, motivated by the studies in [7,10,27], we propose and study the following delayed HIV model,
dT(t)dt=s−dT(t)+rT(t)(1−T(t)Tmax)−kV(t)T(t),
(1.1a)
dT∗(t)dt=k1V(t−τ1)T(t−τ1)−δT∗(t)−dxE(t)T∗(t),
(1.1b)
dV(t)dt=NδT∗(t)−cV(t),
(1.1c)
dE(t)dt=λE+pT∗(t−τ2)−dEE(t).
(1.1d)
Here T(t), T∗(t), V(t), and E(t) represent the densities of uninfected CD4+ T-cells, productively infected CD4+ T-cells, free viruses, and immune effectors at time t, respectively. As in [7,28], k1=ke−ατ1, where α∈[d,δ] is the death rate of infected cells before becoming productive. τ1 denotes the time delay between viral entry and viral production while τ2 stands for the time needed for the CTLs immune response to emerge to control viral replication. The interpretations of the parameters are summarized in Table 1, where their units and ranges will be given in Section 4. The logistic growth in target cells and natural growth of immune effectors combined is a new feature of Model (1.1). Our main focus is on the effects of delays, especially τ2, on the dynamics of (1.1).
Table 1.
Descriptions of parameters in (1.1).
Parameter
Description
s
Production rate of uninfected CD+4 T-cells
d
Death rate of uninfected CD+4 T-cells
r
Proliferation rate of uninfected CD+4 T-cells
Tmax
CD+4 T-cells density where proliferation stops
k
Infection rate of CD+4 T-cells with virus particles
α
Death rate of infected CD+4 T-cells before becoming productive
The rest of the paper is organized as follows. In Section 2, we present some preliminary results of (1.1a), which include the positivity and boundedness of solution, the existence of steady states. Then we analyze the stability of steady states and possible Hopf bifurcation in Section 3. We conclude the paper with some numerical simulations to illustrate the main theoretical results.
2.
Preliminaries
The suitable phase space for (1.1) is C=C1×C2×C1×R, where Ci=C([−τi,0],R) is the Banach space of all continuous functions from [−τi,0] to R equipped with the supremum norm, i=1, 2. The norm on C is the usual product norm. The nonnegative cone of Ci is C+i=C([−τi,0],R+). To be biologically meaningful, in the sequel, the initial conditions of (1.1) will be always from C+=C+1×C+2×C+1×R+.
For each Φ=(ϕ1,ϕ2,ϕ3,ϕ4)∈C+, by the standard theory of functional differential equations [29], Model (1.1) has a unique and global solution through it. For such a solution, we first claim that T(t)>0 for t>0. In fact, it is clear that there exists t0>0 such that T(t)>0 for t∈(0,t0). Suppose to the contrary that there exists t1>t0 such that T(t)>0 for t∈(0,t1) and T(t1)=0. Then by (1.1), dT(t1)dt=s>0 and hence there exists ε∈(0,t1) such that T(t)<0 for t∈(t1−ε,t1), a contradiction. This proves the claim. Next, with step-by-step method we show that T∗(t)≥0 and V(t)≥0 for t≥0. Note that, for t≥0, by (1.1b) and (1.1c), we have
respectively. It follows from (2.1) that T∗(t)≥0 for t∈[0,τ1]. This, combined with (2.2), gives V(t)≥0 for t∈[0,τ1], which together with (2.1) yields T∗(t)≥0 for t∈[0,2τ1]. In turn from (2.2) we have V(t)≥0 for t∈[0,2τ1]. Continuing this way gives the desired result. Finally, from (1.1d), we get
E(t)=e−dEtE(0)+∫t0edE(u−t)(λE+pT∗(u−τ2))du
for t≥0 and hence E(t)≥0 for t≥0. Therefore, the solution of (1.1a) with initial condition in C+ is nonnegative.
Next, we consider the boundedness of solutions. Firstly, we obtain from (1.1a) that
dT(t)dt≤s−dT(t)+rT(t)(1−T(t)Tmax)
for t≥0. It follows that
lim supt→∞T(t)≤T0,
where
T0=Tmax2r[r−d+√(r−d)2+4rsTmax]
is the unique positive zero of s−dT+rT(1−TTmax). Moreover, if T(0)≤T0 then T(t)≤T0 for t≥0. Secondly, consider the Lyapunov functional
where d1=min{δ,d} and M0=rTmax+4s4 (>0). Then lim supt→∞L1(t)≤M0d1. In particular, lim supt→∞T∗(t)≤k1M0kd1. Finally, this combined with (1.1c) and (1.1d) immediately gives
Proposition 1.The solutions of (1.1) with initial conditions inC+are nonnegative and bounded. Moreover, the region
Γ={Φ=(ϕ1,ϕ2,ϕ3,ϕ4)∈C+|the solution (T(t),T∗(t),V(t),E(t)) of (1.1)through Φ satisfies ϕ1(0)≤T0, ϕ1(0)+kk1T∗(τ1)≤M0d1,ϕ3(0)≤Nδk1M0ckd1,and ϕ4≤λEkd1+pk1M0dEkd1}
is a positively invariant and attracting subset of (1.1) inC+.
In the remaining of this section, we consider the steady states of (1.1). Note that a steady state is a solution of the following system of algebraic equations,
s−dT+rT(1−TTmax)−kVT=0,
(2.3a)
k1VT−δT∗−dxET∗=0,
(2.3b)
NδT∗−cV=0,
(2.3c)
λE+pT∗−dEE=0.
(2.3d)
It follows from (2.3c) that V=NδT∗c. Sustituting it into (2.3b) gives
k1NδcT∗T−δT∗−dxET∗=0.
Then T∗=0 or T=c(δ+dxE)Nδk1. When T∗=0, we get the infection-free steady state P0=(T0,0,0,E0), where E0=λEdE. Now assume T=c(δ+dxE)Nδk1. Combining it with E=λE+pT∗dE obtained from (2.3d), we can get after a little computation that
Note that G always has a positive zero and it only has one positive zero. However, for infected steady states, we have T>c(δ+dxλEdE)Nδk1 from (2.4), or equivalently, G(c(δ+dxλEdE)Nδk1)>0 or c(δ+dxλEdE)Nδk1<T0. Thus there is an infected steady state if and only if R0>1, where
R0=Nδk1T0c(δ+dxλEdE).
In summary we have obtained the following result.
Theorem 2.1.(i) IfR0≤1then (1.1) only has the infection-free steady stateP0.
(ii) IfR0>1then, besidesP0, (1.1) also has a unique infected steady stateP1=(T1,T∗1,V1,E1), where
Clearly, −dE and −(d−r+2rT0Tmax)=−sT0−rT0Tmax are eigenvalues and both are negative. The other eigenvalues are roots of the following transcendental equation,
Δ0(λ)=λ2+(c+δ+dxE0)λ+c(δ+dxE0)−Nδk1T0e−λτ1=0.
(3.1)
Noting
R0=Nδk1T0c(δ+dxE0),
we can rewrite (3.1) as
Δ0(λ)=λ2+(c+δ+dxE0)λ+c(δ+dxE0)(1−R0e−λτ1)=0
(3.2)
or equivalently
R0=(λc+1)(λδ+dxE0+1)eλτ1.
(3.3)
(ⅰ) Assume R0<1. We claim that all roots of (3.3) have negative real parts. Otherwise, (3.3) has a root λ=σ+ωi with σ≥0 and σ2+ω2>0 since 0 is not a root by R0>1. Taking moduli of both sides of (3.3) gives
R0=eστ1√[(σc+1)2+ω2c2][(σδ+dxE0+1)2+(ωδ+dxE0)2].
This is impossible as the right side of the above is >1 and R0<1. This proves the claim and hence P0 is locally asymptotically stable if R0<1.
(ⅱ) Assume R0>1. In this case, (3.2) has a positive root. In fact, this follows from the Intermediate Value Theorem and
Δ0(0)=c(δ+dxE0)(1−R0)<0andlimλ→∞Δ0(λ)=∞.
Therefore, P0 is unstable if R0>1. This completes the proof.
In fact, the local stability of P0 implies its global stability.
Theorem 3.2.IfR0<1, then the infection-free steady stateP0of (1.1) is globally asymptotically stable.
Proof. Define the Lyapunov functional
W0(t)=T∗(t)+k1T0cV(t)+k1∫tt−τ1V(θ)T(θ)dθ.
Then the time derivative of W0 along solutions of (1.1) is
Moreover, dW0dt=0 if and only if T∗(t)=0 and V(t)(T(t)−T0)=0. Then one can see that the largest invariant subset of {dW0dt=0} is {P0}. By the Lyapunov-LaSalle invariance principle (see [29,Theorem 5.3.1] or [31,Theorem 3.4.7]) and Theorem 3.1, we conclude that if R0<1 then P0 is globally asymptotically stable.
3.2. Stability of P1 and bifurcation analysis
Recall that P1 exists only when R0>1, which implies that necessarily Nδk1T0c(δ+dxλEdE)>1 as k1=ke−ατ1. The purpose of this paper is to consider the effects of delays on the dynamics. As a result, in the sequel of this section, we always assume that Nδk1T0c(δ+dxλEdE)>1 and denote
In the following, we follow the arguments in [23] to first show that P1 is locally stable for τ1∈[0,ˆτ1) and τ2=0. Then for given τ1∈[0,ˆτ1), we discuss the possible bifurcations.
Theorem 3.3.Supposeτ1∈[0,ˆτ1), τ2=0, and0≤r<d1−T1Tmax. Then the infected steady stateP1is locally asymptotically stable.
Proof. When τ2=0, the characteristic equation (3.4) reduces to
it follows that the modulus of the left hand side of (3.6) is strictly larger than that of its right hand side, a contradiction. Thus we have verified that (3.5) has no roots on the imaginary axis.
Secondly, we show that (3.5) has no nonnegative real roots. Again, by contradiction, assume that (3.5) has a root λ0≥0 and we know that e−λ0τ1∈(e−λ0ˆτ1,1]. Noting
as Nδk1T1=c(δ+dxE1), which contradicts with (3.7). This proved that (3.5) has no nonnegative real root.
Finally, we claim that there exists η0>0 such that all roots of (3.5) have negative real parts when 1<R0<1+η0. If this is not true, then there exists a sequence of values for the parameters where R0(>1)→1 such that for each set of values for the parameters there exists a pair of conjugate roots for (3.5) with positive real parts (which follows from the results just proved above). Note that roots of (3.5) having nonnegative real parts are uniformly bounded. Without loss of generality, we suppose that the sequence of the conjugate roots converges to α0±iβ0, otherwise just consider a subsequence. Then α0≥0 and α0±iβ0 are roots of the characteristic equation of the infection-free steady state P0 when R0=1. However, when R0=1, this characteristic equation has no roots with nonnegative real parts except the simple root 0. Then α0=β0=0, which implies that 0 is a root of at least multiplicity 2 of this characteristic equation, a contradiction. This proves the claim.
Now the proof is done by noting the fact that the roots of (3.5) depend continuously on the parameters.
Theorem 3.4.Ifτ1=τ2=0and0≤r<d1−T1Tmaxholds, then the infected steady stateP1is global asymptotically stable.
It is clear that dW1dt=0 if and only if (T,T∗,V,E)=P1. By the Laypunov asymptotic stability theorem, we conclude that P1 of system (1.1) is globally asymptotically stable.
In the following, we study the effects of delays by fixing τ1=τ01∈[0,ˆτ1) and changing τ2. Then the characteristic equation (3.4) can be rewritten as
we know that λ=0 is not a root of (3.8). Therefore, for stability changes of P1 to occur, we first look for τ2 where (3.8) has a pair of conjugate roots λ=±iω(τ01,τ2) with ω(τ01,τ2)>0. Substitute λ=iω(τ01,τ2) into (3.8) and then separate the real and imaginary parts to obtain
Then the characteristic equation (3.8) at τ2=τn2j has a pair of conjugate eigenvalues λ=±iωj(τ01) for j∈N(τ01) and n∈N. The following result comes from [32,Theorem 2.2].
Theorem 3.5.Letτ01∈[0,ˆτ1). Then the following two statements are true.
(i)IfIτ01=∅, thenP1is locallay asymptotically stable forτ1=τ01 and τ2≥0.
(ii)IfIτ01≠∅, then a pair of simple conjugate pure imaginary rootsλ(τn2j(τ01))=±iωj(τ01)of (3.8) exists atτ2=τn2j(τ01)forj∈N(τ01)andn∈N, which crosses the imaginary axis from left to right ifδ(τn2j(τ01))>0and crosses the imaginary axis from right to left ifδ(τn2j(τ01))<0, where
By Theorem 3.5, for any τ1∈[0,^τ1), there exists a τ∗2(τ1)∈(0,∞] such that P1 is locally asymptotically stable for τ<τ∗2(τ1).
In general, it is hard to determine whether Iτ1 is empty or not. Moreover, if Iτ1≠∅ and has more than one element, then Theorem 3.5 indicates that there may be stability switches for P1. To get a clear picture of it, we consider the case where τ01=0. Moreover, F(ω,0) in (3.10) reduces to h(ω2), where
In this case, δ(τn2j(0)) in Theorem 3.5 is sign(h′(ω2j(0))). As a result, for Hopf bifurcation to occur, we only focus on the situations where h(z) defined by (3.12) has simple positive real zeros.
Though a simple calculation gives b3=d2E+(c+δ+dxE1)2+(sT1+rT1Tmax)2>0, we cannot easily get the signs of the other coefficients. By Descartes' rule of sign, the polynomial h(z) has at most three positive real zeros. In fact, Yan and Li [33] have obtained the conditions on the existence of at least one positive real zero for h(z). To cite the result, let
where ρ is one of the cubic roots of the complex number −q2+√Δ and ϵ=−1+√3i2. Note that when Δ>0, z∗1 is the only real zero of h′(z); when Δ=0, z1=−b34−23√q2, z2=z3=−b34+3√q2 are the three real zeros of h′(z); when Δ<0, −b34+2Re{ρ}, −b34+2Re{ρϵ}, and −b34+2Re{ρˉϵ} are the three real zeros of h′(z) and we arrange them as ˆz1<ˆz2<z∗3.
(i) If b0<0, thenh(z)has at least one positive real zero.(ii)Ifb0≥0, thenh(z)has no positive real zero if one of the following conditions holds.
(ii−1)Δ>0andz∗1<0;
(ii−2)Δ=0andz∗2<0;
(ii−3)Δ<0andz∗3<0.
(iii)Ifb0≥0, thenh(z) has at least one positive real zero if one of the following conditions holds.
(iii−1)Δ>0, z∗1>0andh(z∗1)<0;
(iii−2)Δ=0, z∗2>0andh(z∗2)<0;
(iii−3)Δ<0, z∗3>0andh(z∗3)<0.
When τ1=0, by Proposition 3.1 we can have the following result.
Theorem 3.6.Assumeτ1=0and one of the conditions in statement (ii) of Proposition 3.1 holds. Then the infected steady stateP1is locally asymptotically stable for allτ2≥0.
In the following result, we characterize the situations where h(z) has simple positive real zeros, which is not difficult to see by considering the possible graphs of h(z) and h′(z). Recall that h(z) can have at most three positive real zeros.
Proposition 3.2.For the polynomialh(z)defined by (3.12), the following results hold.
(i)h(z)has one simple positive zero and no other positive zeros if and only if(H1):one of the following conditions hold.
(i−1)Δ≥0andb0<0.
(i−2)Δ>0, b0=0, andz∗1>0.
(i−3)Δ=0, b0=0and (z∗2=z1>0 or z∗2=z2>z1>0).
(i−4)Δ<0, b0<0andˆz2≤0.
(i−5)Δ<0, b0<0, ˆz2>0andh(ˆz2)<0.
(i−6)Δ<0, b0<0, ˆz2>0, h(ˆz2)>0andh(z∗3)>0.
(i−7)Δ<0, b0=0andˆz2<0<z∗3.
(i−8)Δ<0, b0=0, ˆz1>0, h(ˆz2)>0andh(z∗3)>0.
(i−9)Δ<0, b0=0, ˆz1>0andh(ˆz2)<0.
(ii)h(z)has two simple positive zeros and no other positive zeros if and only if(H2): one of the following conditions holds.
(iii)h(z)has three simple positive zeros and no other positive zeros if and only if(H3): one of the following conditions holds.
(iii−1)Δ<0, b0<0, ˆz2>0, h(ˆz2)>0, andh(z∗3)<0.
(iii−2)Δ<0, b0=0, ˆz1>0, h(ˆz2)>0and h(z∗3)<0.
If (H1) holds, let ˜z>0 be the unique simple positive zero of h(z) and denote ˜ω=√˜z. Solving (3.11) to obtain the unique ˜θ∈[0,2π). Define
τn2=2nπ+˜θ˜ωfor n∈N.
As h′(˜z)>0, we have δ(τn2)=1 and hence the following result holds.
Theorem 3.7.Assume thatτ1=0and assumption(H1)holds. Then there exists a sequence0<τ02<τ12<τ22<⋯such thatP1is locally asymptotically stable forτ2∈[0,τ02) and unstable for τ>τ02, and system (1.1) undergoes a Hopf bifurcation atP1 when τ2=τn2 for n∈N.
Now, assume (H2) holds. Let ˜z2<˜z1 be the only positive real zeros of h(z), which are also simple. Similarly as for the case of (H1), we can get two increasing positive sequences {τn21} and {τn22}, associated with ˜z1 and ˜z2, respectively. Since h′(˜z1)>0>h′(˜z2), we easily see that τ021<τ022. Since ˜ω1=√˜z1>√˜z2=˜ω2, we have 2π˜ω1<2π˜ω2. Thus we define
Theorem 3.8.Assume τ1=0 and(H2)holds. Given n∈N and j∈{1,2}, system (1.1) undergoes Hopf bifurcation at τ2=τn2j if τn2j≠τl2(3−j) for all l∈N. Furthermore, the stability of P1 switches off (namely, it becomes unstable) when τ2 crosses τ021, …, τk21 and switches on (namely, it becomes stable) when τ2 crosses τ022, …, τk−122. In other words, P1 is stable when τ2∈[0,τ021)∪(τ022,τ121)∪⋯∪(τk−122,τk21) and unstable when τ2∈(τ021,τ022)∪⋯∪(τk−121,τk−122)∪(τk21,∞).
We mention that we can study the global continuation of Hopf bifurcation in Theorem 3.8 as in Li and Shu [34]. We believe that the Hopf bifurcation branches are bounded and each joins a pair of τn21 and τn22 for n∈N. As a result, for τ2∈(τk+121,τk22), there will be two stable periodic orbits.
Also in Theorem 3.8, we exclude the situation where τn21=τl22 for some n, l∈N. If this happens, then n>l since τ021<τ022 and 2π˜ω1<2π˜ω2. In this critical situation, as τ2 crosses this common critical value, two pairs of purely imaginary eigenvalues ±i˜ω1 and ±i˜ω2 appear and all other eigenvalues have nonzero real parts. Therefore, a double Hopf bifurcation occurs.
Theorem 3.9.Assume τ1=0 and(H2)holds. If there exist integers n>l≥0 such that τn21=τl22=τ20, then (1.1) undergoes a double Hopf bifurcation at P1 when τ2=τ20.
When (H3) holds, we can similarly get three sequences of critical values for τ2. Similar results as those in Theorem 3.8 and Theorem 3.9 can be obtained. Moreover, the global Hopf bifurcation associated with the third sequence is unbounded (one can refer to Li et al.[35] for a similar discussion).
4.
Numerical simulations
In this paper, we rigorously analyzed an HIV-infection model with CTL-immune response and two time delays. The model incorporates a logistic growth term for the target cell growth and a natural resource for the immune effectors. The basic reproduction number R0 played an important in the infection dynamics. If R0<1 then the infection-free steady state is globally asymptotically stable. Note that R0 explicitly depends on τ1. It follows that if τ1 is large enough then the virus will be cleared. We emphasize that this has not been noted in most existing study. Of course, in the real situation, this delay between viral entry and subsequent viral production usually is not very big. This leads to the complicated dynamics when R0>1. In this case, the unique infected steady state could be stable or unstable, depending on the parameter values. In particular, we focused on the effects of time delays. Theoretical results indicate that there can be Hopf bifurcation, double Hopf bifurcation and stability switches.
We conclude this paper with some numerical simulations to illustrate the above mentioned main results. The ranges of the parameters except the delays are summarized in Table 2.
For simplicity, we use the same initial condition (T0,T∗0,V0,E0)=(100,0,10−2,0.6) in all simulations.
First, we take s=10, d=0.01, r=0.03, Tmax=1500, α=0.02, δ=0.3, dx=0.01, N=21, c=3, λE=1, p=0.3, dE=0.1, τ1=1.2 and k=2.4×10−5. Then R0=0.1680<1. By Theorem 3.2, the infection-free steady state P0=(1366,0,0,10) is globally asymptotically stable (see Figure 1 with τ2=4).
Figure 1.
When R0<1 the infection-free steady state P0 is globally asymptotically stable. See the text for the parameter values.
Next, we only change k to k=2.4×10−3 and keep the others as above. In this case, we have ˆτ1=142.2801. Take τ1=1.2∈[0,ˆτ1). Then R0=16.8038>1. Through numerical calculations, we get the first few critical values τ021=2.9940 and τ121=32.9360 associated with ω1=0.2098 and τ022=28.8271 associated with ω2=0.1066. By Theorem 3.5, the infected steady state P1=(171.7615,14.8383,31.1604,54.5149) is locally asymptotically stable for τ2<τ021 (see Figure 2 with τ2=2).
Figure 2.
The infected steady state P1 is locally stable. We refer to the text for the parameter values.
In fact, numerical simulations indicates that there is Hopf bifurcation for τ2∈(τ021,τ022) (see Figure 3 with τ2=5) and there is a stability switch at τ2=τ022, that is, P1 is locally asymptotically stable for τ2∈(τ022,τ121) (see Figure 4 with τ2=32).
Figure 3.
There is a periodic solution bifurcated from the infected steady state P1 through Hopf bifurcation. Parameter values are given in the text.
In the following we illustrate this more clearly with the special case where τ1=0. We distinguish three cases.
Case 1: (ⅱ) of Proposition 3.1 holds. We take s=5, d=0.2, r=0.03, Tmax=1500, α=0.2, δ=0.3, dx=0.01, N=2800, c=15, λE=1, p=0.3, dE=0.1, τ1=0 and k=2.4×10−3. Then R0=9.8484>1 and system (1.1) has the unique infected steady state P1=(4.5277,6.9510,389.2547,30.8529). In this case, Δ=4.1507×106>0, b0=0.6078>0, and z∗1=−1.9553×10−2<0. This means that (ⅱ-1) of Proposition 3.1 holds. It follows from Theorem 3.6 that the infected steady state P1 is locally asymptotically stable for all τ2≥0 (see Figure 5 with τ2=1).
Figure 5.
The infected steady state P1 is locally asymptotically stable. For parameter values, see the text.
Case 2: Assumption (H1) holds. We choose the parameter values s=10, d=0.01, r=0.25, Tmax=1500, α=0.02, δ=0.3, dx=0.01, N=21, c=3, λE=1, p=0.3, dE=0.1 and k=2.4×10−4. Then R0=1.8655>1 and system (1.1) has the unique infected steady state P1=(1448.2000,10.9961,23.0918,42.9882). Note that Δ=−0.2247<0, b0=−6.0220×10−4<0, and ˆz2=−0.0442<0, namely, assumption (H1) (ⅰ-4) holds. We can get ω=0.1519 and τj2=4.3175+2jπω for j∈N. It follows from Theorem 3.7 that the infected steady state P1 is locally asymptotically stable for τ2∈[0,τ02) (see Figure 6 with τ2=4<τ02) and unstable for τ>τ02. Moreover, system (1.1) undergoes Hopf bifurcation at τ2=τj2 for j∈N. Figure 7 supports this with τ2=5>τ02. Figure 8 provides the bifurcation diagram.
Figure 6.
The infected steady state P1 is locally asymptotically stable. For parameter values, we refer to the text.
Figure 7.
There is a periodic orbit bifurcated through Hopf bifurcation at the infected steady state P1 when τ2=5>τ02. See the text for parameter values.
Case 3: Assumption (H2) holds. This time we replace k with k=2.4×10−3, and r with r=0.03, and keep the other parameter values as in Case 2. It follows that R0=17.2119>1 and system (1.1) has the unique infected steady state P1=(168.9145,15.0443,31.5930,55.1329). Moreover, Δ=−0.4441<0, b0=3.0321×10−4>0, ˆz1=−11.1936<0<ˆz2=0.0018>0, and h(z∗3)=−9.3650×10−4<0. Therefore, assumption (H2) (ⅱ-6) holds. In this case, we have ˜ω1=0.2845, ˜ω2=0.1401, τj21=2.0033+2jπ˜ω1, and τj22=22.3237+2jπ˜ω2 for j∈N. Then the first few Hopf bifurcation values are ordered as τ021<τ022<τ121<τ221<τ122<⋯. By Theorem 3.8, the infected steady state P1 is locally asymptotically stable for τ2∈[0,τ021)∪(τ022,τ121) (see Figure 9 and Figure 10 with τ2=1.5<τ022 and τ2=24∈(τ022,τ121), respectively) and is unstable for τ2∈(τ021,τ022)∪(τ121,∞). Thus there are stability switches for P1. Moreover, there are supercritical Hopf bifurcation at τ2=τj21 and subcritical Hopf bifurcation at τ2=τj22 (see Figures 11 and 12). The numerical simulations also strongly indicate that the global Hopf bifurcation branches are bounded and each branch connects a pair τj21 and τj22, which we will confirm in a future work.
Figure 9.
The infected steady state P1 is locally asymptotically stable for τ2=1.5<τ021=2.0033. See the text for the values of the other parameters.
Figure 11.
There is a periodic orbit bifurcated from the infected steady state P1 through supercritical Hopf bifurcation when τ021<τ2=2.5<τ022. See the text for the values of the other parameters.
Figure 12.
There is a periodic orbit bifurcated from the infected steady state P1 through subcritical Hopf bifurcation when τ021<τ2=19<τ022. See the text for the values of the other parameters.
The authors are grateful to the anonymous reviewers for their constructive comments. JW is supported by the Nanhu Scholar Program for Young Scholars of Xinyang Normal University. CQ is supported by Scientific Research Foundation of Graduate School of Xinyang Normal University (No. 2018KYJJ12). XW is supported by the NSFC (No. 11771374), the Nanhu Scholar Program for Young Scholars of Xinyang Normal University, the Program for Science and Technology Innovation Talents in Universities of Henan Province (17HASTIT011). YC is supported by NSERC of Canada.
Conflict of interest
All authors declare no conflicts of interest in this paper.
References
[1]
A. O. Alamoudi, S. M. Allabun, Blood vessel segmentation with classification model for diabetic retinopathy screening, Comput. Mater. Contin., 75 (2023), 2265–2281. https://doi.org/10.32604/cmc.2023.032429 doi: 10.32604/cmc.2023.032429
[2]
J. Lo, T. Y. Timothy, D. Ma, P. Zang, J. P. Owen, Q. Zhang, et al., Federated learning for microvasculature segmentation and diabetic retinopathy classification of OCT data, Ophthalmol. Sci., 1 (2021), 100069. https://doi.org/10.1016/j.xops.2021.100069 doi: 10.1016/j.xops.2021.100069
[3]
H. Pratt, F. Coenen, D. M. Broadbent, S. P. Harding, Y. Zheng, Convolutional neural networks for diabetic retinopathy, Procedia Comput. Sci., 90 (2016), 200–205. https://doi.org/10.1016/j.procs.2016.07.014 doi: 10.1016/j.procs.2016.07.014
[4]
W. Wang, X. Li, Z. Xu, W. Yu, J. Zhao, D. Ding, et al., Learning two-stream CNN for multi-modal age-related macular degeneration categorization, IEEE J. Biomed. Health Inf., 26 (2022), 4111–4122. https://doi.org/10.1109/JBHI.2022.3171523 doi: 10.1109/JBHI.2022.3171523
[5]
Z. Wang, Y. Yin, J. Shi, W. Fang, H. Li, X. Wang, Zoom-in-net: Deep mining lesions for diabetic retinopathy detection, in Medical Image Computing and Computer Assisted Intervention−MICCAI 2017, (2017), 267–275. https://doi.org/10.1007/978-3-319-66179-7_31
[6]
L. Seoud, T. Hurtut, J. Chelbi, F. Cheriet, J. P. Langlois, Red lesion detection using dynamic shape features for diabetic retinopathy screening, IEEE Trans. Med. Imaging, 35 (2015), 1116–1126. https://doi.org/10.1109/TMI.2015.2509785 doi: 10.1109/TMI.2015.2509785
[7]
W. Zhang, J. Zhong, S. Yang, Z. Gao, J. Hu, Y. Chen, et al., Automated identification and grading system of diabetic retinopathy using deep neural networks, Knowl. Based Syst., 175 (2019), 12–25. https://doi.org/10.1016/j.knosys.2019.03.016 doi: 10.1016/j.knosys.2019.03.016
[8]
R. Zheng, L. Liu, S. Zhang, C. Zheng, F. Bunyak, R. Xu, et al., Detection of exudates in fundus photographs with imbalanced learning using conditional generative adversarial network, Biomed. Opt. Express, 9 (2018), 4863–4878. https://doi.org/10.1364/BOE.9.004863 doi: 10.1364/BOE.9.004863
[9]
X. He, Y. Deng, L. Fang, Q. Peng, Multi-modal retinal image classification with modality-specific attention network, IEEE Trans. Med. Imaging, 40 (2021), 1591–1602. https://doi.org/10.1109/TMI.2021.3059956 doi: 10.1109/TMI.2021.3059956
[10]
V. Gulshan, L. Peng, M. Coram, M. C. Stumpe, D. Wu, A. Narayanaswamy, et al., Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs, JAMA, 316 (2016), 2402–2410. https://doi.org/10.1001/jama.2016.17216 doi: 10.1001/jama.2016.17216
[11]
P. Li, Y. Zhang, L. Yuan, H. Xiao, B. Lin, X. Xu, Efficient long-short temporal attention network for unsupervised video object segmentation, Pattern Recognit., 146 (2024), 110078. https://doi.org/10.1016/j.patcog.2023.110078 doi: 10.1016/j.patcog.2023.110078
[12]
P. Li, G. Zhao, J. Chen, X. Xu, Deep metric learning via group channel-wise ensemble, Knowl. Based Syst., 259 (2023), 110029. https://doi.org/10.1016/j.knosys.2022.110029 doi: 10.1016/j.knosys.2022.110029
[13]
P. Li, P. Zhang, T. Wang, H. Xiao, Time-frequency recurrent transformer with diversity constraint for dense video captioning, Inf. Process. Manage., 60 (2023), 103204. https://doi.org/10.1016/j.ipm.2022.103204 doi: 10.1016/j.ipm.2022.103204
[14]
P. Li, J. Chen, L. Yuan, X. Xu, M. Song, Triple-view knowledge distillation for semi-supervised semantic segmentation, preprint, arXiv: 2309.12557. https://doi.org/10.48550/arXiv.2309.12557
[15]
A. He, T. Li, N. Li, K. Wang, H. Fu, CABNet: Category attention block for imbalanced diabetic retinopathy grading, IEEE Trans. Med. Imaging, 40 (2020), 143–153. https://doi.org/10.1109/TMI.2020.3023463 doi: 10.1109/TMI.2020.3023463
[16]
Y. Zhou, X. He, L. Huang, L. Liu, F. Zhu, S. Cui, et al., Collaborative learning of semi-supervised segmentation and classification for medical images, in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, (2019), 2079–2088. https://doi.org/10.1109/CVPR.2019.00218
[17]
Y. Yang, T. Li, W. Li, H. Wu, W. Fan, W. Zhang, Lesion detection and grading of diabetic retinopathy via two-stages deep convolutional neural networks, in Lecture Notes in Computer Science, Springer, (2017), 533–540. https://doi.org/10.1007/978-3-319-66179-7_61
[18]
X. Li, X. Hu, L. Yu, L. Zhu, C. W. Fu, P. A. Heng, CANet: Cross-disease attention network for joint diabetic retinopathy and diabetic macular edema grading, IEEE Trans. Med. Imaging, 39 (2019), 1483–1493. https://doi.org/10.1109/TMI.2019.2951844 doi: 10.1109/TMI.2019.2951844
[19]
Z. Qin, P. Zhang, F. Wu, X. Li, Fcanet: Frequency channel attention networks, in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), IEEE, (2021), 783–792. https://doi.org/10.1109/ICCV48922.2021.00082
[20]
T. Zhou, Z. Ma, Q. Wen, X. Wang, L. Sun, R. Jin, Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting, in Proceedings of the 39th International Conference on Machine Learning, PMLR, (2022), 27268–27286. https://doi.org/10.48550/arXiv.2201.12740
[21]
R. Sun, Y. Li, T. Zhang, Z. Mao, F. Wu, Y. Zhang, Lesion-aware transformers for diabetic retinopathy grading, in 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, (2021), 10938–10947. https://doi.org/10.1109/CVPR46437.2021.01079
[22]
E. Decencière, X. Zhang, G. Cazuguel, B. Lay, B. Cochener, C. Trone, et al., Feedback on a publicly distributed image database: The Messidor database, Image Anal. Stereol., (2014), 231–234. https://doi.org/10.5566/ias.1155 doi: 10.5566/ias.1155
[23]
M. M. Farag, M. Fouad, A. T. Abdel-Hamid, Automatic severity classification of diabetic retinopathy based on densenet and convolutional block attention module, IEEE Access, 10 (2022), 38299–38308. https://doi.org/10.1109/ACCESS.2022.3165193 doi: 10.1109/ACCESS.2022.3165193
[24]
P. Porwal, S. Pachade, R. Kamble, M. Kokare, G. Deshmukh, V. Sahasrabuddhe, et al., Indian diabetic retinopathy image dataset (IDRiD): A database for diabetic retinopathy screening research, Data, 3 (2018), 25. https://doi.org/10.3390/data3030025 doi: 10.3390/data3030025
[25]
T. Li, Y. Gao, K. Wang, S. Guo, H. Liu, H. Kang, Diagnostic assessment of deep learning algorithms for diabetic retinopathy screening, Inf. Sci., 501 (2019), 511–522. https://doi.org/10.1016/j.ins.2019.06.011 doi: 10.1016/j.ins.2019.06.011
[26]
K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, (2016), 770–778. https://doi.org/10.1109/CVPR.2016.90
[27]
J. Cohen, Weighted kappa: Nominal scale agreement provision for scaled disagreement or partial credit, Psychol. Bull., 70 (1968), 213. https://doi.org/10.1037/h0026256 doi: 10.1037/h0026256
[28]
M. Sokolova, N. Japkowicz, S. Szpakowicz, Beyond accuracy, F-score and ROC: A family of discriminant measures for performance evaluation, in Australasian Joint Conference on Artificial Intelligence, (2006), 1015–1021. https://doi.org/10.1007/11941439_114
N. Ahmed, T. Natarajan, K. R. Rao, Discrete cosine transform, IEEE Trans. Comput., 100 (1974), 90–93. https://doi.org/10.1109/T-C.1974.223784 doi: 10.1109/T-C.1974.223784
[31]
X. Liu, W. Chi, A cross-lesion attention network for accurate diabetic retinopathy grading with fundus images, IEEE Trans. Instrum. Meas., 72 (2023), 1–12. https://doi.org/10.1109/TIM.2023.3322497 doi: 10.1109/TIM.2023.3322497
[32]
R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, D. Batra, Grad-CAM: Visual explanations from deep networks via gradient-based localization, in 2017 IEEE International Conference on Computer Vision (ICCV), (2017), 618–626, https://doi.org/10.1109/ICCV.2017.74
This article has been cited by:
1.
A. M. Elaiw, S. F. ALSHEHAIWEEN, A. D. HOBINY,
GLOBAL PROPERTIES OF HIV DYNAMICS MODELS INCLUDING IMPAIRMENT OF B-CELL FUNCTIONS,
2020,
28,
0218-3390,
1,
10.1142/S0218339020500011
2.
A. M. Elaiw, S. F. Alshehaiween,
Global stability of delay‐distributed viral infection model with two modes of viral transmission and B‐cell impairment,
2020,
43,
0170-4214,
6677,
10.1002/mma.6408
3.
A. M. Elaiw, N. H. AlShamrani, A. D. Hobiny, I. A. Abbas,
Global stability of an adaptive immunity HIV dynamics model with silent and active cell-to-cell transmissions,
2020,
10,
2158-3226,
085216,
10.1063/5.0017214
4.
N. H. AlShamrani, A. M. Elaiw, H. Dutta,
Stability of a delay-distributed HIV infection model with silent infected cell-to-cell spread and CTL-mediated immunity,
2020,
135,
2190-5444,
10.1140/epjp/s13360-020-00594-3
5.
Ahmed M. Elaiw, Safiya F. Alshehaiween, Aatef D. Hobiny,
Global Properties of a Delay-Distributed HIV Dynamics Model Including Impairment of B-Cell Functions,
2019,
7,
2227-7390,
837,
10.3390/math7090837
6.
A. M. Elaiw, N. H. AlShamrani,
Impact of adaptive immune response and cellular infection on delayed virus dynamics with multi-stages of infected cells,
2020,
13,
1793-5245,
2050003,
10.1142/S1793524520500035
7.
Ahmed Elaiw, Noura AlShamrani,
Stability of a general adaptive immunity virus dynamics model with multistages of infected cells and two routes of infection,
2020,
43,
0170-4214,
1145,
10.1002/mma.5923
8.
A.M. Elaiw, N.H. AlShamrani,
Global stability of a delayed adaptive immunity viral infection with two routes of infection and multi-stages of infected cells,
2020,
86,
10075704,
105259,
10.1016/j.cnsns.2020.105259
9.
A. M. Elaiw, M. A. Alshaikh,
Global stability of discrete virus dynamics models with humoural immunity and latency,
2019,
13,
1751-3758,
639,
10.1080/17513758.2019.1683630
10.
N.H. AlShamrani,
Stability of a general adaptive immunity HIV infection model with silent infected cell-to-cell spread,
2021,
09600779,
110422,
10.1016/j.chaos.2020.110422
11.
A. M. Elaiw, N. H. AlShamrani,
STABILITY OF A DELAYED ADAPTIVE IMMUNITY HIV INFECTION MODEL WITH SILENT INFECTED CELLS AND CELLULAR INFECTION,
2021,
11,
2156-907X,
964,
10.11948/20200124
12.
A. M. Elaiw, N. H. AlShamrani, A. Abdel-Aty, H. Dutta,
Stability analysis of a general HIV dynamics model with multi-stages of infected cells and two routes of infection,
2020,
0,
1937-1179,
0,
10.3934/dcdss.2020441
13.
A. M. Elaiw, N. H. AlShamrani,
Modeling and stability analysis of HIV/HTLV-I co-infection,
2021,
14,
1793-5245,
2150030,
10.1142/S1793524521500303
14.
N. H. AlShamrani,
Stability of an HTLV-HIV coinfection model with multiple delays and CTL-mediated immunity,
2021,
2021,
1687-1847,
10.1186/s13662-021-03416-7
15.
Yu Yang, Gang Huang, Yueping Dong,
Stability and Hopf bifurcation of an HIV infection model with two time delays,
2022,
20,
1551-0018,
1938,
10.3934/mbe.2023089
16.
Dianhong Wang, Yading Liu, Xiaojie Gao, Chuncheng Wang, Dejun Fan,
Dynamics of an HIV infection model with two time delays,
2023,
0,
1531-3492,
0,
10.3934/dcdsb.2023069
17.
Liang Hong, Jie Li, Libin Rong, Xia Wang,
Global dynamics of a delayed model with cytokine-enhanced viral infection and cell-to-cell transmission,
2024,
9,
2473-6988,
16280,
10.3934/math.2024788
18.
B. S. Alofi, S. A. Azoz,
Stability of general pathogen dynamic models with two types of infectious transmission with immune impairment,
2021,
6,
2473-6988,
114,
10.3934/math.2021009
19.
Zitong Li, Zhe Zhang,
Stabilization Control for a Class of Fractional-Order HIV-1 Infection Model with Time Delays,
2023,
12,
2075-1680,
695,
10.3390/axioms12070695
20.
Hanane Hmarrass, Redouane Qesmi,
Global stability and Hopf bifurcation of a delayed HIV model with macrophages, CD4+T cells with latent reservoirs and immune response,
2025,
140,
2190-5444,
10.1140/epjp/s13360-025-06001-z
21.
Lili Lv, Junxian Yang, Zihao Hu, Dongmei Fan,
Dynamics Analysis of a Delayed HIV Model With Latent Reservoir and Both Viral and Cellular Infections,
2025,
48,
0170-4214,
6063,
10.1002/mma.10655
Chang Yu, Qian Ma, Jing Li, Qiuyang Zhang, Jin Yao, Biao Yan, Zhenhua Wang. FF-ResNet-DR model: a deep learning model for diabetic retinopathy grading by frequency domain attention[J]. Electronic Research Archive, 2025, 33(2): 725-743. doi: 10.3934/era.2025033
Chang Yu, Qian Ma, Jing Li, Qiuyang Zhang, Jin Yao, Biao Yan, Zhenhua Wang. FF-ResNet-DR model: a deep learning model for diabetic retinopathy grading by frequency domain attention[J]. Electronic Research Archive, 2025, 33(2): 725-743. doi: 10.3934/era.2025033
Figure 2. Architecture of DR grading model (FF-ResNet-DR)
Figure 3. Basis function selection scheme of the MSA. (a) 64 basis functions generated by discrete cosine transform (DCT) on an 8 × 8 image; (b) Classification accuracy of the 64 basis functions on the Messidor dataset
Figure 4. Visualization results of different models on DDR dataset
Figure 5. ROC curves of our model, CANet, and CABNet on the Messidor validation set. (a) Full ROC curve; (b) zoomed-in region of interest
Figure 6. Confusion matrices of DR and DME classification. (a) DR confusion Matrix; (b) DME confusion matrix