[Paper Review] Twin-Width V: Linear Minors, Modular Counting, and Matrix Multiplication
This paper extends the theory of twin-width to matrices over finite fields, introducing parity and linear minors as structural tools. It establishes that bounded twin-width classes are characterized by exclusion of all matrices in their linear-minor closure, and develops FPT algorithms for first-order logic with modular counting. The key contribution is an O_{d,q}(n^2 log n) matrix multiplication algorithm for n×n matrices of twin-width d over F_q, with a sublinear 4^{d+o(d)}n time algorithm using twin-decompositions, achieving near-constant query time with slight overhead.
We continue developing the theory around the twin-width of totally ordered binary structures, initiated in the previous paper of the series. We first introduce the notion of parity and linear minors of a matrix, which consists of iteratively replacing consecutive rows or consecutive columns with a linear combination of them. We show that a matrix class has bounded twin-width if and only if its linear-minor closure does not contain all matrices. We observe that the fixed-parameter tractable algorithm for first-order model checking on structures given with an $O(1)$-sequence (certificate of bounded twin-width) and the fact that first-order transductions of bounded twin-width classes have bounded twin-width, both established in Twin-width I, extend to first-order logic with modular counting quantifiers. We make explicit a win-win argument obtained as a by-product of Twin-width IV, and somewhat similar to bidimensionality, that we call rank-bidimensionality. Armed with the above-mentioned extension to modular counting, we show that the twin-width of the product of two conformal matrices $A, B$ over a finite field is bounded by a function of the twin-width of $A$, of $B$, and of the size of the field. Furthermore, if $A$ and $B$ are $n imes n$ matrices of twin-width $d$ over $\mathbb F_q$, we show that $AB$ can be computed in time $O_{d,q}(n^2 \log n)$. We finally present an ad hoc algorithm to efficiently multiply two matrices of bounded twin-width, with a single-exponential dependence in the twin-width bound: If the inputs are given in a compact tree-like form, called twin-decomposition (of width $d$), then two $n imes n$ matrices $A, B$ over $\mathbb F_2$, a twin-decomposition of $AB$ with width $2^{d+o(d)}$ can be computed in time $4^{d+o(d)}n$ (resp. $4^{d+o(d)}n^{1+\varepsilon}$), and entries queried in doubly-logarithmic (resp. constant) time.
Motivation & Objective
- To extend twin-width theory to matrices with entries in finite fields, introducing parity and linear minors as structural invariants.
- To characterize bounded twin-width matrix classes via exclusion of all matrices in their linear-minor closure.
- To extend FPT model checking and transduction closure to first-order logic with modular counting quantifiers.
- To develop efficient matrix multiplication algorithms for bounded twin-width matrices, achieving sublinear time in non-zero entries.
- To present a pipelined algorithm using twin-decompositions that outputs a twin-decomposition of the product with 2d+o(d) width.
Proposed method
- Introduce the notion of linear minors via iterated linear combinations of consecutive rows or columns.
- Define parity minors as a special case of linear minors over F_2, enabling modular counting in the logic.
- Establish a rank-bidimensionality framework as a win-win argument, generalizing bidimensionality and Marcus-Tardos theorem.
- Use twin-decompositions (tree-like compact representations of twin-width) to enable efficient matrix operations.
- Design a dynamic algorithm that maintains edge labels and transversal edges in a tree structure to compute the square of a graph with labeled edges.
- Generalize the algorithm to arbitrary finite fields F_q by tracking degree sums modulo q and using field operations in F_q.
Experimental results
Research questions
- RQ1When does a matrix class have bounded twin-width, and how can this be characterized via linear minors?
- RQ2Can FPT algorithms for first-order logic be extended to include modular counting quantifiers in bounded twin-width structures?
- RQ3What is the computational complexity of deciding whether a small matrix is a parity or linear minor of a larger matrix?
- RQ4How can matrix multiplication be accelerated when inputs have bounded twin-width and are given in compact twin-decomposition form?
- RQ5What is the tightest possible bound on the twin-width of the product of two matrices of bounded twin-width over a finite field?
Key findings
- A matrix class has bounded twin-width if and only if its linear-minor closure does not contain all matrices over the alphabet.
- FPT algorithms for first-order model checking and transductions extend to first-order logic with modular counting quantifiers.
- The rank-bidimensionality framework yields FPT algorithms for deciding if a small matrix is a parity or linear minor of a larger matrix.
- The product of two n×n matrices over F_q of twin-width d has twin-width bounded by a function of d and q, and can be computed in O_{d,q}(n^2 log n) time.
- Using twin-decompositions, matrix multiplication over F_2 can be performed in 4^{d+o(d)}n time, with query time O(1/ε) at the cost of 4^{d+o(d)}n^{1+ε} time.
- A twin-decomposition of the product AB with width 2d+o(d) can be computed in 4^{d+o(d)}n time, enabling efficient entry queries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.