Generalized Wong sequences and their applications to Edmonds' problems
Gábor Ivanyos, Marek Karpinski, Youming Qiao, Miklos Santha
Introduction
In 1967, Edmonds introduced the following problem : Given a matrix whose entries are homogeneous linear polynomials over the integers, determine the rank of . The problem is the same as determining the maximum rank of a matrix in a linear space of matrices over the rationals. In this paper we consider this question and its certain variants over more general fields.
Previous works on Edmonds’ problems mostly dealt with the case when the given matrices satisfy certain property. For example, Lovász considered several cases of SMR, including when the ’s are of rank , and when they are skew symmetric matrices of rank . These classes were then shown to have deterministic polynomial-time algorithms , see Section 1.1 for more details.
The difference between properties of matrices and properties of matrix spaces is critical for Edmonds’ problems. In particular, whether a matrix space satisfies a certain property or not, should not depend on choices of basis. We are not aware of any result on the complexity of finding rank one generators for a subspace in if it is given by a basis consisting of not necessarily rank one matrices. We believe that the problem is hard. Thus the existence of algorithms for SMR when the ’s are rank- does not immediately imply algorithms for matrix spaces in .
To ease the description of our results, we make a few definitions and notations. We denote by the rank of a matrix , and we set For a matrix space we set and . We say that is singular if , that is if does not contain a nonsingular element, and nonsingular otherwise.
Theorem 1 can be slightly strengthened as follows: instead of assuming that the whole space is rank- spanned, it is sufficient to suppose that a subspace of of co-dimension one is spanned by rank- matrices. See Remark 15 (2) for the work needed to achieve this.
Let us comment briefly on the framework for our algorithms. We generalize the first and second Wong sequences for matrix pencils (essentially two-dimensional matrix spaces) which have turned out to be useful among others in the area of linear differential-algebraic equations (see the recent survey ). These were originally defined in for a pair of matrices , and were recently used to compute the Kronecker normal form in a numerical stable way . We generalize Wong sequences to the case where and are matrix spaces, and show that they have analogous basic properties to the original ones. We relate the generalized Wong sequences to Edmonds’ problems via singularity witnesses. Essentially this connection allows us to design the algorithm for using the second Wong sequence, and the algorithm for using the first Wong sequence. We remark that the application of the second Wong sequence is not new. Similar techniques were used in to find maximum rank matrices in the case where rank one generators for were given. Furthermore, while preparing the present version, we became aware of the paper by Fortin and Reutenauer in which essentially the same method is used for testing existence of -singularity witnesses (on a randomized algebraic RAM).
Over fields of constant size, the SMR has certain practical implications , but is shown to be NP-hard in general. Some special cases have been studied, mostly in the form of the mixed matrices, that is linear matrices where each entry is either a variable or a field element. Then by restricting the way variables appear in the matrices some cases turn out to have efficient deterministic algorithms, including when every variable appears at most once (, building on ), and when the mixed matrix is skew-symmetric and every variable appears at most twice (). Finally in , Ivanyos, Karpinski and Saxena present a deterministic polynomial-time algorithm for the case when among the input matrices all but are of rank .
As a computational model of polynomials, determinants with affine polynomial entries turn out to be equivalent to algebraic branching programs (ABPs) up to a polynomial overhead. Thus the identity test for ABPs is the same as SDIT. For restricted classes of ABPs, (quasi)polynomial-time deterministic identity test algorithms have been devised (cf. and the references therein). Note that identity test results for SDIT and ABPs are in general incomparable. For an application of SDIT to quantum information processing see .
In Section 2 we define Wong sequences of a pair of matrix spaces, and present their basic properties. In Section 3 the connection between the second Wong sequence and singularity witnesses is shown. Based on this connection we introduce the power overflow problem, and reduce the SMR to it. We also prove here Theorem 1 under the hypothesis that there is a polynomial time algorithm for the power overflow problem. In Section 4 we show an algorithm for the power overflow problem that works in polynomial time for rank- spanned matrix spaces. Section 5 is devoted to the algorithm for triangularizable matrix spaces, proving Theorem 2. Finally, in Section 6 we propose and investigate some natural subclasses of the Edmonds-Rado class.
Wong sequences for pairs of matrix spaces
Let and be subspaces of and , respectively. For , the image of under is , and the preimage of under is . To define generalized Wong sequences, the first step is to generalize the definitions of image and preimage under a single linear map , to those under a matrix space .
Naturally, the image of under is the span of the images of under every , that is On the other hand, the preimage of under may be somewhat unexpected. It turns out that we need to take the intersection of the preimages of under every , that is . Note that (resp. ) is a subspace of (resp. ). Moreover, if is spanned by , then , and . Some easy and useful facts are the following.
For , and , , we have:
If and , then and ;
If and , then ;
If and , then ;
, and .
We now define two Wong sequences for a pair of matrix subspaces.
When and are one dimensional matrix spaces, the Wong sequences for coincide with the classical Wong sequences for the matrix pencil . The following properties are straightforward generalizations of those for classical Wong sequences. We start by considering the first Wong sequence.
Suppose now that , for some . Then respectively by Lemma 3 (4) and (1), which gives . If then there exist and such that . Thus , which gives . ∎
is the largest subspace such that .
By Proposition 5 we know that satisfies . Consider an arbitrary such that , we show by induction that , for all . When this trivially holds. Suppose that , for some . Then by repeated applications of Lemma 3 we have . ∎
The limit subspace is the smallest subspace s.t. .
Wong sequences can be computed in time using on an algebraic RAM.
The second Wong sequence and rank-111 spanned matrix spaces
Let us now suppose that some is a -singularity witness, that is . Then because . Since the reverse inequality always holds without any condition on , we have . Similarly we have , which implies that , and therefore . For a subspace the equality is equivalent to , thus we have from which it follows that . But then . Since is the smallest subspace satisfying , we can conclude that .
We remark that in , a slightly different version of this statement is proved. We decided to keep our original proof for completeness. In our terminology, Theorem 3 of states that the existence of a -singularity witness is equivalent to the equality . Both versions offer a straightforward method for testing existence of (and computing) -singularity witnesses. Besides that our version resembles the concept of augmenting paths in algorithms for matchings in bipartite graphs, it offers the possibility of stopping the construction of the Wong sequence at the point after which (while working over the rationals) data blowup can occur; this data blowup can occur if we adopt the naive way of computing the preimage of a subspace under . Before that point, we will make use of a pseudo-inverse of . We describe now this method.
Let and . First of all we assume without loss of generality that . Indeed, if we can add as a direct complement a suitable space to on which acts as zero, and if , we can embed into a larger space. In terms of matrices, this means augmenting the elements of by zero columns or zero rows to obtain square matrices. This procedure affects neither the ranks of the matrices in nor the singularity witnesses.
If we find that the condition holds then by Lemma 9 is a -singularity witness, and it can be easily computed from . ∎
2 The power overflow problem
Combining Lemma 10 and Fact 11 we get also an equivalent condition for being of maximum rank.
This lemma leads us to reduce the problems of deciding if is of the maximum rank, and finding a matrix of rank larger than when this is not the case, to the following question.
Using this result whose proof is given in Section 4 we are now ready to prove Theorem 1.
The power overflow problem for rank-111 spanned matrix spaces
The following lemma explains why ’s are useful for the purpose of powerflow problem.
In general, can be . In our setting, due to the existence of a basis of rank- matrices, fortunately this is far from the case.
Finally, we introduce the following slight extension of Lemma 17 for special subspaces , as applicable to Remark 15 (2).
Identical with the proof of Lemma 17, based on the observation that a projection with the prescribed properties can be deleted from any product mapping outside . ∎
The first Wong sequence and triangularizable matrix spaces
To tackle the triangularizable matrix spaces, our starting point is the following lemma, which connects first Wong sequences with singularity witnesses.
If then is a singularity witness. If then the choice of and corresponds to an appropriate basis change transformation. To see that is nonsingular in the -block, note that and . ∎
Lemma 19 suggests a recursive algorithm: take an arbitrary and compute , the limit of the first Wong sequence of . If we get a singularity witness, we are done. Otherwise, if , as the -block is already nonsingular, we only need to focus on the nonsingularity of -block which is of smaller size. To make this idea work, we have to satisfy essentially two conditions. We must find some such that , and to allow for recursion the specific property of the matrix space we are concerned with has to be inherited by the subspace corresponding to the -block. It turns out that in the triangularizable case these two problems can be taken care of by the following lemma.
2. First we recall that for a vector space of dimension , a complete flag of is a nested sequence of subspaces . For with , the matrix space is triangularizable if and only if complete flags and s.t. for .
2 An algorithm on an algebraic RAM
Given the preparation of Lemma 20, here is the outline of an algorithm using polynomially many arithmetic operations. The algorithm recurses on the size of the matrices, with the base case being the size . It checks at the beginning whether . If this is the case then it returns which is a singularity witness. Otherwise, for all , it computes the limit of the first Wong sequence for . By Lemma 20 (1) there exists such that and . The algorithm then recurses on the induced actions ’s of ’s, which are also triangularizable by Lemma 20 (2). When is nonsingular the algorithm should return a nonsingular matrix. This nonsingular matrix is built step by step by the recursive calls, at each step we have to construct a nonsingular linear combination of and the matrix returned by the call. For this we need field elements.
For correctness we distinguish among the types of output of the algorithm, and show that they indeed have the required property.
This case occurs in Line 2, 4, 8 and 16. All are straightforward.
After Line 3 . Then Lemma 20 ensures that Fail cannot be returned for triangularizable matrix spaces.
3 An algorithm over the rationals
To obtain a polynomial-time algorithm over rationals, we give first a characterization of triangularizability of a nonsingular matrix space.
: Assume that consists of upper triangular matrices. Then is upper triangular as well, whence – as products of upper triangular matrices remain upper triangular – also consists of upper triangular matrices. : Assume that consists of upper triangular matrices. Put . ∎
We have the following criterion of triangularizability:
Here is the space spanned by the commutators ().
With these preparations we are now ready to prove Theorem 2. Proof of Theorem 2. On an algebraic RAM Algorithm 1 is all we need. Over rationals we shall perform a reduction to finite fields via Lemma 22.
On the Edmonds-Rado class and some subclasses
There exist matrix spaces generated by projections or positive matrices outside the Edmonds-Rado class
2 Compression spaces
It is clear that when , if is a compression space then it is in the Edmonds-Rado class. The converse is not true.
There exists a matrix space in the Edmonds-Rado class which is not a compression space.
The proof of Proposition 26 relies on the following lemma, which also explains why we do not expect to achieve rank maximization for upper triangular matrices in Theorem 2.
Rank maximization of matrix spaces can be reduced to rank maximization of matrix spaces with a basis of pairwise commuting, and strictly upper triangular matrices.
3 The black-box Edmonds-Rado class
As a justification for the name of the subclass, observe that this algorithm does not make use of any properties of matrices other that their rank. It even works in the setting that instead of inputting the basis explicitly, we only know and have an oracle which, on input returns the rank of .
While this class seems quite restrictive, it contains some interesting cases.
Concluding remarks
Our main results are deterministic polynomial time algorithms for the constructive version of Edmond’s problem (that is, finding nonsingular matrices) in certain subclasses of the Edmonds-Rado class. In the light of Gurvits’ result on the non-constructive version, probably the most interesting open problem is the deterministic complexity of the constructive version for the whole Edmonds-Rado class. Regarding the Boolean complexity of some of our algorithms, the bottleneck is our limited knowledge about the possible blowup of the sizes of bases for the Wong sequences. We are not even aware of any good bound on the size of bases for singularity witnesses (except for the rank one generated case). In particular, we do not know the Boolean complexity of finding singularity witnesses for singular triangularizable matrix spaces over the rationals.
We would like to thank the anonymous reviewers for careful reading and pointing out some gaps in an earlier version of the paper. Most of this work was conducted when G. I., Y. Q. and M. S. were at the Centre for Quantum Technologies (CQT) in Singapore, and partially funded by the Singapore Ministry of Education and the National Research Foundation, also through the Tier 3 Grant “Random numbers from quantum processes” (MOE2012-T3-1-009). Research partially supported by the European Commission IST STREP project Quantum Algorithms (QALGO) 600700, by the French ANR Blanc program under contract ANR-12-BS02-005 (RDAM project), by the Hungarian Scientific Research Fund (OTKA), and by the Hausdorff grant EXC59-1/2.