Spiky Rank and Its Applications to Rigidity and Circuits
Abstract
We introduce spiky rank, a new matrix parameter that enhances blocky rank by combining the combinatorial structure of the latter with linear-algebraic flexibility. A spiky matrix is block-structured with diagonal blocks that are arbitrary rank-one matrices, and the spiky rank of a matrix is the minimum number of such matrices required to express it as a sum. This measure extends blocky rank to real matrices and is more robust for problems with both combinatorial and algebraic character.
Our conceptual contribution is as follows: we propose spiky rank as a well-behaved candidate matrix complexity measure and demonstrate its potential through applications. We show that large spiky rank implies high matrix rigidity, and that spiky rank lower bounds yield lower bounds for depth-2 ReLU circuits, the basic building blocks of neural networks. On the technical side, we establish tight bounds for random matrices and develop a framework for explicit lower bounds, applying it to Hamming distance matrices and spectral expanders. Finally, we relate spiky rank to other matrix parameters, including blocky rank, sparsity, and the -norm.
Keywords and phrases:
blocky rank, matrix rigidity, ReLU circuits, spiky rankCategory:
Track A: Algorithms, Complexity and GamesFunding:
Lianna Hambardzumyan: This work is funded by the European Research Council (ERC) under grant agreement no. 101125652 (ALBA). Most of the work was done while the author was a postdoctoral researcher at the University of Victoria, Canada, funded by NSERC and at Hebrew University of Jerusalem, Israel, funded by ISF grants 921/22 and 2635/19.Copyright and License:
and Adi Shraibman; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Circuit complexityAcknowledgements:
We thank Nathan Harms for helpful feedback that improved the presentation of the paper. We are grateful to Dmitry Sokolov for bringing ultra-lossless expanders to our attention, and to Amir Yehudayoff for pointing us to Warren’s theorem for the proof of Theorem 24. Finally, we thank Nati Linial, Shachar Lovett, Ryan Williams, and Amir Yehudayoff for many insightful discussions on spiky rank.Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Studying the structural parameters of matrices has proven to be a powerful way to capture the complexity of various computational models and to establish lower bounds. A recurring theme in complexity theory is identifying “well-behaved” matrix parameters: parameters strong enough to capture meaningful lower bounds, structured enough to admit combinatorial or algebraic analysis, and flexible enough to connect to multiple computational models. Rank, rigidity, -norm, and blocky rank are all examples of such measures.
In this work we introduce and study spiky rank, a new matrix parameter that we argue meets the criteria for a well-behaved complexity measure. Spiky rank is a generalization of the blocky rank defined for communication complexity applications by Hambardzumyan, Hatami and Hatami [18] (Definitions 1 and 2) which later found a broad range of applications in complexity theory and beyond [7, 28, 36, 16, 13, 5].
Spiky rank adds a linear algebraic flavor to the combinatorial nature of blocky rank. This allows us to connect spiky rank to complexity measures that are both algebraic and combinatorial in their nature, such as matrix rigidity and circuits with “algebraic” gates.
Both blocky rank and spiky rank fit into a common paradigm for defining complexity measures: we begin by specifying a class of simple objects that we define to have complexity 1, and then define the complexity of a general object as the minimum number of such simple objects needed to construct it. To define blocky and spiky rank, we define our matrices of complexity 1 as follows:
Definition 1 (Blocky and Spiky Matrices).
A blocky matrix is a matrix that can be obtained from the identity matrix by permuting rows or columns, duplicating rows or columns, and adding all-zero rows or columns. Equivalently, a blocky matrix is a matrix whose rows and columns can be permuted so that it consists of diagonal blocks that are all-one submatrices (of possibly different sizes), with all off-diagonal blocks equal to zero. See Figure 1(a).
A spiky matrix is a blocky matrix in which each diagonal block is an arbitrary rank-one matrix (rather than an all-one matrix). Equivalently, a spiky matrix can be expressed as the entrywise product of a blocky matrix and a rank-one matrix. See Figure 1(c).
We then define the complexity of general matrices as follows:
Definition 2 (Blocky and Spiky Rank).
A blocky matrix is said to have blocky rank one. The blocky rank of a matrix , denoted , is the minimum number such that can be written as a linear combination of blocky rank one matrices.
A spiky matrix is said to have spiky rank one. The spiky rank of a matrix , denoted , is the minimum number such that can be written as a sum of spiky rank one matrices.
1.1 Motivations for Blocky and Spiky Rank
Blocky rank.
The study of blocky matrices and related decompositions has a surprisingly long and diverse history. Although the terminology “blocky matrix” is recent, the same objects have been rediscovered many times under different names across theoretical computer science and mathematics. For instance, fat matchings [22, 29], equivalence graphs [12, 2], adjacency matrices of -free graphs [9, 5], and equality matrices [36]. Various versions of blocky decompositions have been studied; blocky rank, blocky covering (union of blocky matrices), blocky partitioning (sum of blocky matrices) and more. Each of these variants has turned out to capture useful phenomena in different research areas:
Perhaps the most striking and far-reaching connection is due to Williams [36], who related blocky rank to the renowned Orthogonal Vectors Conjecture (OVC). In particular, Williams showed that to refute OVC – and consequently the Strong Exponential Time Hypothesis (SETH) – it would suffice to prove that the Disjointness matrix satisfies . On the other hand, if one could show that , this would immediately yield exponential lower bounds for depth-2 exact threshold circuits by [7, 36], resolving a notorious open problem in circuit complexity. This duality highlights the importance of studying blocky rank: either upper bounds or lower bounds on would have transformative implications in algorithms, fine-grained complexity, and circuit lower bounds.
Spiky rank.
As evident from this wide range of applications, blocky rank is a versatile measure. But it is fundamentally a combinatorial measure and, in particular, not a robust one. Small modifications to the matrix can cause its blocky rank to change drastically.
For example, in Figure 2, the identity matrix has , but if we place distinct weights on the diagonal, the blocky rank jumps to . Structurally these matrices are nearly the same – they are both just diagonal matrices – but blocky rank treats them in a completely different way. This lack of robustness makes blocky rank poorly suited for applications involving real-valued matrices or settings where algebraic properties matter. Spiky rank addresses this shortcoming by capturing the intuition that a diagonal matrix is expected to be simple regardless of its entries, in particular, .
This extra flexibility makes spiky rank well-suited for problems that have both combinatorial and algebraic character. In this work, we demonstrate two such applications:
-
Spiky rank lower bounds matrix rigidity, a central problem in circuit and communication complexity (Section 1.2.1),
-
Spiky rank lower bounds the size of depth-2 ReLU circuits, which sit at the intersection of complexity theory and modern machine learning (Section 1.2.2).
Finally, note that spiky rank strictly strengthens blocky rank: every blocky decomposition is also spiky, so for all . Thus, lower bounds for spiky rank have the same implications as for blocky rank. On the other hand, upper bounds can be even more significant. As with blocky rank, upper bounds for spiky rank of the Disjointness matrix have far-reaching consequences: if the Disjointness matrix satisfies , then Orthogonal Vector Conjecture (and thus SETH) would be false [37].
1.2 Results
Our main contribution is conceptual: we introduce spiky rank as a new matrix complexity measure, demonstrate its applicability to problems in complexity theory, and establish its basic properties. On the technical side, we prove lower bounds for both random and explicit matrix families and relate spiky rank to other classical parameters. Our main results are:
-
1.
We demonstrate the natural applicability of spiky rank to two problems in complexity theory: matrix rigidity (Section 1.2.1) and ReLU circuits (Section 1.2.2).
-
2.
We show that most Boolean matrices have spiky rank (matching blocky rank), while most real matrices have spiky rank (Section 1.2.3).
-
3.
We give the following bounds on the spiky rank of specific matrices of interest:
-
for the 1-Hamming Distance matrix (Section 6.2), simultaneously improving the previous bound for blocky rank as well [18].
-
for adjacency matrices of certain expander graphs (Section 6.3).
-
for the Inner Product and Disjointness matrix (Section 6.4) (likely far from optimal but it represents a first step toward stronger bounds).
-
-
4.
For Boolean matrices, we establish a dimension-free relation between blocky and spiky rank, implying in particular that constant spiky rank yields constant blocky rank (Section 1.2.5). In the full version, we further bound spiky rank in terms of matrix sparsity, separate it from the -norm, and highlight gaps between the approximate and sign variants of blocky and spiky rank.
1.2.1 Application to Matrix Rigidity
Matrix rigidity, introduced by Valiant [32] and Grigoriev [17], asks how far a matrix is from having low rank: the rank- rigidity is the minimum number of entry modifications required to reduce the rank of to .
Highly rigid matrices are central to long-standing open problems in complexity theory. Valiant showed that if satisfies for some , then any log-depth linear circuit computing the linear transformation must have superlinear size. Additionally, Razborov [30] linked rigidity to communication complexity, showing that matrices in – the communication complexity analogue of the polynomial hierarchy – are upper-bounded in their rigidity. In particular, if a Boolean matrix , then its rigidity over must satisfy
Hence, constructing sufficiently rigid matrices would yield lower bounds for and ultimately separate it from – both of which remain major open problems in communication complexity.
Despite extensive study, progress has been limited on finding explicit rigid matrices: the best explicit constructions fall well short of the parameters needed for Valiant’s or Razborov’s applications.
A direct link between rigidity and spiky rank is rather straightforward to show: matrices with large spiky rank are also highly rigid.
Theorem 1.
Let be a matrix and . Then,
This has two key consequences. First, for Valiant’s target rank , an explicit matrix with would achieve the strongest possible rigidity bound . Note that, since Boolean matrices have spiky rank at most , the only candidate matrices with spiky rank are the real matrices.
Second, for Razborov’s target rank , we would need to find an explicit matrix with spiky rank at least (see Corollary 33)
This shows that spiky rank is not only a structural parameter, but also a potential tool for constructing explicit rigid matrices. With this goal in mind, we highlight the following open challenges to guide future research in this direction.
Major Open Problem 2.
Find an explicit real matrix with .
Major Open Problem 3.
Find an explicit Boolean matrix with
Although most Boolean matrices have spiky rank at least and most real matrices have (see Section 1.2.3), constructing explicit examples that meet these bounds remains elusive. We expect that solving either problem above will be quite challenging. At present, the best lower bounds we can prove for explicit matrices are of order (see Section 1.2.4).
Finally, we remark that Theorem 1 allows known non-rigidity results to translate into upper bounds on spiky rank. For instance, Alman and Williams [1] proved that for sufficiently small , the Inner Product matrix of size satisfies
where By Theorem 1, this yields an upper bound for some constant , improving on the trivial bound of (see Section 1.2.3).
1.2.2 Application to Circuit Complexity
Connections between blocky rank and circuit complexity were first observed by Jukna [22], and later by Avraham and Yehudayoff [7], who showed that the blocky rank of a matrix lower bounds the size of any circuit computing111In this paper, a circuit computes a matrix if it takes as input a row label and a column label and outputs the value of the entry . it up to a certain loss factor (implicit in [20]). Here, denotes linear combinations of linear threshold functions (LTFs), where an LTF is a Boolean function of the form for some and .
Naturally this connection extends to spiky rank and to circuits, where ReLU functions generalize threshold functions by outputting . The following proposition admits a simple proof, yet it is conceptually important.
Proposition 4.
For , let be the size of a circuit that computes . Then
Observe that circuits which compute Boolean functions can be simulated by circuits with only constant factor blowup in size. This follows from the fact that gates for Boolean functions can have and without loss of generality (see e.g. [26]) and the relation
which is true when and .
Linear threshold and ReLU circuits are central models in both complexity theory and machine learning. circuits capture linear combinations of halfspaces and have been studied since the early days of threshold logic. On the other hand, ReLU gates have become the dominant activation function in modern neural networks, thus circuits are the basic building blocks of modern neural networks. However, our understanding of their expressive power from a Boolean complexity perspective remains limited. Understanding the power and limitations of these models is therefore both an important task in circuit complexity and in machine learning.
Despite decades of work, the best known lower bounds for these circuits are very weak: even for , essentially no superlinear lower bounds are known for explicit functions [31]. Williams [35] gave the strongest results to date, proving that for every there exists a function in NP that requires circuit size in both the and models. For explicit functions, the strongest known result is due to Kane and Williams [23], who showed that even the stronger class requires size to compute the -variate Andreev function. Mukherjee and Basu [27] extend this to prove a lower bound of for circuits computing the Andreev function.
Our theorem shows that spiky rank serves as a lower bound measure for depth-two neural networks with ReLU activation, just as blocky rank does for circuits. In particular, proving spiky rank lower bounds of for explicit matrices would immediately yield new circuit lower bounds. At present, our lower bounds are of order ; the first milestone toward this goal would be to establish any super-logarithmic spiky rank lower bounds for explicit matrices.
Open Problem 5.
Find an explicit real matrix with .
1.2.3 Bounds for Random Matrices
How large can the spiky rank of a matrix be? Trivially, both the spiky rank and blocky rank of an Boolean matrix are at most . For blocky rank, this bound can be improved to [29, 7], and therefore the same upper bound applies to spiky rank as well. A natural question is whether spiky rank admits a substantially stronger upper bound. Avraham and Yehudayoff [7] showed that most matrices are maximally hard for blocky rank. We prove that the same phenomenon holds for spiky rank.
Theorem 6 (Informal).
A random Boolean matrix of size has spiky rank of order with high probability.
For real matrices, the situation is more extreme: the trivial upper bound of turns out to be essentially tight.
Theorem 7 (Informal).
A random real matrix of size has spiky rank at least with high probability.
This mirrors what is known for many other natural measures in complexity theory, such as circuit complexity and communication complexity, where random functions or matrices almost always exhibit the largest possible complexity.
1.2.4 Bounds for Specific Matrices
The lower bounds discussed above, while strong, are for random (non-explicit) matrices. For applications in complexity theory, however, it is essential to establish lower bounds for explicit families of matrices.
For blocky rank, the best known lower bounds for explicit families of matrices are of order (Greater-Than [7], Inner-Product, Disjointness [18]).
For spiky rank, we develop a general lower bound framework (Theorem 37) and apply it to two examples: adjacency matrices of the Hamming cube and expander graphs. The common properties of these graphs that we use are:
- Thinness:
-
every small subgraph has smaller edge-to-node ratio compared to the entire graph;
- Induced matchings:
-
there are large induced matchings in all large subgraphs.
This framework can only yield lower bounds up to , the bottleneck is in the use of a variation of a lemma from [6, Lemma 12].
Hamming distance. Consider the matrix of size with , whose rows and columns are indexed by all -bit strings, and where
Applying our framework to this matrix yields the following bound:
Theorem 8.
This bound is not far from the optimal; upper bound on the spiky rank is , where the last upper bound follows from the following blocky matrix decomposition: Let be the matrix such that iff and all the other entries of and coincide. Then is a permutation matrix, so and .
This lower bound is quite remarkable considering that matrix is very simple with respect to many other matrix complexity measures, as we discuss in Section 1.2.5.
Open Problem 9.
Is ?
Expander graphs. As a second application, let be an -spectral expander: a -regular graph with the second largest eigenvalue of the adjacency matrix not exceeding , denote its adjacency matrix with . We prove:
Theorem 10.
This implies (see Corollary 40) an explicit lower bound for the spiky rank of adjacency matrices of -spectral expanders.
Inner Product. The Boolean inner product matrix is defined by for . For we obtain bounds that are weak but improve over the trivial ones:
for some constant . The lower bound is established in Section 6.4, while the upper bound follows from non-rigidity results (Section 1.2.1).
Disjointness. The Disjointness matrix is the Boolean matrix whose rows and columns are indexed by , with iff and have no common ’s. For the Disjointness matrix we observe the same lower bound as for (Section 6.4), so we have
where the upper bound follows from the upper bound by Williams [36].
We believe the true lower bounds for and are much closer to the upper bounds, and in particular ask:
Open Problem 11.
Is it true that or ?
1.2.5 Relations to other matrix parameters
When introducing a new matrix parameter, a natural and useful question to understand is how it compares to existing ones: is it stronger, weaker, or qualitatively different? We defer the proofs of these relations to the full version.
Blocky rank
Since spiky rank can be seen as an algebraic strengthening of blocky rank, the first step is to ask whether this additional flexibility actually increases its power. Is blocky rank equivalent to spiky rank?
Question 12.
Does every Boolean matrix satisfy ?
We answer this question qualitatively: there is a dimension-free relation between spiky and blocky rank:
Theorem 13.
For any Boolean matrix ,
This situation is reminiscent of tantalizing log-rank conjecture. There, too, a combinatorial parameter – the partition number – is vastly strengthened by adding algebraic property via matrix rank. Similar to Theorem 13, an exponential upper bound is known, and the challenge is whether this relation can be improved to a quasi-polynomial one.
-norm
Since our main goal is to establish lower bounds on spiky rank, it is natural to compare it with matrix parameters that are more amenable to analysis – particularly matrix norms. A well-studied example, with many applications in complexity theory, is the -norm (see [8] and references within). For a matrix , it is defined as
where denotes the maximum -norm of the rows of , and denotes the maximum -norm of the columns of .
Strong lower bounds are known for -norm for functions of interest; for instance, , where (see e.g. [25]). This motivates comparing with rank-based parameters such as blocky rank and spiky rank. For blocky rank, it is known that for every Boolean matrix , [18, Proposition 3.1]. For spiky rank, while an analogous inequality currently seems out of reach, we observe a simple non-explicit separation:
Theorem 14.
There exists a Boolean matrix such that .
Sparsity
One of the most basic and easily computable parameters of a matrix is its sparsity, the number of non-zero entries. We show that sparse matrices necessarily have low spiky rank, a fact that becomes useful when relating spiky rank to matrix rigidity (Lemma 29). In particular, for any real matrix with sparsity , we prove
For Boolean matrices, this bound can be sharpened, and even expressed directly in terms of blocky rank. Specifically, for any Boolean matrix with sparsity , it holds
Sign and approximate measures
Some computational models are naturally characterized not by exact matrix parameters but by their approximate or sign variants. For instance, randomized communication complexity is lower-bounded by approximate rank, while unbounded-error communication complexity is captured by sign-rank. Formally, for a matrix measure , we define its approximate version by
Similarly, the sign version of is .
Approximate measures tend to be stronger than their exact counterparts, and often defy intuition developed for them. For example, the approximate version of the log-rank conjecture is false [10]. In case of spiky rank, it is sharply separated from all related approximate and sign measures of a matrix: (Theorem 8), while [15], [11], .
This highlights an interesting contrast between the spiky and blocky rank. For blocky rank, there is a dimension-free relation with its sign version: we show that . By contrast, for spiky rank we have but , ruling out any dimension-free relation between and .
Thus, proving lower bounds for sign spiky rank is an even harder challenge. At the same time, this opens a promising direction to seek explicit versions of the known non-explicit bounds below the logarithmic barrier of our framework. For example, we know that the adjacency matrix of a random degree- graph has sign spiky rank . A natural candidate for derandomization is a spectral expander, leading to the following question:
Question 15.
What is for a spectral expander ?
Organization.
Section 2 introduces preliminaries. In Section 3, we prove the existence of Boolean and real matrices with high spiky rank. The applications to matrix rigidity and circuit complexity are presented in Section 4 and Section 5, respectively. Section 6 establishes spiky rank bounds for specific explicit matrices. Additional material may be found in the full version.
2 Preliminaries
Our convention in this paper is to use capital letters for matrix dimensions, e.g. . We use the notation for the entrywise product. The notation represents the set of integers .
For a field , we denote for the additive identity and for the multiplicative identity. Addition, multiplication, and the entrywise product of matrices over are denoted , , and respectively.
For a matrix its sparsity is defined as the number of its non- elements.
We write for for the matrix in , where iff .
Blocky and spiky measures.
As some of our results generalize to arbitrary fields, we rewrite Definitions 1 and 2 here with respect to an arbitrary field .
Definition 16.
A matrix is blocky if there is an integer and two collections of disjoint sets and such that if and otherwise.
A matrix is spiky if there exists a blocky matrix and a rank-one matrix (where rank is taken over ) such that .
Definition 17.
The blocky rank of a matrix , denoted , is the minimum such that where each and each is blocky.
The spiky rank of a matrix , denoted , is the minimum such that where each is spiky.
When the underlying field is , we write simply and .
Here are some easy facts about spiky rank:
Fact 18 (Subadditivity).
For any field and matrices , .
Fact 19 (Upper bounds).
For any field and matrix , (where is the rank over ) and .
Sign blocky rank and sign spiky rank.
We study the sign versions blocky rank and spiky rank over the reals. In the following definition, we assume that the matrices have no 0-entries. For a matrix , the value is the function applied element-wise:
Definition 20.
Let be a matrix in .
-
The sign blocky rank of , denoted , is defined as
-
The sign spiky rank of , denoted , is defined as
Fact 21 (Upper bounds for sign measures.).
For any matrix , and .
3 Non-explicit lower bounds for spiky rank
3.1 Lower bound for random Boolean matrices
We first count the number of Boolean matrices that have spiky rank for a fixed number . It is sufficient to count the number of -matrices of with spiky rank . Indeed, if , then its signed version defined as with being the all-ones matrix, has .
In fact, we will actually count the number of -matrices with sign spiky rank (Definition 20). As this measure is upper-bounded by spiky rank, this gives us an estimate for the number of matrices with spiky rank as well.
The idea is to use Warren’s theorem [34] to count the number of possible sign patterns. The same idea and argument were used to count the number of matrices with sign rank in [4]. Before stating the theorem, let us set it up first.
Let be real polynomials in variables each. For , such that no polynomial among vanishes at , its sign pattern is the vector
Theorem 22 ([34]).
Let be real polynomials, each in variables and of degree at most . If , then the number of different sign pattern for ranging over all is at most .
Lemma 23.
The number of sign matrices with sign spiky rank is at most .
Proof.
Let be a sign matrix with sign spiky rank . Let be the sign representation of : . Let us represent each where is a blocky matrix and is a rank- matrix. There are at most collections , so let us fix one and count the number of potential matrices that appear as we change .
With fixed each entry of can be written as a degree-2 polynomial in . Let for each , for some vectors . Then for we have . Then by Theorem 22 we get that the number of different sign matrices of form with fixed is at most , so in total there are at most matrices of sign spiky rank .
Combining the lemma with the observation that , we get that a uniformly random Boolean matrix has high spiky rank with high probability. More precisely,
Theorem 24.
If is a uniformly random Boolean matrix, then
Proof.
The number of matrices of sign spiky rank less than is at most by Lemma 23 and the total number of sign matrices is .
3.2 Lower bound for real matrices
The spiky rank of any real matrix is trivially bounded above by , since the real rank of a matrix is at most , and every rank-one matrix is also a spiky matrix. For Boolean matrices, even blocky rank can be bounded above by . However, for general real matrices, we show that the trivial upper bound is essentially tight: there exist matrices whose spiky rank is . The key point in the proof as in Lemma 23 is that all spiky matrices with a fixed blocky pattern can be seen as evaluations of a polynomial.
We will need the following standard probabilistic notions: a distribution over is absolutely continuous if there exists an integrable density function such that for every Lebesgue-measurable set we have where is the Lebesgue measure. Examples of absolutely continuous distributions include the uniform distribution over and the Gaussian distribution.
Theorem 25.
Let be any absolutely continuous probability distribution over . Then
In particular this holds for .
Proof.
It suffices to show that the Lebesgue measure of the set of all matrices with spiky rank at most is zero. This immediately implies the existence of a matrix with spiky rank at least .
Let be a matrix with . Then , where each is a spiky matrix. Each spiky matrix can be viewed as an entrywise product of a blocky matrix and a rank-1 matrix for some vectors . Fix a collection of blocky matrices , and define the corresponding set of spiky rank- matrices with the blocky pattern :
where is the Hadamard (entrywise) product. Then, the set of all matrices in of spiky rank at most is equal to the union over all such choices of : Since the number of blocky matrices is finite (trivially it does not exceed ), to show that the union set has measure zero it is sufficient to show that each set has measure zero whenever .
To show that has Lebesgue measure zero, define a smooth function as follows: for and , let
The image of is exactly .
Fact 26.
Suppose are polynomials and is a set with Lebesgue measure zero. Then also has Lebesgue measure zero.
Proof.
Since polynomials are -differentiable (in fact, infinitely differentiable) we apply the more general standard result (see e.g. [14, Proposition 1.3]) that states that any -differentiable transformation maps a measure-zero set to a measure-zero set.
Since has measure zero when and , by Fact 26 has measure zero for all , and so does their finite union.
4 Connection to matrix rigidity
Definition 27 (Rigidity).
For a matrix over a field , the rank- rigidity is the minimum number of entries that must be modified to reduce the rank of to . Formally,
We show that matrices with large spiky rank must also be highly rigid. Our main result is the following generalization of Theorem 1 to arbitrary fields.
Theorem 28.
Let be a matrix over a field and . Then,
The key ingredient is that sparse matrices have small spiky rank.
Lemma 29.
Let be a matrix over an arbitrary field with at most non-zero entries. Then,
We defer the proof to the full version. This immediately yields the following relationship between spiky rank and matrix rigidity.
Proof of Theorem 28.
Assume for some . Then can be written as , where has and has at most non-zero entries. By the subadditivity of spiky rank over , we have
where the last inequality follows from Lemma 29 and the trivial observation that for all . Rearranging gives , which completes the proof.
Remark 30.
The condition in Theorem 28 limits its applicability for proving intermediate rigidity bounds. For instance, for Valiant’s target rank , the theorem applies only to matrices already known to have spiky rank .
Remark 31.
Lemma 29, thus also Theorem 28, is tight for real matrices: a random real matrix has spiky rank by Theorem 25, and thus sparsity and rigidity , the maximum possible. For Boolean matrices, we can slightly improve the sparsity and spiky rank tradeoff (see the full version).
To discuss the implications of Theorem 28 for communication complexity, we use the following result of Razborov [30] and Wunderlich [38].
As an immediate consequence we obtain:
Corollary 33.
Suppose a Boolean matrix satisfies
where is the finite field. Then .
Proof.
5 Connection to circuit complexity
Definition 34.
A gate (rectified linear unit) is a function such that there exist a vector and a scalar such that for all
Intuitively, a ReLU function is a weighted linear threshold function. For our purposes it will be convenient to view a ReLU gate as a matrix: a gate is a matrix such that there exist vectors and a scalar for which
We now show that circuit complexity – the number of gates – of any function is upper bounded by its spiky rank up to an factor. As a first step, we bound the spiky rank of a single ReLU gate.
Claim 35.
Let be a gate. Then
Proof.
Let and be such that Denote the underlying function . Observe that is a sum of three rank- matrices , and (each depending only on , or being constant), so .
Define as the threshold function corresponding to as follows:
Avraham and Yehudayoff [7] show that any threshold function on can be written as a disjoint union of at most blocky matrices:
where are disjoint blocky matrices, i.e., their supports are disjoint rectangles in the matrix. We now define weighted matrices corresponding to ’s by placing the original values of on the support of each :
Now since ’s are disjoint, we have The only problem now is that might not be a spiky matrix as it might have blocks of rank greater than 1. However, the blocks of are submatrices of , so each block of has rank at most . If there is a block of rank greater than , then we can decompose into at most three matrices that have rank- on that block. If multiple blocks in the same have rank greater than 1, then we can still partition into at most 3 matrices that have rank-1 on all blocks, because the blocks are on disjoint rows and columns. This shows that each can be decomposed into at most three spiky matrices. Hence, .
Proposition 36.
For , let be the size of a circuit that computes . Then
Proof.
For the lower bound, let , where are ReLU functions. Then,
6 Explicit lower bounds for spiky rank
6.1 Lower bound framework
In this section we give a framework for proving spiky ranks lower bounds that applies to thin matrices such as and adjacency matrices of expander graphs.
Theorem 37.
Let , be positive integers and . If
-
(P1)
For every and with and we have .
-
(P2)
For every (entrywise) such that , there exist sets and such that and is a permutation matrix.
then
We need the following lemma for the proof. The proof of it is identical to the proof of [7, Lemma 12], but we include it here for completeness.
Lemma 38.
Let be identity matrix of size . If there is a blocky (or spiky) matrix , such that (i.e. there is no entry where both and are nonzero). Then there exists , s.t. and .
Proof.
Let blocks of be . Define two random subsets of as follows. Let be i.i.d. uniformly distributed on .
Let be the complement of , and be the complement of . Let . Note that is zero matrix. For each , the probability that is , because . Thus there is a choice for so that . For such and , we define .
Proof of Theorem 37.
Let . We call a block small, if the sum of its dimensions is at most , and big otherwise. Assume the contrary and let and .
We represent where is comprised of the small blocks of the matrix and of the big ones (i.e. the sets of non-zero columns of and are disjoint, same for the non-zero rows).
By 1, each covers (blocky matrix covers matrix entry, if this entry is non-zero in this matrix) at most -entries of , because the sum of block sizes in a spiky matrix does not exceed . This implies that all small matrices cover at most ones.
By 2 we get a permutation submatrix and applying Lemma 38 to it times, we obtain a permutation submatrix of with , s.t. for each the intersection of and is empty. Thus, we obtain
| (1) |
On the other hand, each contains at most blocks, that means
| (2) |
6.2 Hamming-Distance-1
is the function which determines whether the Hamming distance between the two input strings is 1. Its matrix is the adjacency matrix of the -dimensional Hamming cube.
See 8 We will make use of the following lemma.
Lemma 39 (Lemma 3.10 in [24]).
If is a subgraph of a Hamming cube, then
Proof of Theorem 8.
We use Theorem 37 with , , , , , . We now prove two conditions of the theorem. 1 directly from Lemma 39 applied to .
We proceed to prove 2. The -entries of are partitioned into the following subsets:
Thus, each -entry in belongs to exactly one of these subsets, and each subset has size . The subsets have the following property: if and are distinct elements of , then and , because we have for some . Thus, we have at least half of the -entries present in , which means one of the groups has at least elements in the intersection with . Without loss of generality, we assume that it is the subset . Then we set
such that covers exactly -entries of , which are present in , and they form a permutation submatrix. So, the desired bound is immediately implied by the theorem.
6.3 Expanders
For a graph , we denote by its adjacency matrix, i.e.,
We recall that an -spectral expander is a -regular graph on vertices such that the second largest eigenvalue of its adjacency matrix is at most in absolute value (see, for example, [21]).
Theorem 10. [Restated, see original statement.]
Proof.
We use Theorem 37 with , , , , . We check the theorem conditions. 1 holds by the expander mixing lemma
Let us prove 2. We pick edges greedily. At each step, when edge is picked, we throw away all vertices that are connected either to or . At each step, at most vertices are used, so there will be at least steps and we get at least permutation submatrix.
Applying the theorem, we get the desired bound. As an implication, we get an lower bound for -expanders:
Corollary 40.
There exists an explicit graph with nodes and degree such that
Proof.
It is shown in [3, Section 2.3] that for every prime with there exist two primes such that for every there exists a degree Ramanujan graph with nodes, i.e. is a -spectral expander. Then the number of nodes in is , so taking we get that , so . Finally, we apply Theorem 10 to get the desired result.
We get a stronger corollary for ultra-lossless vertex expanders. These are known to exist, but there are currently no explicit constructions.
Theorem 41.
Let be a -regular graph with vertices and vertex expansion for at most vertex subsets, where (i.e. for any , it has at least neighbors). Let be its adjacency matrix. Then
Proof.
The proof is similar to the proof of Theorem 10, except for the proof of 1. It is proved in the following way.
Let with . By the assumption of the claim, it has at least neighbors. On the other hand the sum of degrees of vertices in is . Thus, for any with we have .
6.4 Inner Product and Disjointness
A simple consequence of the lower bound for random Boolean matrices (Theorem 24) is the following. Suppose an explicit matrix contains a submatrix with all columns distinct. Then . Indeed, such a submatrix necessarily contains every possible Boolean matrix (up to column permutations, which do not affect ), and hence in particular one with maximum sign spiky rank .
The largest for which this holds is exactly the Vapnik–Chervonenkis dimension of the matrix [33]. Thus we obtain the general bound
This observation immediately implies sign spiky rank lower bounds for Inner Product and Disjointness matrices. Recall that , where , and is defined with where and are identified with their binary representations.
Proposition 42.
and .
Proof.
The VC-dimension of and is at least . Consider the submatrix of (or ) consisting of the rows indexed by the standard basis vectors
For a column indexed by , its entries in this submatrix are as follows:
-
In the inner product matrix , the column is exactly the vector .
-
In the Disjointness matrix , the column is , where is the all-ones vector.
Thus the submatrix captures all distinct column patterns, corresponding either to (for ) or its complement (for ).
References
- [1] Josh Alman and Ryan Williams. Probabilistic rank and matrix rigidity. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, pages 641–652, New York, NY, USA, 2017. Association for Computing Machinery. doi:10.1145/3055399.3055484.
- [2] Noga Alon. Covering graphs by the minimum number of equivalence relations. Combinatorica, 6(3):201–206, 1986. doi:10.1007/BF02579381.
- [3] Noga Alon. Explicit expanders of every degree and size. Combinatorica, 41(4):447–463, 2021. doi:10.1007/s00493-020-4429-x.
- [4] Noga Alon, Shay Moran, and Amir Yehudayoff. Sign rank versus VC dimension. In Conference on Learning Theory, pages 47–80. PMLR, 2016. URL: http://proceedings.mlr.press/v49/alon16.html.
- [5] Benny Applebaum and Oded Nir. The meta-complexity of secret sharing. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 965–976, 2025. doi:10.1145/3717823.3718161.
- [6] Daniel Avraham and Amir Yehudayoff. On blocky ranks of matrices. Technical Report TR22-137, Electronic Colloquium on Computational Complexity (ECCC), September 2022. URL: https://eccc.weizmann.ac.il/report/2022/137/.
- [7] Daniel Avraham and Amir Yehudayoff. On blocky ranks of matrices. computational complexity, 33, March 2024. doi:10.1007/s00037-024-00248-1.
- [8] Igor Balla, Lianna Hambardzumyan, and István Tomon. Factorization norms and an inverse theorem for MaxCut. Mathematische Annalen, 394(3):52, February 2026. doi:10.1007/s00208-026-03355-2.
- [9] Alexander R. Block, Simina Brânzei, Hemanta K. Maji, Himanshi Mehta, Tamalika Mukherjee, and Hai H. Nguyen. P4-free partition and cover numbers & applications. In Stefano Tessaro, editor, 2nd Conference on Information-Theoretic Cryptography (ITC 2021), volume 199 of Leibniz International Proceedings in Informatics (LIPIcs), pages 16:1–16:25, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITC.2021.16.
- [10] Arkadev Chattopadhyay, Nikhil S. Mande, and Suhail Sherif. The log-approximate-rank conjecture is false. Journal of the ACM, 67, 2020. doi:10.1145/3396695.
- [11] Tsun Ming Cheung, Hamed Hatami, Rosie Zhao, and Itai Zilberstein. Boolean functions with small approximate spectral norm. Discrete Analysis, September 18 2024. doi:10.19086/da.122971.
- [12] Péter Frankl. Covering graphs by equivalence relations. In North-Holland Mathematics Studies, volume 60, pages 125–127. Elsevier, 1982.
- [13] Marcel K Goh and Hamed Hatami. Block complexity and idempotent Schur multipliers. International Mathematics Research Notices, 2025(24):356, 2025.
- [14] Martin Golubitsky and Victor Guillemin. Stable mappings and their singularities, volume 14. Springer Science & Business Media, 2012.
- [15] Mika Göös, Nathaniel Harms, Valentin Imbach, and Dmitry Sokolov. Sign-rank of -Hamming Distance is constant. arXiv preprint arXiv:2506.12022, 2025. doi:10.48550/arXiv.2506.12022.
- [16] Mika Göös, Nathaniel Harms, and Artur Riazanov. Equality is far weaker than constant-cost communication. arXiv preprint arXiv:2507.11162, 2025. doi:10.48550/arXiv.2507.11162.
- [17] Dima Grigoriev. An application of separability and independence notions for proving lower bounds of circuit complexity. J.Soviet Math., 14:1450–1456, January 1980.
- [18] Lianna Hambardzumyan, Hamed Hatami, and Pooya Hatami. Dimension-free bounds and structural results in communication complexity. Israel Journal of Mathematics, 253(2):555–616, 2023.
- [19] Lianna Hambardzumyan, Konstantin Myasnikov, Artur Riazanov, Morgan Shirley, and Adi Shraibman. Spiky rank and its applications to rigidity and circuits, 2026. doi:10.48550/arXiv.2602.23503.
- [20] Kristoffer Arnsfelt Hansen and Vladimir V Podolskii. Exact threshold circuits. In 2010 IEEE 25th Annual Conference on Computational Complexity, pages 270–279. IEEE, 2010. doi:10.1109/CCC.2010.33.
- [21] Shlomo Hoory, Nathan Linial, and Avi Wigderson. Expander graphs and their applications. Bull. Amer. Math. Soc., 43(04):439–562, August 2006. doi:10.1090/s0273-0979-06-01126-8.
- [22] Stasys Jukna. On graph complexity. Combinatorics, Probability and Computing, 15(6):855–876, 2006. doi:10.1017/S0963548306007620.
- [23] Daniel M Kane and Ryan Williams. Super-linear gate and super-quadratic wire lower bounds for depth-two and depth-three threshold circuits. In Proceedings of the forty-eighth annual ACM symposium on Theory of Computing, pages 633–643, 2016. doi:10.1145/2897518.2897636.
- [24] Rohan Karthikeyan, Siddharth Sinha, and Vallabh Patil. On the resolution of the sensitivity conjecture. Bulletin of the American Mathematical Society, 57:1, March 2020. doi:10.1090/bull/1697.
- [25] Troy Lee and Adi Shraibman. Lower bounds in communication complexity. Foundations and Trends® in Theoretical Computer Science, 3(4):263–399, 2009. doi:10.1561/0400000040.
- [26] Meena Mahajan. Depth-2 threshold circuits. Resonance, 24(3):371–380, March 2019. doi:10.1007/s12045-019-0786-4.
- [27] Anirbit Mukherjee and Amitabh Basu. Lower bounds over Boolean inputs for deep neural networks with relu gates. arXiv preprint arXiv:1711.03073, 2017. arXiv:1711.03073.
- [28] Toniann Pitassi, Morgan Shirley, and Adi Shraibman. The strength of equality oracles in communication. In Yael Tauman Kalai, editor, 14th Innovations in Theoretical Computer Science Conference (ITCS 2023), volume 251 of Leibniz International Proceedings in Informatics (LIPIcs), pages 89:1–89:19, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2023.89.
- [29] P. Pudlák and V. Rödl. Some combinatorial-algebraic problems from complexity theory. Discrete Mathematics, 136(1):253–279, 1994. doi:10.1016/0012-365X(94)00115-Y.
- [30] Alexander Razborov. On rigid matrices (in russian), 1989. URL: https://eccc.weizmann.ac.il/report/2022/137/.
- [31] Vwani P Roychowdhury, Alon Orlitsky, and Kai-Yeung Siu. Lower bounds on threshold and related circuits via communication complexity. IEEE Transactions on Information Theory, 40(2):467–474, 1994. doi:10.1109/18.312169.
- [32] Leslie G Valiant. Graph-theoretic arguments in low-level complexity. In Mathematical Foundations of Computer Science 1977: Proceedings, 6th Symposium, Tatranská Lomnica September 5–9, 1977 6, pages 162–176. Springer, 1977. doi:10.1007/3-540-08353-7_135.
- [33] V. N. Vapnik and A. Ya. Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & Its Applications, 16(2):264–280, 1971.
- [34] Hugh E Warren. Lower bounds for approximation by nonlinear manifolds. Transactions of the American Mathematical Society, 133(1):167–178, 1968.
- [35] Ryan Williams. Limits on representing Boolean functions by linear combinations of simple functions: Thresholds, ReLUs, and low-degree polynomials. arXiv preprint arXiv:1802.09121, 2018. arXiv:1802.09121.
- [36] Ryan Williams. The Orthogonal Vectors Conjecture and non-uniform circuit lower bounds. In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 1372–1387, October 2024. doi:10.1109/FOCS61266.2024.00088.
- [37] Ryan Williams. Personal communication, 2024.
- [38] Henning Wunderlich. On a theorem of Razborov. computational complexity, 21:431–477, 2012. doi:10.1007/S00037-011-0021-5.
