math.CONov 4, 2025

Arithmetic Circuits and Neural Networks for Regular Matroids

Authors: Christoph Hertrich, Stefan Kober, Georg Loho

Organizations: University of Technology Nuremberg, Germany · Universit´e Libre de Bruxelles, Belgium · Freie Universität Berlin, Germany · University of Twente, The Netherlands

Abstract

We prove that there exist uniform (+,×,/)(+,\times,/)-circuits of size O(n3)O(n^3) to compute the basis generating polynomial of regular matroids on nn elements. By tropicalization, this implies that there exist uniform (max⁡,+,−)(\max,+,-)-circuits and ReLU neural networks of the same size for weighted basis maximization of regular matroids. As a consequence in linear programming theory, we obtain a first example where taking the difference of two extended formulations can be more efficient than the best known individual extended formulation for the base polytope of regular matroids of size O(n6)O(n^6) by Aprile and Fiorini. Such differences have recently been introduced as virtual extended formulations. The proof of our main result relies on a fine-tuned version of Seymour's decomposition of regular matroids which allows us to identify and maintain graphic substructures to which we can apply a local version of the star-mesh transformation.

Figures & tables

Explore similar work

Jul 13, 2026

Tropical Circuits with Scalar Multiplication Gates

We study tropical circuits with scalar multiplication gates, that is, algebraic circuits whose gates implement max⁡\max, ++, or multiplication with a positive constant. For such circuits, we prove exponential size lower bounds for computing maximum weight directed spanning trees and maximum weight bipartite perfect matchings. As a corollary, we obtain an exponential size separation between monotone and non-monotone maxout neural networks, which generalize the popularly used ReLU neural networks. One conclusion from this is that neural network models with enforced convexity constraints, such as input-convex neural networks (ICNNs), sometimes need to be exponentially larger than their unrestricted counterparts in order to express the same functions.
Oct 11, 2026

Two Linear Programs are Better than One

The extension complexity xc⁡(P)\operatorname{xc}(P) of a polytope PP is the minimum number of facets of a polytope that projects onto it. Motivated by the complexity of neural networks, Hertrich and Loho introduced the virtual extension complexity vxc⁡(P)\operatorname{vxc}(P) of a polytope PP, which is the minimum of xc⁡(Q)+xc⁡(R)\operatorname{xc}(Q) + \operatorname{xc}(R) among all polytopes QQ and RR such that P+Q=RP+Q=R. We show the following results pertaining to virtual extension complexity. First, we resolve the core open problem on the topic by showing the virtual extension complexity can be exponentially smaller than extension complexity. Second, we show there are matroid base polytopes with exponential virtual extension complexity by adapting a semi-algebraic counting argument by Hrubeš that extends the counting arguments of Rothvoss. Finally, we show that the maximum virtual extension complexity of a polygon with nn vertices is Θ(n)Θ(\sqrt{n}). This resolves an analogue of a question on extension complexity of Fiorini, Rothvoss, and Tiwary in 2011 in the case of virtual extension complexity.
Apr 30, 2026

Matroid Algorithms Under Size-Sensitive Independence Oracles

The standard oracle model for matroid algorithms assumes that each independence query can be answered in constant time, regardless of the size of the queried set. While this abstraction has underpinned much of the theoretical progress in matroid optimization, it masks the true computational effort required by these algorithms. In particular, for natural and widely studied classes such as graphic matroids, even a single independence query can require work linear in the size of the set, making the constant-time assumption implausible. We address this gap by introducing a size-sensitive cost model where the cost of a query QQ scales with ∣Q∣|Q|. Nearly linear-time oracle implementations exist for broad families of matroids, and this refined abstraction therefore captures the true cost of query evaluation while allowing for a more faithful comparison between general matroids and their natural special cases. Within this framework we study three fundamental algorithmic tasks: finding a basis of a matroid, approximating its rank, and approximating its partition size. We establish tight results, proving nearly matching upper and lower bounds that show the optimal query cost is (up to logarithmic factors) quadratic in the size of the matroid. On the algorithmic side, our upper bounds are realized by explicit procedures that construct the desired solution. On the complexity side, our lower bounds are unconditional and already hold even for weaker distinguishing formulations of the problems. Finally, for matroids with maximum circuit size at most cc, we show that the quadratic barrier can be broken, providing an algorithm that calculates the maximum-weight basis with expected query cost O(n2−1/clog⁡n)\mathcal{O}(n^{2-1/c} \log n).