key: cord-0809956-i7zsz4x0 authors: Selvamuthu, Dharmaraja; Tardelli, Paola title: Infinite-server systems with Hawkes arrivals and Hawkes services date: 2022-04-29 journal: Queueing Syst DOI: 10.1007/s11134-022-09813-3 sha: 3443c867d559d64f2f94370b18dc80be28a8534e doc_id: 809956 cord_uid: i7zsz4x0 This paper is devoted to the study of the number of customers in infinite-server systems driven by Hawkes processes. In these systems, the self-exciting arrival process is assumed to be represented by a Hawkes process and the self-exciting service process by a state-dependent Hawkes process (sdHawkes process). Under some suitable conditions, for the [Formula: see text] system, the Markov property of the system is derived. The joint time-dependent distribution of the number of customers in the system, the arrival intensity and the server intensity is characterized by a system of differential equations. Then, the time-dependent results are also deduced for the [Formula: see text] system. In fields like probability, operations research, management science and industrial engineering, there are phenomena that are well described by infinite-server systems. Many authors, in literature, assume that in most queueing systems the arrival process of cus-tomers is a Poisson process and the service times have an exponential distribution. This implies that the future evolution of the system only depends on the present situation. However, in real-word problems, the future evolution of the arrival process and/or the service process is often influenced by the past events. This is essentially observed, during periods of suffering, for instance, earthquakes, crime and riots and social media trend (Daw and Pender [8] and Rizoiu et al. [20] ) and in the financial market, incorporating some kind of contagion effect (Aït-Sahalia et al. [1] ). Recently, the same phenomenon is observed to describe the temporal growth and migration of COVID-19 (see Chiang et al. [6] , Escobar [12] , Garetto et al. [13] ). The work by Eick et al. [9] , and recent works by Daw and Pender [8] and Koops et al. [16] , motivated us to consider the service process as a state-dependent Hawkes (sdHawkes) process. This article studies an infinite-server system wherein the dynamics of the arrival process and the service process are governed by Hawkes processes. The self-exciting property of Hawkes process is well known for its efficiency in reproducing jump clusters due to the dependence of the conditional event arrival rate, or intensity, on the counting process itself. It can be considered that this type of infinite-server system has the potential to represent, for instance, the evolution of the number of people visiting a shopping centre or the number of clients visiting a website. In both these cases, the intensity function for the arrival process cannot be considered as a constant, and the rate of new arrival events increases with the occurrence of each event. Similarly, it is observed that the intensity function for the service process may be state-dependent and every new service completion excites further service process. Errais et al. [11] derived the Markov property for the two-dimensional process consisting of a Hawkes process and its intensity having exponential kernel. We generalize their approach investigating the Markov property for the three-dimensional process consisting of the number of customers in the system, the arrival intensity and the service intensity. To achieve this, we have a problem that must be solved. On a filtered probability space, (Ω, F , {F t } t≥0 , P), we consider the filtrations generated by the arrival process, {F M t } t≥0 , the filtrations generated by the service process {F S t } t≥0 , and the filtrations generated by the number of the customers in the system {F N t } t≥0 . Then, we note that But, the vice versa is not always true, namely, a F N t -martingale is not always a F M t ∨ F S t -martingale, in general. This is the classical problem of the enlargement of filtrations. An assumption in this framework is the Immersion property, which allows us to get that any F N t -martingale is also a F M t ∨ F S t -martingale (see Bielecki et al. [4] , Jeanblanc et al. [15] , and Tardelli [21] ). Consequently, following the existing literature, the Immersion property is assumed in the present paper. Generalizing some results of Daw and Pender [8] and Koops et al. [16] , we derive the transient or time-dependent behaviour of the infinite-server system with Hawkes arrivals and sdHawkes services. This is the main contribution of the present paper. The paper is organized as follows. In Sect. 2, we introduce Hawkes processes and their properties. In Sect. 3, we describe an infinite-server system with Hawkes arrivals and sdHawkes services. We discuss the moments of the arrival process and its intensity. We derive the Markov property of the process describing the number of customers in the system using the Immersion property. In Sect. 4, we obtain the joint transient or time-dependent distribution of the system size, the arrival and the service intensity processes for the Hawkes/sdHawkes/∞ system. Afterwards, we deduce the above time-dependent results for a M/sdHawkes/∞ system. Finally, in Sect. 5, we present concluding remarks. Hawkes processes constitute a particular class of multivariate point processes having numerous applications throughout science and engineering. These are processes characterized by a particular form of stochastic intensity vector, that is, the intensity depends on the sample path of the point process. Let (Ω, F , {F t } t≥0 , P) be a filtered probability space, where {F t } t≥0 is a given filtration satisfying the usual conditions. On this space, a counting process is its associated filtration, and stands for the information available up to time t. For a Hawkes process, the intensity λ t is a function of the past jumps of the process itself, and, in general, assumes the representation The function ϕ(·), called excitation function, is such that ϕ(t) ≥ 0, for t ≥ 0. It represents the size of the impact of jumps and belongs to the space of L 1 -integrable functions. When ϕ(t) = 0, M is a counting process with constant intensity. This means that a Poisson process is obtained as a special case of a Hawkes process. Following the existing literature (see Daw and Pender [8] ), we restrict our attention to a function ϕ(·) defined by an exponential decay kernel. To this end, let the arrival intensity be governed by the dynamics where λ * represents an underlying stationary arrival rate, called baseline intensity. The constant r > 0 describes the decay of the intensity as time passes after an arrival, and B t , for each t ≥ 0, is a positive random variable representing the size of the jump in the intensity upon an arrival. The solution to Eq. (2), given λ 0 , which is the initial value of λ t , is obtained as Taking {t i } i>0 as the sequence of the jump times of M, and if the self-exciting term is such that ϕ(t − t i ) ≡ B t i e −r (t−t i ) , then Eq. (1) coincides with Eq. (3). Note that, the Hawkes process M itself does not have the Markov property. However, assuming that the excitation function ϕ(·) has an exponential decay kernel, it is possible to prove that the bi-dimensional process (λ, M) is a Markov process (Errais et al. [11] ). Furthermore, the explosion is avoided by ensuring the condition given by E[B t ] < r , (Daw and Pender [8] ). The arrival process of the system is the Hawkes process M acting as an input process to an infinite-server system, having arrival intensity given by Eq. (3), and {t i } i≥0 as the sequence of the arrival times. For the service requirement, we consider S = {S t , t ≥ 0}, another Hawkes process having serving intensity μ t , with initial intensity μ 0 > 0, baseline intensity μ * and, exponential excitation function. Taking N t as the number of customers in the system at t, for a constant s > 0, and for t > 0, For i > 0, τ i denotes the time epoch of ith customer departure after the service completion, and C τ i is a positive random variable representing the size of that jump. The number of customers in the system whose service is completed on, or before, time t is given by S t and N t = M t − S t . This form of the serving intensity μ t allows us to take into account the crowding of the system, which is the number of customers in the system at time t, and about the experience gained by the server process, which is given by the Hawkes structure. This is called as a state-dependent Hawkes process, sdHawkes process (Li and Cui [17] and Morario-Patrichi and Pakkanen [18] ). To the best of our knowledge, this is the first time in literature that Hawkes processes are introduced to model the experience in arrivals and services of an infinite-server system. Furthermore, we note that, at time t, the sdHawkes process for service will start as new, whenever the number of customers in the system become one, i.e. N t = 1. Therefore, we call this queueing model as Hawkes/sdHawkes/∞ in Kendall's notation. Since the service process is state-dependent, for the stability of the infinite-server system (Daw and Pender [8] ), only the stability for the arrival process is needed, which means that E[B t ] < r , for all t. This subsection is devoted to derive the results regarding the moments of the process M and its intensity λ. These results can be proved taking into account the results of Dassios and Zhao [7] and generalizing those obtained in Daw and Pender [8] , Section 2. Var In general, for the moments of M t and for the moments of λ t of order n, we have to recursively solve the following system of differential equations for positive integer values of n and k and with S : [8] imply that Note that by taking the limit as E[B t ] → r in Eqs. (5), (6), (7) and (8), the same results of Corollary 1 are achieved. Recall that, if the excitation function of a Hawkes process is exponential, then the process jointly with its intensity is a Markov process. In order to characterize L (N t , λ t , μ t ), the law of N t , the Hawkes arrival intensity λ t and the state dependent Hawkes server intensity μ t , we have to prove the Markov property of the Hawkes/sdHawkes/∞ system. To this end, we need some preliminaries. Let the processes M, S and N be defined on the same filtered probability space this case, we say that F M satisfies the Immersion property with respect to the filtration F M,S . Also, let the filtration F S := {F S t } t≥0 satisfy the Immersion property with respect to F M,S . Given the arrival process M and the service process S, we have that the sub σ -algebras F M t and F S t generated by these processes, respectively, are such that , for any positive value of t, we get that Moreover, for a negligible value of t and between t and t + t, if there are no new arrivals and there are no service completions, we get that Recalling that the self-exciting terms of the intensities λ t and μ t are defined by exponential decay kernels, even though the processes M and S does not have the Markov property themselves, we are able to show that (M, S, λ, μ) is a Markov process (Errais et al. [11] ). To get the Markov property of (M, S, λ, μ), we derive its Dynkin formula, in the next Proposition, taking into account that this formula is a direct consequence of the strong Markov property and, hence, it builds a bridge between differential equations and Markov processes, (see, for instance, Øksendal [19] , Sect. 7.4). A be an operator acting on a suitable function f , with continuous partial derivatives with respect to λ and μ, such that where and B and C are random variables such that P(B > 0) = 1 and P(C > 0) = 1. If, for t ≤ T , the following Dynkin formula holds Proof For the sake of completeness, we prove this result along similar line as in Errais et al. [11] . For a fixed time t, (M t , S t , λ t , μ t ) has right-continuous paths of finite variation. Hence, Note that m λ The integrability condition on the predictable integrand guarantees that is a martingale (Theorem 8, Chapter II of Bremaud [3] ). As a conclusion, we get that f (M, S, λ, μ) is a semi-martingale having a unique decomposition given by a sum of a predictable process with finite variation and a martingale, and we are able to write that Since the right-hand side is a martingale, so is the process defined by the left-hand side, which results to the formula given by Eq. (10) . Under all the assumptions made so far, the infinitesimal generator of the process (M, S, λ, μ) acting on a function f (M, S, λ, μ) is given by Eq. (9). (M, S, λ, μ) is a Markov process, and taking into account that the process N = M − S, we are able to deduce that (N , λ, μ) is also a Markov process. The joint transient distribution of (N , λ, μ) is uniquely defined by the transformation where t ≥ 0, 0 ≤ z ≤ 1, u ≥ 0 and v ≥ 0. In this section, we characterize ζ in terms of the solution of a system of ordinary differential equations (ODEs). If (N t , λ t , μ t )| t=0 = (0, λ 0 , 0), then the couple (u(·), v(·)) solves the system of ODEs with boundary conditions u(0) = u and v(0) = v. Furthermore, where ζ depends on v through the coupling with u given by system of ODEs (13) . In order to prove Theorem 1, we make use of Propositions 4 and 5 given below, whose proofs are in "Appendix". The joint distribution of (N , λ, μ), for t > 0, is such that Taking we have that Recalling the definition of ζ given in Eq. (12) , which in turn implies that and taking into account that F(t, −1, λ, μ) = 0, note that Substituting all these in Eq. (16), we obtain the partial differential equation (PDE) satisfied by ζ as As usual, applying the method of the characteristics, we reduce the PDE to a system of ODEs, along which the solutions are integrated from some initial data given on a suitable hypersurface. To this end, let z, u and v be parameterized by w, 0 < w < t, and with the boundary conditions z(t) = z, u(t) = u, v(t) = v. A comparison with Eq. (17), taking into account the chain rule, gives us This in turn implies that, for a real constant c, we are able to deduce that which implies Eq. (14) . Furthermore, by Eq. (17) and the chain rule written in Eq. (18), we deduce that Recalling that 0 < w < t, and that z(t) = z, for a real constant C = z exp −sμ * t 0 v(x) dx , which allows us to write that Similarly, by Eq. (17) and the chain rule written in Eq. (18) , and substituting z(w), we get that By substituting t for t − w, and by taking into account that we have a change of sign in the LHS of both du(w) dw and dv(w) dw , we have Eq. (13) , with boundary conditions u(0) = u and v(0) = v. Let v(t) = w (t) = y 2 (t) and w(t) = y 1 (t), then the system of ODEs as given in Eq. (13) turns out to be a dynamical system such that Proof In Theorem 1, for the Hawkes/sdHawkes/∞ system, we derive ζ(t, z, u, v) by Eq. (14) where the couple (u(·), v(·)) solves the system of ODEs as given in Eq. (13) . Putting these values in Eq. (13), we get To convert Eq. (23) into a dynamical system, let which implies Eqs. (19) , (20) and (21) . If the random variables B and C follow exponential distributions with parameter a and b, respectively, then Eqs. (19) , (20) and (21) become such that Furthermore, let then we are able to write the dynamical system , , Proof Taking into account the assumptions made on the random variables B and C, we get that Substituting these values in Eqs. (19) , (20) and (21), we get Eqs. (24), (25) and (26). Moreover, taking the system given by Eqs. (24), (25) and (26) turns out to be with boundary conditions Finally, by Eq. (27), we are able to write the dynamical system as given in Eq. (28). Next, we are going to deduce the results for the M/sdHawkes/∞ system. where t ≥ 0, 0 ≤ z ≤ 1, v ≥ 0. Given the constant intensity λ t = λ, and the initial values, (N t , μ t )| t=0 = (0, 0), we get that where The proof of Theorem 2 is obtained in three steps: Propositions 8 and 9 given below, whose proofs are in "Appendix", and then the main part which is also proved in "Appendix". (N , μ) , for t > 0, and λ t = λ, positive constant, F(t, k, λ, μ) = F(t, k, μ)I λ t =λ = P [N t = k, μ t ≤ μ] I λ t =λ is such that ∂ 2 F(t, k, μ) ∂μ∂t + ∂ ∂μ s kμ * − μ ∂ F(t, k, μ) ∂μ = λ ∂ F(t, k − 1, μ) ∂μ − (λ + μ) ∂ F(t, k, μ) ∂μ + μ 0 y ∂ F(t, k + 1, y) ∂μ d P[C ≤ μ − y].(34) Taking we have that Remark 5 Note that, in queueing systems, the situation in which a service time follows a general distribution is more general than the situation in which a service time follows a state-dependent Hawkes process. This observation suggests to study the results obtained in Theorem 2 for the M/sdHawkes/∞ system to try to find the relations with the analogous results for an M/G/∞ system (see Eick et al. [9] ). This is an interesting open research problem which could be studied in detail. Koops et al. [16] have studied a Hawkes/M/∞ system. More precisely, they obtained that In Theorem 1, these known results have been extended taking into account the statedependent Hawkes service times. In Theorem 1, if r = s = 0 and E[B t ] = E[C t ] = 0, Eqs. (3) and (4) are simplified and λ t = λ 0 and μ t = N t μ 0 . This means that the arrival process, M t , turns out to be a Poisson process with parameter λ 0 and, if there are N t customers in the system at time t, the service time has an exponential distribution with parameter N t μ 0 , i.e. this is an M/M/∞ system. Therefore, as usual, the joint distribution is while, for k = 1, 2, . . . Solving the above system of difference-differential equations, we obtain the distribution of N t , as and by noting that we have that Furthermore, note that F(t, k), for t → ∞, turns out to be These results of distribution of N t and of limiting distribution coincide with the results presented in Gross et al. [14] . Main contribution of this paper is to derive the joint time-dependent distribution of the vector process (N , λ, μ), given by system size, arrival and service intensity processes for the Hawkes/sdHawkes/∞ and M/sdHawkes/∞ systems. To get this task, we proved the Markov property for the vector process (N , λ, μ) . Then, the idea is to characterize the law of the infinite server system in terms of the solution of a corresponding system of ODEs. The methodology used is inspired by Koops et al. [16] , where the authors achieved the same results for a Hawkes/M/∞ system. For a M/M/∞ system, the above results are deduced directly following a classical procedure. However, we have to take into account that, in a queueing system, if the service time follows a general distribution, then this is a more general situation than that in which the service time follows a state-dependent Hawkes process. Hence, an interesting research problem, which could be studied in detail, is to connect the results obtained for the M/sdHawkes/∞ system with the analogous results for the M/G/∞ system. More precisely, the idea is to investigate the relations between the transient behaviour of M/G/∞ system and that of M/sdHawkes/∞ system. Taking into account that Koops et al. [16] obtained the time-dependent results for Hawkes/M/∞ system, an open problem is to study if these results could be extended for a Hawkes/G/∞ system. Instead of obtaining a solution by solving ODEs (as in Theorem 1), several methods are possible, for instance, methods such as fixed point equation in the transform domain and concepts using branching processes. Others future works could be to investigate the asymptotic behaviour of the distributions and the moments for the Hawkes/sdHawkes/∞ system. Recalling that P[B ≤ 0] = 0, P[C ≤ 0] = 0, then taking the right-hand side, RHS, of Eq. (36), and, again, differentiating, successively, with respect to λ and to μ, we get In order to transform Eq. (15) with respect to the intensities λ and μ, note that and, analogously, Moreover After all the transformations we have made and rearranging, we get the claim. Recalling the results achieved in Lemma 1, since in a small time interval, (t, t + t), we can have a service with probability y t, or we can have still customers in service with probability 1 − y t, Rearranging Eqs. (40) and (41), we get the claim. Note that After all the transformations we made on Eq. (34), and by Eq. (42), we get the claim. Recalling the definition of ζ given in Eq. (31), which in turn implies that Modeling financial contagion using mutually exciting jump processes Enlargement of Filtration with Finance in View Point Processes and Queues: Martingale Dynamics Hedging of Credit Derivatives in Models with Totally Unexpected Default Enlargement of filtration and predictable representation property for semimartingales Hawkes process modeling of COVID-19 with mobility leading indicators and spatial covariates Exact simulation of Hawkes processes with exponentially decaying intensity Queues driven by Hawkes processes Multivariate Hawkes processes: an application to financial data Affine point processes and portfolio credit risk A Hawkes process model for the propagation of COVID-19: simple analytical results A time-modulated Hawkes process to model the spread of COVID-19 and the impact of countermeasures Fundamentals of Queueing Theory Mathematical Methods for Financial Markets Infinite-server queues with Hawkes input Numerical method for means of linear Hawkes processes State-dependent Hawkes processes and their application to limit order book modelling Stochastic Differential Equations: An Introduction with Applications Expecting to be HIP: Hawkes intensity processes for social media popularity Recursive backward scheme for the solution of a BSDE with a non-Lipschitz generator Publisher's Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations The authors are grateful to the editor and the anonymous reviewers for their insightful comments, which helped in improving the paper. One of the authors (PT) gratefully acknowledges the support received from the Department of Mathematics, Indian Institute of Technology Delhi, India. This research work is supported by the Department of Science and Technology, India. Taking into account the observations made in Remark 4, and the results of Lemma 1, since in (t, t + t), we can have a service completed with probability y t, or we can have still customers in service with probability 1 − y t,After elementary manipulations, we getThen, letting t ↓ 0, we haveTaking the left-hand side, LHS, of Eq. (36) and differentiating, successively, with respect to λ and μ, we getMoreover, taking into account thatApplying all these transformations on Eq. (35), we find for ζ(t, z, v) the PDEApplying the method of the characteristics, as in Theorem 1, we reduce a PDE to a system of ODEs. Again, let z and v be parameterized by w, with the boundary conditions z(t) = z, v(t) = v and 0 < w < t. Taking into account that for the chain rule, and by a comparison with Eq. (43) we get dζ (t, z(w), v(w)) dw = ∂ζ ∂t dt dw + ∂ζ ∂z dz dw + ∂ζ ∂v dv dw = −λ(z(w) + 1)ζ (t, z(w), v(w)) .Again, following the same steps of Theorem 1, we get the claim.