Bounds for the completely positive rank of a symmetric matrix over a tropical semiring
David Dol\v{z}an, Polona Oblak

TL;DR
This paper establishes an upper bound for the completely positive rank of symmetric matrices over tropical semirings based on vertex clique covers, and characterizes graphs with minimal CP-rank as having diameter two.
Contribution
It introduces a bound for CP-rank tied to graph clique covers and characterizes graphs with minimal CP-rank as having diameter two.
Findings
Upper bound for CP-rank based on vertex clique cover
Graphs with minimal CP-rank have diameter two
Characterization of graph patterns with lowest CP-rank
Abstract
In this paper, we find an upper bound for the CP-rank of a matrix over a tropical semiring, according to the vertex clique cover of the graph prescribed by the pattern of the matrix. We study the graphs that beget the patterns of matrices with the lowest possible CP-ranks and prove that any such graph must have its diameter equal to 2.
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.
Bounds for the completely positive rank of a symmetric matrix over a tropical semiring
David Dolžan, Polona Oblak
D. Dolžan: Department of Mathematics, Faculty of Mathematics and Physics, University of Ljubljana, Jadranska 21, SI-1000 Ljubljana, Slovenia; e-mail: [email protected]
P. Oblak: Faculty of Computer and Information Science, University of Ljubljana, Večna pot 113, SI-1000 Ljubljana, Slovenia; e-mail: [email protected]
(Date: March 19, 2024)
Abstract.
In this paper, we find an upper bound for the CP-rank of a matrix over a tropical semiring, according to the vertex clique cover of the graph prescribed by the positions of zero entries in the matrix. We study the graphs that beget the matrices with the lowest possible CP-ranks and prove that any such graph must have its diameter equal to 2.
Key words and phrases:
Tropical semiring, symmetric matrix, rank
2010 Mathematics Subject Classification:
15A23, 15B48, 16Y60
The authors acknowledge the financial support from the Slovenian Research Agency (research core funding No. P1-0222)
1. Introduction
In this paper, we study the completely positive rank of a matrix over the tropical semiring , which is the semiring , with operations defined by and .
For a semiring , we say that a symmetric matrix over is completely positive, if there exists an matrix over such that
[TABLE]
The minimal possible in such factorization, is the CP-rank of and it is denoted by . Equivalently, a matrix has if and only if is the smallest number, such that there exist vectors with
[TABLE]
If matrix is not completely positive, we denote . Note that in [6], the authors refer to CP-rank as the symmetric Barvinok rank of a matrix.
Note that over semirings, all definitions of the rank of a matrix do not coincide as in the case of matrices over real numbers with standard operations (see e.g. [1, 9]). Thus, the CP-rank (which is a special case of a factor rank) is just one of many possible semiring matrix ranks.
For a completely positive matrix over the field , Drew, Johnson, Loewy [7] conjectured that if . Twenty years later, the conjectured upper bound was proved wrong and corrected to for all [4, 5]. However, it is still not known what is the tight upper bound and it transpires that the problem of determining the CP-rank of any given matrix is a difficult problem [2, 3].
Let denote the semiring of all matrices over the semiring . Over the tropical semiring , Cartwright and Chan [6] proved that is the tight upper bound for the CP-rank of a completely positive matrix . Over the Boolean semiring and the max-min semiring, the same inequality was proved by Mohindru [11] and Shitov [14].
In [13], Shaked-Monderer introduced to be the maximum CP-rank of all real matrices with the pattern prescribed by the graph . She proved that the is equal to the to the edge clique cover number of , if and only if is not a tree and does not contain a triangle.
We follow [6] to define over the tropical semiring to be the maximum of CP-ranks of all completely positive matrices such that, for , if and only if . (Note that throughout the paper, zero is a real number and not the tropical additive identity, which is .) Observe that in , edges correspond to all entries equal to a specific element [math] distinct from the additive identity in . This graph is a subgraph of the weighted graph corresponding to a semiring matrix (see for example [8]), which is also called the precedence graph.
In this paper, we find an upper bound for the CP-rank of a matrix with regards to the vertex clique cover of the graph prescribed by the positions of zero entries in the matrix. This bound can be much lower than the bound from [6, Theorem 4], see Theorem 3.4 and Remark 3.5. We then proceed to apply these results to 0/1 matrices, since it was established in [6] that CP-rank of 0/1 matrices is equal to the edge clique cover number of the corresponding graph. We examine the connection between the ranks of 0/1 matrices and arbitrary matrices with the same positions of zero entries. In the last section, we then study the graphs that beget the matrices with the lowest possible CP-ranks. We prove that any such graph must have its diameter equal to 2, and provide examples that in case of diameter 2 the rank does not seem to be well behaved.
2. Preliminary results
In this section, we give the basic definitions and some preliminary results.
First, we provide the characterization of completely positive matrices over the tropical semiring. The subset of of all completely positive matrices will be denoted by .
The following lemma is obvious and characterizes matrices of CP-rank equal to 1.
Lemma 2.1**.**
A symmetric matrix has if and only if for all . (This means that the difference between any two rows of with finite entries is a vector with all of its entries equal.)
The following lemma characterizes completely positive matrices over the tropical semiring.
Lemma 2.2**.**
[6, Proposition 2 and Theorem 4]** A symmetric matrix is completely positive if and only if for all .
This lemma implies that if for and some , then for all . Also, if all the diagonal elements of a completely positive matrix are equal to 0, then all off-diagonal entries are nonnegative. This fact makes it convenient to study such matrices, and also gives sense to studying matrices defined by the positions of the zero entries. The next paragraph describes the procedure to transform the completely positive matrix into a matrix with diagonal entries equal to 0, while preserving the CP-rank.
Choose . Let be the matrix obtained from by deleting its -th row and -th column and let be the vector obtained from vector by deleting its -th entry. If matrix has diagonal entries equal to , let be the matrix obtained from by
- •
deleting -th row and -th column if for every , and
- •
subtracting from each entry in the -th row and -th column of , if for every . (Note that subtracting a real number from yields and that we subtract twice from .)
The next lemma assures us that the rank of a matrix does not change with the above transformation.
Lemma 2.3**.**
If is completely positive, then
[TABLE]
Proof.
Let and suppose first that for some , . Observe that , which implies that . Similarly, we can observe that , by inserting a component equal to to all at the -th component, since a completely positive matrix with , by Lemma 2.2 must have all entries in the -th row and -th column equal to .
Now, suppose and for . Choose , , and let and be defined as
[TABLE]
Observe that and thus . By replacing by , we obtain . By consecutively applying the above procedure with for all , we conclude that . ∎
The next example shows that in general, the positions of nonzero entries in a matrix do not determine the CP-rank. We shall see later that this inconvenience can be circumnavigated by replacing with as described above, which is a transformation that preserves the CP-rank by Lemma 2.3.
Example 2.4**.**
Let
[TABLE]
By transformation described on page 2, we obtain
[TABLE]
and have .
Note that by changing the nonzero entries of matrix , we obtain a matrix with different CP-rank. For example, if
[TABLE]
then
[TABLE]
Lemma 2.1 implies that . Note that and by Lemma 2.3 it follows that .
3. Bounding the CP-rank by the graph structure
In this section, we find bounds for CP-ranks of matrices with the aid of a graph structure that is prescribed to a given matrix. Namely, we define a graph that corresponds to a matrix (depending on whether different elements of the matrix are equal to zero). We find bounds for the CP-rank of all matrices with a given graph structure. Note that using Lemma 2.3, we always work under the assumtpion that has a zero diagonal and nonnegative offdiagonal entries.
Given a symmetric matrix , we define to be a simple graph with , and for we have if and only if Recall that is the maximum of CP-ranks of all symmetric matrices such that, for , if and only if .
As usual, in a given graph, the path connecting vertices and has length and the length of the shortest path connecting vertices and is called the distance between and and denoted by . We let if there is no path connecting and , and we let . The diameter of a graph is a maximal distance between any two of its vertices. An empty graph is a graph consisting of isolated nodes with no edges. A complete graph on vertices will be denoted by and a path with vertices will be denoted by . The edge clique cover number of a graph is the minimal cardinality of the collections of complete subgraphs such that every edge of is in one element of the collection.
The following two lemmas give us some bounds for the CP-rank of graphs and their subgraphs.
Lemma 3.1**.**
If is an induced subgraph of the graph , then
[TABLE]
Proof.
Let be an induced subgraph of and suppose without loss of generality that and , . Choose any with , and let be its leading principal submatrix. It is clear that . If , then , where is a vector obtained from by deleting its last components. Hence and so . ∎
Recall that the join of graphs and , is the graph union together with all the possible edges joining the vertices in to the vertices in . We show in the next lemma that joining a graph with a single vertex does not change the CP-rank.
Lemma 3.2**.**
For any graph and a vertex not in , we have
[TABLE]
Proof.
Take any with . Hence, is a direct sum of matrix , , with the size one zero matrix. There exist , , , such that . Define and observe that and hence . This implies that . By Lemma 3.1, it follows that . ∎
Now, we define the vertex clique cover of a graph as a collection of complete subgraphs such that every vertex of is in some element of the collection. One can always assume that the vertices of are labeled so that
[TABLE]
where . Define the vertex clique cover number of as
[TABLE]
It is worth noting that a vertex clique cover number is the same as a chromatic number of the complement of the graph. In Theorem 3.4, we will prove that CP-rank of a matrix is bounded by for any vertex clique cover of .
Example 3.3**.**
Note that a vertex clique cover is not unique. Let be a paw graph.
Its vertex clique covers are
[TABLE]
so and .
The next theorem specifies an upper bound for the CP-rank of a matrix according to the vertex clique cover number of a graph corresponding to the matrix.
Theorem 3.4**.**
Choose . If is a nonempty graph or , then for every vertex clique cover of , we have
[TABLE]
Otherwise, if is an empty graph with , then
[TABLE]
Proof.
Suppose first that is nonempty graph. We will construct matrices , , and , , which will correspond to subgraphs of , and their CP-ranks will be bounded by , , and , respectively.
- (1)
If , then is a zero matrix. Suppose . For denote the components of by
[TABLE]
for all . Define
[TABLE]
is a sum of matrices of -rank one. Note that coincides with at all elements that correspond to the edges of cliques to of . 2. (2)
If , then is a zero matrix. Suppose that . For , and denote the components of by
[TABLE]
Let us define
[TABLE]
Note that is a sum of matrices of -rank one, that coincides with the matrix at all elements that correspond to the edges between any of the cliques to of . 3. (3)
If or , then is a zero matrix. Suppose that . For and denote the components of by
[TABLE]
Let
[TABLE]
be a matrix defined as a sum of matrices of -rank one. Note that coincides with the matrix at all elements that correspond to the edges between any of the clique and any of the cliques to of . 4. (4)
If , then is a zero matrix and for let the matrix be defined by
[TABLE]
Note that coincides with the matrix at all elements that correspond to the edges between any of the cliques of .
If , then note that can be written as a sum of at most CP-rank one matrices by [6, Theorem 4].
In the case , observe that implies that . This further implies that , and thus for , by the construction of above. For , matrix is of CP-rank , since . For , assume without loss of generality that . In this case, we have , where and . It follows that .
Observe that
[TABLE]
and therefore the inequality in the statement follows.
If is an empty graph, then . In addition, if , we construct as above, and then is a sum of at most matrices of CP rank one. If , then observe that , so by [6, Theorem 4] can be written as a sum of at most matrices of CP rank one. However, since is an empty graph, each summand with CP rank one can have at most one zero element. Since has zeroes on the diagonal, this implies that there must be exactly summands with CP rank one. ∎
Remark 3.5**.**
Note that is a much smaller number than whenever , so there are infinite families of graphs and consequently infinite families of matrices for which we have found a much lower bound for their CP rank. For example, when (and similarly, one can reason for all other ), , which (since can be arbitrarly large) can actually be arbitrarily smaller than .
Example 3.6**.**
Theorem 3.4 implies that any matrix
[TABLE]
where , which corresponds to the paw graph from Example 3.6, has . Note that by Lemma 2.1 it follows that .
The next example shows that CP-rank of a matrix with an empty graph can be strictly greater than , when .
Example 3.7**.**
Let
[TABLE]
and let us prove that .
Suppose there exist vectors such that
[TABLE]
Since all diagonal entries of are equal to zero and all offdiagonal entries are nonzero, it follows that each has nonnegative entries with exactly one zero entry. Without any loss of generality, we asume that , .
Let us define the set of indices such that for we have if and only if . Note that for all , which gives us for and for .
Moreover, for any pair , , and any , we have . This gives us
[TABLE]
Note that for all distinct from and and thus
[TABLE]
for any .
Choose and by we have or . In the case , we apply (3.7) and (2) for several times, to observe that , , , , , , , and so , a contradiction. Similar arguments give us a contradiction also in the case . Hence, we proved that and by Theorem 3.4, it follows that .
In the rest of this section, we apply the above results to the study of the CP-rank of 0/1 matrices over . Note again that [math] and here represent real numbers. Equivalently, one could also study matrices, where [math] and represent the tropical identity and tropical zero.
It can be seen that CP-rank of a 0/1 matrix is equal to the edge clique cover number of , denoted by [6, Proposition 3]. Note that it was proved that the edge clique cover number of a graph is equal to the intersection number of the graph [10]. Since determining the intersection number is an NP-complete problem [12], it seems useful to obtain some easily calculable bounds for the CP-rank of a 0/1 matrix and the following two propositions offer some results in this direction, by using the same approach as in the proof of Theorem 3.4.
Proposition 3.8**.**
If is a 0/1 matrix such that is an empty graph, then
[TABLE]
Proof.
Let us define , , by
[TABLE]
It is easy to verify that
[TABLE]
and so . Suppose now . Since has diagonal entries equal to 0, there exists such that for some . It follows that and thus , a contradiction. Therefore, . ∎
Note that the above proposition is not valid for matrices which are not 0/1, as Example 3.7 shows.
For any given matrix , we define its support, , by
[TABLE]
In Example 2.4, we showed that the CP-rank of and do not necessarily coincide.
Lemma 3.9**.**
If is a graph with , then for every with choose edge clique cover . Then
[TABLE]
and the following two statements hold:
- (a)
We have a bijective correspondence between the cliques and the summands of the sum, where the vertices of the clique correspond to the zero entries of . 2. (b)
*If is the minimal nonzero entry in , then for every and , we have or . *
Proof.
Since and , we know that for some vectors . For every clique from the clique cover , we have for all . This implies that there exists such that for all . The fact that the number of summands of rank one matrices is exactly equal to , implies that for every clique in , there exists some vector with components equaling zero at least at all positions corresponding to the vertices of clique . By Lemma 2.3 and the definition of operations in , we know that all positions that correspond to vertices outside clique , have to be nonzero. This yields the desired bijective correspondence.
Now, suppose is the minimal nonzero entry in and choose such that . By the above, corresponds to a clique in , so there exist indices such that for all and . Then for all . Since vertices corresponding to and do not belong to the same clique, there exists at least one such that , and therefore . ∎
By [6, Proposition 3], we have that the CP-rank of Supp(A), which is a 0/1 matrix, is equal to the edge clique cover number of . Therefore it follows that in order to find lower bounds for the CP-rank of any matrix, it suffices to study the CP-rank of its corresponding support as the following shows.
Corollary 3.10**.**
For any matrix we have
[TABLE]
Note that Example 2.4 shows that the inequality in Corollary 3.10 is not necessarily true if we omit the condition .
4. Graphs with CP-rank equal to the clique cover number
In Lemma 3.9, we proved that the lower bound for CP-rank of a graph is its clique cover number. Therefore, we now proceed by studying the graphs that define matrices with the CP-ranks that are as close as possible to the bound from Corollary 3.10.
The following theorem shows that if we aspire to characterize graphs with the lowest possible CP-ranks, we can limit ourselves to graphs which are very well connected, i.e. their diameters are at most 2. However, the situation in the case appears to be quite complex. We provide examples of acyclic and cyclic graphs with diameter 2 where either or .
Theorem 4.1**.**
If is a connected graph with , then .
Proof.
Suppose and . Thus there exist vertices with .
Define by
[TABLE]
Observe that and . Let be of the form (3). Since is the minimal nonzero entry of and for some , then by Lemma 3.9 (b), and or and . Suppose without loss of generality that and . By Lemma 3.9 (a), for some and thus . Hence by definition of , , which contradicts . ∎
Example 4.2**.**
If is a path on 3 vertices, then all matrices with have (up to a permutational conjugation) the form
[TABLE]
for some . By Lemma 2.1, , so it follows that and thus .
Example 4.3**.**
If is a paw graph (see Example 3.6), then . Since every matrix , , has (up to permutational conjugation) the form
[TABLE]
for some . By Lemma 2.1, we have and so it follows that .
Example 4.4**.**
Let be an empty graph with 5 vertices and let
be a star graph with six vertices. By Lemma 3.2 and Example 3.7 it follows that
[TABLE]
Example 4.5**.**
Let
and assume that . Let
[TABLE]
and observe that . By Lemma (a)(a),
[TABLE]
Since , it follows that or . If , then and if , then , both contradictions. Hence .
Acknowledgement. The authors are grateful to the referees for their helpful remarks and suggestions that improved the presentation of this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Le Roy B. Beasley and Alexander E. Guterman. Rank inequalities over semirings. J. Korean Math. Soc. , 42(2):223–241, 2005.
- 2[2] Abraham Berman, Mirjam Dür, and Naomi Shaked-Monderer. Open problems in the theory of completely positive and copositive matrices. Electron. J. Linear Algebra , 29:46–58, 2015.
- 3[3] Abraham Berman and Naomi Shaked-Monderer. Completely positive matrices . World Scientific Publishing Co., Inc., River Edge, NJ, 2003.
- 4[4] Immanuel M. Bomze, Werner Schachinger, and Reinhard Ullrich. From seven to eleven: completely positive matrices with high cp-rank. Linear Algebra Appl. , 459:208–221, 2014.
- 5[5] Immanuel M. Bomze, Werner Schachinger, and Reinhard Ullrich. New lower bounds and asymptotics for the cp-rank. SIAM J. Matrix Anal. Appl. , 36(1):20–37, 2015.
- 6[6] Dustin Cartwright and Melody Chan. Three notions of tropical rank for symmetric matrices. Combinatorica , 32(1):55–84, 2012.
- 7[7] John H. Drew, Charles R. Johnson, and Raphael Loewy. Completely positive matrices associated with M 𝑀 M -matrices. Linear and Multilinear Algebra , 37(4):303–310, 1994.
- 8[8] Michel Gondran and Michel Minoux. Graphs, dioids and semirings , volume 41 of Operations Research/Computer Science Interfaces Series . Springer, New York, 2008. New models and algorithms.
