arXiv:2610.33918cs.DSOct 2026

Manuscript Offprint

arXiv:2610.33918

Random Deletion for Circuits in Regular Matroids

Karthekeyan Chandrasekaran, Chandra Chekuri, Weihao Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study a simple random deletion algorithm to find short circuits in regular matroids. Given a regular matroid MM with mm elements, the algorithm randomly deletes each element independently with probability 1−1/mΘ(1/g)1 - 1/m^{\Theta(1/g)} where gg is the size of a minimum circuit, and returns the remaining set RR of elements. We establish the following results:

• With high probability, R contains no circuit and is therefore independent.

  • For every α\alpha-approximate minimum circuit CC where α≥1\alpha \geq 1, with probability at least m−O(α)m^{-O(\alpha)}, the entire circuit CC survives in RR and moreover, the minimum number of elements that need to be removed to make RR independent is O(αlog⁡(α+2))O(\alpha \log(\alpha + 2)). This yields an algorithmic proof that the number of α\alpha-approximate minimum circuits is
mO(α),m^{O(\alpha)},

improving the previous known bound of mO(α2)m^{O(\alpha^{2})} by Gurjar and Vishnoi [15], and resolving a recent conjecture of Khanna, Putterman, and Song [22].

Our results yield two immediate applications. First, we obtain very simple RNC algorithms for computing the shortest circuit, and for enumerating all α\alpha-approximate circuits, of a regular matroid without computing the Seymour decomposition. Second, we obtain a randomized parallel algorithm to find a basis of a regular matroid under independence-oracle access. It uses polynomially many independence-oracle queries in O(log⁡m)O(\log m) adaptive rounds and succeeds with high probability. This follows from the framework of Khanna, Putterman, and Song [22] and the improved counting bound, and extends their result from graphic matroids to regular matroids.

*Grainger College of Engineering, University of Illinois, Urbana-Champaign. Email: {karthe, chekuri, weihaoz3}@illinois.edu. Supported in part by NSF grant CCF-2402667.

1 Introduction

Karger’s celebrated random contraction algorithm [19, 20] for the global minimum cut problem in graphs has been highly influential. In addition to giving a completely new algorithmic approach to the minimum cut problem, it also established a bound on the number of near-minimum cuts in undirected graphs. Let GG be an edge-weighted graph on nn vertices and let λ\lambda denote its minimum-cut value. The algorithm iteratively selects an edge with probability proportional to its weight and contracts it. Karger showed that every fixed cut of weight at most αλ\alpha\lambda survives with probability n−O(α)n^{-O(\alpha)} if the contraction process is stopped when the graph has Θ(α)\Theta(\alpha) super-vertices. At this point, all cuts of the contracted graph can be enumerated since there are only 2O(α)2^{O(\alpha)} such cuts. Combining these two allows one to conclude that the number of α\alpha-approximate cuts is nO(α)n^{O(\alpha)}. It also yields a randomized algorithm to enumerate all such cuts. Subsequently there have been other approaches that proved tighter bounds and also led to deterministic enumeration algorithms [21, 24, 6, 2].

Similar counting bounds are known for approximate shortest cycles in a graph. Consider a graph with mm edges and positive edge weights/lengths1^{1}. Teo and Koh [29] proved that an unweighted graph has at most m2m^{2} shortest cycles. Subramanian [28] independently showed that the number of α\alpha-approximate shortest cycles in a weighted graph with positive edge-weights is at most (2m)[2α](2m)^{[2\alpha]}, and that these cycles can be enumerated in mO(α)m^{O(\alpha)} poly(n,m)(n,m) time. Subramanian was explicitly motivated by Karger's result and by the connection between cycles in graphs and cuts in graphs via a matroidal viewpoint that we will explain shortly. Nevertheless, the proofs in [29] and [28] follow a very different approach from that of Karger, and are based on deterministic combinatorial arguments. Subramanian's short paper uses the notion of a robot exploring the graph in a breadth-first search fashion.

We now explain the connection between cuts and cycles in graphs from a matroidal point of view. We assume some familiarity with matroids (see Section 2 for formal definitions). Let M=(E,I)M = (E, \mathcal{I}) be a matroid. A circuit of MM is an inclusion-minimal dependent set and a central computational problem of interest in matroids is that of finding a smallest circuit. 2^2 Given an undirected multigraph G=(V,E)G = (V, E), the graphic matroid MG=(E,I)M_G = (E, \mathcal{I}) associated with GG is (E,I)(E, \mathcal{I}) where F∈IF \in \mathcal{I} iff FF is a forest in GG. The circuits of a graphic matroid are precisely the simple cycles of the underlying graph. Each matroid MM has a dual-matroid M∗M^* defined on the same ground set. The dual of the graphic matroid MGM_G is the cographic matroid MG∗M_G^*. The circuits of MG∗M_G^* are the minimal edge cuts (bonds) in GG. Thus, minimum circuit size in MGM_G is the girth of GG, and the minimum circuit size in MG∗M_G^* is the global min-cut of GG. In terms of matroid duality, deleting an edge in the graphic matroid MGM_G corresponds to contracting an edge in the co-graphic matroid MG∗M_G^*.

As we remarked earlier, Subramanian explicitly motivated his approximate-cycle counting bound via the preceding connection between MGM_G and MG∗M_G^*, and Karger's results on approximate mincuts. However, it appears that the natural adaptation of Karger's random contraction algorithm to find (approximate) shortest cycles in graphs had not been considered in the literature. The correspondence between deletion and contraction operations suggests a randomized algorithm for girth: iteratively pick an edge in proportion to its weight and delete it until arriving at a graph with a unique cycle. In recent work on parallel basis finding, Khanna, Putterman and Song [22] considered a related algorithm that deletes edges in a one-shot manner. This and prior structural reasons motivated us to consider the random deletion algorithm for counting approximate short cycles in graphs. The cyclomatic number of a graph is the minimum number of edges that must be removed to make it acyclic. We showed very recently [5] that for every fixed α≥1\alpha \geq 1, an α\alpha-approximate shortest cycle

1^{1}Zero length edges lead to exponential bounds for trivial reasons and hence we disallow them.

2^{2}Smallest circuit of a matroid is also known as the girth of the matroid, but we reserve the term girth for the shortest cycle of a graph in this work to avoid confusion.

survives while the cyclomatic number of the remaining graph decreases to O(α2)O(\alpha^2) with probability m−O(α)m^{-O(\alpha)}. Since a graph of cyclomatic number dd contains at most 2d−12^d - 1 cycles, this gives an algorithmic proof that the number of α\alpha-approximate cycles in a graph is 2O(α2)mO(α)2^{O(\alpha^2)}m^{O(\alpha)}. Note that the bound we obtain is slightly weaker than the one given by Subramanian. Nevertheless, this is a different perspective that led to our work in this paper on regular matroids that we describe next. To explain our results and how our cycle result generalizes, we need a natural generalization of the cyclomatic number in graphs to matroids. In a matroid (E,I)(E, \mathcal{I}) for every set R⊆ER \subseteq E, we define its nullity as νM(R):=∣R∣−rM(R)\nu_M(R) := |R| - r_M(R) where rM(R):=max⁡{∣I∣:I⊆R,I∈I}r_M(R) := \max\{|I| : I \subseteq R, I \in \mathcal{I}\} is the rank of RR. Equivalently, νM(R)\nu_M(R) is the minimum number of elements that need to be removed from RR to make it independent. In a graphic matroid, nullity coincides with the cyclomatic number of the corresponding graph.

Regular matroids are an important class of matroids that were instrumental in the development of matroid theory via the work of Tutte, who characterized them via excluded minors as well as established their connection to totally unimodular matrices [31] (see also [8]). Regular matroids are representable over every field, and in particular, they are a subclass of binary matroids and are minor-closed. Seymour gave a powerful algorithmic result on recognizing regular matroids via his fundamental decomposition theorem [27]. His theorem shows that every regular matroid can be constructed from graphic, cographic, and a fixed ten-element matroid R10R_{10} using 1-, 2-, and 3-sums. Such a decomposition can be computed in polynomial time [27, 30] and it can further be used to compute a smallest circuit of a regular matroid in polynomial time (given access to the matroid via its independence-oracle) [17]. In contrast, finding a smallest circuit of binary matroids is NP-Hard [32].

The preceding connections therefore suggest two broad questions:

  1. Can one derive a counting bound for near-minimum circuits in regular matroids comparable to the known bounds for cuts and cycles in graphs?

  2. Does the natural random deletion algorithm have comparably strong performance on regular matroids in terms of finding shortest circuits and approximately-short circuits?

The first question has received substantial attention. Let MM be a regular matroid on mm elements, and let gg be its minimum circuit size. Gurjar, Thierauf, and Vishnoi [14] first proved that MM has O(m5)O(m^5) circuits of size strictly less than 32g\frac{3}{2}g. In particular, this gives a polynomial bound for every 1≤α<321 \leq \alpha < \frac{3}{2}. Gurjar and Vishnoi [15] later proved that, for every α≥1\alpha \geq 1, the number of circuits of size at most αg\alpha g is bounded by mO(α2)m^{O(\alpha^2)}. This established polynomial growth for every fixed α\alpha, but left a quadratic dependence on α\alpha in the exponent of mm, compared with the linear dependence known for graphic and cographic matroids. A more recent motivation to examine these questions comes from parallel basis finding of regular matroids. Khanna, Putterman, and Song [22] pointed out that if one can prove a uniform bound of mO(α)m^{O(\alpha)} on the number of α\alpha-approximate minimum circuits then the machinery that they developed for graphic matroids would go through to yield a fast parallel algorithm to find a basis via independence-queries.

In this work, we address the preceding questions through the following one-shot random deletion algorithm. For a regular matroid M=(E,I)M = (E, \mathcal{I}) with mm elements, let gg be its minimum circuit size. The algorithm independently deletes each element with probability 1−m−40/g1 - m^{-40/g} and returns the remaining/residual set RR; when gg is large this probability is roughly 40ln⁡mg\frac{40 \ln m}{g}. The pseudocode is given in Algorithm 1.

We establish two properties of Algorithm 1. First, the remaining set RR is independent with high probability. Second, for every fixed circuit CC with ∣C∣≤αg|C| \leq \alpha g, the circuit CC survives in RR with probability at least m−O(α)m^{-O(\alpha)}, and conditioned on its survival, the nullity of the returned set RR is O(αlog⁡(α+2))O(\alpha \log(\alpha + 2)) with high probability. We may assume α≤m\alpha \leq m, since otherwise every circuit is an

Algorithm 1 Random-Delete(M=(E,I),g∈Z+M = (E, \mathcal{I}), g \in \mathbb{Z}_+)

  1. p←1−∣E∣−40/gp \leftarrow 1 - |E|^{-40/g}.

  2. For every e∈Ee \in E, delete it with probability pp.

  3. R←R \leftarrow the set of remaining elements.

  4. Return RR.

α\alpha-approximate minimum circuit. This tradeoff yields a new algorithmic proof that the number of α\alpha-approximate minimum circuits is at most mO(α)m^{O(\alpha)}, as well as a corresponding randomized enumeration algorithm, improving the previous mO(α2)m^{O(\alpha^2)} bound of Gurjar and Vishnoi [15]. An mO(α)m^{O(\alpha)} bound was recently conjectured by Khanna, Putterman, and Song [22] and hence our results resolve this conjecture in the affirmative.3^3