Quasipolynomial-Time Deterministic Kernelization and (Gammoid) Representation
Abstract
In this paper, we suggest to extend the notion of a kernel to permit the kernelization algorithm to be executed in quasi-polynomial time rather than polynomial time. So far, we are only aware of one work that addressed this negatively, showing that some lower bounds on kernel sizes proved for kernelization also hold when quasi-polynomial time complexity is allowed. When we, anyway, deal with an NP-hard problem, sacrificing polynomial time in preprocessing for quasi-polynomial time may often not be a big deal, but, of course, the question is – does it give us more power? The only known work, mentioned above, seems to suggest that the answer is “no”. In this paper, we show that this is not the case – in particular, we show that this notion is extremely powerful for derandomization. Some of the most basic kernelization algorithms in the field are based on inherently randomized tools whose derandomization is a huge problem that has remained (and may still remain) open for many decades. Still, some breakthrough advances for derandomization in quasi-polynomial time have been made. Can we harness these advancements to design quasi-polynomial deterministic kernelization algorithms for basic problems in the field? To this end, we revisit the question of deterministic polynomial-time computation of a linear representation of transversal matroids and gammoids, which is a longstanding open problem. We present a deterministic computation of a representation matrix of a transversal matroid in time quasipolynomial in the rank of the matroid, where each entry of the matrix can be represented in quasipolynomial (in the rank of the matroid) bits. As a corollary, we obtain a linear representation of a gammoid in deterministic quasipolynomial time and quasipolynomial bits in the size of the underlying ground set of the gammoid. In turn, as applications of our results, we present deterministic quasi-polynomial time kernels of polynomial size for several central problems in the field.
Keywords and phrases:
Network Flows, Gammoids, Matchings, Transversal Matroids, Matroid Representation, DerandomizationCopyright and License:
2012 ACM Subject Classification:
Mathematics of computing Matroids and greedoids ; Theory of computation Pseudorandomness and derandomization ; Mathematics of computing Graph algorithmsEditors:
Paweł Gawrychowski, Filip Mazowiecki, and Michał SkrzypczakSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Preprocessing (or data reduction) is an integral part of almost any application: both systematic and intuitive approaches to tackle difficult problems often involve it. Even in our everyday lives, we often rely on preprocessing, sometimes without even noticing it. A natural question in this regard is how to measure the quality of preprocessing rules proposed for a specific problem, yet for a long time the mathematical analysis of polynomial time preprocessing algorithms was neglected. One central reason for this anomaly stems from the following observation: showing that in polynomial time an instance of an NP-hard problem can be replaced by an equivalent instance whose size is necessarily smaller than the size of , even by a single bit, implies that P=NP. The situation has changed drastically with the advent of mulivariate complexity theory, known as Parameterized Complexity. By combining tools from Parameterized Complexity and classical (i.e., univariate) complexity, it has become possible to derive upper and lower bounds on sizes of reduced instances, or so called kernels.
Formally, a problem is parameterized if each instance of is associated with a parameter . It admits a compression if there exists a (not necessarily parameterized) problem , and a polynomial-time algorithm that, given an instance of , outputs an equivalent instance of (i.e., is a Yes-instance of if and only if is a Yes-instance of ) such that where is any computational function that depends only on . In particular, when , we say that admits a kernel. Further, when is polynomial or quasi-polynomial, we say that admits a kernel of polynomial or quasi-polynomial size (or, simply, a polynomial or quasi-polynomial kernel), respectively. So, when the parameter is substantially smaller than the entire input size, we can, just in polynomial time, reduce the input instance to be significantly smaller than it was before – depending only on how small or large is! Nowadays, Kernelization is a major sub-field of research within Parameterized Complexity, and we refer to books such as [7, 1, 3] for more information.
In this paper, we suggest to extend the notion of a kernel to permit the kernelization algorithm to be executed in quasi-polynomial time rather than polynomial time. So far, we are only aware of one work [13] that addressed this negatively, showing that the lower bounds on kernel sizes proved for kernelization in that paper also hold when quasi-polynomial time complexity is allowed. When we, anyway, deal with an NP-hard problem, sacrificing polynomial time in preprocessing for quasi-polynomial time may often not be a big deal, but, of course, the question is – does it give us more power? The only known work, mentioned above, seems to suggest that the answer is “no”. In this paper, we show that, for obtaining deterministic kernelization algorithms, quasipolynomial time can be quite powerful. Some of the most basic kernelization algorithms in the field are based on inherently randomized tools whose derandomization is a huge problem that has remained (and may still remain) open for many decades. Still, some breakthrough advances for derandomization in quasi-polynomial time have been made. Can we harness these advancements to design quasi-polynomial deterministic kernelization algorithms for basic problems in the field?
We also note that some recent works [27, 28] have investigated (randomized) quasipolynomial size kernels (i.e. size) for several problems, such as Edge Multiway Cut, Group Feedback Edge Set and others.
For this purpose, we revisit the question of deterministic polynomial-time computation of a linear representation of transversal matroids and gammoids, which is a longstanding open problem. We build upon the earlier work of Lokshtanov et.al. on union representation [19] to present a deterministic computation of a representation matrix of a transversal matroid (and, more generally, of a matching matroid) in time quasipolynomial in the rank of the matroid, where each entry of the matrix can be represented in quasipolynomial (in the rank of the matroid) bits. As a corollary, we obtain a linear representation of a gammoid in deterministic quasipolynomial time and quasipolynomial bits in the size of the underlying ground set of the gammoid. Although we were mainly interested in these results for the purpose of the design of quasipolynomial-time deterministic kernels, and we mainly think of them as the tools that we present for this purpose, they are of broad and significant independent interest for computer science researchers outside Parameterized Complexity – indeed, matroids have become, over the past decade, ubiquitous in many fields in theoretical computer science.
Specifically, we apply the aforementioned tools to derandomize (in quasipolynomial time) the celebrated kernelization algorithms of Kratsch and Wahlström [17], who gave randomized polynomial kernels for several problems such as Odd Cycle Transversal, Multiway Cut with deletable terminals and Almost 2-SAT, based on representation of gammoids (see Section 4). Notably, the sizes of our kernels are polynomial – the only compensation is done in terms of time complexity. We remark that the derandomization (in polynomial time) of these kernels is among the most well-known and central open problems in the field of Kernelization (see, e.g., [7]). Similarly, we derandomize other kernels based on representation of gammoids, such as those given in [14, 16]. We also obtain derandomizations of the Cut Covering Lemma in quasipolynomial time and of the computation of representative sets regarding matroids, which are of independent interest in (not only) Parameterized Complexity. So, in particular, given an -vertex (di)graph and , a set of cardinality such that for every and , contains a minimum -vertex cut, can be found in time . Here, is the size of a minimum -cut in . For example, succinct representations of cuts have been studied in network design (see, e.g., [18]), where our result naturally fits in.
In what follows in this introduction, we present relevant background on matroid representation and discuss our contribution in this regard. After that, we discuss some related works, as well as the relation of this paper to the earlier work on union representation.
1.1 Matroid Representation
During the past few decades, matroids have gained particular interest in computer science. These mathematical objects have taken lead roles in algorithm design, combinatorial optimization and computational complexity. For example, in algorithm design, analysis of these objects can yield algorithmic meta theorems. Such theorems unify classical results such as polynomial-time solvability of a wide-variety of problems as central as Minimum Weight Spanning Tree and Perfect Matching. In fact, if a problem admits a greedy algorithm, then it can be embedded in a matroid so that solutions correspond to maximum independent sets in the matroid. Recently, matroids also stand in the forefront of studies of approximation algorithms, parameterized algorithms and kernels.
A matroid is a pair , where is a family of subsets of (called independent sets), that satisfy three conditions called matroid axioms (see Section 2). As the size of can be exponential in the size of , explicit listing of all independent sets is often rendered prohibitive. Then, it is necessary to have an independence oracle that, given a subset , determines (in polynomial time) whether is present in . For a wide class of matroids, known as linear matroids, such oracle is given by a matrix called a representation. Roughly speaking, the columns of the matrix are in bijection with the elements in , and a set of columns is linearly independent if and only if the set of corresponding elements is independent. Such representations are immensely useful in algorithmic settings, since a large class of tools and techniques based on linear algebra become available. Unfortunately, despite substantial efforts, some central forms of linear matroids are not yet known to admit efficient deterministic computations of their representations, where (arguably) the most well-known and studied such classes of matroids are gammoids and transversal matroids.
Among the most central classes of matroids are the classes of uniform (or, more generally, partition) matroids, graphic and cographic matroids, matching matroids, transversal matroids and gammoids. A common property of all of these classes is that all of them are contained in the wider class of linear matroids. However, for the last three classes in this list a polynomial-time deterministic computation of a representation is not known. Indeed, developing polynomial-time deterministic computation of a representation of transversal matroids and gammoids is a longstanding open problem. Formally, a transversal matroid is a matroid derived from a bipartite graph with a fixed bipartition as follows: the ground set is simply , and a subset is independent if and only if has a matching that saturates it. Matching constraints are ubiquitous in computational problems, e.g. modelling scenarios where some given objects should be partitioned into pairs, or allocations of a set of objects to a set of agents. Transversal matroids and matching matroids are the translation of these constraints into the language of matroids. A gammoid is a matroid derived from a (di)graph with subsets as follows: the ground set is simply , and a subset is independent if and only if there exists a collection of vertex disjoint paths from to in where every vertex in is the end-vertex of some path in . As the dual of a transversal matroid is a (strict) gammoid and vice versa, based on the work of [21], we know that a polynomial-time computation of a representation for one also yields such a computation for the other. Representation of gammoids is of particular importance in parameterized complexity as some of the most celebrated kernels in this field build upon it [17].
Our main contribution is the resolution of the questions of the representation of transversal matroids and gammoids under the relaxation of having quasipolynoimal rather than strictly polynomial time. Specifically, our main theorems are as follows.
Theorem 1 (Quasipolynomial Representation of Transversal Matroids).
Let be an -vertex bipartite graph with a fixed vertex bipartition , and let be the size of a maximum matching in . Then, in time we can compute a representation of the transversal matroid of , where each entry of the matrix is an element of that can be encoded in bits.
Theorem 2 (Quasipolynomial Representation of Gammoids).
Let be an -vertex (di)graph and let . Then, in time we can compute a representation of the gammoid of with respect to on ground set , where each entry of the matrix is an element of that can be represented in bits.
Matching matroids are a generalization of Transversal matroids to general graphs. Using the well known Gallai-Edmonds decomposition and Theorem 1, we obtain the following.
Theorem 3 (Quasipolynomial Representation of Matching Matroids).
Let be an -vertex graph, and let be the size of a maximum matching in . Then, in time we can compute a representation of the matching matroid of , where each entry of the matrix is an element of that can be encoded in bits.
We remark that Theorem 4.9 in [12] can also be applied to obtain a quasi-NC-computable representation of transversal matroids; although this not immediate.
1.2 Previous Works and the Relation to Union Representation
Prior to our work, the fastest (deterministic) computations of representations of transversal matroids and gammoids were only slightly better than trivial brute-force. More precisely, Misra et al. [22] showed that given a bipartite graph with a fixed bipartition , a representation of the transversal matroid can be computed deterministically in (exponential) time where is the rank of the matroid, which equals the maximum size of a matching in . In this context, it is important to note that a randomized polynomial-time algorithm to compute a representation of a transversal matroid is well known (see, e.g., [21, 25]). Here, randomization means that with some (low) probability, the algorithm may output a matrix that is not a representation of the matroid. This algorithm utilizes the Schwartz-Zippel lemma [2, 26, 29], and hence it is inherently randomized. The above mentioned trivial brute-force, which runs in time (see [22]), refers to a loop through all choices made by the randomized algorithm. Building upon their representation for transversal matroids, Misra et al. [22] presented a similar result for gammoids.
The notion of union representation was introduced in [19]. Roughly speaking, a union representation of a matroid is a collection of matrices such that a subset of is independent in if and only if for at least one of the matrices, the set of columns corresponding to is linearly independent. Standard representation is precisely union representation where the size of the collection is one. While only linear matroids admit standard representations, note that all matroids admit union representations: to see this, for every base of the matroid, create one matrix with a set of linearly independent columns corresponding to the base, and vectors having only entries as the rest of the columns. However, this procedure can create a huge number of matrices. In [19], a quasipolynomial-time union representation of transversal matroids with quasipolynomially many matrices and with entries represented in quasipolynomially many bits was presented. Unfortunately, a union representation of transversal matroids, apart from not being a proper representation in itself, also does not yield even a union representation for gammoids (the duality relation can only be exploited if a standard representation is provided).
Nevertheless, we use the earlier work as a starting point of the proof of Theorem 1. In Section 3, we essentially show that a union representation of a transversal matroid can be merged into a single matrix, using polynomial interpolation. It is pertinent to ask if this can achieved for any arbitrary matroid. The answer to this question is in the negative, since there exist well known matroids, such as the Vamos Matroid [25], which are not representable over any field, while all matroids admit union representations. The key reason this breaks down is in the reverse direction of Lemma 21, where given a collection of linearly independent columns of the interpolation matrix, we must show that the corresponding elements form an independent set in the matroid. Here, we rely on the fact that we deal with a transversal matroid. However, it is an interesting problem to determine for a class of non-representable matroids of interest, if a union representation with elements (where is the set of bases), which could be of exponential size, can be compressed to a substantially smaller collection of matrices.
2 Preliminaries
Basic Definitions
Given , we use as a shorthand for . Given a function and a subset , we denote , and we define as the restriction of to . We slightly abuse notation, and given a function , called a weight function, and a subset , we denote . Whenever we refer to a function that is a weight function, we use the second notation.
Linear Algebra.
Given a matrix , a set of rows of and a set of columns of , the submatrix of formed by choosing the rows in and the columns in is denoted by . Moreover, we denote the determinant of by . We remind that a set of vectors is linearly dependent over some field if there exist scalars , not all equal , such that . Moreover, a set of vectors is linearly independent if it is not linearly dependent.
Graphs.
Given a (di)graph , we denote the vertex set of and edge(arc) set of by and , respectively. Given a subset , we let denote the subgraph of induced by . A subset is an independent set if there does not exist any edge in with both endpoints in . We say that is a vertex bipartition of if it is a partition of such that and are independent sets. Moreover, we say that is a bipartite graph if it has a vertex bipartition. A matching is a family of pairwise-disjoint edges of . If an edge is in a matching , then the vertices and are said to be matching partners in . The maximum size of a matching is denoted by . A subset is said to be saturated by if every vertex in belongs to some pair in . Moreover, is called perfect if it saturates . The set of all vertices saturated by a matching is denoted by . A graph is called factor-critical if for every the subgraph graph has a perfect matching. A path in is a subgraph defined by sequence of distinct vertices , where for each , we have an edge(arc) . The vertices and are called the start-vertex and end-vertex of , respectively, and collectively they are called the endpoints of . Further, is said to be a path from to . Two paths and are vertex disjoint if they have no common vertices. A path system in from to is a collection of pairwise vertex disjoint paths with their start-vertices in and end-vertices in .
Two graphs and are said to be isomorphic if and there is a bijection such that if and only if . A graph class is a collection of graphs closed under isomorphism, i.e., it contains a graph if and only if it contains all graphs that are isomorphic to .
Matroids
Let us begin by presenting the definition of a matroid.
Definition 4 (Matroid, [25]).
A pair , where is a ground set and is a family of subsets of (called independent sets), is a matroid if it satisfies the following conditions:
-
(I1)
.
-
(I2)
If and , then .
-
(I3)
If and , then there exists such that .
We remark that conditions (I1), (I2) and (I3) are called matroid axioms. An inclusion-wise maximal independent set in a matroid is called a basis. We say that two matroids and are isomorphic if there exists a bijection such that for every , if and only if . Using (I3) it is easy to show that all the bases of a matroid have the same size, which is called the rank of the matroid. Using (I2) it is easy to see that if two matroids have the same set of bases, then they are the same matroid. Given two matroids and over the same ground set, we say that and are dual matroids, if they satisfy the following: is a basis of if and only if is a basis of . The dual of a matroid is denoted by , and clearly . Given a matroid and , the deletion of in is the matroid where denotes the collection of sets in that are disjoint from . In this paper, we are specifically interested in transversal matroids and gammoids.
Definition 5 (Transversal Matroid, [25]).
Let be a bipartite graph with a fixed vertex bipartition . The transversal matroid of is a matroid where is the family that consists of every subset such that there exists a matching that saturates .
Definition 6 (Gammoid, [25]).
Let be a (di)graph, and let . The gammoid of with respect to on ground set is a matroid where is the family that consists of every subset that satisfies the following condition: there exists a path system from to in where every vertex in is the end-vertex of some path in . When , the gammoid is called a strict gammoid.
It is well known that transversal matroids and strict gammoids are duals [25]. Moreover, it is easy to see that if we consider the strict gammoid of a graph with respect to some subset , then for any subset , the gammoid of with respect to on the ground set can be obtained by deleting from the strict gammoid.
Having a representation of a matroid, given by a matrix that compactly encodes the matroid, is a central component in many algorithmic applications [17]. Matroids having a representation are called linear, as formally defined below.
Definition 7.
Let be a matrix over an arbitrary field , and let be the set of columns of . The matroid represented by is the pair where a subset belongs to if and only if the columns in are linearly independent over .
Definition 8 (Linear Matroid, Representation).
A matroid is a linear matroid if there exists a matrix , called a representation of , such that and the matroid represented by are isomorphic. Furthermore, is representable over a field if it has a representation over .
The phrasing that is represented by is an abbreviation to the statement that is a representation of and is an isomorphism that witnesses this. It is easy to see that that if is a linear matroid with representation , then for any , the matroid is also a linear matroid whose representation can be obtained from by deleting the columns that correspond to elements in . The following lemma relates the representations of a matroid and its dual.
Proposition 9 ([25]).
Let be a linear matroid that is representable over a field , and let . Then, is also a linear matroid. Further, given a representation of , a representation of can computed in polynomially many (in ) field operations.
Isolation of Perfect Matchings
For the sake of clarity, let us first introduce the following notation. Given , let be a bipartite graph with a fixed bipartition such that , and fixed injective functions and . Given a weight function , we define the weight of an edge , where and , by . Thus, can be thought of as a function from to . Let us remind that for a subset , .
We remark that we need to define a weight function via injective functions of the form and as above (rather than letting the domain directly be an edge set) in order to prove the correctness of our main result, particularly in its general form. Now, for perfect matchings, isolating weight functions are defined as follows.
Definition 10 (Isolating Weight Function).
Let be a bipartite graph with a fixed bipartition such that , and fixed injective functions and . A weight function is isolating (for ) if it satisfies the following condition: If has a perfect matching, then also has a unique perfect matching of minimum weight (i.e. for every perfect matching , ).
Such isolating weight functions are particularly relevant to the detection of a perfect matching. To see this, we first need to define the matrix associated with an isolating weight function.
Definition 11.
Let be a bipartite graph with a fixed bipartition such that , and fixed injective functions and . In addition, let be a weight function. Then, is the matrix on columns indexed by the vertices in and rows indexed by the vertices in , where
for all and .
The following well-known result, due to Mulmuley et al. [23], reveals a connection between isolating weight functions, determinants and perfect matchings.
Proposition 12 ([23]).
Let be a bipartite graph with a fixed bipartition such that , and fixed injective functions and . In addition, let be a weight function. If , then has a perfect matching. Moreover, if is isolating and has a perfect matching, then .
Definition 13 (Isolating Collection).
Let be a graph class and let . An -isolating collection for is a set of weight functions with the following property. For any bipartite graph with a fixed bipartition such that , and fixed bijective functions and , there exists a weight function such that is isolating.
Let us remark that the above definition can be generalized to graph classes that do not contain only bipartite graphs. However, as we are primarily interested in transversal matroids that are defined using bipartite graphs, the above definition is sufficient (and necessary). Fenner et al. [5] presented a (deterministic) computation of a collection of weight functions that, for any bipartite graph, has at least one isolating weight function. Formally,
Proposition 14 ([5]).
Let . An -isolating collection for the class of bipartite graphs, denoted by , containing weight functions with the following property can be obtained in time : for any weight function , every weight assigned by can be represented (in binary) using bits.
Splitters, Representative Families
Splitters are well-known tools in derandomization, formally defined as follows.
Definition 15 (Splitter).
Let where . An -splitter is a family of functions from to such that for every of size , there is a function that satisfies for all distinct .
We are specifically interested in an -splitter. The following lemma asserts that such a small splitter can be computed efficiently.
Proposition 16 ([24]).
Given , an -splitter of size can be constructed in time .
The notion of a representative family (implicitly linked to that of a splitter), introduced by Fomin et al. [6], plays a central role in the design of fast deterministic parameterized algorithms.
Definition 17 (Representative Family).
Given a matroid and a family of subsets of , a subfamily is -representative for , denoted by , if the following holds: for every set of size at most , if there is a set disjoint from with , then there is a set disjoint from with .
Isolation of Maximum Matchings
We begin with the definition of the matrix that combines isolating weight functions with splitter functions, which are functions from to where will be clear from context.
Definition 18.
Let be a bipartite graph with a fixed bipartition such that , and fixed injective functions and . In addition, let be a weight function and be a splitter function for some . Then, is the matrix on columns indexed by the vertices in and rows indexed by the vertices in , where
for all and .
Next, we define good pairs of a weight function and a splitter function with respect to a subset of vertices, which “isolates” a maximum matching saturating this subset.
Definition 19.
Let be a bipartite graph with a fixed vertex bipartition such that , and fixed injective functions and . In addition, let . For a weight function and a splitter function , the pair is good for a subset if for some .
The following result asserts that by combining splitters and isolating weight functions for perfect matchings, we can obtain isolating weight functions for maximum matchings.
Proposition 20 ([19]).
Let be a graph class. Let be a bipartite graph with a fixed vertex bipartition such that , and fixed injective functions and . In addition, let be a -isolating collection for , and be a -splitter for some . For every subset of size at most , if is independent in the transversal matroid of , then there exist and such that is good for .
3 Representation via Polynomial Interpolation
In this section, we show that a collection of isolating weight functions for maximum matchings can be converted to a representation matrix for a transversal matroid by using polynomial interpolation. Our first step is to obtain a representation over , the ring of univariate polynomials with coefficients from (in the formal variable ).
Lemma 21.
Let be a graph class. Let be an -vertex bipartite graph with a fixed vertex bipartition , and let be the size of a maximum matching in . Let be an -isolating collection for . Let be the maximum weight assigned by any function in . Then, we can compute a representation of the transversal matroid of in time , where each entry is a polynomial in with integer coefficients in the form
where and for any , is encoded in bits.
Proof.
Observe that , and let us begin by constructing a family of matrices over with integer entries. First, we apply Proposition 15 to obtain a -splitter of size in time . Then, we select arbitrary bijective functions and . Note that the collection contains matrices. By Definition 18, every entry in , and , is an integer of bit-length . Thus, the time to construct is bounded by . For convenience, let us define as an arbitrary bijection, and for let denote the matrix where . Then, each entry of is an integer that can be represented using bits. Observe that the rows and columns of each are indexed by and , respectively, where the indexing “agree” for any two matrices and .
Let us describe the construction of the matrix using the collection . Let denote the entry of the matrix in row and column . Then, we will define as the multiplication of some scalar with a (univariate) polynomial in the formal variable of degree that will have the following property: for each , we have . It follows that is a matrix over , and for each , we have . For this purpose, we choose the polynomial to be the Lagrange polynomial of the points , which is a degree polynomial in . Specifically, it is described by the following formula.
Indeed, for any , if we substitute by above, then for all , the expression evaluates to , while for it evaluates to .
Now, we choose . Accordingly, we define
where for any , let . Then, for any , the definition of directly yields that and , and because can be encoded in bits, we deduce that can be encoded in bits.
Clearly, the computation of is done in time . Let us note that the rows and columns of are indexed by the vertex sets and , respectively, as is directly obtained from the same indexing of the matrices . Hence the mapping from to columns of is well defined. Furthermore, by Definition 18, we have the following claim.
Claim 22.
For any and , if , then .
To see this, consider some and . If , then the polynomial is not identically zero, therefore in particular there must exist such that . However, Definition 18 then directly yields that . (We note that the reverse direction of the claim also holds, as can be easily seen to follow as a special case from the arguments in the following paragraph.)
Let us argue that is indeed a representation of the transversal matroid of . In the forward direction, consider a subset such that there is a matching in saturating , i.e., is an independent set (of size at most ) in the transversal matroid of . Then, we must argue that the columns of corresponding to are linearly independent. Consider a subset such that , and there is a perfect matching in . Then, consider the submatrix indexed by the rows corresponding to and columns corresponding to . We claim that , which implies that this submatrix has full rank, and hence the columns of corresponding to are linearly independent. Suppose not, that is, . In particular, this means that for every . However, by Proposition 20, there exist a pair of and that is good for , and thus . Now, consider such that and observe that we have reached a contradiction since .
In the reverse direction, consider such that the column vectors of corresponding to are linearly independent. Therefore, for some with . By the definition of determinant, we have that
where is the set of all bijective functions from to . Thus, there exists such that for all . By Claim 22, this means that there exists a bijective function (that is, above) such that for all . Therefore, has a perfect matching. We thus conclude that is independent in the transversal matroid of .
The above lemma gives us a representation matrix over the ring of (univariate) polynomials in . Our next step is to obtain a representation over .
Lemma 23.
Let be a graph class. Let be an -vertex bipartite graph with a fixed vertex bipartition , and let be the size of a maximum matching in . Let be an -isolating collection for . Let be the maximum weight assigned by any function in . Then, we can compute a representation of the transversal matroid of in time , where each entry of is an integer that can be encoded in bits.
Proof.
We begin by applying Lemma 21 and obtaining the representation over . Note that each entry is a univariate polynomial in the formal variable with integer coefficients, which is of the form
where and for any , is encoded in bits. Let , and . Then, we have the following immediate claim.
Claim 24.
The absolute value of any coefficient of is upper bounded by .
To see this, consider some and , and observe that the absolute value of the coefficient of in is upper bounded by . Because , and we sum over from to , we derive that the absolute value of any coefficient of is upper bounded by .
Now, observe that , and hence it can be encoded using bits. Consider the matrix . Observe that is a matrix whose entries are integers. Each entry of , say at row and column , is the evaluation at of a degree polynomial with coefficients of absolute value at most (by Claim 24). Therefore, the absolute value of is upper bounded by , and hence it can be encoded in bits.
Next, let us argue that is a correct representation matrix. Consider a square submatrix of , and let be the corresponding submatrix of . It is sufficient to argue that if and only if . Then, as is a correct representation, so is . Observe that is a univariate polynomial in , and is an evaluation of this polynomial at . Hence, if , then as well. In the reverse direction, let us argue that is not a root of the polynomial . Then, it follows that if , then as well. To obtain that is not a root of , we will apply Cauchy’s upper bound on the absolute value of any root of a univariate polynomial with coefficients in . It states that if is a degree polynomial with coefficients for all , then the absolute value of any root of this polynomial is upper bounded by . Now, consider the coefficients of . Observe that is a polynomial that is obtained by summing over at most terms, each of which is a product of entries of . Recall that the entries in are polynomials with integer coefficients of absolute value at most (by Claim 24). Thus, every coefficient of is an integer that has absolute value at most . Thus, any root of must have absolute value at most . Since is larger than this upper bound, it cannot be a root of . This concludes the proof of this lemma.
Theorem 1 (Quasipolynomial Representation of Transversal Matroids). [Restated, see original statement.]
Let be an -vertex bipartite graph with a fixed vertex bipartition , and let be the size of a maximum matching in . Then, in time we can compute a representation of the transversal matroid of , where each entry of the matrix is an element of that can be encoded in bits.
Proof.
By Proposition 14, we can compute in time an -isolating family for the class of all bipartite graphs such that , and the maximum weight assigned by any function in is . Then, by Lemma 23, in time we can compute a representation of the transversal matroid of , where each entry of is a integer encoded in bits.
3.1 Representation of Gammoids in Deterministic Quasipolynomial Time
We use the representation of transversal matroids to obtain a representation of gammoids. First, we consider strict gammoids, and then obtain the result for (not necessarily strict) as an almost direct consequence. In this context, recall that strict gammoids are duals of transversal matroids, which is central to the proof.
Lemma 25 ().
111The proof of results marked with are omitted due to space constraints. They will appear in the full-version of the paper.Let be an -vertex (di)graph and let . Then, in time we can compute a representation of the strict gammoid of with respect to , where each entry of the matrix is an element of that can be encoded in bits.
Theorem 2 (Quasipolynomial Representation of Gammoids). [Restated, see original statement.]
Let be an -vertex (di)graph and let . Then, in time we can compute a representation of the gammoid of with respect to on ground set , where each entry of the matrix is an element of that can be represented in bits.
Proof.
Consider the strict gammoid of with respect to ; then, as noted in Section 2, the gammoid of with respect to on ground set can be obtained by deleting from the strict gammoid. Thus, given a representation matrix of the strict gammoid of with respect to , by deleting the columns indexed by we obtain a representation matrix of the gammoid of with respect to on ground set . Thus, the statement is a direct consequence of Lemma 1.
3.2 Representative Sets
We now proceed to the computation of representative sets over gammoids in deterministic quasipolynomial time. We require the following result of Fomin et al. [6].
Proposition 26 ([6]).
Let be a linear matroid of rank , and let be a family of independent sets, each of size . Let be an matrix representing over a field , and let be the exponent of matrix multiplication [8]. Then, there is a deterministic algorithm computing of size in operations over .
The algorithm of Proposition 26 requires the multiplication of at most entries of for any computation during its execution. Hence, given a linear matroid with a representation where each entry requires bits, all intermediate results can be stored in bits as well. Hence, we obtain the following corollary.
Lemma 27.
Let . Let be a linear matroid of rank , and let be a family of independent sets, each of size . Let be a representation of this matroid, where each entry of is an element of that requires bits. Then, there is a deterministic algorithm computing of size in time, where is the exponent of matrix multiplication.
4 Applications
In this section, we apply our results to derandomize several important results in the area of kernelization. Specifically, we apply Theorem 2 and Lemma 27 to derandomize the kernelization algorithms of [17, 16, 14], as well as the cut covering lemma. These algorithms, first compute an approximate solution for a given problem instance, and then construct a representation of an associated gammoid, where the construction deployed is a randomized one (also see [21]). To derandomize these results, we must ensure that there is a deterministic approximation algorithm for these problems, and then apply Theorem 2 and Lemma 27. For some of these problems, we have the following proposition from [15], that gives us deterministic polynomial time FPT-approximation algorithm. These results are obtained via parameter preserving reductions to a problem called -Skew Symmetric Multicut. The other problems are known to admit standard approximation algorithms in deterministic polynomial time [11, 17].
Proposition 28 ([15]).
Odd Cycle Transversal, Almost 2-SAT, Vertex Cover above , Vertex Cover parameterized by Konig Deletion Set, Konig Deletion Set in graphs with a perfect matching, RHorn-Backdoor Deletion Set admit a deterministic polynomial time FPT-approximation, with approximation factor .
The subsequent step in these algorithms is to compute representative sets over a matroid of rank where is a (polynomial) function of and is a constant. Applying our results, we directly obtain the following.
Lemma 29 (Cut Covering Lemma).
Let be an -vertex (di)graph and let . Let be the size of a minimum -cut in . Then, a set of cardinality such that for every and , contains a minimum -vertex cut, can be found in time .
Theorem 30.
The following problems admit a polynomial kernel in deterministic quasipolynomial (i.e., ) time: Odd Cycle Transversal, MultiwayCut with deletable terminals, Group Feedback Vertex Set, Almost -SAT, Vertex Cover above , Vertex Cover parameterized by Konig Deletion Set, Konig Deletion Set in graphs with a perfect matching, RHorn-Backdoor Deletion Set and Subset Feedback Vertex Set.
5 Representation of Matching Matroids
In this section, we give a quasi-polynomial time representation for Matching Matroid which are a generalization of Transversal Matroid.
Definition 31 (Matching Matroid, [20]).
Let be a graph. The matching matroid of is a matroid where is the family that consists of every subset such that there exists a matching that saturates .
Observation 32.
Let be a graph and let be the matching matroid of . Then, is a basis of if and only if there is a maximum matching in such that .
Our algorithm for computing a representation of matching matroids, requires the Gallai-Edmonds decomposition of graphs from matching theory. It is defined as follows.
Definition 33 (Gallai-Edmonds Decomposition).
Let be a graph. Let be a partition of defined as follows:
-
contains all vertices such that there is a maximum matching in and .
-
is the set of all neighbors of in .
-
, are the remaining vertices.
Proposition 34 ([4, 9, 10, 20]).
Let be a graph, and let be the Gallai-Edmonds decomposition of . Then the following hold:
-
is a collection of factor-critical graphs.
-
has a perfect matching.
-
A matching in is a maximum matching if and only if the following hold.
-
–
; furthermore is a perfect matching in .
-
–
The matching partners of vertices in are in .
-
–
For each component of , matches all but one vertex . The vertex is either matched to a vertex in or it remains unmatched.
-
–
Proposition 35 ([4, 9, 10, 20]).
Given a graph , a Gallai-Edmonds decomposition can be computed in polynomial time.
Observation 36.
Let be a graph, be it’s matching matroid and let be a basis of . Then . And for any component of , .
The above observation implies that in any basis of , the “non-trivial” part arises from the “bipartite graph” between and . Intuitively, we can capture this part via a transversal matroid. The following construction formalizes this intuition.
Lemma 37 ().
Given a graph , there exists a bipartite graph with vertex bipartition such that the matching matroid of is isomorphic to the transversal matroid of with ground set .
References
- [1] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [2] R A DeMillo and R J Lipton. A probabilistic remark on algebraic program testing. Inform. Process Lett., 7(4):193–195, 1978. doi:10.1016/0020-0190(78)90067-4.
- [3] Rodney G. Downey and Michael R. Fellows. Fundamentals of Parameterized Complexity. Texts in Computer Science. Springer, 2013. doi:10.1007/978-1-4471-5559-1.
- [4] Jack Edmonds. Paths, trees, and flowers. Canadian Journal of mathematics, 17:449–467, 1965.
- [5] Stephen A. Fenner, Rohit Gurjar, and Thomas Thierauf. Bipartite perfect matching is in quasi-nc. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18-21, 2016, pages 754–763, 2016. doi:10.1145/2897518.2897564.
- [6] Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, and Saket Saurabh. Efficient computation of representative families with applications in parameterized and exact algorithms. J. ACM, 63(4):29:1–29:60, 2016. doi:10.1145/2886094.
- [7] F.V. Fomin, D. Lokshtanov, S. Saurabh, and M. Zehavi. Kernelization: Theory of Parameterized Preprocessing. Cambridge University Press, 2018.
- [8] François Le Gall. Powers of tensors and fast matrix multiplication. In International Symposium on Symbolic and Algebraic Computation, ISSAC ’14, Kobe, Japan, July 23-25, 2014, pages 296–303, 2014. doi:10.1145/2608628.2608664.
- [9] Tibor Gallai. Kritische graphen ii. Magyar Tud. Akad. Mat. Kutato Int. Kozl., 8:373–395, 1963.
- [10] Tibor Gallai. Maximale systeme unabhangiger kanten. Magyar Tud. Akad. Mat. Kutato Int. Kozl., 9:401–413, 1964.
- [11] Naveen Garg, Vijay V Vazirani, and Mihalis Yannakakis. Multiway cuts in node weighted graphs. Journal of Algorithms, 50(1):49–61, 2004. doi:10.1016/S0196-6774(03)00111-1.
- [12] Rohit Gurjar and Thomas Thierauf. Linear matroid intersection is in quasi-nc. Comput. Complex., 29(2):9, 2020. doi:10.1007/S00037-020-00200-Z.
- [13] Danny Hermelin and Xi Wu. Weak compositions and their applications to polynomial lower bounds for kernelization. In Proceedings of the Twenty-Third Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2012, Kyoto, Japan, January 17-19, 2012, pages 104–113, 2012. doi:10.1137/1.9781611973099.9.
- [14] Eva-Maria C. Hols and Stefan Kratsch. A randomized polynomial kernel for subset feedback vertex set. In 33rd Symposium on Theoretical Aspects of Computer Science, STACS 2016, February 17-20, 2016, Orléans, France, pages 43:1–43:14, 2016. doi:10.4230/LIPICS.STACS.2016.43.
- [15] Sudeshna Kolay, Pranabendu Misra, MS Ramanujan, and Saket Saurabh. Faster graph bipartization. J. Comput. Syst. Sci., 109:45–55, 2020. doi:10.1016/j.jcss.2019.11.001.
- [16] Stefan Kratsch. A randomized polynomial kernelization for vertex cover with a smaller parameter. In 24th Annual European Symposium on Algorithms, ESA 2016, August 22-24, 2016, Aarhus, Denmark, pages 59:1–59:17, 2016. doi:10.4230/LIPICS.ESA.2016.59.
- [17] Stefan Kratsch and Magnus Wahlström. Representative sets and irrelevant vertices: New tools for kernelization. In 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, New Brunswick, NJ, USA, October 20-23, 2012, pages 450–459, 2012. doi:10.1109/FOCS.2012.46.
- [18] Robert Krauthgamer and Inbal Rika. Mimicking networks and succinct representations of terminal cuts. In Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2013, New Orleans, Louisiana, USA, January 6-8, 2013, pages 1789–1799, 2013. doi:10.1137/1.9781611973105.128.
- [19] Daniel Lokshtanov, Pranabendu Misra, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Quasipolynomial representation of transversal matroids with applications in parameterized complexity. In 9th Innovations in Theoretical Computer Science Conference, ITCS 2018, January 11-14, 2018, Cambridge, MA, USA, pages 32:1–32:13, 2018. doi:10.4230/LIPICS.ITCS.2018.32.
- [20] László Lovász and Michael D Plummer. Matching theory, volume 367. American Mathematical Soc., 2009.
- [21] Dániel Marx. A parameterized view on matroid optimization problems. Theor. Comput. Sci., 410(44):4471–4479, 2009. doi:10.1016/j.tcs.2009.07.027.
- [22] Pranabendu Misra, Fahad Panolan, M. S. Ramanujan, and Saket Saurabh. Linear representation of transversal matroids and gammoids parameterized by rank. In Computing and Combinatorics - 23rd International Conference, COCOON 2017, Hong Kong, China, August 3-5, 2017, Proceedings, pages 420–432, 2017. doi:10.1007/978-3-319-62389-4_35.
- [23] Ketan Mulmuley, Umesh V. Vazirani, and Vijay V. Vazirani. Matching is as easy as matrix inversion. Combinatorica, 7(1):105–113, 1987. doi:10.1007/BF02579206.
- [24] Moni Naor, Leonard J. Schulman, and Aravind Srinivasan. Splitters and near-optimal derandomization. In 36th Annual Symposium on Foundations of Computer Science, Milwaukee, Wisconsin, 23-25 October 1995, pages 182–191, 1995. doi:10.1109/SFCS.1995.492475.
- [25] J.G. Oxley. Matroid Theory. Oxford graduate texts in mathematics. Oxford University Press, 2006.
- [26] J T Schwartz. Fast probabilistic algorithms for verification of polynomial identities. J. Assoc. Comput. Mach., 27(4):701–717, 1980. doi:10.1145/322217.322225.
- [27] Magnus Wahlström. Quasipolynomial multicut-mimicking networks and kernels for multiway cut problems. ACM Transactions on Algorithms (TALG), 18(2):1–19, 2022. doi:10.1145/3501304.
- [28] Magnus Wahlström. Representative set statements for delta-matroids and the mader delta-matroid. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 780–810. SIAM, 2024. doi:10.1137/1.9781611977912.31.
- [29] R Zippel. Probabilistic algorithms for sparse polynomials. In EUROSAM, pages 216–226, 1979.
