Drift Control of High-Dimensional Reflected Brownian Motion: A Computational Method Based on Neural Networks

Published Online:https://doi.org/10.1287/stsy.2023.0044

Abstract

Motivated by applications in queueing theory, we consider a stochastic control problem whose state space is the d-dimensional positive orthant. The controlled process Z evolves as a reflected Brownian motion whose covariance matrix is exogenously specified, as are its directions of reflection from the orthant’s boundary surfaces. A system manager chooses a drift vector θ(t) at each time t based on the history of Z, and the cost rate at time t depends on both Z(t) and θ(t). In our initial problem formulation, the objective is to minimize expected discounted cost over an infinite planning horizon, after which we treat the corresponding ergodic control problem. Extending the earlier work by Han et al. [Han J, Jentzen A, Weinan E (2018) Solving high-dimensional partial differential equations using deep learning. Proc. Natl. Acad. Sci. USA 115(34):8505–8510], we develop and illustrate a simulation-based computational method that relies heavily on deep neural network technology. For the test problems studied thus far, our method is accurate to within a fraction of 1% and is computationally feasible in dimensions up to at least d=30.

1. Introduction

Beginning with the seminal work of Iglehart and Whitt (1970a, b), a large literature has been developed over the last 50+ years that justifies the use of reflected Brownian motions (RBMs) as approximate models of queueing systems under “heavy traffic” conditions. In particular, a limit theorem proved by Reiman (1984) justifies the use of d-dimensional RBM as an approximate model of a d-station queueing network. Reiman’s theory is restricted to networks of the generalized Jackson type, also called single-class networks, or networks with homogeneous customer populations, but it has been extended to more complex multiclass networks under certain restrictions, most notably by Peterson (1991) and Williams (1998b). The survey papers by Harrison and Nguyen (1993) and by Williams (1996) provide an overview of heavy traffic limit theory through its first 25 years.

Many authors have commented on the compactness and simplicity of RBM as a mathematical model, at least in comparison with the conventional discrete-flow models that it replaces. For example, in the preface to the book by Kushner (2001) on heavy traffic analysis, one finds the following passage.

These approximating [Brownian] models have the basic structure of the original problem, but are significantly simpler. Much inessential detail is eliminated … They greatly simplify analysis, design, and optimization, [yielding] good approximations to problems that would otherwise be intractable. (Kushner 2001)

Of course, having adopted RBM as a system model, one still confronts the question of how to do performance analysis, and in that regard, there has been an important recent advance; Blanchet et al. (2021) have developed a simulation-based method to estimate steady-state performance measures for RBM in dimensions up to 200, and those estimates come with performance guarantees.

1.1. Descriptive Performance Analysis vs. Optimal Control

Early work on heavy traffic approximations, including the papers cited above, focused on descriptive performance analysis under fixed operating policies. Harrison (1988, 2000) expanded the framework to include consideration of dynamic control using informal arguments to justify Brownian approximations for queueing network models where a system manager can make sequencing, routing, and/or input control decisions. Early papers in that vein by Harrison and Wein (1989, 1990) and by Wein (1991) dealt with Brownian models simple enough that their associated control problems could be solved analytically. But, for larger systems and/or more complex decisions, the Brownian control problem that approximates an original queueing control problem may only be solvable numerically. Such stochastic control problems may be of several different types depending on context.

At one end of the spectrum are drift control problems, in which the controlling agent can effect changes in system state only at bounded finite rates. At the other end of the spectrum are impulse control problems, in which the controlling agent can effect instantaneous jumps in system state, usually with an associated fixed cost. In between are singular control problems, in which the agent can effect instantaneous state changes of any desired size, usually at a cost proportional to the size of the displacement; see, for example, Karatzas (1983). In this paper, we develop a computational method for the first of those three problem classes, and then, we illustrate its use on selected test problems. Our method is a variant of the one developed by Han et al. (2018) for the solution of semilinear partial differential equations (PDEs), and in its implementation, we have reused substantial amounts of the code provided by Han et al. (2018) and Zhou et al. (2021a).

1.2. Literature Review

Two of the most relevant streams of literature are (i) drift rate control problems and (ii) solving PDEs using deep learning. Ata et al. (2005) considers a one-dimensional drift rate control problem on a bounded interval under a general cost of control but no state costs. The authors characterize the optimal policy in closed form, and they discuss the application of their model to a power control problem in wireless communication. Ormeci Matoglu and Vande Vate (2011) consider a drift rate control problem where a system controller incurs a fixed cost to change the drift rate. The authors prove that a deterministic, nonoverlapping control band policy is optimal; also see Vande Vate (2021). Ghosh and Weerasinghe (2007, 2010) extend Ata et al. (2005) by incorporating state costs and abandonments and by optimally choosing the interval where the process lives.

Drift control problems arise in a broad range of applications in practice. Rubino and Ata (2009) studies a dynamic scheduling problem for a make-to-order manufacturing system. The authors model order cancellations as abandonments from their queueing system. This model feature gives rise to a drift rate control problem in the heavy traffic limit. Ata et al. (2019) uses a drift control model to study a dynamic staffing problem in order to determine the number of volunteer gleaners (who sign up to help but may not show up) for harvesting leftover crops donated by farmers for the purpose of feeding food-insecure individuals. Bar-Ilan et al. (2007) use a drift control model to study international reserves. All of the papers mentioned above study one-dimensional drift rate control problems.

The recent working paper by Ata and Kasikaralar (2023) studies dynamic scheduling of a multiclass queue motivated by the call center industry. Focusing on the Halfin–Whitt asymptotic regime, the authors derive a (limiting) drift rate control problem whose state space is Rd, where d is the number of buffers in their queueing model. Like us, those authors build on the earlier work by Han et al. (2018) to solve their (high-dimensional) drift rate control problem. However, our work differs from their work significantly because their control problem has no state-space constraints.

As mentioned earlier, our work builds on the seminal paper by Han et al. (2018). In the last five years, there have been many other papers written on solving PDEs using deep neural networks; see the recent surveys by E et al. (2022) and Beck et al. (2023).

1.3. The Remainder of This Paper

Section 2 recapitulates essential background knowledge from the RBM theory, after which Section 3 states in precise mathematical terms the discounted control and ergodic control problems that are the object of our study. In each case, the problem statement is expressed in probabilistic terms initially, and then, it is re-expressed analytically in the form of an equivalent Hamilton–Jacobi–Bellman (HJB) equation. Section 4 derives key identities that significantly contribute to the subsequent development of our computational method. Section 5 describes our computational method in detail.

Section 6 specifies three families of drift control test problems, each of which has members of dimensions d=1,2,. The first two families arise as heavy traffic limits of certain queueing network control problems, and we explain that motivation in some detail. Drift control problems in the third family have a separable structure that allows them to be solved exactly by analytical means, which is of obvious value for assessing the accuracy of our computational method. Section 7 presents numerical results obtained with our method for all three families of test problems. In that admittedly limited context, our computed solutions are accurate to within a fraction of 1%, and our method remains computationally feasible up to at least dimension d=30 and in some cases, up to dimension 100 or more. In Section 8, we describe variations and generalizations of the problems formulated in Section 3 that are of interest for various purposes and that we expect to be addressed in future work. Finally, there are a number of appendices that contain proofs or other technical elaboration for arguments or procedures that have only been sketched in the body of the paper.

2. RBM Preliminaries

We consider here a reflected Brownian motion Z={Z(t),t0} with state space R+d, where d1. The data of Z are a (negative) drift vector μRd, a d×d positive-definite covariance matrix A=(aij), and a d×d reflection matrix R of the form

R=IQ, where Q has nonnegative entries and spectral radius ρ(Q)<1.(1)

The restriction to reflection matrices of the form (1) is not essential for our purposes, but it simplifies the technical development and is consistent with usage in the related earlier paper by Blanchet et al. (2021). Denoting by W={W(t),t0} a d-dimensional Brownian motion with zero drift, covariance matrix A, and W(0)=0, we then have the representation

Z(t)=Z(0)+W(t)μt+RY(t), t0, where(2)
Yi(·)is continuous and nondecreasing with Yi(0)=0 (i=1,2,,d) and(3)
Yi(·)only increases at those times t when Zi(t)=0 (i=1,2,,d).(4)

Harrison and Reiman (1981) showed that the relationships (1)–(4) determine Y and Z as path-wise functionals of W and that the mapping W(Y,Z) is continuous in the topology of uniform convergence. We interpret the ith column of R as the direction of the reflection on the boundary surface Si={zR+d:zi=0}, and we call Yi={Yi(t),t0} the “pushing process” on that boundary surface.

In preparation for future developments, let f be an arbitrary C2 (that is, twice continuously differentiable) function RdR, and let f denote its gradient vector as usual. Also, we define a second-order differential operator L via

Lf=12i=1dj=1daij2zizjf(5)
and a first-order differential operator D=(D1,,Dd) via
Df=Rf,(6)
where in (6) denotes transpose. Thus, Dif(·) is the directional derivative of f in the direction of the reflection on the boundary surface Si={zR+d:zi=0}. With these definitions, an application of Ito’s formula now gives the following identify (cf. Harrison and Reiman 1981, section 3):
df(Z(t))=f(Z(t))·dW(t)+(Lfμ·f)(Z(t))dt+Df(Z(t))·dY(t),t0.(7)

In the obvious way, the first inner product on the right side of (7) is shorthand for a sum of d Ito differentials, whereas the last one is shorthand for a sum of d Riemann–Stieltjes differentials.

3. Problem Statements and HJB Equations

Let us now consider a stochastic control problem whose state space is R+d(d1). The controlled process Z has the form

Z(t)=Z(0)+W(t)0tθ(s)ds+RY(t),t0,(8)
where (i) W={W(t),t0} is a d-dimensional Brownian motion with zero drift, covariance matrix A, and W(0)=0 as in Section 2, (ii) θ={θ(t),t0} is a nonanticipating control or nonanticipating drift process chosen by a system manager and taking values in a bounded set ΘRd, and (iii) Y={Y(t),t0} is a d-dimensional pushing process with components Yi that satisfy (3) and (4). Note that our sign convention on the drift in the basic system Equation (8) is not standard. That is, we denote by θ(t) the negative drift vector at time t.

The control θ is chosen to optimize an economic objective (see below), and attention will be restricted to stationary Markov controls or stationary control policies, by which we mean that

θ(t)=u(Z(t)),t0 for some measurable policy function u:R+dΘ.(9)

Hereafter, the set Θ of drift vectors available to the system manager will be referred to as the action space for our control problem, and a function u:R+dΘ will simply be called a policy. We denote by Zu the controlled RBM defined via (8) and (9), and we denote by Yu the associated d-dimensional boundary pushing process.

Before specifying the system manager’s economic objective, we establish the following terminology; for m,n1, a function g:DRmRn is said to have polynomial growth if there exist constants α1,β1>0 such that

|g(z)|α1(1+|z|β1),zD.

Because the action space Θ is bounded, for a function g:R+d×ΘR, the polynomial growth assumption reduces to the following:

|g(z,θ)|α2(1+|z|β2) for all zR+d and θΘ,(10)
where α2,β2 are positive constants.

With regard to the system manager’s objective, we take as given a continuous cost function c:R+d×ΘR with polynomial growth and a vector κR+d of penalty rates associated with pushing at the boundary. (As it happens, the boundary penalty rates are all zeros for the numerical examples considered in this paper, but positive penalty rates will be needed in future applications.) The cumulative cost incurred over the time interval [0, t] under policy u is

Cu(t)0tc(Zu(s),u(Zu(s)))ds+κ·Yu(t), t0.(11)

Because our action space Θ is bounded by assumption, the controlled RBM Zu has bounded drift under any policy u, from which one can prove the following mild but useful property; see Appendix A for its proof.

Proposition 1.

Under any policy u and for any integer n=1,2,, the function

gn(z,t)=Ez{|Zu(t)|n},t0,
has polynomial growth in t for each fixed zR+d.

3.1. Discounted Control

In our first problem formulation, an interest rate r>0 is taken as given, and we adopt the following discounted cost objective; choose a policy u to minimize

Vu(z)Ez[0ertdCu(t)]=Ez[0ert[c(Zu(t),u(Zu(t)))dt+κ·dYu(t))]],(12)
where Ez(·) denotes a conditional expectation given that Z(0)=z. Given the polynomial growth Condition (10), it follows from Proposition 1 that the moments of Z(t) have polynomial growth as functions of t for each fixed initial state z. Also, because Θ is bounded by assumption, one can easily derive an affine bound for Ez{κ·Yu(t)} viewed as a function of t. Given the assumed positivity of the interest rate r, the expectation in (12) is, therefore, well defined and finite for each zR+d.

Hereafter, we refer to Vu(·) as the value function under policy u, and we define the optimal value function

V(z)=minuUVu(z) for each zR+d,(13)
where U is the set of stationary Markov control policies.

Let u be an arbitrary policy, and let f:R+dR be a C2 function with polynomial growth. Also, we define the second-order differential operation associated with policy u:

Auf(z)=Lf(z)u(z)·f(z), zR+d,
where L is defined via (5). The identity (7) continues to hold for the controlled process Zu if one replaces the constant (reference) drift vector μ with the state-dependent drift function θ(z)=u(z), and then, standard arguments as in Harrison (2013, section 6.3) lead to the following identity:
f(z)=Ez{0ert[(Aur)f(Zu(t))dtDf(Zu(t))dYu(t)]}.(14)

Comparing (14) with (12), one is led to the following PDE for Vu:

AuVu(z)rVu(z)+c(z,u(z))=0, zR+d (i=1,,d),(15)
with boundary conditions
DiVu(z)=κi if zi=0 (i=1,,d).(16)

That is, if there is a C2 solution of the PDE (15) and (16) that has polynomial growth, then it is equal to the value function under policy u.

The corresponding HJB equation, to be solved for the optimal value function V(·), is

LV(z)maxθΘ{θ·V(z)c(z,θ)}=rV(z),zR+d,(17)
with boundary conditions
DiV(z)=κi if zi=0 (i=1,2,,d).(18)

Moreover, the policy

u(z)=argmaxθΘ{θ·V(z)c(z,θ)}(19)
is optimal, meaning that Vu(z)=V(z) for zR+d.

There will be no attempt here to prove the existence of C2 solutions, but our computational method proceeds as if that was the case, striving to compute a C2 function V that satisfies (17) and (18) as closely as possible in a certain sense. As an aside, whenever we refer to a C2 function on a closed set, we mean that it is C2 in an open neighborhood of the set.

In Appendix B.1, we use (7) to verify that a sufficiently regular solution of the PDE (15) and (16) does, in fact, satisfy (12) as intended and similarly, that a sufficiently regular solution of (17) and (18) does, in fact, satisfy (13).

3.2. Ergodic Control

For our second problem formulation, it is assumed that

c(z,θ)0 for all (z,θ)R+d×Θ.(20)

Readers will see that our analysis can be extended to cost functions that take on negative values in at least some states, but to do so, one must deal with certain irritating technicalities. To be specific, the issue is whether the expected values involved in our formulation are well defined.

In preparation for future developments, let us recall that a square matrix R of the form (1), called a Minkowski matrix in linear algebra (or just M-matrix for brevity), is nonsingular, and its inverse is given by the Neumann expansion

R1=I+Q+Q2+0.

Hereafter, we assume that

there exists at least one θΘ such that R1θ>0.(21)

It is known that an RBM with a nonsingular covariance matrix, reflection matrix R, and negative drift vector θ has a stationary distribution if and only if the inequality in (21) holds (cf. Harrison and Williams 1987, section 6). Of course, our statement of this “stability condition” reflects the nonstandard sign convention used in this paper. That is, θ denotes the negative drift vector of the RBM under discussion.

For our ergodic control problem, a policy function u:R+dΘ is said to be admissible if, first, the corresponding controlled RBM Zu has a unique stationary distribution πu and if, moreover,

R+d|f(z)|πu(dz)<(22)
for any function f:R+dR with polynomial growth. For an admissible policy u, as done in Harrison and Williams (1987) and Dai and Harrison (1991), one can define the boundary measures ν1u,,νdu as follows:
νiu(A)=Eπu[011{Zu(t)A}dYiu(t)], i=1,,d,
where A is any Borel subset of the boundary surface Si={zR+d:zi=0} and Eπu denotes a conditional expectation given that Z(0)πu. Our assumption (21) ensures the existence of at least one admissible policy u, as follows. Let θΘ be a negative drift vector satisfying (21), and consider the constant policy u(·)θ. The corresponding controlled process Zu is then an RBM having a unique stationary distribution πu, as noted above. It has been shown in Budhiraja and Lee (2007) that the moment-generating function of πu is finite in a neighborhood of the origin, from which it follows that πu has finite moments of all orders. Thus, πu satisfies (22) for any function f with polynomial growth, so u is admissible.

Because our cost function c(z,θ) has polynomial growth and our action space Θ is bounded, the steady-state average cost

ξuR+dc(z,u(z))πu(dz)+i=1dκiνiu(Si)(23)
is well defined and finite under any admissible policy u. The objective in our ergodic control problem is to find an admissible policy u for which ξu is minimal.

Let u be an arbitrary admissible policy, and consider the following PDE:

Lvu(z)u(z)·vu(z)+c(z,u(z))=ξ for each zR+d,(24)
with boundary conditions
Divu(z)=κi if zi=0 (i=1,2,,d).(25)

If (ξ,vu) solve this PDE and vu is C2 with polynomial growth, then one can show that ξ=ξu, the steady-state average cost under policy u, and vu is the relative value function corresponding to policy u.

The HJB equation for ergodic control is again of a standard form, involving a constant ξ (interpreted as the minimum achievable steady-state average cost) and a relative value function v:R+dR. To be specific, the HJB equation is

Lv(z)maxθΘ{θ·v(z)c(z,θ)}=ξ for each zR+d,(26)
with boundary conditions
Div(z)=κi if zi=0 (i=1,2,,d).(27)

Paralleling the previous development for discounted control, we show the following in Appendix B.2; if a C2 function v and a constant ξ jointly satisfy (26) and (27), then

ξ=infuUξu,(28)
where U denotes the set of admissible controls for the ergodic cost formulation. Moreover, the policy
u(z)=argmaxθΘ{θ·v(z)c(z,θ)},zR+d,(29)
is optimal, meaning that ξu=ξ. Again, paralleling the previous development for discounted control, we make no attempt to prove that such a solution for (26) and (27) exists. In Appendix B.2, we use (7) to verify that a sufficiently regular solution of the PDE (24) and (25) does, in fact, satisfy (23) as intended and similarly, that a sufficiently regular solution of (26) and (27) does, in fact, satisfy (28).

4. Equivalent SDEs

In this section, we prove two key identities, Equations (32) and (44) below, that are closely patterned after results used by Han et al. (2018) to justify their “deep [backward stochastic differential equation] method” for the solution of certain nonlinear PDEs. That earlier work provided both inspiration and detailed guidance for our study, but we include these derivations to make the current account as nearly self-contained as possible. Sections 4.1 and 4.2 treat the discounted and ergodic cases, respectively.

Our method begins by specifying what we call a reference policy. This is a nominal or default policy, specified at the outset but possibly revised in light of computational experience, that we use to generate sample paths of the controlled RBM Z. Roughly speaking, one wants to choose the reference policy so that paths of the state process tend to occupy parts of the state space thought to be most frequently visited by an optimal policy.

4.1. Discounted Control

Our reference policy for the discounted case chooses a constant action u(z)=θ˜>0 in every state zR+d. (Again, we stress that given the nonstandard sign convention embodied in (8) and (20), this means that Z˜ has a constant drift vector θ˜, with all components negative.) Thus, the corresponding reference process Z˜ is a d-dimensional RBM, which in combination with its d-dimensional pushing process Y˜ and the d-dimensional Brownian motion W defined in Section 2, satisfies

Z˜(t)=Z˜(0)+W(t)θ˜t+RY˜(t),t0,(30)
plus the obvious analogs of Equations (3) and (4). For the key identity (32) below, let
F(z,x)=θ˜·xmaxθΘ{θ·xc(z,θ)} for zR+d and xRd.(31)

Remark 1.

In our numerical examples, the cost functions c(z,θ) allow for a closed-form expression of F(z,x), simplifying our method. However, when the cost function is complex, computing F(z,x) and its partial derivatives with respect to x (i.e., F(z,x)/xi (i=1,,d)) can be challenging. In such cases, several approaches are possible. First, one can generate a data set consisting of inputs (zl,xl) and outputs F(zl,xl) for l=1,,L. With a sufficiently large L, a neural network can be trained offline to approximate F. The partial derivatives of F can then be approximated via autodifferentiation, as demonstrated in Ata and Zhou (2024). Alternatively, an optimization solver can be used to compute F(z,x), and the envelope theorem can be invoked to determine its partial derivatives F(z,x)/xi (i=1,,d). However, this approach is computationally expensive. Lastly, the actor-critic method developed in Zhou et al. (2021a) can be employed.

Proposition 2.

If V(·) is a C2 function with polynomial growth that satisfies the HJB Equations (17) and (18), then it also satisfies the following identity almost surely for any T>0:

erTV(Z˜(T))V(Z˜(0))=0TertV(Z˜(t))·dW(t)0Tertκ·dY˜(t)0TertF(Z˜(t),V(Z˜(t)))dt.(32)

Proof.

Applying Ito’s formula to ertV(Z˜(t)) and using Equation (7) yield

erTV(Z˜(T))V(Z˜(0))=0TertV(Z˜(t))·dW(t)+0TertDV(Z˜(t))·dY˜(t)+0Tert(LV(Z˜(t))θ˜·V(Z˜(t))rV(Z˜(t)))dt.(33)

Using the boundary Condition (18) plus the complementarity Condition (4) for Y˜ and Z˜, one has

0TertDV(Z˜(t))·dY˜(t)=0Tertκ·dY˜(t).(34)

Furthermore, substituting z=Z˜(t) in the HJB Equation (17), multiplying both sides by ert, rearranging the terms, and integrating over [0, T] yields

0Tert(LV(Z˜(t))rV(Z˜(t)))dt=0TertmaxθΘ(θ·V(Z˜(t))c(Z˜(t),θ))dt.(35)

Substituting Equations (34) and (35) into Equation (33) gives Equation (32). □

Proposition 3 provides the motivation for the loss function that we strive to minimize in our computational method (see Section 5). Before developing that approach, we prove the following, which can be viewed as a converse of Proposition 3.

Proposition 3.

Suppose that V:R+dR is a C2 function; that G:R+dRd is continuous; and that V,V, and G all have polynomial growth. Also, assume that the following identity holds almost surely for some fixed T>0 and every Z˜(0)=zR+d:

erTV(Z˜(T))V(Z˜(0))=0TertG(Z˜(t))·dW(t)0Tertκ·dY˜(t)0TertF(Z˜(t),G(Z˜(t)))dt.(36)
Then, G(·)=V(·), and V satisfies the HJB Equations (17) and (18).

Remark 2.

The surprising conclusion that (36) implies V(·)=G(·), without any a priori relationship between G and V being assumed, motivates the “double-parametrization” method in Section 5.

Proof Sketch for Proposition 3.

Because Z˜ is a time-homogeneous Markov process, we can express (36) equivalently as follows for any k=0,1,:

erTV(Z˜((k+1)T))V(Z˜(kT))=kT(k+1)Ter(tkT)G(Z˜(t))·dW(t)kT(k+1)Ter(tkT)κ·dY˜(t)kT(k+1)Ter(tkT)F(Z˜(t),G(Z˜(t)))dt.(37)

Now, multiply both sides of (37) by erkT, and then, add the resulting relationships for k=0,1,,n1 to arrive at the following:

ernTV(Z˜(nT))=V(Z˜(0))+0nTertG(Z˜(t))·dW(t)0nTertκ·dY˜(t)0nTertF(Z˜(t),G(Z˜(t)))dt.(38)

Because G has polynomial growth, one can show that

Ez[0nTe2rtG(Z˜(t))2dz]<
for all n1. Thus, when we take Ez of both sides of (38), the stochastic integral (that is, the second term) on the right side vanishes, and then, rearranging terms gives the following:
V(z)=ernTEz[V(Z˜(nT))]+Ez[0nTertF(Z˜(t),G(Z˜(t)))dt+0nTertκ·dY˜(t)],
for arbitrary positive integer n.

By Proposition 1 and the polynomial growth condition of V, we have ernTEz[V(Z˜(nT))]0 as n. Therefore,

V(z)=limnEz[0nTertF(Z˜(t),G(Z˜(t)))dt+0nTertκ·dY˜(t)] for zR+d.

Similarly, because F and G have polynomial growth, we conclude that

Ez[0ert|F(Z˜(t),G(Z˜(t)))|dt]<+ for zR+d and 0nTertF(Z˜(t),G(Z˜(t)))dt0ert|F(Z˜(t),G(Z˜(t)))|dt<+ for zR+d.

Thus, by dominated convergence and monotone convergence, we have

V(z)=Ez[0ertF(Z˜(t),G(Z˜(t)))dt+0ertκ·dY˜(t)] for zR+d.(39)

In other words, V(z) can be viewed as the expected discounted cost associated with the RBM under the reference policy starting in state Z˜(0)=z, where F(·,G(·)) is the state-cost function. Now, consider the following PDE:

Lf(z)θ˜·f(z)+F(z,G(z))=rf(z),zR+d,
with boundary conditions
Dif(z)=κi if zi=0(i=1,2,,d).

As assumed for the other PDEs considered in this paper, we assume that this PDE has a C2 solution with polynomial growth. Using Ito’s lemma, one can then show that f(z)=V(z). Thus, V satisfies the following PDE:

LV(z)θ˜·V(z)+F(z,G(z))=rV(z),zR+d,(40)
with boundary conditions
DiV(z)=κi if zi=0(i=1,2,,d).(41)

Suppose that G(·)=V(·) (which we will prove later). Substituting this into Equation (40) and using the definition of F, it follows that

LV(z)maxθΘ{θ·V(z)c(z,θ)}=rV(z),zR+d,(42)
which along with the boundary Condition (16), gives the desired result.

To complete the proof, it remains to show that G(·)=V(·). By applying Ito’s formula to ertV(Z˜(t)) and using Equations (3), (4), and (18), we conclude that

erTV(Z˜(T))V(Z˜(0))=0Tert(LV(Z˜(t))θ˜·V(Z˜(t))rV(Z˜(t)))dt+0TertV(Z˜(t))·dW(t)+0TertDV(Z˜(t))·dY(t).

Then, using Equations (40) and (41), we rewrite the preceding equation as follows:

erTV(Z˜(T))V(Z˜(0))=0TertV(Z˜(t))·dW(t)0Tertκ·dY˜(t)0TertF(Z˜(t),G(Z˜(t)))dt.

Comparing this with Equation (36) yields

0Tert(G(Z˜(t))V(Z˜(t)))·dW(t)=0,
which yields the following:
Ez[(0Tert(G(Z˜(t))V(Z˜(t)))·dW(t))2]=0.(43)

Thus, provided that ert(G(Z˜(t))V(Z˜(t))) is square integrable, Ito’s isometry (Zhang et al. 2020, lemma D.1) yields the following:

Ez[(0Tert(G(Z˜(t))V(Z˜(t)))·dW(t))2]=Ez[0Tert(G(Z˜(t))V(Z˜(t)))A2dt]=0,
where xAxAx. The square integrability of ert(G(Z˜(t))V(Z˜(t))) follows because G and V have polynomial growth and the action space Θ is bounded. Because A is a positive definite matrix, we then have V(Z˜(t))=G(Z˜(t)) almost surely. By the continuity of V(·) and G(·), we conclude that V(·)=G(·). □

4.2. Ergodic Control

Again, we use a reference policy with the constant (negative) drift vector θ˜, and now, we assume that R1θ˜>0, which ensures that the reference policy is admissible for our ergodic control formulation.

Proposition 4.

If v(·) and ξ solve the HJB Equations (26) and (27) and v(·) is a C2 function with polynomial growth, then they also satisfy the following identity almost surely for any T>0:

v(Z˜(T))v(Z˜(0))=0Tv(Z˜(t))·dW(t)+Tξ0Tκ·dY˜(t)0TF(Z˜(t),v(Z˜(t)))dt.(44)

Proof.

Applying Ito’s formula to v(z) yields

v(Z˜(T))v(Z˜(0))=0Tv(Z˜(t))·dW(t)+0TDv(Z˜(t))·dY˜(t)+0T(Lv(Z˜(t))θ˜·v(Z˜(t)))dt.(45)

Recall that the boundary condition of the HJB equation is Djv(z)=κj if zj=0. Thus, Equations (3) and (4) jointly imply

0TDv(Z˜(t))·dY˜(t)=0Tκ·dY˜(t).

Then, substituting the HJB Equation (26) into Equation (45) gives (44). □

Proposition 5.

Suppose that v:R+dR is a C2 function; that g:R+dRd is continuous; and that v,v,g all have polynomial growth. Also, assume that the following identity holds almost surely for some fixed T>0, a scalar ξ, and every Z(0)=zR+d:

v(Z˜(T))v(Z˜(0))=0Tg(Z˜(t))·dW(t)+Tξ0Tκ·dY˜(t)0TF(Z˜(t),g(Z˜(t)))dt.(46)

Then, g(·)=v(·), and (v,ξ) satisfies the HJB Equations (17) and (18).

Proof Sketch.

Let π˜ be the stationary distribution of the RBM Z˜ under the reference policy and Z˜() be a random variable with the distribution π˜. Then, assuming that the initial distribution of the RBM under the reference policy is π˜ (i.e., Z˜(0)π˜), its marginal distribution at time t is also π˜ (i.e., Z˜(t)π˜ for every t0).

Because g has polynomial growth, one can show that the expectation of the stochastic integral (that is, the first term) on the right side of (46) vanishes. Then, by taking the expectation over Z˜(0)π˜,Equation (46) implies

Eπ˜[v(Z˜(0))]=Eπ˜[v(Z˜(T))]+Eπ˜[0TF(Z˜(t),g(Z˜(t)))dt]+Eπ˜[0Tκ·dY˜(t)]Tξ.(47)

By observing that Eπ˜[v(Z˜(0))]=Eπ˜[v(Z˜(T))] and

Eπ˜[F(Z˜(t),g(Z˜(t)))]=E[F(Z˜(),g(Z˜()))] for t0,Eπ˜[0Tκ·dY˜(t)]=TEπ˜[01κ·dY˜(t)],
we conclude that
ξ=E[F(Z˜(),g(Z˜()))]+Eπ˜[01κ·dY˜(t)]=E[F(Z˜(),g(Z˜()))]+i=1dκiν˜i(Si),
where ν˜i(·) is the boundary measure on the boundary surface Si={zR+d:zi=0} associated with the RBM under the reference policy. In other words, ξ can be viewed as the expected steady-state cost associated with the RBM under the reference policy, where F(·,g(·)) is the state-cost function. Now, consider the following PDE:
Lv˜(z)θ˜·v˜(z)+F(z,g(z))=ξ,zR+d,(48)
with boundary conditions Div˜(z)=κi if zi=0(i=1,,d).

We assume that (48) has a C2 solution with polynomial growth. Using Ito’s lemma, one can then show that v˜ is the relative value function corresponding to the reference process Z˜ (i.e., for policy u(z)=θ˜ for zR+d) under the state cost function F(z,g(z)). Furthermore, applying Ito’s formula to v˜(Z˜(t)) on the interval [0, nT] for n1 yields

v˜(Z˜(nT))v˜(Z˜(0))=0nTv˜(Z˜(t))·dW(t)+0nTDv˜(Z˜(t))·dY˜(t)+0nT(Lv˜(Z˜(t))θ˜·v˜(Z˜(t)))dt.(49)

Because v˜(z) also satisfies the boundary conditions Div˜(z)=κi if zi=0(i=1,,d), it follows from Equations (3) and (4) that

0nTDv˜(Z˜(t))·dY˜(t)=0nTκ·dY˜(t).

Then, substituting Equation (48) into Equation (49) gives

v˜(Z˜(nT))v˜(Z˜(0))=0nTv˜(Z˜(t))·dW(t)+nTξ0nTκ·dY˜(t)0nTF(Z˜(t),g(Z˜(t)))dt,n1.(50)

In the proof of Proposition 3, we first showed that because Z˜ is a time-homogeneous Markov process, the assumed stochastic relationship (36) can be extended to the more general form (38), with n being an arbitrary positive integer. In the current context, one can argue in exactly the same way to establish the following. First, the assumed stochastic relationship (46) actually holds in the more general form where T is replaced by nT, with n being an arbitrary positive integer. Then, after taking expectations on both sides of the generalized version of (46) and (50), we arrive at the following:

v(z)=Ez[v(Z˜(nT))]nTξ+Ez[0nTκ·dY˜(t)]+Ez[0nTF(Z˜(t),g(Z˜(t)))dt] and(51)
v˜(z)=Ez[v˜(Z˜(nT))]nTξ+Ez[0nTκ·dY˜(t)]+Ez[0nTF(Z˜(t),g(Z˜(t)))dt],(52)
for zR+d and an arbitrary positive integer n. Note that the expectation of the stochastic integral vanishes because v˜ has polynomial growth. Subtracting (52) from (51) further yields
v(z)v˜(z)=Ez[v(Z(nT))]Ez[v˜(Z(nT))].

Because the solution of (48) is determined only up to an additive constant, we assume E[v˜(Z˜())]=E[v(Z˜())]. Because v(·) and v˜(·) have polynomial growth, we conclude the following from Budhiraja and Lee (2007, theorem 4.12):

limn+Ez[v(Z(nT))]=E[v(Z˜())] andlimn+Ez[v˜(Z(nT))]=E[v˜(Z˜())].

Therefore, we have

v(z)v˜(z)=limn+(Ez[v(Z(nT))]Ez[v˜(Z(nT))])=0 for zR+d,
which means that v(·) also satisfies the PDE (48) and the associated boundary conditions. That is,
Lv(z)θ˜·v(z)+F(z,g(z))=ξ for zR+d.(53)
Div(z)=κi if zi=0(i=1,,d).(54)

Suppose that g(·)=v(·) (which we will prove later). Substituting this into Equation (53) and using the definition of F, it follows that

Lv(z)maxθΘ{θ·v(z)c(z,θ)}=ξ,zR+d,
which along with the boundary Condition (54), gives the desired result.

To complete the proof, it remains to show that g(·)=v(·). By applying Ito’s formula to v(Z˜(t)) and using Equations (3), (4), and (54), we conclude that

v(Z˜(T))v(Z˜(0))=0T(Lv(Z˜(t))θ˜·v(Z˜(t)))dt0Tκ·dY˜(t)+0Tv(Z˜(t))·dW(t).

Then, using Equation (53), we rewrite the preceding equation as follows:

v(Z˜(T))v(Z˜(0))=Tξ0TF(Z˜(t),g(Z˜(t)))dt0Tκ·dY˜(t)+0Tv(Z˜(t))·dW(t).

Comparing this with Equation (46) yields

0T(g(Z˜(t))v(Z˜(t)))·dW(t)=0,
which yields the following:
Ez[(0T(g(Z˜(t))v(Z˜(t)))·dW(t))2]=0.(55)

Thus, provided that g(Z˜(t))v(Z˜(t)) is square integrable, Ito’s isometry (Zhang et al. 2020, lemma D.1) gives the following:

Ez[(0T(g(Z˜(t))v(Z˜(t)))·dW(t))2]=Ez[0Tg(Z˜(t))v(Z˜(t))A2dt]=0.

The square integrability of g(Z˜(t))v(Z˜(t)) follows because g and v have polynomial growth, and Ez(|Z˜(nT)|k) is finite for all k because our action space Θ is bounded. Then, because A is positive definite, v(Z˜(t))=g(Z˜(t)) almost surely. By the continuity of v(·) and g(·), we conclude that v(·)=g(·). □

5. Computational Method

We follow in the footsteps of Han et al. (2018), who developed a computational method to solve semilinear parabolic partial differential equations. Those authors focused on a backward stochastic differential equation associated with their PDE, and in similar fashion, we focus on the stochastic differential Equations (36) and (46) that are associated with our two stochastic control formulations (see Section 4). Our method differs from that of Han et al. (2018) because they consider PDEs on a finite time interval with an unbounded state space and a specified terminal condition, whereas our stochastic control problem has an infinite time horizon and state-space constraints. As such, it leads to a PDE on a polyhedral domain with oblique derivative boundary conditions. We modify the approach of Han et al. (2018) to incorporate those additional features, treating the discounted and ergodic formulations in Sections 5.1 and 5.2, respectively.

5.1. Discounted Control

We approximate the value function V(·) and its gradient V(·) by the deep neural networks Vw1(·) and Gw2(·), respectively, with associated parameter vectors w1 and w2. Seeking an approximate solution of the stochastic Equation (36), we define the loss function

(w1,w2)=E[(erTVw1(Z˜(T))Vw1(Z˜(0))0Tertκ·dY˜(t)+0TertGw2(Z˜(t))·dW(t)+0TertF(Z˜(t),Gw2(Z˜(t)))dt)2].(56)

The initial state Z˜(0) can be randomly chosen, and the expectation in the previous equation is calculated with respect to the sample path distribution of the reference process Z˜(·) (see Algorithm 1 for details). As mentioned in step 6 of Algorithm 1, the process Z˜(·) is run continuously, meaning that the terminal state of one iteration becomes the initial state of the next iteration. This approach can be seen as an approximation to starting the reference process with its steady-state distribution.

Remark 3.

The loss function (w1,w2) defined in Equation (56) corresponds to the L1(V) loss defined in Zhou et al. (2021a, equation 2.31). The authors consider this a “variance reduced” loss function because of the additional term 0TertGw2(Z˜(t))·dW(t). This term can be interpreted as an approximating martingale process or a control variate, a common approach in the simulation literature (see, for example, Andradóttir et al. 1993, Henderson and Glynn 2002, Dai and Gluzman 2022).

Our definition (56) of the loss function does not explicitly enforce the consistency requirement Vw1(·)=Gw2(·), but Proposition 3 provides the justification for this separate parametrization. This type of double parametrization has also been implemented by Zhou et al. (2021a).

Subroutine 1

(Euler Discretization Scheme)

  • 1: Input: The drift vector θ˜, the covariance matrix A, the reflection matrix R, the time horizon T, a step size h (for simplicity, we assume that NT/h is an integer), and a starting point Z˜(0)=z.

  • 2: Output: A discretized reflected Brownian motion with the boundary pushing process increments and the Brownian increments at times h,2h,,Nh.

  • 3: function Discretize(T, h, z)

  • 4:  For time interval [0, T] and N=T/h, construct the partition 0=t0<t1<<tN=T, where Δtn=tn+1tn=h for n=0,1,,N1.

  • 5:  Generate N i.i.d. d-dimensional Gaussian random variables with mean of zero and covariance matrix hA, denoted by δ0,,δN1.

  • 6:  for k0 to N1, do

  • 7:   xZ˜(kh)+δkθ˜h

  • 8:   Z˜((k+1)h),ΔY˜(kh) Skorokhod(x)

  • 9:  end for

  • 10:  return Z˜(h),Z˜(2h),,Z˜(Nh); ΔY˜(0), ΔY˜(h),,ΔY˜((N1)h); and δ0,…,δN1.

  • 11: end function

Subroutine 2

(Solve the Skorokhod Problem (Linear Complementarity Problem))

  • 1: Input: A vector xRd and the reflection matrix R.

  • 2: Output: A solution to the Skorokhod problem yR+d

  • 3: Set ϵ=108;

  • 4: function Skorokhod(x)

  • 5:  y=x;

  • 6:  u=0;

  • 7:  while exists yi<ϵ, do

  • 8:   Compute the set B={i:yi<ϵ};

  • 9:   Compute LB=RB,B1xB;

  • 10:   Compute y=x+R:,B×LB;

  • 11:  end while

  • 12:  uB=LB;

  • 13:  return y, u.

  • 14: end function

Our computational method seeks a neural network parameter combination (w1,w2) that minimizes an approximation of the loss defined via (56). Specifically, we first simulate multiple discretized paths of the reference RBM Z˜ with the boundary pushing process Y˜, restricted to a fixed and finite time domain [0, T]. To do that, we sample discretized paths of the underlying Brownian motion W, and then, we solve a discretized Skorohod problem for each path of W (this is the purpose of Subroutine 2) to obtain the corresponding path of {Z˜,Y˜}. Thereafter, our method computes a discretized version of the loss (56), summing over sampled paths to approximate the expectation and over discrete time steps to approximate the integral over [0, T], and our method minimizes it using stochastic gradient descent; see Algorithm 1. The discretization inevitably introduces bias into our method. Although we do not provide a formal convergence proof as the partition becomes finer, we direct readers to Han and Long (2020) for a rigorous analysis in a similar context. Furthermore, our numerical examples indicate that the impact of discretization on the learned control is small.

In Subroutine 2, given the index set B, RB,B is the submatrix derived by deleting the rows and columns of R with indices in {1,,d}\B. Similarly, R:,B is the matrix that one arrives at by deleting the columns of R whose indices are in the set {1,,d}\B. One has considerable latitude in choosing θ˜ (i.e., the reference policy), provided that it can explore the state space sufficiently. For our numerical examples, we set θ˜=1.

Algorithm 1

(Method for the Discounted Control Case)

  • 1: Input: The number of iteration steps M, a batch size B, a learning rate α, a time horizon T, a discretization step size h (for simplicity, we assume that NT/h is an integer), a starting point z, and an optimization solver (SGD, ADAM, RMSProp, etc.).

  • 2: Output: A neural network approximation of the value function Vw1 and the gradient function Gw2.

  • 3: Initialize the neural networks Vw1 and Gw2; set z0(i)=z for i=1,2,,B.

  • 4: for k0 to M1, do

  • 5:  Simulate B discretized RBM paths and the Brownian increments {Z˜(i),ΔY˜(i),δ(i)} with a time horizon T and a discretization step size h starting from Z˜(i)(0)=zk(i) by invoking Discretize(T,h,zk(i)) for i=1,2,,B.

  • 6:  Compute the empirical loss

    ^(w1,w2)=1Bi=1B(erTVw1(Z˜(i)(T))Vw1(Z˜(i)(0))+j=0N1erhjκ·ΔY˜(i)(hj)j=0N1erhjGw2(Z˜(i)(hj))·δj(i)+j=0N1erhjF(Z˜(i)(hj),Gw2(Z˜(i)(hj)))h)2.(57)

  • 7:  Compute the gradient ^(w1,w2)/w1,^(w1,w2)/w2, and update w1,w2 using the chosen optimization solver.

  • 8:  Update zk+1(i) as the end point of the path Z˜(i): zk+1(i)Z˜(i)(T).

  • 9: end for

  • 10: return functions Vw1(·) and Gw2(·).

After the parameter values w1 and w2 have been determined, our proposed policy is as follows:

θw2(z)=argmaxθΘ{θ·Gw2(z)c(z,θ)},zR+d.(58)

Remark 4.

One can also consider the policy using Vw1(·) instead of Gw2(·). That is,

argmaxθΘ{θ·Vw1(z)c(z,θ)},zR+d.(59)

However, our numerical experiments suggest that this policy is inferior to (58).

5.2. Ergodic Control

We parametrize v(·) and v(·) using deep neural networks vw1(·) and gw2(·) with parameters w1 and w2, respectively, and then, we use Equation (46) to define an auxiliary loss function:

˜(w1,w2,ξ)=E[(vw1(Z˜(T))vw1(Z˜(0))+0Tκ·dY˜(t)0Tgw2(Z˜(t))dW(t)Tξ+0TF(Z˜(t),gw2(Z˜(t)))dt)2].(60)

Then, we define the loss function (w1,w2)=minξ˜(w1,w2,ξ). Letting X denote a random variable with a finite second moment, we note that

Var(X)=minξE[(Xξ)2].

Thus, we arrive at the following expression for the loss function

(w1,w2)=Var(vw1(Z˜(T))vw1(Z˜(0))+0Tκ·dY˜(t)0Tgw2(Z˜(t))dW(t)+0TF(Z˜(t),gw2(Z˜(t)))dt)).(61)

We present our method for the ergodic control case formally in Algorithm 2.

Algorithm 2

(Method for the Ergodic Control Case)

  • 1: Input: The number of iteration steps M, a batch size B, a learning rate α, a time horizon T, a discretization step size h (for simplicity, we assume that NT/h is an integer), a starting point z, and an optimization solver (SGD, ADAM, RMSProp, etc.).

  • 2: Output: A neural network approximation of the value function vw1 and the gradient function gw2.

  • 3: Initialize the neural networks vw1 and gw2; set z0(i)=z for i=1,2,,B.

  • 4: for k0 to M1, do

  • 5:  Simulate B discretized RBM paths and the Brownian increments {Z˜(i),ΔY˜(i),δ(i)} with a time horizon T and a discretization step size h starting from Z˜(i)(0)=zk(i) by invoking Discretize(T,h,zk(i)), for i=1,2,,B.

  • 6:  Compute the empirical loss

    ^(w1,w2)=Var^(vw1(Z˜(i)(T))vw1(Z˜(i)(0))j=0N1gw2(Z˜(i)(hj))·δj(i)+j=0N1κ·ΔY˜(i)(hj)+j=0N1f(Z˜(i)(hj),gw2(Z˜(i)(hj)))h).(62)

  • 7:  Compute the gradient ^(w1,w2)/w1,^(w1,w2)/w2, and update w1,w2 using the chosen optimization solver.

  • 8:  Update zk+1(i) as the end point of the path Z˜(i): zk+1(i)Z˜(i)(T).

  • 9: end for

  • 10: return functions vw1(·) and gw2(·).

After the parameters values w1 and w2 have been determined, our proposed policy is the following:

θ¯w2(z)=argmaxθΘ(θ·gw2(z)c(z,θ)),zR+d.

6. Three Families of Test Problems

Here, we specify three families of test problems for which numerical results will be presented later (see Section 7). Each family consists of RBM drift control problems indexed by d=1,2,, where d is the dimension of the orthant that serves as the problem’s state space. The first of the three problem families, specified in Section 6.1, is characterized by a feed-forward network structure and linear cost of control. Recapitulating the earlier work by Ata (2006), Section 6.2 explains the interpretation of such problems as “heavy traffic” limits of input control problems for certain feed-forward queueing networks.

Our second family of test problems is identical to the first one except that now the cost of control is quadratic rather than linear. The exact meaning of that phrase will be spelled out in Section 6.3, where we also explain the interpretation of such problems as heavy traffic limits of dynamic pricing problems for queueing networks. In Section 6.4, we describe two parametric families of policies with special structure that will be used later for comparison purposes in our numerical study. Finally, Section 6.5 specifies our third family of test problems, which have a separable structure that allows them to be solved exactly by analytical means. Such problems are of obvious value for evaluating the accuracy of our computational method. For all of our test problems, the penalty rates associated with pushing at the boundary are set to zero. That is, κ=0.

6.1. Main Example with Linear Cost of Control

We consider a family of test problems with parameters K=0,1,, attaching to each such a problem as the index d (mnemonic for dimension) =K+1. Problem d has state space R+d and the d×d reflection matrix

R=[1p11pK1],(63)
where p1,,pK>0 and p1++pK=1. Also, the set of drift vectors available in each state is
Θ=k=0K[θ¯k,θ¯k],(64)
where the lower limit θ¯k and the upper limit θ¯k are as specified in Section 6.2 below. Similarly, the d×d covariance matrix A for problem d is as specified in Section 6.2. Finally, the cost function for problem d has the linear form
c(z,θ)=hz+cθ, where h,cR+d.(65)

That is, the cost rate c(Z(t),u(Z(t))) that the system manager incurs under policy u at time t is linear in both the state vector Z(t) and the chosen drift rate u(Z(t)).

In either the discounted control setting or the ergodic control setting, inspection of the HJB equation displayed earlier in Section 3 shows that given this linear cost structure, there exists an optimal policy u*(·) such that

either uk*(z)=θ¯k or uk*(z)=θ¯k(66)
for each state zR+K+1 and each component k=0,1,,K.

In the next section, we explain how drift control problems of the form specified here arise as heavy traffic limits in queueing theory. Strictly speaking, however, that interpretation of the test problems is inessential to the main subject of this paper; the computational results presented in Section 7 can be read without reference to the queueing-theoretic interpretations of our test problems.

6.2. Interpretation as Heavy Traffic Limits of Queueing Network Control Problems

Let us consider the feed-forward queueing network model of the make-to-order production system portrayed in Figure 1. There are d=K+1 buffers, represented by the open-ended rectangles in Figure 1, indexed by k=0,1,,K. Each buffer has a dedicated server, represented by the circles in Figure 1. Arriving jobs wait in their designated buffer if the server is busy. There are two types of jobs arriving to the system: regular versus thin streams. Thin-stream jobs have the same service time distributions as the regular jobs, but they differ from the regular jobs in two important ways. First, thin-stream jobs can be turned away upon arrival. That is, a system manager can exercise admission control in this manner, but in contrast, she must admit all regular jobs arriving to the system. Second, the volume of thin-stream jobs is smaller than that of the regular jobs; see Assumption 1.

Figure 1. A Feed-Forward Queueing Network with Thin Arrival Streams

Regular jobs enter the systems only through buffer 0, as shown by the solid arrow pointing to buffer 0 in Figure 1. A renewal process E={E(t):t0} models the cumulative number of regular jobs arriving to the system over time. We let λ denote the arrival rate and a2 denote the squared coefficient of variation of the interarrival times for the regular jobs. The thin-stream jobs arrive to buffer k (as shown by the dashed arrows in Figure 1) according to the renewal process Ak={Ak(t):t0} for k=0,1,,K. We let ηk denote the arrival rate and bk2 denote the squared coefficient of variation of the interarrival times for renewal process Ak.

Jobs in buffer k have i.i.d. general service time distributions with mean mk and squared coefficient of variation sk20,k=0,1,,K; μk=1/mk is the corresponding service rate. We let Sk={Sk(t):t0} denote the renewal process associated with the service completions by server k for k=1,,K. To be specific, Sk(t) denotes the number of jobs server k processes by time t if it incurs no idleness during [0, t]. The jobs in each buffer are served on a first come, first served basis, and servers work continuously unless their buffer is empty. After receiving service, jobs in buffer 0 join buffer k with probability pk,k=1,2,,K, independently of other events. This probabilistic routing structure is captured by a vector-valued process Φ(·), where Φk() denotes the total number of jobs routed to buffer k among the first jobs served by server 0 for k=1,,K and 1. We let p=(pk) denote the K-dimensional vector of routing probabilities. Jobs in buffers 1,,K leave the system upon receiving service.

As stated earlier, the system manager makes admission control decisions for thin-stream jobs. Turning away a thin-stream job arriving to buffer k (externally) results in a penalty of ck. For mathematical convenience, we model admission control decisions as if the system manager can simply “turn off” each of the thin-stream arrival processes as desired. In particular, we let Δk(t) denote the cumulative amount of time that the (external) thin-stream input to buffer k is turned off during the interval [0, t]. Thus, the vector-valued process Δ=(Δk) represents the admission control policy. Similarly, we let Tk(t) denote the cumulative amount of time that server k is busy during the time interval [0, t], and Ik(t)=tTk(t) denotes the cumulative amount of idleness that server K incurs during [0, t].

Letting Qk(t) denote the number of jobs in buffer k at time t, the vector-valued process Q=(Qk) will be called the queue-length process. Given a control Δ=(Δk), assuming Q(0)=0, it follows that

Q0(t)=E(t)+A0(tΔ0(t))S0(T0(t))0, t0,(67)
Qk(t)=Ak(tΔk(t))+Φk(S0(T0(t)))Sk(Tk(t))0, t0, k=1,,K.(68)

Moreover, the following must hold:

I(·) is continuous and nondecreasing with I(0)=0;(69)
Ik(·) only increases at those times t when Qk(t)=0,k=0,1,,K;(70)
Δk(t)Δk(s)ts,0st<,k=0,1,,K.(71)
I,Δ are nonanticipating.(72)

The system manager also incurs a holding cost at rate hk per job in buffer k per unit of time. We use the processes ξ={ξ(t),t0} as a proxy for the cumulative cost under a given admission control policy Δ(·), where

ξ(t)=k=0KckηkΔk(t)+k=0K0thkQk(s)ds,t0.

This is an approximation of the realized cost because the first term on the right-hand side replaces the admission control penalties actually incurred with their means.

In order to derive the approximating Brownian control problem, we consider a sequence of systems indexed by a system parameter n=1,2,; we attach a superscript of n to various quantities of interest. Following the approach used by Ata (2006), we assume that the sequence of systems satisfies the following heavy traffic assumption.

Assumption 1.

For n1, we have that

λn=nλ,ηkn=ηkn and μkn=nμk+nβk,k=0,1,,K,

where λ,μk,ηk, and βk are nonnegative constants. Moreover, we assume that

λ=μ0=μkpk for k=1,,K.

One starts the approximation procedure by defining suitably centered and scaled processes. For n1, we define

E^n(t)=En(t)λntnandΦ^n(q)=Φ([nq])p([nq])n, t0, q0,A^kn(t)=Akn(t)ηkntnandS^kn(t)=Skn(t)μkntn,t0,k=0,1,,K,Q^n(t)=Qn(t)nandξ^n(t)=ξn(t)n,t0.

In what follows, we assume

Tkn(t)=t1nIk(t)+o(1n),t0,k=0,1,,K,(73)
where Ik(·) is the limiting idleness process for server k; see Harrison (1988) for an intuitive justification of (73).

Then, defining

χ0n(t)=E^n(t)+A^0n(tΔ0(t))S^0n(T0n(t)), t0,χkn(t)=A^kn(tΔk(t))+Φ^kn(1nS^0n(T0n(t)))+pkS^0n(T0n(t))S^kn(Tkn(t)), t0, k=1,2,,K,
and using Equations (67), (68), and (73), it is straightforward to derive the following for t0 and k=1,,K:
Q^0n(t)=χ0n(t)+(η0β0)tη0Δ0(t)+μ0I0(t)+o(1),(74)
Q^kn(t)=χkn(t)+(ηk+pkβ0βk)tηkΔk(t)+μkIk(t)pkμ0I0(t)+o(1).(75)

Moreover, it follows from Equation (71) that Δk(t) is absolutely continuous. We denote its density by δk(·);that is.

Δk(t)=0tδk(s)ds,t0, k=0,1,,K,
where δk(t)[0,1]. Using this, we write
ξ^n(t)=k=0K0tckηkδk(s)ds+k=0K0thkQ^kn(s)ds,t0.(76)

Then, passing to the limit formally as n and denoting the weak limit of (Q^n,X^n,ξ^n) by (Z,χ,ξ), where χ is a (K+1)-dimensional driftless Brownian motion with covariance matrix (see Appendix C for its derivation)

A=μ0[s02+a2p1s02pKs02p1s02p1(1p1)+p12s02+p1s12p1p2(s021)p1pK(s021)p1p2(s021)pK1pK(s021)pKs02p1pK(s021)pK(1pK)+pK2s02+pKsK2],
we deduce from (74), (75), and (76) that
Z0(t)=χ0(t)+(η0β0)t0tη0δ0(s)ds+μ0I0(t),Zk(t)=χk(t)+(ηk+pkβ0βk)t0tηkδk(s)ds+μkIk(t)pkμ0I0(t),k=1,,K,ξ(t)=k=0K0tckηkδk(s)ds+k=0K0thkZk(s)ds.

In order to streamline the notation, we make the following change of variables:

Yk(t)=μkIk(t), k=0,1,,K,θ0(t)=η0δ0(t)(η0β0), t0,θk(t)=ηkδk(t)(ηk+pkβ0βk),
and we let
θ¯0=β0 and θ¯0=β0η0,θ¯k=βkpkβ0 and θ¯k=βkηkpkβ0,k=1,,K.

Lastly, we define the set of negative drift vectors available to the system manager as in Equation (64). As a result, we arrive at the following Brownian system model:

Z0(t)=χ0(t)0tθ0(s)ds+Y0(t),t0,(77)
Zk(t)=χk(t)0tθk(s)ds+Yk(t)pkY0(t),k=1,,K,(78)
which can be written as in Equation (2) with d=K+1, where the reflection matrix R is given by Equation (63). Moreover, the processes Y, Z inherit properties in Equations (67)(77) from their prelimit counterparts in the queueing model (cf. Equations (69) and (70)).

To minimize technical complexity, we restrict attention to the stationary Markov control policies as done in Section 3. That is, θ(t)=u(Z(t)) for t0 for some policy function u:R+dΘ. Then, defining c=(c0,c1,,cK),h=(h0,h1,,hK), and

c(z,θ)=hz+cθ,
as in Equation (65), the cumulative cost incurred over the time interval [0, t] under policy u can be written as in Equation (11). Note that Cu(t) and ξ(t) differ only by a term that is independent of the control. Given Cu(t), one can formulate the discounted control problem as done in Section 3.1. Similarly, the ergodic control problem can be formulated as done in Section 3.2.

6.2.1. Interpreting the Solution of the Drift Control Problem in the Context of the Queueing Network Formulation.

Because the instantaneous cost rate c(z,θ) is linear in the control, inspection of the HJB equation reveals that the optimal control is of a bang-bang nature. That is, θk(t){θ¯k,θ¯k} for all k, t as stated in Equation (66). This can be interpreted in the context of the queueing network displayed in Figure 1 as follows. For k=0,1,,K, whenever θk(t)=θ¯k, the system manager turns away the thin-stream jobs arriving to buffer k externally (i.e., she shuts off the renewal process Ak(·) at time t). Otherwise, she admits them to the system. Of course, the optimal policy is determined by the gradient V(z) of the value function through the HJB equation, which we solve for using the method described in Section 5.

6.3. Related Example with Quadratic Cost of Control

Çelik and Maglaras (2008) and Ata and Barjesteh (2023) advance formulations where a system manager controls the arrival rate of customers to a queueing system by exercising dynamic pricing. One can follow a similar approach for the feed-forward queueing networks displayed in Figure 1 with suitable modifications (e.g., the dashed arrows also correspond to the arrivals of regular jobs). This ultimately results in a problem of drift control for RBM with the cost of control

c(θ,z)=k=0Kαk(θkθ¯k)2+k=0Khkzk,(79)
where θ¯ is the drift rate vector corresponding to a nominal price vector.

6.4. Two Parametric Families of Benchmark Policies

Recall that the optimal policy can be characterized as

u(z)=argmaxθΘ{θ·V(z)c(z,θ)},zR+d.(80)

6.4.1. The Benchmark Policy for the Main Test Problem.

In our main test problem (see Section 6.1), we have c(z,θ)=hz+cθ. Therefore, it follows from (80) that for k=0,1,,K,

uk(z)={θ¯kθ¯kif (V(z))kck,otherwise.

Namely, the optimal policy is of a bang-bang type. Therefore, we consider the following linear boundary policies as our benchmark polices. For k=0,1,,K,

uklbp(z)={θ¯kθ¯kif βkzck,otherwise,
where β0,β1,βKRK+1 are vectors of policy parameters to be tuned.

In our numerical study, we primarily focus attention on the symmetric case, where

h0>h1==hK,c0=c1==cK,p1==pK=1K,θ¯1==θ¯K,θ¯1==θ¯K.

The symmetry allows us to limit the number of parameters needed for the benchmark policy. To be more specific, because of this symmetry, the downstream buffers look identical. As such, we restrict attention to parameter vectors of the following form:

β0=(ϕ1,ϕ2,,ϕ2) andβi=(ϕ3,ϕ4,ϕ4,ϕ5,ϕ4,,ϕ4), where ϕ5 is the i+1st element of βi for i=1,,K.

The parameter vector β0, which is used to determine the benchmark policy for buffer 0, has two distinct parameters: ϕ1 and ϕ2. In considering the policy for buffer 0, ϕ1 captures the effect of its own queue length, whereas ϕ2 captures the effects of the downstream buffers 1,,K. We use a common parameter for the downstream buffers because they look identical from the perspective of buffer 0. Similarly, the parameter vector βi(i=1,,K) has three distinct parameters: ϕ3,ϕ4, and ϕ5, where ϕ3 is used as the multiplier for buffer 0 (the upstream buffer), ϕ5 is used to capture the effect of buffer i itself, and ϕ4 is used for all other downstream buffers. Note that all βi use the same three parameters ϕ3,ϕ4, and ϕ5 for i=1,,K. They only differ with respect to the position of ϕ5 (i.e., it is in the i+1st position for βi).

In summary, the benchmark policy uses five distinct parameters in the symmetric case. This allows us to do a brute-force search via simulation on a five-dimensional grid, regardless of the number of buffers.

6.4.2. The Benchmark Policy for the Test Problem with the Quadratic Cost of Control.

In this case, substituting Equation (79) into Equation (80) gives the following characterization of the optimal policy:

uk(z)=θ¯k+(V(z))k2αk,k=0,1,,K.(81)

Namely, the optimal policy is affine in the gradient. Therefore, we consider the following affine rate policies as our benchmark polices. For k=0,1,,K,

ukarp(z)=θ¯k+βkz,
where β0,β1,βKRK+1 are vectors of policy parameters to be tuned. We truncate this at the upper bound θ¯k if needed.

We focus attention on the symmetric case for this problem formulation too. To be specific, we assume

h0>h1==hK,α0=α1==αK,p1==pK=1K,θ¯1==θ¯K,θ¯1==θ¯K.

Because of this symmetry, the downstream buffers look identical. As such, we restrict attention to parameter vectors of the following form:

β0=(ϕ1,ϕ2,,ϕ2) andβi=(ϕ3,ϕ4,ϕ4,ϕ5,ϕ4,,ϕ4), where ϕ5 is the i+1stelement for i=1,,K.

As done for the first benchmark policy above, this particular form of the parameter vectors can be justified using the symmetry as well.

6.5. Parallel-Server Test Problems

In this section, we consider a problem whose solution can be derived analytically by considering a one-dimensional problem. To be specific, we consider the parallel-server network that consists of K identical single-server queues as displayed in Figure 2. Clearly, this network can be decomposed into K separate single-server queues, leading to K separate one-dimensional problem formulations, which can be solved analytically; see Appendix D for details. For this example, we have that R=Id×d and A=Id×d. In addition, we assume that the action space Θ and the cost function c(z,θ) are the same as above.

Figure 2. A Decomposable Parallel-Server Queueing Network

7. Computational Results

For the test problems introduced in Section 6, we now compare the performance of policies derived using our method (see Section 5) with the best benchmark we could find. The results show that our method performs well, and it remains computationally feasible up to at least dimension d=30. We implement our method using three-layer or four-layer neural networks with the “elu” activation function (Rasamoelina et al. 2020) in Tensorflow 2 (Abadi et al. 2016) and using code adapted from that of Han et al. (2018) and Zhou et al. (2021b); see Appendix E for further details of our implementation.1 In our numerical experiments, we observed that the performance of our method is robust to most hyperparameters. For tuning our algorithm, the activation function proved to be the most critical element. The “elu” activation function resulted in superior performance (Rasamoelina et al. 2020). Additionally, we found that decaying the learning rate to 0.0001 helped achieve good performance.

For our main test problem with the linear cost of control (introduced previously in Section 6.1) and also, for its variant with the quadratic cost of control (Section 6.3), the following parameter values are assumed: h0=2, hk=1.9 for k=1,,K; ck=1 for k=0,,K; and pk=1/K for k=1,,K. Also, the reflection matrix R and the covariance matrix A for those families of problems are as follows:

R=[11/K11/K1] and A=[100011K21K21K21K201K21].

We also consider a variation of our main test problem that has asymmetric routing probabilities.

As stated previously in Section 6.5, the reflection matrix and the covariance matrix for our parallel-server test problems are R=Id×d and A=Id×d. Problems in that third class have K=d buffers indexed by k=1,,K, and we set h1=2 and hk=1.9 for k=2,,K.

7.1. Main Test Problem with Linear Cost of Control

For our main test problem with linear cost of control (Section 6.1), we take

θ¯k=0 and θ¯k=b{2,10} for all k.

Also, interest rates r=0.1 and r=0.01 will be considered in the discounted case.

To begin, let us consider the simple case where K=0 (that is, there are no downstream buffers in the queueing network interpretation of the problem), and hence, d=1. In this case, one can solve the HJB equation analytically; see Appendix D for details. For the discounted formulation with r=0.1, Figure 3 compares the derivative of the value function computed using the analytical solution, which is shown in blue, with the neural network approximation for it that we computed using our method, which shown in red. (The comparisons for r=0.01 and the ergodic control case are similar.)

Figure 3. Comparison Between the Derivative Gw(·) Learned from Neural Networks and the Derivative of the Optimal Value Function for the Case of d=1 and r=0.1
Notes. The dotted lines indicate the cost c0=1. When the value function gradient is above the dotted lines, the optimal control is θ=b, and otherwise, it is θ=0. (a) b=2. (b) b=10.

Combining Figure 3 with Equation (80), one sees that the policy derived using our method is close to the optimal policy. Table 1 reports the simulated performance with standard errors of these two policies based on 4 million sample paths and using the same discretization of time as in our computational method. Specifically, we report the long-run average cost under each policy in the ergodic control case, and we report the simulated value V(0) in the discounted case. To repeat, the benchmark policy in this case is the optimal policy determined analytically but not accounting for the discretization of the timescale. Of course, all of the performance figures reported in Table 1 are subject to simulation errors. Finally, it is worth noting that our method took less than one hour to compute its policy recommendations using a 10-CPU core computer.

Table

Table 1. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the One-Dimensional Case (K=0)

Table 1. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the One-Dimensional Case (K=0)

PolicyErgodicr=0.01r=0.1
b=2Our policy1.455 ± 0.0006145.3 ± 0.0514.29 ± 0.004
Benchmark1.456 ± 0.0006145.3 ± 0.0514.29 ± 0.004
b=10Our policy1.375 ± 0.0007137.2 ± 0.0613.56 ± 0.005
Benchmark1.374 ± 0.0007137.2 ± 0.0613.56 ± 0.005

Let us consider now the two-dimensional case (K=1), where the optimal policy is unknown. Therefore, we compare our method with the best benchmark we could find: the linear boundary policy described in Section 6.4. In the two-dimensional case, the linear boundary policy reduces to the following:

θ0(z)=bI{β0z1} and θ1(z)=bI{β1z1}.

Through simulation, we perform a brute-force search to identify the best values of β0 and β1. The policies for b=2 and b=10 are shown in Figures 4 and 5, respectively, for the discounted control case with r=0.1. Our proposed policy sets the drift to b in the red regions and to zero in the blue regions in Figures 4 and 5, whereas the best linear boundary policy is represented by the white dashed lines in Figures 4 and 5. That is, the benchmark policy sets the drift to b in the region above and to the right of the dashed lines in Figures 4 and 5 and sets it to zero below and to the left of the dashed lines in Figures 4 and 5. Table 2 presents the costs with standard errors of the benchmark policy and our proposed policy obtained in a simulation study. The two policies have similar performance. Our method takes about one hour to compute policy recommendations using a 10-CPU core computer.

Figure 4. Graphical Representation of the Policy Learned from Neural Networks and the Benchmark Policy for the Case b=2,d=2, and r=0.1
Notes. (a) Server 0. (b) Server 1.
Figure 5. Graphical Representation of the Policy Learned from Neural Networks and the Benchmark Policy for the Case b=10,d=2, and r=0.1
Notes. (a) Server 0. (b) Server 1.
Table

Table 2. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Two-Dimensional Case (K=1)

Table 2. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Two-Dimensional Case (K=1)

PolicyErgodicr=0.01r=0.1
b=2Our policy2.471 ± 0.0008246.6 ± 0.0824.28 ± 0.006
Benchmark2.473 ± 0.0008246.8 ± 0.0824.29 ± 0.006
b=10Our policy2.338 ± 0.0009233.3 ± 0.0923.10 ± 0.006
Benchmark2.338 ± 0.0009233.6 ± 0.0923.10 ± 0.006

We then consider the six-dimensional case (K=5), where the linear boundary policy reduces to

θi(z)=bI{βiz1} for i=0,1,2,,5.

Although there appears to be 36 parameters to be tuned, recall that we reduced the number of parameters to 5 in Section 6.4 by exploiting symmetry. This makes the brute-force search computationally feasible. Table 3 compares the performance with standard errors of our proposed policies with the benchmark policies. They have similar performance. In this case, the running time for our method is several hours using a 10-CPU computer.

Table

Table 3. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Six-Dimensional Case d=6 (K=5)

Table 3. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Six-Dimensional Case d=6 (K=5)

PolicyErgodicr=0.01r=0.1
b=2Our policy7.927 ± 0.001791.0 ± 0.177.83 ± 0.01
Benchmark7.927 ± 0.001791.3 ± 0.177.83 ± 0.01
b=10Our policy7.565 ± 0.0016754.8 ± 0.1574.61 ± 0.01
Benchmark7.525 ± 0.0016751.7 ± 0.1574.32 ± 0.01

To illustrate the scalability of our approach, we next consider the 21-dimensional case (K=20), where p1==p20=0.05. Because of symmetry, we can perform a brute-force search for the best linear boundary policy as done earlier. The results, presented in Table 4, demonstrate that our method’s performance is comparable with that of the best benchmark. The run time for our method is about one day in this case using a 20-CPU core computer.

Table

Table 4. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the 21-Dimensional Case d=21 (K=20)

Table 4. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the 21-Dimensional Case d=21 (K=20)

PolicyErgodicr=0.01r=0.1
b=2Our policy29.12 ± 0.00272,907 ± 0.26285.8 ± 0.02
Benchmark29.12 ± 0.00272,907 ± 0.26285.8 ± 0.02
b=10Our policy27.78 ± 0.00312,773 ± 0.30273.9 ± 0.02
Benchmark27.60 ± 0.00292,756 ± 0.28272.1 ± 0.02

To further demonstrate the effectiveness of our approach, we consider a six-dimensional test problem with asymmetric routing probabilities. Specifically, for the example shown in Figure 1, we set

p1=p2=0.3,p3=0.2,p4=p5=0.1.

All other problem parameters remain the same as in the earlier six-dimensional symmetric test problem; see Appendix F for its reflection matrix R and the covariance matrix A. However, for the asymmetric problem, tuning its 36 parameters for the linear boundary policy becomes computationally prohibitive. Therefore, we propose an alternative approach in Appendix F to identify an effective boundary policy. Table 5 presents the performance, along with standard errors, of our proposed policies compared with benchmark policies. The two policies exhibit similar performance, and the run time of our method is comparable with that of the earlier symmetric six-dimensional example.

Table

Table 5. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Six-Dimensional Case d=6 (K=5) with Asymmetric Routing Probabilities

Table 5. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Six-Dimensional Case d=6 (K=5) with Asymmetric Routing Probabilities

PolicyErgodicr=0.01r=0.1
b=2Our policy7.938 ± 0.0013792.5 ± 0.1377.98 ± 0.01
Benchmark7.948 ± 0.0013793.6 ± 0.1378.11 ± 0.01
b=10Our policy7.590 ± 0.0015757.4 ± 0.1574.80 ± 0.01
Benchmark7.547 ± 0.0015753.6 ± 0.1574.53 ± 0.01

7.2. Test Problems with Quadratic Cost of Control

In this section, we consider the test problem introduced in Section 6.3, for which we set αk=1 and θ¯k=1 for all k. As in the previous treatment of our main test example, we report results for the cases of d=1,2,6 in Tables 68, respectively, where the benchmark policies are the affine rate policies discussed in Section 6.4, with policy parameters optimized via simulation through a brute-force search. We observe that our proposed policies outperform the best affine rate policies by very small margins in all cases.

Table

Table 6. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=1

Table 6. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=1

PolicyErgodicr=0.01r=0.1
Our policy0.757 ± 0.000475.53 ± 0.037.415 ± 0.003
Benchmark0.758 ± 0.000475.67 ± 0.037.427 ± 0.003
Table

Table 7. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=2(K=1)

Table 7. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=2(K=1)

PolicyErgodicr=0.01r=0.1
Our policy1.216 ± 0.0005121.3 ± 0.0411.94 ± 0.003
Benchmark1.219 ± 0.0005121.7 ± 0.0511.96 ± 0.003
Table

Table 8. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=6(K=5)

Table 8. Performance Comparison of Our Proposed Policy with the Benchmark Policy in the Case of Quadratic Cost of Control and d=6(K=5)

PolicyErgodicr=0.01r=0.1
Our policy3.863 ± 0.0008385.7 ± 0.0837.92 ± 0.006
Benchmark3.874 ± 0.0008386.9 ± 0.0838.04 ± 0.006

In the one-dimensional ergodic control case (K=0), we obtain analytical solutions to the RBM control problem in closed form by solving the HJB equation directly, which reduces to a first-order ordinary differential equation in this case; see Appendix D for details. Figure 6 compares the derivative of the optimal value function (derived in closed form) with its approximation via neural networks in the ergodic case. Combining Figure 6 with Equation (81) reveals that our proposed policy is close to the optimal policy.

Figure 6. Comparison of the Gradient Approximation Gw() Learned from Neural Networks with the Derivative of the Optimal Value Function for the Ergodic Control Case with Quadratic Cost of Control in the One-Dimensional Case (d=1)

In the two-dimensional case, our proposed policy is shown in Figure 7 for the ergodic case, with contour lines showing the state vectors (z0,z1) for which the policy chooses successively higher drift rates. The white dashed lines in Figure 7 similarly show the states (z0,z1) for which our benchmark policy (that is, the best affine rate policy) chooses the drift rate θk=1.5 (for k=0 in panel (a) of Figure 7 and k=1 in panel (b) of Figure 7).

Figure 7. Graphical Representation of the Policy Learned from Neural Networks and the Benchmark Policy for the Ergodic Case with d=2
Notes. (a) Server 0. (b) Server 1.

7.3. Parallel-Server Test Problems

This section focuses on parallel-server test problems (see Section 6.5) to demonstrate our method’s scalability. As illustrated in Figure 2, the parallel-server networks are essentially K independent copies of the one-dimensional case. We present the results in Table 9 for d=30 and linear cost of control. When b=2, our policies perform almost equally as well as the optimal policy, whereas for b=10, our policies perform within 1% of the optimal policy. The run time for our method is about one day in this case using a 20-CPU core computer.

Table

Table 9. Performance Comparison Between Our Proposed Policy and the Benchmark Policy for 30-Dimensional Parallel-Server Test Problems with Linear Cost of Control

Table 9. Performance Comparison Between Our Proposed Policy and the Benchmark Policy for 30-Dimensional Parallel-Server Test Problems with Linear Cost of Control

PolicyErgodicr = 0.01r = 0.1
b=2Our policy42.56 ± 0.0034,247 ± 0.3417.3 ± 0.02
Benchmark42.52 ± 0.0034,244 ± 0.3417.2 ± 0.02
b=10Our policy40.53 ± 0.0044,054 ± 0.4399.4 ± 0.026
Benchmark40.23 ± 0.0044,018 ± 0.4396.7 ± 0.024

For quadratic cost of control, we are able to solve the test problems up to at least 100 dimensions. The results for d=100 are given in Table 10, where the benchmark policies are the best affine rate policies (see Section 6.4). The performance of our policy is within 1% of the benchmark performance. The run time for our method is several days in this case using a 30-CPU core computer.

Table

Table 10. Performance Comparison Between Our Proposed Policy and the Benchmark Policy for 100-Dimensional Parallel-Server Test Problems with Quadratic Cost of Control

Table 10. Performance Comparison Between Our Proposed Policy and the Benchmark Policy for 100-Dimensional Parallel-Server Test Problems with Quadratic Cost of Control

PolicyErgodicr=0.01r=0.1
Our policy72.74 ± 0.0037,258.3 ± 0.3712.4 ± 0.02
Benchmark72.53 ± 0.0037,237.3 ± 0.3710.2 ± 0.02

8. Concluding Remarks

Consider the general drift control problem formulated in Section 3, assuming specifically that the instantaneous cost rate c(z,θ) is linear in θ and further assuming that the set of available drift vectors is a rectangle Θ=[0,b1]××[0,bd]. If one relaxes such a problem by letting bi for one or more i, then one obtains what is called a singular control problem (cf. Kushner and Martins 1991). Optimal policies for such problems typically involve the imposition of endogenous reflecting barriers (that is, reflecting barriers imposed by the system controller in order to minimize cost) in addition to exogenous reflecting barriers that may be imposed to represent physical constraints in the motivating application.

There are many examples of queueing network control problems whose natural heavy traffic approximations involve singular control; see, for example, Martins and Kushner (1990), Krichagina and Taksar (1992), and Martins et al. (1996). In our follow-up paper (Ata et al. 2024), we extend the method developed in this paper for drift control in a natural way to treat singular control, and we illustrate that extension by means of queueing network applications.

Separately, the following are three desirable generalizations of the problem formulations propounded in Section 3 of this paper. Each of them is straightforward in principle, and we expect to see these extensions implemented in future work, perhaps in combination with mild additional restrictions on problem data. (a) Instead of requiring that the reflection matrix R have the Minkowski form (1), require only that R be a completely S matrix, which Taylor and Williams (1993) showed is a necessary and sufficient condition for an RBM to be well defined. (b) Allow a more general state space for the controlled process Z, such as the convex polyhedrons characterized by Dai and Williams (1996). (c) Remove the requirement that the action space Θ be bounded.

Lastly, we have considered in this paper the PDEs that arise in performance analysis and optimal control of RBMs, assuming that those PDEs admit C2 solutions. Borkar and Budhiraja (2005) have established the existence and uniqueness of viscosity solutions for such PDEs, extending the earlier work by Dupuis and Ishii (1991). To the best of our knowledge, there is no theory currently available concerning the existence and uniqueness of classical C2 solutions, either exact or approximate, and we leave that exploration as a topic for future research.

Appendix A. Proof of Proposition 1

Proof.

Let f:R+Rd be right continuous with left limits (rcll). Following Williams (1998a), we define the oscillation of f over an interval [t1,t2] as follows:

Osc(f,[t1,t2])=sup{|f(t)f(s)|:t1s<tt2},(A.1)
where |a|=maxi=1.,d|ai| for any aRd. Then, for two rcll functions f, g, the following holds:
Osc(f+g)Osc(f)+Osc(g).(A.2)

Also, recall that the controlled RBM Z satisfies Z(t)=X(t)+RY(t), where

X(t)=W(t)0tθ(s)ds,t0.(A.3)

Then, it follows from Williams (1998a, theorem 5.1) that

Osc(Z,[0,t])COsc(X,[0,t])COsc(W,[0,t])+Cθ¯t
for some C>0, where θ¯=l=1d(θ¯lθ¯l) and θ¯l,θ¯l are the minimal and maximal values on each dimension, and the second inequality follows from (A.2).

Let O=Ocs(W,[0,t]), and recall that we are interested in bounding the expectation E[|Z(t)|n]. To that end, note that

|Z(t)Z(0)|nCn(O+θ¯t)n=Cnk=0n(nk)Okθ¯nktnk.(A.4)

To bound E[Ok], note that

O=sup{|W(t2)W(t1)|:0t1<t2t}sup{W(s):0st}inf{W(s):0st}2sup{|W(s)|:0st}2sup{l=1d|Wl(s)|:0st}2l=1dsup{|Wl(s)|:0st}.

So, by the union bound, we write

P(O>x)l=1dP(sup0stWl(s)>x2d)+l=1dP(inf0stWl(s)<x2d)4l=1dP(Wl(t)>x2d),
where the last inequality follows from the reflection principle.

Thus,

E[Ok]=0xk1P(O>x)dx4l=1d0xk1P(Wl(t)>x2d)dx.

By change of variable y=x/d, we write

E[Ok]4l=1d(2d)k0yk1P(Wl(t)>y)dy=4l=1d(2d)kE[|Wl(t)|k]=4(2d)k2k/2tk/2Γ(k+12)πl=1dσllk,
where Γ is the Gamma function, and the last equality is a well-known result; see, for example, Winkelbauer (2012, equation 12). Substituting this into (A.4) gives the following:
E[|Z(t)Z(0)|n]Cnk=0n4(2d)k(nk)2k/2tk/2Γ(k+12)πθ¯nktnk(l=1dσllk)C˜n(tn+1).(A.5)

Let z=Z(0). We write

|Z(t)|n=|Z(t)z+z|n(|Z(t)z|+|z|)nk=0n(nk)|Z(t)z|k|z|nk.

Using (A.5), we can, therefore, write

E[|Z(t)|n]k=0n(nk)C˜k|z|nk(tk+1)C^n(1+tn). □

Appendix B. Validity of HJB Equations

B.1. Discounted Control

Proposition B.1.

Let uU be an admissible policy and Vu be a C2 solution of the associated PDE (15) and (16). If both Vu and its gradient have polynomial growth, then Vu satisfies (12).

Proof.

Applying Ito’s formula to ertVu(Zu(t)) and using Equation (7), we write

erTVu(Zu(T))Vu(z)=0Tert(LVu(Zu(t))u(Zu(t))·Vu(Zu(t))rVu(Zu(t)))dt+0TertDVu(Zu(t))·dYu(t)+0TertVu(Zu(t))·dW(t).

Then, using (3), (4), (15), and (16), we arrive at the following:

erTVu(Zu(T))Vu(z)=0Tertc(Zu(t),u(Zu(t)))dt0Tertκ·dYu(t)+0TertVu(Zu(t))·dW(t).(B.1)

Because Vu has polynomial growth and the action space Θ is bounded, we have that

Ez[0TertVu(Zu(t))·dW(t)]=0;
see, for example, Oksendal (2003, theorem 3.2.1). Thus, taking the expectation of both sides of (B.1) yields
Vu(z)=Ez[0Tertc(Zu(t),u(Zu(t)))dt]+Ez[0Tertκ·dYu(t)dt]+erTEz[Vu(Zu(T))].

Because Vu has polynomial growth and Θ is bounded, the last term on the right-hand side vanishes as T. As mentioned earlier, because Θ is bounded by the assumption, one can easily derive an affine bound for Ez[κ·Yu(T)] viewed as a function of T. Then, because c has polynomial growth and Θ is bounded, passing to the limit as T completes the proof. □

Proposition B.2.

If V is a C2 solution of the HJB Equations (17) and (18) and if both V and its gradient have polynomial growth, then V satisfies (13).

Proof.

First, consider an arbitrary admissible policy u, and let Vu denote the solution of the associated PDE (15) and (16). By Proposition B.1, we have that

Vu(z)=Ez[0ertc(Zu(t),u(Zu(t))dt]+Ez[0Tertκ·dYu(t)],zR+d.(B.2)

On the other hand, because V solves (17) and (18) and

u(z)·V(z)c(z,u(z))maxθΘ{θ·V(z)c(z,θ},zR+d,
we conclude that
LV(z)u(z)·V(z)+c(z,u(z))rV(z).(B.3)

Now, applying Ito’s formula to ertV(Zu(t)) and using Equation (7) yields

erTV(Zu(T))V(z)=0T(LV(Zu(t))u(Zu(t))·V(Zu(t))rV(Zu(t)))dt+0TDV(Zu(t))·dYu(t)+0TertV(Zu(t))·dW(t).

Combining this with Equations (3), (4), (17), (18), and (B.3) gives

erTV(Zu(t))V(z)0Tertc(Zu(t),u(Zu(t)))dt(B.4)
0Tertκ·dYu(t)+0TertV(Zu(t))·dW(t).(B.5)

Because V has polynomial growth and the action space Θ is bounded, we have that

Ez[0TertV(Zu(t))·dW(t)]=0;
see, for example, Oksendal (2003, theorem 3.2.1). Using this and taking the expectation of both sides of Equation (B.5) yields
V(z)Ez[0Tertc(Zu(t),u(Zu(t)))dt]+Ez[0Tertκ·dYu(t)]+erTE[V(Zu(T))].

Because V has polynomial growth and Θ is bounded, the second term on the right-hand side vanishes as T. Then, because c has polynomial growth and Θ is bounded, passing to the limit yields

V(z)Ez[0ertc(Zu(t),u(Zu(t)))dt]+Ez[0ertκ·dYu(t)]=Vu(z),(B.6)
where the equality holds by Equation (B.2).

Now, consider the optimal policy u*, where u*(z)=argmaxθΘ{θ·V(z)c(z,θ)}. For notational brevity, let Z*=Zu* denote the RBM under policy u*. Note from Equation (17) that

LV(z)u*(z)·V(z)+c(z,u*(z))=rV(z),zR+d.(B.7)

Repeating the preceding steps with u* in place of u and replacing the inequality with an equality (cf. Equations (B.3) and (B.7)), we conclude that

V(z)=Ez[0ertc(Z*(t),u*(Z*(T)))dt]+Ez[0ertκ·dYu*(t)]=Vu*(z).

Combining this with Equation (B.6) yields (13). □

B.2. Ergodic Control

Proposition B.3.

Let uU be an admissible policy and (ξ˜,vu) be a C2 solution of the associated PDE (24) and (25). Further, assume that vu and its gradient have polynomial growth. Then,

ξ˜=ξu=R+dc(z,u(z))πu(dz)+i=1dκiνiu(Si).

Proof.

Let πu denote the stationary distribution of RBM under policy u, and let Zu denote the RBM under policy u that is initiated with πu. That is,

P(Zu(0)B)=πu(B) for BR+d.

Then, applying Ito’s formula to vu(Zu(t)) and using Equation (7) yield

vu(Zu(t))vu(Zu(0))=0T(Lvu(Zu(t))u(Zu(t))·vu(Zu(t)))dt+0TDvu(Zu(t))·dYu(t)+0Tvu(Zu(t))·dW(t).

Then, using Equations (3), (4), (24), and (25), we arrive at the following:

vu(Zu(T))vu(Zu(0))=0T[ξ˜c(Zu(t),u(Zu(t)))]dtκ·Yu(T)+0Tvu(Zu(t))·dW(t).(B.8)

Note that the marginal distribution of Zu(t) is πu for all t0. Thus, we have that

Eπu[vu(Zu(T))]=Eπu[vu(Zu(0))].

Moreover, using Equation (22) and the polynomial growth of vu, we conclude that

Eπu[0T|vu(Zu(t))|2dt]=TR+d|vu(z)|2πu(dz)<.

Consequently, we have that E[0Tvu(Zu(t))·dW(t)]=0; see, for example, Oksendal (2003, theorem 3.2.1). Combining these and taking the expectation of both sides of (B.8) gives

ξ˜=1T0TEπu[c(Zu(t),u(Zu(t)))]dt+1TEπu[κ·Yu(T)]=R+dc(z,u(z))πu(dz)+i=1dκiνiu(Si)=ξu.
 □

Proposition B.4.

Let (v,ξ) be a C2 solution of the HJB Equations (26) and (27), and further, assume that both v and its gradient have polynomial growth. Then, (28) holds, and moreover, ξ=ξu*, where the optimal policy u* is defined by (29).

Proof.

First, consider an arbitrary policy u, and note that

ξu=R+dc(z,u(z))πu(dz)+i=1dκiνiu(Si),
where πu is the stationary distribution of RBM under policy u and νiu is the corresponding boundary measure on the boundary surface Si={zR+d:zi=0}. Let Zu denote the RBM under policy u that is initiated with the stationary distribution πu. That is,
P(Zu(0)B)=πu(B),BR+d.

On the other hand, because (v,ξ) solves the HJB equation and

u(z)·v(z)c(z,u(z))maxθΘ{θ·v(z)c(z,θ)},
we have that
Lv(z)u(z)·v(z)+c(z,u(z)))ξ.(B.9)

Now, we apply Ito’s formula to v(Zu(t)) and use Equation (7) to get

v(Zu(T))v(Zu(0))=0T(Lv(Zu(t)))u(Zu(t))·v(Zu(t))))dt+0Tv(Zu(t))·dYu(t)+0Tv(Zu(t))·dW(t).

Combining this with Equations (3), (4), (27), and (B.9) gives

v(Zu(T))v(Zu(0))0T(ξc(Zu(t),u(Zu(t)))dtκ·Yu(T)+0Tv(Zu(t))·dW(t).(B.10)

Note that the marginal distribution of Zu(t) is πu for all t0. Thus, we have that

Eπu[v(Zu(T))]=Eπu[v(Zu(0))].

Moreover, using Equation (22) and the polynomial growth of v, we conclude that

Eπu[0T|v(Zu(t))|2dt]=TR+d|v(z)|2πu(dz)<.

Consequently, we have that E[0Tv(Zu(t))dW(t)]=0; see, for example, Oksendal (2003, theorem 3.2.1). Combining these and taking the expectation of both sides of (B.10) give

ξ1T0TEπu[c(Zu(t),u(Zu(t))]dt+1TEπu[κ·Yu(T)]=R+dc(z,u(z))πu(dz)+i=1dκiνiu(Si)=ξu.(B.11)

Now, consider policy u*. For notational brevity, let Z*(t)=Zu*(t) denote the RBM under policy u* that is initiated with the stationary distribution πu*. In addition, note from (26) that

Lv(z)u*(z)·v(z)+c(z,u*(z))=ξ,zR+d.(B.12)

Repeating the preceding steps with u* in place of u and replacing the inequality with an equality (cf. Equations (B.9) and (B.12)), we conclude

ξ=R+dc(z,u*(z))πu*(dz)+i=1dκiνiu*(Si)=ξu*.

Combining this with Equation (B.11) completes the proof. □

Appendix C. Derivation of the Covariance Matrix of the Feed-Forward Examples

By the functional central limit theorem for the renewal process (Billingsley 1999), we have

E^n(·)WE(·),
where WE(·) is an one-dimensional Brownian motion with drift of zero and variance λa2=μ0a2. Furthermore, we have
S^kn(t)Wk(·), for k=1,2,,K,
where Wk(·) is an one-dimensional Brownian motion with drift of zero and variance μ0pksk2. Now, we turn to S^0n(t) and Φ^n(t). By Harrison (1988), we have
Cov([S^0n(t)Φ^n(t)])=μ0Ω0+μ0s02R0(R0),
where Ωkl0=pk(I{k=l}pl) for k,l=0,,K and R0=[1,p1,,pK]. Therefore, we have
Cov([S^0n(t)Φ^n(t)])=μ0[s02p1s02pKs02p1s02p1(1p1)+p12s02p1p2(s021)p1pK(s021)p1p2(s021)pK1pK(s021)pKs02p1pK(s021)pK(1pK)+pK2s02].

Therefore, the variance of χ is

A=diag(λa2,μ1s12,,μKsK2)+μ0[s02p1s02pKs02p1s02p1(1p1)+p12s02p1p2(s021)p1pK(s021)p1p2(s021)pK1pK(s021)pKs02p1pK(s021)pK(1pK)+pK2s02]=μ0[s02+a2p1s02pKs02p1s02p1(1p1)+p12s02+p1s12p1p2(s021)p1pK(s021)p1p2(s021)pK1pK(s021)pKs02p1pK(s021)pK(1pK)+pK2s02+pKsK2].

In particular, if the arrival and service processes are Poisson processes, we have a=1 and sk=1 for k=0,1,2,,K. Then, we have

APoisson=μ0[2p1pKp12p1pK2pK].

Furthermore, if the service time for server 0 is deterministic (i.e., s0=0), we have

Adeterministic=μ0[a2000p1(1p1)+p1s12p1p2p1pKp1p2pK1pK0p1pKpK(1pK)+pKsK2].

Appendix D. Analytical Solution of One-Dimensional Test Problems

D.1. Ergodic Control Formulation with Linear Cost of Control

We consider the one-dimensional control problem with the cost function

c(z,θ)=hz+cθ for zR+ and θΘ=[0,b].

In the ergodic control case, the HJB Equations (26) and (27) are

a2v(z)maxθ[0,b]{θ·v(z)hzcθ}=ξ and(D.1)
v(0)=0 and v(z) having polynomial growth rate,(D.2)
where the covariance matrix A=a in this one-dimensional case. The HJB Equations (D.1) and (D.2) are equivalent to
a2v(z)+hz(v(z)c)+b=ξ,
and the solution is
(v)(z)={2ach+ah24b2zhaz2hbz+ha2b2abch+ah24b2+c if z<zif zz, with
z*=1ha(ch+ah24b2)a2b and ξ=a(ch+ah24b2),
and the optimal control is
θ(z)={0bif z<z,if zz.

D.2. Discounted Formulation with Linear Cost of Control

The cost function is still

c(z,θ)=hz+cθ for zR+ and θΘ=[0,b],
and in the discounted control case, the HJB Equations (17) and (18) are
a2V(z)+hz(V(z)c)+b=rV(z),V(0)=0.

The solution is

V(z)={V1(z)V2(z)if z<zif zz,
and the optimal control is
θ(z)={0bif z<zif zz,
where
V1(z)=hae2rza2r3/2+hzr+C1e2rza+C1e2rza and
V2(z)=bh+brc+hrzr2+C2ez(bab2+2raa),
for some parameters z,C1,C2 to be determined later.

Case D.1.

hrc. Note that if C1=0, then we have

V1(z)=hr(1e2rza)<hrc.

Therefore, we have

V(z)=hae2rza2r3/2+hzr
for the case hrc, and the optimal control is always to set θ(z)=0.

Case D.2.

h>rc. We have

z=alog((hrc)aC2λ(b2+2rab))bb2+2ra,V2(z)=c, andV2(z)=(hrc)(b2+2λab)ra.

At point z, we must have

V1(z)=V2(z) and V1(z)=V2(z).

Then, we can numerically solve for C1 and C2 using the following equations:

V1(z)=c,V1(z)=(hrc)(b2+2rab)ra.

Table D.1 presents numerical values of z for different parameter combinations.

Table

Table D.1. The Numerical Values of z for Different Parameter Combinations (a=c=1)

Table D.1. The Numerical Values of z for Different Parameter Combinations (a=c=1)

hr=0.01r=0.1
b=2h=20.5016710.517133
h=1.90.5191360.535753
b=10h=20.6603540.674135
h=1.90.6787970.693707

D.3. Ergodic Control Formulation with Quadratic Cost of Control

We consider the cost function

c(θ,z)=α(θθ¯)2+hz.

The HJB Equations (26) and (27) then become

a2v(z)maxθ{θ·v(z)hzα(θθ¯)2}=ξ and(D.3)
v(z)=0 and v(z) having polynomial growth rate,(D.4)
which is equivalent to
hz+a2v(z)14α(v(z))2θ¯v(z)=ξ,v(0)=0.

Let f(z)=v(z) with f(0)=0. Then, we have

ξ=hz+a2f(z)14α(f(z))2θ¯f(z),f(0)=0,
which is a Riccati equation. One can solve this equation numerically to find ξ such that f(·) has polynomial growth. For example, if α=θ¯=a=1 and h=2, we have ξ=0.8017.

Appendix E. Implementation Details of Our Method

Neural network architecture. We used a three-layer or four-layer fully connected neural network with 20–1,000 neurons in each layer; see Tables E.1 and E.2 for details.

Table

Table E.1. Hyperparameters Used in the Test Problems with Linear Costs

Table E.1. Hyperparameters Used in the Test Problems with Linear Costs

Hyperparameters1 Dimensional2 Dimensional6 Dimensional30 Dimensional
b = 2b = 10b = 2b = 10b = 2b = 10b = 2b = 10
No. of iterations6,0006,0006,0006,000
No. of epochs13171519232741135
Learning rate scheme0.0005(0, 2,000)0.0005 (0, 3,000)0.0005 (0, 3,000)0.0005(0, 9,500)
0.0003(2,000, 4,000)0.0003(3,000, 6,000)0.0003 (3,000, 6,000)0.0003(9,500, 22,000)
0.0001(4,000, )0.0001(6,000, )0.0001 (6,000, )0.0001(22,000, )
No. of hidden layers4443
No. of neurons in each layer505050300
c˜00.470.470.47
c˜18002,4004,800
Table

Table E.2. Hyperparameters Used in the Test Problems with Quadratic Costs

Table E.2. Hyperparameters Used in the Test Problems with Quadratic Costs

Hyperparameters1 Dimensional2 Dimensional6 Dimensional30 Dimensional
No. of iterations6,0006,0006,00012,000
No. of epochs121422110
Learning rate scheme0.0005 (0, 3,000)0.0005 (0, 3,000)0.0005 (0, 3,000)0.0005 (0, 9,500)
0.0003 (3,000, 6,000)0.0003 (3,000, 6,000)0.0003 (3,000, 6,000)0.0003 (9,500, 22,000)
0.0001 (6,000, )0.0001 (6,000, )0.0001 (6,000, )0.0001 (22,000, )
No. of hidden layers3443
No. of neurons in each layer2050501,000
  • Common hyperparameters. Batch size B=256, time horizon T=0.1, and discretization step size 0.1/64; see Tables E.1 and E.2 for details.

  • Learning rate. The learning rate starts from 0.0005 and decays to 0.0003 and 0.0001 with a rate detailed in Tables E.1 and E.2.

  • Optimizer. We used the Adam optimizer (Kingma and Ba 2014).

  • Reference policy. The reference policy sets θ˜=1.

  • Activation function. We use the “elu” action function (Rasamoelina et al. 2020).

  • Code. Our code structure follows from that of Han et al. (2018) and Zhou et al. (2021b). We implement two major changes. First, we have separated the data generation and training processes to facilitate data reuse. Second, we have conducted the RBM simulation. We have also integrated all of the features discussed in this section.

E.1. Decay Loss in the Test Example with Linear Cost of Control

Recall in our main test example with linear cost of control that the cost function is

c(z,θ)=hz+cθ.

In the discounted cost formulation, substituting this cost function into the F function defined in Equation (31) gives the following:

F(Z˜(t),Gw2(Z˜(t)))=θ˜·x+hzbi=1dmax(Gw2(Z˜(t))ic,0).(E.1)

Note that if Gw2(Z˜(t))<c, we have

F(Z˜(t),Gw2(Z˜(t)))w2=0,
which suggests that the algorithm may suffer from the gradient vanishing problem (Hochreiter 1998), which is well known in the deep learning literature. To overcome this difficulty, we propose an alternative F function:
F˜(Z˜(t),Gw2(Z˜(t)))=θ˜·x+hzbi=1dmax(Gw2(Z˜(t))ic,0)b˜i=1dmin(Gw2(Z˜(t))ic,0),(E.2)
where b˜ is a decaying function with respect to the training iteration. Specifically, we propose
b˜=(c˜0iterationc˜1)+,
for some positive constants c˜0 and c˜1. The specific choices of c˜0 and c˜1 are shown in Table E.1.

We proceed similarly in the ergodic cost case.

E.2. Variance Loss Function in Discounted Control

Let us parametrize the value function as Vw1(z)=V˜w1(z)+ξ. Note that V˜w1(z)/z=Vw1(z)/z. Therefore, we can rewrite the loss function (56):

(w1,w2)=E[(erT(V˜w1(Z˜(T))+ξ)(V˜w1(Z˜(0))+ξ)0TertGw2(Z˜(t))·dW(t)+0TertF(Z˜(t),Gw2(Z˜(t)))dt)2].(E.3)

By optimizing ξ first, we obtain the following variance loss function:

˜(w1,w2)=Var[erTV˜w1(Z˜(T))V˜w1(Z˜(0))0TertGw2(Z˜(t))·dW(t)+0TertF(Z˜(t),Gw2(Z˜(t)))dt].

We observe that this trick could accelerate the training speed when r is small. Because when r>0 is small, ξ is of the order O(1/r) and V˜w1(·),Gw2(·) are of the order O(1).

Appendix F. A Heuristic Approach to Identify an Effective Linear Boundary Policy in Asymmetric Cases

As a preliminary step, we first examine the tandem-queues network depicted in Figure F.1, which can be considered a subnetwork of the queuing network shown in Figure 1.

Figure F.1. A Subnetwork of the Feed-Forward Queueing Network with Thin Arrival Streams

In this system, upon completing their service with server 0, jobs either move on to buffer k with probability pk or exit the system with probability 1pk. Therefore, the reflection matrix associated with the kth subnetwork is given as follows:

R=[10pk1].(F.1)

Then, we search for the four parameters β0,0(k),β0,k(k),βk,0(k),βk,k(k) for the kth subnetwork to determine the optimal linear boundary policies for each subnetwork (k=1,2,,K). These policies are represented as

θ0(k)(z)=bI{β0,0(k)z0+β0,k(k)zk1} and θk(k)(z)=bI{βk,0(k)z0+βk,k(k)zk1}.

Then, in the original feed-forward queueing network, we set the policies θk(z)=bI{βkz1} for server k=1,2,,K as follows:

βk,0=βk,0(k),βk,k=βk,k(k), and βk,j=0, for j0,k.

The reasoning behind this heuristic policy is based on our observations from symmetric cases, indicating that the influence of the length of queue j on the length of queue k is small when j is not equal to zero or k.

In order to complete our specification of the heuristic policy, we search the parameters for server 0 in β0. In the asymmetric case with p=[0.3,0.3,0.2,0.1,0.1], there are four such parameters to tune.

Lastly, for completeness, we provide the reflection matrix R and the covariance matrix A for our test example with asymmetric routing probabilities below:

R=[10.310.310.210.110.11],A=[100000010.090.060.030.0300.0910.060.030.0300.060.0610.020.0200.030.030.0210.0100.030.030.020.011].

Endnote

1 Our code is available at https://github.com/nian-si/RBMSolver.

References

  • Abadi M, Barham P, Chen J, Chen Z, Davis A, Dean J, Devin M, et al. (2016) Tensorflow: A system for large-scale machine learning. OSDI, Savannah, GA, vol. 16 (USENIX Association, Berkeley, CA), 265–283.Google Scholar
  • Andradóttir S, Heyman DP, Ott TJ (1993) Variance reduction through smoothing and control variates for Markov Chain simulations. ACM Trans. Model. Comput. Simulation 3(3):167–189.Google Scholar
  • Ata B (2006) Dynamic control of a multiclass queue with thin arrival streams. Oper. Res. 54(5):876–892.LinkGoogle Scholar
  • Ata B, Barjesteh N (2023) An approximate analysis of dynamic pricing, outsourcing, and scheduling policies for a multiclass make-to-stock queue in the heavy traffic regime. Oper. Res. 71(1):341–357.LinkGoogle Scholar
  • Ata B, Kasikaralar E (2023) Dynamic scheduling of a multiclass queue in the Halfin-Whitt regime: A computational approach for high-dimensional problems. Preprint, submitted November 29, https://arxiv.org/abs/2311.18128.Google Scholar
  • Ata B, Zhou Y (2024) Analysis and improvement of eviction enforcement. Working paper, University of Chicago, Chicago.Google Scholar
  • Ata B, Harrison JM, Shepp LA (2005) Drift rate control of a Brownian processing system. Ann. Appl. Probab. 15(2):1145–1160.Google Scholar
  • Ata B, Harrison JM, Si N (2024) Singular control of (reflected) Brownian motion: A computational method suitable for queueing applications. Queueing Systems, 1–37.Google Scholar
  • Ata B, Lee D, Sonmez E (2019) Dynamic volunteer staffing in multicrop gleaning operations. Oper. Res. 67(2):295–314.AbstractGoogle Scholar
  • Bar-Ilan A, Marion NP, Perry D (2007) Drift control of international reserves. J. Econom. Dynam. Control 31:3110–3137.Google Scholar
  • Beck C, Hutzenthaler M, Jentzen A, Kuckuck B (2023) An overview on deep learning-based approximation methods for partial differential equations. Discrete Continuous Dynamic. Systems Ser. B 28(6):3697–3746.Google Scholar
  • Billingsley P (1999) Convergence of Probability Measures, 2nd ed. (John Wiley & Sons, Hoboken, NJ).Google Scholar
  • Blanchet J, Chen X, Si N, Glynn PW (2021) Efficient steady-state simulation of high-dimensional stochastic networks. Stochastic Systems 11(2):174–192.LinkGoogle Scholar
  • Borkar V, Budhiraja A (2005) Ergodic control for constrained diffusions: Characterization using HJB equations. SIAM J. Control Optim. 43(4):1467–1492.Google Scholar
  • Budhiraja A, Lee C (2007) Long time asymptotics for controlled diffusions in polyhedral domains. Stochastic Processes Their Appl. 117(8):1014–1036.Google Scholar
  • Çelik S, Maglaras C (2008) Dynamic pricing and lead-time quotation for a multiclass make-to-order queue. Management Sci. 54(6):1132–1146.LinkGoogle Scholar
  • Dai JG, Gluzman M (2022) Queueing network controls via deep reinforcement learning. Stochastic Systems 12(1):30–67.LinkGoogle Scholar
  • Dai JG, Harrison JM (1991) Steady-state analysis of RBM in a rectangle: Numerical methods and a queueing application. Ann. Appl. Probab. 1(1):16–35.Google Scholar
  • Dai JG, Williams R (1996) Existence and uniqueness of semimartingale reflecting Brownian motions in convex polyhedrons. Theory Probab. Appl. 40(1):1–40.Google Scholar
  • Dupuis P, Ishii H (1991) On oblique derivative problems for fully nonlinear second-order elliptic PDEs on domains with corners. Hokkaido Math. J. 20:135–164.Google Scholar
  • E W, Han J, Jentzen A (2022) Algorithms for solving high dimensional PDEs: From nonlinear Monte Carlo to machine learning. Nonlinearity 35:278–310.Google Scholar
  • Ghosh AP, Weerasinghe AP (2007) Optimal buffer size for a stochastic processing network in heavy traffic. Queueing Systems 55(3):147–159.Google Scholar
  • Ghosh AP, Weerasinghe AP (2010) Optimal buffer size and dynamic rate control for a queueing system with impatient customers in heavy traffic. Stochastic Processes Their Appl. 120(11):2103–2141.Google Scholar
  • Han J, Long J (2020) Convergence of the deep BSDE method for coupled FBSDEs. Probab. Uncertainty Quantitative Risk 5(1):5.Google Scholar
  • Han J, Jentzen A, Weinan E (2018) Solving high-dimensional partial differential equations using deep learning. Proc. Natl. Acad. Sci. USA 115(34):8505–8510.Google Scholar
  • Harrison JM (1988) Brownian models of queueing networks with heterogeneous customer populations. Fleming W, Lions PL, eds. Stochastic Differential Systems, Stochastic Control Theory and Applications, The IMA Volumes in Mathematics and Its Applications, vol. 10 (Springer, New York), 147–186.Google Scholar
  • Harrison JM (2000) Brownian models of open processing networks: Canonical representation of workload. Ann. Appl. Probab. 10(1):75–103.Google Scholar
  • Harrison JM (2013) Brownian Models of Performance and Control (Cambridge University Press, Cambridge, UK).Google Scholar
  • Harrison JM, Nguyen V (1993) Brownian models of multiclass queueing networks: Current status and open problems. Queueing Systems 13:5–40.Google Scholar
  • Harrison JM, Reiman MI (1981) Reflected Brownian motion on an orthant. Ann. Probab. 9(2):302–308.Google Scholar
  • Harrison JM, Wein LM (1989) Scheduling networks of queues: Heavy traffic analysis of a simple open network. Queueing Systems 5:265–279.Google Scholar
  • Harrison JM, Wein LM (1990) Scheduling networks of queues: Heavy traffic analysis of a two-station closed network. Oper. Res. 38(6):1052–1064.LinkGoogle Scholar
  • Harrison JM, Williams RJ (1987) Brownian models of open queueing networks with homogeneous customer populations. Stochastics 22(2):77–115.Google Scholar
  • Henderson SG, Glynn PW (2002) Approximating martingales for variance reduction in Markov process simulation. Math. Oper. Res. 27(2):253–271.LinkGoogle Scholar
  • Hochreiter S (1998) The vanishing gradient problem during learning recurrent neural nets and problem solutions. Internat. J. Uncertainty Fuzziness Knowledge-Based Systems 6(02):107–116.Google Scholar
  • Iglehart DL, Whitt W (1970a) Multiple channel queues in heavy traffic. I. Adv. Appl. Probab. 2(1):150–177.Google Scholar
  • Iglehart DL, Whitt W (1970b) Multiple channel queues in heavy traffic. II. Sequences, networks, and batches. Adv. Appl. Probab. 2(2):355–369.Google Scholar
  • Karatzas I (1983) A class of singular control problems. Adv. Appl. Probab. 15(2):225–254.Google Scholar
  • Kingma DP, Ba J (2014) Adam: A method for stochastic optimization. Preprint, submitted December 22, https://arxiv.org/abs/1412.6980.Google Scholar
  • Krichagina EV, Taksar MI (1992) Diffusion approximation for GI/G/1 controlled queues. Queueing Systems 12:333–367.Google Scholar
  • Kushner HJ (2001) Heavy Traffic Analysis of Controlled Queueing and Communication Networks, Stochastic Modelling and Applied Probability, vol. 28 (Springer, New York).Google Scholar
  • Kushner HJ, Martins LF (1991) Numerical methods for stochastic singular control problems. SIAM J. Control Optim. 29(6):1443–1475.Google Scholar
  • Martins LF, Kushner HJ (1990) Routing and singular control for queueing networks in heavy traffic. SIAM J. Control Optim. 28(5):1209–1233.Google Scholar
  • Martins LF, Shreve SE, Soner HM (1996) Heavy traffic convergence of a controlled, multiclass queueing system. SIAM J. Control Optim. 34(6):2133–2171.Google Scholar
  • Oksendal B (2003) Stochastic Differential Equations: An Introduction with Applications, 6th ed. (Springer Science & Business Media, New York).Google Scholar
  • Ormeci Matoglu LM, Vande Vate JH (2011) Drift control with changeover costs. Oper. Res. 59(2):427–439.LinkGoogle Scholar
  • Peterson WP (1991) A heavy traffic limit theorem for networks of queues with multiple customer types. Math. Oper. Res. 16(1):90–118.LinkGoogle Scholar
  • Rasamoelina AD, Adjailia F, Sinčák P (2020) A review of activation function for artificial neural network. 2020 IEEE 18th World Sympos. Appl. Machine Intelligence Informatics (SAMI) (IEEE, Piscataway, NJ), 281–286.Google Scholar
  • Reiman MI (1984) Open queueing networks in heavy traffic. Math. Oper. Res. 9(3):441–458.LinkGoogle Scholar
  • Rubino M, Ata B (2009) Dynamic control of a make-to-order, parallel-server system with cancellations. Oper. Res. 57(1):94–108.LinkGoogle Scholar
  • Taylor LM, Williams RJ (1993) Existence and uniqueness of semimartingale reflecting Brownian motions in an orthant. Probab. Theory Related Fields 96(3):283–317.Google Scholar
  • Vande Vate JH (2021) Average cost Brownian drift control with proportional changeover costs. Stochastic Systems 11(3):218–263.LinkGoogle Scholar
  • Wein LM (1991) Brownian networks with discretionary routing. Oper. Res. 39(2):322–340.LinkGoogle Scholar
  • Williams RJ (1996) On the approximation of queueing networks in heavy traffic. Stochastic Networks Theory Appl. 4:35–56.Google Scholar
  • Williams RJ (1998a) An invariance principle for semimartingale reflecting Brownian motions in an orthant. Queueing Systems 30:5–25.Google Scholar
  • Williams RJ (1998b) Diffusion approximations for open multiclass queueing networks: Sufficient conditions involving state space collapse. Queueing Systems 30:27–88.Google Scholar
  • Winkelbauer A (2012) Moments and absolute moments of the normal distribution. Preprint, submitted September 19, https://arxiv.org/abs/1209.4340.Google Scholar
  • Zhang KS, Peyré G, Fadili J, Pereyra M (2020) Wasserstein control of mirror Langevin Monte Carlo. Conf. Learn. Theory (PMLR, New York), 3814–3841.Google Scholar
  • Zhou M, Han J, Lu J (2021a) Actor-critic method for high dimensional static Hamilton–Jacobi–Bellman partial differential equations based on neural networks. SIAM J. Sci. Comput. 43(6):A4043–A4066.Google Scholar
  • Zhou M, Han J, Lu J (2021b) Code for “Actor-critic method for high dimensional static Hamilton–Jacobi–Bellman partial differential equations based on neural networks.” https://github.com/MoZhou1995/DeepPDE_ActorCritic.Google Scholar