Modeling the emergence of vaccine-resistant variants with Gaussian convolution COVID-19: Could the wrong strategy ruin vaccine efﬁciency?

variants


Introduction
The COVID-19 pandemic is a crisis without precedent in modern history.The development of an efficient vaccine within less than a year is an equally unprecedented scientific and technological feat and provides a possible way out of the crisis.However, several challenges remain: the manufacturing and distribution of the vaccine, its societal acceptance, and the economic repercussions, to name but a few.The end of the crisis through vaccination also requires that variants of the virus will not develop a resistance.
The SARS-CoV-2 virus, which is responsible for the COVID-19 pandemic, is an RNA virus.These viruses tend to mutate at a higher rate than DNA viruses [4,16], most likely due to the higher mutational frequency of RNA replicases compared to most viral DNA polymerases [5].Therefore, this leads to swarms of genetic variants.Most mutations will lead to the death of the variant (lethal mutagenesis), some mutations will have no consequence on the virus' ability to spread or to evade immunity, however, a few mutations may lead to more transmissible viruses or those that can resist the currently available vaccines [6].
The swarm of variants is subject to natural selection.In the absence of a vaccine, variants with higher transmissibility rates have an advantage against other variants with lower transmissibility rates.They will naturally tend to dominate.
The "UK" B.1.1.7 variant, now denominated Alpha, was more contagious than the other variants, and thus quickly became dominant in early 2021 [8,12,13].Before any vaccination attempts are made, vaccine-resistant variants do not have any advantage; if V 1 is a vaccine-resistant variant but less transmissible than V 2 , which is not resistant to vaccines, then V 2 will dominate over the V 1 and the V 1 variant may eventually go extinct.However, when a substantial part of the population has been vaccinated, the vaccine-resistant V 1 may gain an advantage over V 2 and thus take over.
This paper aims at investigating how various vaccination and non-pharmaceutical intervention (NPI) strategies, such as lockdown or other types of restrictions, can result in the emergence of vaccine-resistant variants.
Of course, such concerns are not new to the COVID-19 pandemic.Compartimental models have been used to study the effects of two competing strains of hepatitis B [26] and Mycobacterium tuberculosis [3].More complex compartimental models have been used with three strains of the rotavirus in [22].In the context of the common flu, [14] studied the emergence of transmissible resistant strains when using vaccine or anti-viral treatments.A comprehensive discussion of several attempts is available in [24] which reviewed 26 studied models of vaccine resistance for 12 different pathogens.However, what is new in our current context is the wide-spread scale of infection and the potential for a significant number of viruses, thus exacerbating the situation and even prolonging the pandemic.
In the context of COVID-19, the dynamics of two variants is investigated in [15,17].A control strategy is also proposed.The two-variant model is compared to real data in [18].To the best of our knowledge, no work has been carried out on a generic large number of variants with different transmissibility and vaccine resistance characteristics.
Since the beginning of the pandemic, the impact of vaccine policies and non-pharmaceutical interventions has received considerable attention.One advantage to modeling is that many different simulations can be performed, thus allowing for the investigation of the dynamics of the pandemic under a wide variety of scenarii.The transmission dynamics and the thresholds of vaccine efficiency needed to prevent new waves of disease have been investigated in [25].In [23], the authors use a sophisticated compartimental model (SIDARTHE) with ground data to simulate the outcome of several vaccination strategies.They find that non-pharmaceutical interventions (NPIs) have a higher effect on the epidemic evolution than vaccination alone, advocating to keep NPIs in place during the first phase of the vaccination campaign.The authors also mention there could be a risk of emergence of vaccine-resistant mutations, although their model does not take this into account.We refer to [9] for a more thorough review of the literature on the subject and to [20] for a thorough review on NPI.
There is growing literature on new variants of the SARS-CoV-2; see [8,10,12,13] and references therein.However, it is not clear what further variants will occur and when.To the best of our knowledge, there is no model to predict such occurrences.
In Section 2, we propose a new model to take into account a large number of variants (essentially unlimited) with different transmissibility and resistance characteristics.The compartment of infected individuals is divided into sub-compartments to account for the various characteristics of the variants.To overcome the absence of a mutation model, we model the mutation using the multiplication by Toeplitz matrices representing a Gaussian convolution.This corresponds to giving a small probability of the virus to mutate with characteristics close to its own characteristics and a smaller probability to mutate to characteristics that are more remote from its current characteristics.In Section 3, we use our model to simulate three vaccine campaigns situation: vaccination in a community with a low level of infection, vaccination in a community with a high level of infection with and without NPI.Our model predicts that a vaccination campaign in a community with a low level of infection curbs the pandemic, however when the campaign occurs in a community with a high level of infection, the vaccination attempt fails if it is not accompanied with NPI.In Section 4, we investigate possible strategies of vaccination/NPI using the optimal control.We find that in some situations, nonintuitive strategies lead to a lower death toll.In Section 6, we present the limitations and caveats of our model.

The model
We consider an elementary compartimental epidemic model in the SIR family to describe the evolution of the COVID-19 pandemic, in a time period of a few months to a year, where: • There is an effective vaccine for the initial strain • There are variants with 1. various transmission rates (linearly related to the reproduction number) and 2. various resistance to the vaccine.
Variants will be classified according to criteria 1 and 2.
We consider N transmission rates, denoted β 1 to β N , and M sensitivity rates to the vaccine, denoted ω 1 to ω M .Subsequently, there are N × M classes.A variant with a transmission rate β i and vaccine sensitivity ω j will be called Variant (i, j).Note that two variants with the same transmission rate and the same sensitivity to the vaccine will be considered identical, which is a limitation of the model.Yet, a sufficiently large N and M resulting in a fine enough meshing should mitigate this impediment.
We shall consider the transmissibility rate to be increasing with the first index, meaning that if i 1 < i 2 then the variant with index i 1 j will be less contagious than the variant with index i 2 j.We shall also consider the resistance to the vaccine to be increasing with the second index, meaning that if j 1 < j 2 then the variant with index ij 1 will be less resistant (more sensitive) to the vaccine than the variant with index ij 2 .
(1, 1) ( The population is divided into "compartments" which evolve as a function of time.The compartments are described hereafter.

Compartments:
Susceptible individuals.S(t) is the percentage of the population, which is susceptible to be infected, but has not been infected so far (up to time t).

Infectious individuals.
Infected individuals are distributed in sub-compartments according to the variant they are infected with.Since the variants are numbered by a dual index (i, j) with i ∈ {1, ..., N } and j ∈ {1, ..., M }, we consider an array of compartments represented by an N × M matrix whose components I ij (t) describe the evolution of the percentage of the population infected with Variant (i, j).If no variant has transmissibility β i and resistance ω j then we have I ij (t) = 0 for all t ≥ 0. Vaccinated individuals.V(t) is the percentage of the population which is vaccinated at time t.We make no distinction between the vaccines and assume vaccine-resistance is the same for all vaccines.Further development of the model should consider the variety of vaccines where variants could be more sensitive to one vaccine than another vaccine.
Recovered individuals.Recovered individuals are distributed in sub-compartments according to the variant the individual has recovered from.We consider the array of compartments represented by an N × M matrix whose components R ij (t) describe the evolution of the percentage of the population recovered with variant ij (i ∈ {1, ..., N } and j ∈ {1, ..., M }.Our model accurately tracks an infection and a possible re-infection by another variant.The time frame of this work is a few months to a year.Thus, it is reasonable to neglect the declining acquired immunity and consider that re-infections by the same variant remain exceptional [11]. Deceased individuals.D(t) is the percentage of the initial population which, unfortunately, has died from the disease.We do not take into consideration births and only take into consideration deaths caused by the disease.Such extensions of the model could be made, but we do not believe they would have a significant impact on the results.

Transition rates:
Susceptible to Infected.Between S and I ij , the transition rate is assumed to be S (t) = −η(t)β i I ij S. Following the standard SIR modeling assumptions, β i > 0 is the average number of contacts per person per time, multiplied by the probability of the disease transmission in a contact between a susceptible individual and an individual infected with Variant (i, j).The function η(t) ∈ (0, 1] models non-pharmaceutical interventions such as stay-at-home orders.When η is equal to 1, no restriction is in place.When η is close to 0, the hardest restrictions are in place.
The rate β i will be the discretization of the uniform distribution along [0, R max 0 γ] so the reproduction number is in [0, R max 0 ].The coefficient γ is defined below.Thus, when N > 1, for any integer i in [1, N ], we have Susceptible to Vaccinated.We assume a rate of vaccination n(t).
Vaccinated to Infected Between S and I ij , the transition rate is assumed to be V (t) = −η(t)β i ω j I ij S where ω j measures the resistance of Variant (i, j) toward the vaccine.In other words, the efficiency of the vaccine is 1 − ω j ; it is fully efficient when ω j = 0 and useless when ω j = 1.As before, η(t) models non-pharmaceutical interventions.
Infected to Infected (emergence of variants).We model the mutation by a transition from the infected compartment to the (same) infected compartment.This is performed using a discrete Gaussian convolution.This technique is widely used in image processing where it is known as a "filter", notably to blur images.Details are provided in Appendix B.
One can define a fourth-order tensor P and compute the Gaussian convolution by computing the double contraction P .. I.
The standard deviation σ of the Gaussian convolution is the amount of "blurring" and represents the likelihood of (i) mutations to happen, (ii) leading to a viable virus, and (iii) with characteristics (k, l).The Gaussian distribution produces a small spill of the sub-compartments of I onto the sub-compartments that are nearby.
Because of the non-compact support of the Gaussian distribution, all sub-compartments will receive a positive value after the first convolution.Although this value is extremely small, the exponential nature of the dynamical system to come will amplify it.This is an unwanted situation that does not have any physical reality.Indeed, values in the compartments represent a fraction of the population.Any value under the inverse of the total population should be removed.Furthermore, differential equations models require the number of countable elements to be large enough to be represented by continuous variables.In other words, we should consider a tolerance level h below which, the spill-over is ignored.This value h should be at least larger than one over the population size.We will introduce a cut-off function ψ for compartment I with the property that ψ(x) = 0 when |x| < h and ψ(x) = x when |x| > 2h.
To achieve the desired regularity on ψ, we define ψ which applies ψ to each component of the input matrix.
Infected to Deceased.Between I ij and D, the transition rate is assumed to be proportional to the number of individuals infected with variant (i, j), which is the standard hypothesis in SIRD models.This rate is denoted µ.For the sake of simplicity, we consider all variants to have the same case fatality rate.Different case fatality rates could be considered by adding a dimension to matrix I (thus making it a third-order tensor) and adapting all depending tensors.This would complicate the model and we believe it would not drastically change the results unless there is a strong variation in this rate.Subsequently, Infected to Recovered.Between I ij and R ij , the transition rate is assumed to be proportional to the number of individuals infected with variant (i, j), that is R ij (t) = γI ij S.This is the standard hypothesis in SIR models.Again, we choose to consider that γ is constant across all variants.Adaptation of the model could be considered, but we believe it would not drastically change the results unless there is a strong variation in this rate.
Recovered to Infected.We consider a fourth-order tensor ξ = (ξ ijkl ) ijkl that indicates the transmission rate between the compartments R kl and I ij .The components of this tensor represent the probability of disease transmission in a contact between an individual infected with the variant (i, j) and an individual who has recovered from the variant (k, l), multiplied by the average number of contacts per person per time unit.It is the counterpart of the coefficient β ij for the susceptible to infected compartments.
The ratio ξ ijlk β lk measures the consequence of the antigenic drift of the variant (i, j) towards a immunoresistant profile to the antibodies obtained after a recovery from variant (k, l).If it is equal to one, the prior infection by variant (k, l) provides no immunity toward the variant (i, j).If it is equal to 0, the prior infection by variant (k, l) provides no immunity to the variant (i, j).
As mentioned earlier, the time frame of this work allows one to neglect the declining acquired immunity and consider that re-infections by the same variant remain exceptional.Thus, we shall set ∀i ∈ {1, ..., N }, ∀j ∈ {1, ..., N }, Identifying the remaining values of tensor ξ is delicate.The variants considered are theoretical and produced mathematically with the tensor P .They have not (yet) appeared in the real world.Subsequently, no experimental estimation of ξ can be performed.However, since the j-direction is used to model the impact of the antigenic drift on vaccine evasion, it is not unreasonable for ξ ijkl1 to be lower than ξ ijkl2 if l 1 ≤ l 2 .We discretionally set ξ ijkl to be C M [ω l − ω j ] + , where C ∈ (0, 1) is a cross-variant re-infection constant.Consequently, if l ≤ j then for all i and k in {1, ..., N }, we have ξ ijkl = 0.This complies with (1) which states that a second reinfection by the variant is impossible.Furthermore, this choice of ξ implies that an individual infected by Variant (i, j) and then infected by Variant (k, l) (thus with l > j) cannot be reinfected by Variant (i, j).
Summary of the model.
The model can be written in a more compact way using tensors.Tensors of order n are underlined n times, thus vectors are underlined once and matrices twice.The tensor product of vectors u and v is denoted u ⊗ v and is the matrix The Hadamard product of two matrices A and B is denoted A B and is the elementwise-product matrix For a tensor T , the tensor T s has indices which have been permuted according to permutation s.For instance, (ξ (3,4,1,2) ) ijkl = (ξ klij ) ijkl .The vector 1 is the vector where all components are 1.Depending on the context, it can have N or M components.We refer to Appendix A for a more detailed presentation of these notations.
Because some of the compartments are matrices, the flux going out of these compartments will gather (sum up) when going into a scalar compartment.It is the case between compartments I and D. Conversely, the flux going from a scalar compartment to a matrix compartment will split.It is the case between S and I or V and I. Finally, between two matrix compartments, the flux can braid.It is the case between compartments I and R.

S
This leads to the differential system.Tensor underlining has been dropped for the sake of readability.

Numerical simulation of three scenarii
We simulate three vaccination campaign scenarii.
(i) In a community with a relatively low level of infection (10 10 −5 ) with no NPI in place.
(ii) In a community with a relatively high level of infection (200 10 −5 ) with no NPI in place.
(iii) In a community with a relatively high level of infection (200 10 −5 ) and with NPI in place.
We consider a vaccination rate of 6 10 −3 , which corresponds to a daily vaccination of 0.6% of the population.The vaccination campaign ends when the entire population has been vaccinated.We take N = 30 subdivisions of the transmissibility rate in the range [0, R max 0 ] with R max 0 = 15.We take M = 40 subdivisions of vaccine efficiency.In all scenarii, we consider there is only one strain at time t = 0, which is completely sensitive to the vaccine.We set the recovery rate at γ = 0.09.We set the transmission rate to 0.2, which means that all components of the matrix I(0) are zero, but for the component (i 0 , j 0 ) where i 0 = [1 + 0.2/γ(N − 1)/R max 0 ] = 5 and j 0 = 1.The component (i 0 , j 0 ) of I(0) is set to 10 10 −5 and 200 10 −5 respectively for the communities with a low level and high level of infection.We consider that 25% of the population has been infected before and has recovered when the simulation begins at t = 0. We set the case fatality rate to µ = 2%.
The mutation parameter is set to σ = 1 and the reinfection parameter is C = 0.5.The population is one million people.These parameters are rather arbitrary and changing them will have an impact on the simulations.Therefore, the conclusions derived from these analysis are purely qualitative.Quantities are displayed to compare the situations but have no intrinsic meaning.
The simulation is performed on the time interval [0, 350] (days) using the explicit Euler method.The time step is 1. Figure 1 shows the evolution of the values in each compartment over time for scenarii (i), (ii), and (iii) and the distribution of variants.
In a community with a relatively low level of infection (10 10 −5 ) the vaccination campaign, with no NPI, curbs the pandemic.Other impending variants don't have time to appear and the virus goes extinct.In the end (t = T ), the death toll is roughly 0.004% of the initial population.
We now consider a community with a rather high level of infection (200 10 −5 ).In our model, the vaccination campaign with no NPI, fails to curb the pandemic.The vaccination gets rid of the initial strain, however, it also selects and advances variants that are resistant to the vaccine.As a consequence, a second peak of infection appears shortly after, with vaccine-resistant variants.It should be noted that the spike in infections by the variant occurs with a delay with respect to its emergence.In the end, the death toll is roughly 11% of the initial population.
We run our model for a community with a rather high level of infection (200 10 −5 ) where we put in place NPI on the interval [0, 50].These restrictions are such that η(t) = 0.75 in this period.When NPI is put in place on this time interval, our model predicts the vaccination campaign curbs the pandemic.Other impending variants don't have time to appear and the virus goes extinct.In the end (t = T ), the death toll is 0.0006% of the initial population.
In conclusion, according to our model, the vaccination campaign shows desirable results if: • It is carried out in a community with a low level of infections.
• It is carried out in a community with a high level of infection with NPI in place at least at the beginning of the campaign.
If the vaccination campaign is carried out in a community with a high level of infection, then nonpharmaceutical interventions are needed along with the vaccination campaign, at least at the beginning of the campaign, otherwise the vaccination campaign not only fails to curb the pandemic but it advances vaccine-resistant variants.

Optimal control
In this section, we investigate the optimal problem for the vaccination and NPI strategy.The natural and intuitive strategy would be to vaccinate as quickly as possible and to impose the strongest allowed NPIs.We aim to verify if is indeed the case.
In Subsection 4.1, we apply the Pontryagin principle to identify the location where the optimal control is located.We will see it is on the edges of a square.In Subsection 4.2, we identify the optimal control for the scenarii discussed in Section 3.

Identification of the location of the optimal control
Let us consider an observation period [0, T ] where T > 0 is the final time.In the numerical simulations to come, we will chose T = 350.The time step will be set to 0.1 instead of 1 as in the previous section, for reasons that will be explained later.
Our goal is to minimize the number of deceased individuals on [0, T ].Thus, we shall consider the system cost The control parameters are the vaccination rate n(t) and the non-pharmaceutical intervention η(t).These controls both come with constraints.The total number of vaccines used is constrained by the amount of vaccines available, the vaccination logistics, and possibly other factors.Let n SUP represent this limitation: The non-pharmaceutical intervention η(t) is limited by socio-economic factors including the necessity to keep vital sectors running, social acceptability, and other factors.
Full evolution video available at https://youtu.be/28_TBPNzx2g Full evolution video available at https://youtu.be/AdlptwCRrDI Full evolution video available at https://youtu.be/Zr85sq2MkcoLet us consider the set of admissible controls: 4), ( 5) hold true} We use Pontryagin's principle to address the optimal control problem.Consider a state function t → x(t), t ∈ [0, T ] with: x(t) = (S(t), , a control u ∈ A and an adjoint-state p → p(t) , t ∈ [0, T ] (also known as costate) given by Let us define the Hamiltonian H: where ∂S ∂t , ∂I ∂t , ∂R ∂t and ∂V ∂t are given by ( 2).Following the Pontryagin's principle, if a control t → u * (t) is optimal, and t → x * (t) is the corresponding trajectory, it is necessary to have a nonzero adjoint vector function p * , which is the solution to From ( 7) and some laborious computations, the adjoint variable p is the solution to: −P (3,4,1,2) (P I Ψ (P..I − I)) + P I Ψ (P..
Remark 1.Here, the differentiation with respect to a matrix A is defined as the matrix with components that are the derivative with respect to the components of A. Proposition 2. There exists an optimal control u * ∈ A.
Proof.The existence of an optimal control is guaranteed by [7,Corollary 4.1] due to the linearity (thus, the convexity) of µ I .. (1 ⊗ 1) with respect to u, the a priori boundedness of the state solutions and the Lipschitz property of function F introduced in the proof of Proposition 1.
To solve the minimization problem, we differentiate the Hamiltonian with respect to the control u = (n, η).The derivatives with respect to n and η are respectively These non-vanishing terms suggest a bang-bang control, which is normal for such types of systems.Thus, the control u = (n, η) can be optimal only if it takes its values on the edges of the square as exposed in Figure 2.This is summarized in the following proposition.Proposition 3. A necessary condition of optimality of the control u * ∈ A is that The north-west point of the square in Figure 2, represented in red, corresponds to the intuitive control which consists of vaccinating as quickly as possible and imposing the strongest NPI that is allowed: Figure 2. Control square: The optimal control u = (n, η) is located on the edges of the square.
Nonetheless, there is no guarantee that this intuitive control is optimal.It is the case if Λ n (t) ≤ 0 and Λ η (t) ≥ 0 for all t ∈ [0, T ].However, if for some t we have Λ n (t) > 0 or Λ η (t) < 0, then the optimal control may not be the intuitive one.In this case, the optimal control will correspond to a point on the square, moving along the edges as time evolves, possibly stopping vaccination at times or lifting the restrictions.

Application to the three previously examined scenarii
Let us examine the situation of the community with a low level of infection with the parameters indicated in Section 3. We consider the fastest possible vaccination rate is n SUP = 0.006 and we prohibit any NPI by setting η INF = 1.In Section 3, we carried out the intuitive strategy (9), corresponding to the red dot on Figure 2, which consists of having n(t) = n SUP until the compartment S is empty.The results were shown on the top part of Figure 1 and discussed earlier.By computing the adjoint state (8) and subsequently evaluating Λ n and Λ η , we see that for all t ∈ [0, T ] we have Λ n (t) ≤ 0 and Λ η (t) ≥ 0 (see the top part of Figure 3).This indicates the intuitive control is indeed the optimal control.
Let us now examine the situation of the community with a high level of infection with the parameters indicated in Section 3. Again, we consider the fastest possible vaccination rate is n SUP = 0.006 and we prohibit any NPI by setting η INF = 1.In Section 3, we carried out the intuitive strategy (9), corresponding to the red dot on Figure 2, which consists of having n(t) = n SUP until the compartment S is empty.The results were shown on the center part of Figure 1.As discussed, this strategy does not curb the pandemic and the death toll is roughly 11% of the initial population.The question of the existence of a possibly better (non-intuitive) strategy remains.When computing Λ n and Λ η for the intuitive strategy, we obtain the values presented on the center part of Figure 3.The sign of Λ n (t) changes on [0, T ].This suggests the intuitive strategy is not optimal.
The optimal control for a community with a level of infection and no NPI is computed by two different methods.Due to the iterative process of both methods and the possible known unstability inherent to the explicit numerical scheme employed, we used a time step of 0.1.
Method 1 -Computation of the optimal strategy using the adjoint state.We start with n and η given by (9).We compute the adjoint state and we derive Λ n and Λ η .When Λ n (t) ≥ 0 we set ñ(t) = 0, otherwise we set ñ(t) = n SUP .Similarly, when Λ η (t) ≤ 0 we set η(t) = η INF , otherwise we set η(t) = 1.Then, we replace n by (1 − λ)n + ñ and η by (1 − λ)η + η, with λ = 1/10.The purpose of the coefficient λ is to avoid fast jumps that could result in a lack of convergence.Then we iterate this process until n and η no longer evolve from one iteration to the next (or for which the change is smaller than a tolerance threshold).
Method 2 -Computation of the optimal strategy using the simulated annealing algorithm.In Section 4.1, we established that the optimal control is located on the control square (see Figure 2).To find the close-to-optimal solution to minimize the system cost D(T ), we discretize the square and address the optimization problem using a simulated annealing algorithm.
Both methods give comparable results.Method 2 relies on a coarser discretization to keep the dimension of the problem manageable, leading to slightly less precise results.
The strategy identified here is not intuitive; the vaccination campaign is delayed to prevent the emergence of the highly vaccine-resistant variants.This strategy results in a high death toll (9.7% of the population), but lower than the death toll resulting from the intuitive strategy consisting of vaccinating as quickly as possible with the highest possible NPIs (11%).We provide in Figure 4 the evolution of the pandemic when this non-intuitive strategy is used.This result should not be interpreted as a suggestion to stop or delay vaccination campaigns in general.On the contrary, we support vaccinating and using NPI.When allowing NPI up to η INF = 0.75 on [0, 50], the intuitive control (9) leads to Λ n (t) ≤ 0 and Λ η (t) ≥ 0 for all t ∈ [0, T ] as shown on the bottom part of Figure 3.This indicates the intuitive control is indeed the optimal control.In this case the death toll is 0.006% compared to 9.7% for the optimal vaccination strategy in the absence of NPI and 11% for the intuitive strategy in the absence of NPI.

Conclusion
In this paper, we have developed a compartmental model to account for several variants of SARS-Cov-2 with different transmissibility rates and resistance to a vaccine.We have used a Gaussian convolution to simulate the emergence of variants.Based on this modeling, we have run simulations for three different scenarii.While vaccinating is an effective strategy in a community with a low level of infection, and effective in a community with a high level of infection, if accompanied with non-pharmaceutical interventions (e.g.lockdowns), the model indicates that running a vaccination campaign in a community with a high level of infection while lifting all restrictive measures can lead to the selection of vaccine-resistant variants thus voiding the benefits of a vaccine.
In communities with a high level of infection, our model suggests that restrictions need to be kept in place during the vaccination campaign, or at least at the beginning of it.This goes against the understandable desire to go back to a "normal" life as quickly as possible, with the belief that vaccination is a way to avoid restrictions.Unfortunately, according to our model, lifting restrictions too soon may lead to selecting vaccine-resistant variants that could delay (and possibly jeopardize) the way out of the pandemic.This would become apparent with a delay and only when it is too late.
It should be emphasized that this paper does not recommend a vaccination strategy nor public health policy.It points out that, in some cases, vaccination may have serious adverse effects if not accompanied by non-pharmaceutical interventions.Clearly, further work is needed to better understand the virus mutation and adapt the mutation model of the I-compartment to a better fitted model.Hopefully, more precise mutation models can be achieved through ongoing and future research.The Biden administration is planning to spend $1.75 billion within Section 2402 of the "American Rescue Plan Act of 2021" [1] to strengthen and expand activities related to genomic sequencing, analytics, and disease surveillance [2].
Video at https://youtu.be/Pgq8NeTcw6QAs for any model, the one developed in this paper is an approximation of reality: simplifications are made, some phenomena are not taken into account, some parameters are estimated, or simply set to reasonable values.This model has shortcomings and is rather elementary.It focuses on (i) replacing the I compartment which customarily a scalar by a matrix and on (ii) using a Gaussian convolution to simulate the mutations.
We have built upon the SIR model, so the main ideas of the paper would be easier to understand.For better predictions, a more elaborate compartmental model would be better to take into account asymptomatic individuals, the age, and space structure of the population.The tensor-like model for SIR could be adapted to these more complex models at the cost of more variables to handle and possibly more tensors.We believe similar qualitative patterns to the ones found in this paper would be found with these more sophisticated models, but the values are likely to be affected.
We have not taken into account the waning immunity.This could be added to the model.Since it is not, the model developed here is not valid for long periods of time.
Due to the lack of robust models to describe the probability of emergence of variants with different characteristics, we have used a convolution mechanism to overcome this lack of data.Changing the values of σ, M , N will change the threshold values for the different behaviors, which, once again, calls for a qualitative interpretation of the results.
Finally, the model considers only one type of vaccine.If a vaccine-resistant variant emerges as computed in the simulation section of some scenarii and if new vaccines are manufactured to better target these variants, it will be useful to enrich the model to consider a panel of vaccines with their own efficiency with respect to each variant, and possibly the time necessary to manufacture these new vaccines.This would turn the scalar compartment V into a vector, vector ω into a matrix, and the real-valued function n into a vectorial function for which some components are set to zero until a new vaccine is manufactured.Note that in image processing, handling the edge is always an issue when performing a Gaussian blur.The problem is usually circumvented by modifying (10) to artificially extend the image by reflecting it with respect to the edge or replicating the last pixels.Less often, the problem is circumvented by taking all the values beyond the edge with the same constant.In the context of this paper, this latter solution is chosen with a constant equal to zero; it corresponds to the absence of spill-over from non-existing cells.Thus, expression (10) does not need to be changed.
Performing a Gaussian convolution of a vector of dimension d (signal stored in a 1D-array) can be achieved by multiplying the vector by a Toeplitz matrix T(d) with elements for i and j integers in [1, d] (see [19]).The extension of this method in the case of a matrix (or image stored in a 2D-array) does not lead to any difficulties.
Consider the fourth-order tensor P = (T ⊗ T) (1,3,2,4)   defined as the tensor product of T(N ) and T(M ), transposed by permutation (1,3,2,4).This fourth-order tensor of dimension N × M × N × M can be written: While the use of Gaussian convolution is standard in image processing, the use of a fourth-order tensor to represent the operation is not.In the context of this paper, such a representation eases the computation of the differentiation of the Hamiltonian with respect to the state variables when applying the Pontryagin principle.

Figure 1 .
Figure 1.Evolution of the pandemic.Top: scenario (i) -Center: scenario (ii) -Bottom: scenario (iii) Left: Evolution of the compartments over time.Green: Susceptible individuals.Purple: Vaccinated individuals.Red: Infected individuals, the dashed line represents the individuals infected by variants resistant to a vaccine by more than 50%.Green: Recovered.Black: Deceased.-Right: Distribution of the variants at t = 0, t = 75, t = 160, t = 300.

Figure 4 .
Figure 4. Optimal control for scenario (ii).Upper Left: Evolution of the compartments over time.Green: Susceptible individuals.Purple: Vaccinated individuals.Red: Infected individuals, the dashed line represents the individuals infected by variants resistant to a vaccine by more than 50%.Green: Recovered.Black: deceased.Lower Left: Adjoint state.Red: Λ n .Yellow: Λ η .Right: Distribution of the variants at t = 0, t = 75, t = 160, t = 300.

Figure 5 .
Figure 5. Gaussian Blur of the Eiffel Tower.The picture to the left is the original picture I (from a photo by Willem van de Poll released under CC0).It is a 128 × 128 matrix, the entries of which are a proportion of white.The picture to the right was obtained by computing P .. I as in (11).

2σ 2 ijkl
where i and k are integers in [1, N ] and j and l are integers in [1, M ].Consider our N × M matrix I, we can compute the double contraction of P with I, which gives the matrix we have represented in Figure5.