A note on integrating products of linear forms over the unit simplex
Giuliano Casale

TL;DR
This paper reveals the equivalence between integrating products of linear forms over the unit simplex and computing normalizing constants in queueing networks, highlighting existing algorithms for exact integration.
Contribution
It establishes a novel connection between polynomial integration and queueing theory, enabling the use of queueing algorithms for exact integration tasks.
Findings
Integration can be performed in polynomial time for fixed variables
Queueing algorithms can compute exact integrals under certain conditions
N systems of linear equations suffice for degree N polynomial integration
Abstract
Integrating a product of linear forms over the unit simplex can be done in polynomial time if the number of variables n is fixed (V. Baldoni et al., 2011). In this note, we highlight that this problem is equivalent to obtaining the normalizing constant of state probabilities for a popular class of Markov processes used in queueing network theory. In light of this equivalence, we survey existing computational algorithms developed in queueing theory that can be used for exact integration. For example, under some regularity conditions, queueing theory algorithms can exactly integrate a product of linear forms of total degree N by solving N systems of linear equations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Queuing Theory Analysis · Network Traffic and Congestion Control · Distributed systems and fault tolerance
A note on integrating products of linear forms over the unit simplex
Giuliano Casale
Department of Computing
Imperial College London, UK
Abstract
Integrating a product of linear forms over the unit simplex can be done in polynomial time if the number of variables is fixed [1]. In this note, we highlight that this problem is equivalent to obtaining the normalizing constant of state probabilities for a popular class of Markov processes used in queueing network theory. In light of this equivalence, we survey existing computational algorithms developed in queueing theory that can be used for exact integration. For example, under some regularity conditions, queueing theory algorithms can exactly integrate a product of linear forms of total degree by solving systems of linear equations.
1 Introduction
Let be the unit simplex and denote by the integral Lebesgue measure on . Denote by a collection of linear forms on , where is the th element of and define the coefficient matrix . Also let ,, be a set of nonnegative integers, with and .
Recently, [1] considers the problem of integrating a homogeneous polynomial function of degree over , observing that this can be reduced to computing a finite collection of integrals of the type
[TABLE]
A polynomial-time algorithm to compute (1) is then proposed in [1], which obtains this integral by determining the coefficient of in the Taylor expansion of
[TABLE]
in time. Our goal is to examine alternative methods to compute (1) that arise from queueing network theory [4].
We first observe that (2) corresponds to the generating function of the normalizing constant of state probabilities for a class of finite Markov processes known as product-form closed queueing networks, which have been extensively used in performance evaluation of computer and communication systems [2, 21]. We provide in Appendix A a brief introduction to this class of Markov models; additional background may be found in [28, 4].
The connection between normalizing constants and (1) is explicitly noted in [11], which shows that
[TABLE]
Therefore, algorithms developed in queueing theory to compute may be readily used to integrate products of linear forms over the unit simplex.
The rest of this note reviews exact computational methods for . Although in queueing theory it is assumed that , computational algorithms developed therein for do not rely on this assumption and can therefore be applied also to linear forms with arbitrary values of .
In the following sections, we denote by the vector obtained from by decreasing its th element by one unit. We also indicate with the matrix obtained from by removing a row with elements , and similarly denote by the matrix obtained by appending to a new row with elements .
2 Exact computational algorithms
2.1 Recurrence relations
Recurrence relations are the standard method used in queueing theory to compute . Existing methods differ for computational requirements and ease of implementation. We here review two classic methods, convolution and RECAL, and the method of moments, a class of algorithms that scales efficiently under large degree . We point to [21, 20, 12, 26, 27] for other recursive algorithms.
2.1.1 Convolution algorithm
The convolution algorithm is a recurrence relation for normalizing constants presented in its most general form in [29], extending the case first developed in [5]. The method relies on the recurrence relation
[TABLE]
with termination conditions , , where , and if . It can be verified that the algorithm requires time and space for fixed and . Variants of this algorithm exist [12, 27], for example a specialized version has been proposed for problems with sparse [26].
2.1.2 Recurrence by chain algorithm (RECAL)
Compared to convolution, the RECAL algorithm is more efficient on models with large [14]. The method is based on the recurrence relation
[TABLE]
with similar termination conditions as the convolution algorithm. The computational complexity is time and space for fixed and . The method is well-suited for parallel implementation and can be optimized for sparse coefficients [17].
2.1.3 Method of moments
The method of moments simultaneously applies (4) and (5) to a set of normalizing constants that differ for the elements and composition of and . Different rules exist to define this set of normalizing constants, called the basis, leading to multiple variants of the method [8, 10, 9]. Assume that the normalizing constants in the basis are grouped in a vector , then the method of moments defines a matrix recurrence relation
[TABLE]
for any and where can be computed explicitly from the termination conditions of (4)-(5). Here and are square matrices, with constant or decreasing sizes as the recurrence progresses, depending on the implementation. The coefficients within these matrices depend on . Thus, to avoid to recompute these matrices at each step, the method of moments first performs a recursion along dimension , then along , and so forth up to reaching . An explicit example of the basic method may be found in [7]. Provided that is invertible at all steps of the recursion, it is possible to solve (6) and obtain from the elements of . A necessary condition for invertibility is that , .
Compared to existing algorithms, (6) finds after solving systems of linear equations. Since the order of does not depend on , the theoretical complexity of the method is time and space for fixed and . However, implementation complexity is larger due to the cost of exact algebra, which is normally required to solve (6) without error propagation [6].
2.2 Explicit solutions
2.2.1 Case
In this section we consider the case , where we can simplify notation by indicating with and with . It has been known since long time that in the case , and provided that all coefficients are distinct, the normalizing constant can be written as [23]
[TABLE]
that is simply the divided difference . It is useful to note that in the case where some coefficients coincide, (7) generalizes to [3]
[TABLE]
where is the number of distinct coefficients , and denotes the number of coefficients identical to .
2.2.2 Case
For arbitrary values of , [11] derives some generalizations of (7). The first one is
[TABLE]
where , , which has the same time complexity of the convolution algorithm, but space requirements. This expression holds assuming that values for given are all distinct, otherwise the following generalized expression based on (8) should be used [11]
[TABLE]
Another explicit expression is given by
[TABLE]
where , . This expression has time and space requirements.
It is also worth noting that since the integrand of is a polynomial, the cubature rules proposed in [18] provide alternative explicit expressions for , which become exact for a sufficiently high interpolation degree, corresponding to a time complexity. We point to [16, 15, 3] for other works on explicit expressions for the normalizing constant.
3 Conclusion
In this note, we have highlighted a connection between queueing network theory and the integration of products of linear forms over the unit simplex as in (1). In order to solve queueing network models, a normalizing constant is required, which can be computed with the recurrence relations and the explicit expressions that we have reviewed. This normalizing constant readily provides the value of the integral (1).
While the scope of the present note is restricted to exact methods, numerical approximations and asymptotic expansions are also available for , such as [13, 30, 22, 25, 24].
4 Acknowledgement
The author thanks Yosef Rinott for helpful comments on an earlier version of this manuscript.
Appendix A Product-form closed queueing networks
In closed queueing networks, a finite set of jobs circulate among a network of nodes, called queueing stations, according to a set of transition probabilities. Jobs are partitioned into types, called classes, and the network topology is closed, meaning that the number of jobs inside the network remains constant over time and equal to in class . Upon visiting a station , a job of class is processed at rate when a total of jobs are simultaneously present at the station. Therefore, the larger the number of jobs at a station, the smaller the rate.
A common question that arises in these models is to determine the joint stationary distribution of the number of class- jobs residing at station when the Markov process reaches equilibrium. The analytic form of this distribution is known to be [2]
[TABLE]
where is a state vector, is a state space given by
[TABLE]
and the normalizing constant is obtained by requiring that , i.e.,
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] V. Baldoni, N. Berline, J. A. d. Loera, M. Köppe, and M. Vergne. How to integrate a polynomial over a simplex. Mathematics of Computation , 80:297–325, 2011.
- 2[2] F. Baskett, K. M. Chandy, R. R. Muntz, and F. G. Palacios. Open, closed, and mixed networks of queues with different classes of customers. JACM , 22:248–260, 1975.
- 3[3] A. Bertozzi and J. Mc Kenna. Multidimensional residues, generating functions, and their application to queueing networks. SIAM Review , 35(2):239–268, 1993.
- 4[4] G. Bolch, S. Greiner, H. de Meer, and K. S. Trivedi. Queueing Networks and Markov Chains . Wiley, 2006.
- 5[5] J. P. Buzen. Computational algorithms for closed queueing networks with exponential servers. Comm. of the ACM , 16(9):527–531, 1973.
- 6[6] G. Casale. An efficient algorithm for the exact analysis of multiclass queueing networks with large population sizes. Proc. of ACM SIGMETRICS , 169–180, 2006.
- 7[7] G. Casale. An application of exact linear algebra to capacity planning models. ACM Communications in Computer Algebra , 42(4):202–205, 2008.
- 8[8] G. Casale. Co Mo M: Efficient class-oriented evaluation of multiclass performance models. IEEE Trans. on Software Engineering , 35(2):162–177, 2009.
