A Refined Laser Method and Faster Matrix Multiplication

Josh Alman, Virginia Vassilevska Williams

Introduction

Settling the algorithmic complexity of matrix multiplication is one of the most fascinating open problems in theoretical computer science. The main measure of progress on the problem is the exponent ω\omega, defined as the smallest real number for which n×nn\times n matrices over a field can be multiplied using O(nω+ε)O(n^{\omega+\varepsilon}) field operations, for every ε>0\varepsilon>0. The value of ω\omega could depend on the field, although the algorithms we discuss in this paper work over any field. The straightforward algorithm shows that ω≤3\omega\leq 3, and we can see that ω≥2\omega\geq 2 since any algorithm must output n2n^{2} entries. In 1969, Strassen [Str69] obtained the first nontrivial upper bound on ω\omega, showing that ω<2.81\omega<2.81. Since then, a long series of papers (e.g. [Pan78, BCRL79, Pan80, Sch81, Rom82, CW82, Str86, CW90, DS13, Vas12, LG14, CU03, CKSU05, CU13]) has developed a powerful toolbox of techniques, culminating in the best bound to date of ω<2.37287\omega<2.37287.

In this paper, we add one more tool to the toolbox and lower the best bound on the matrix multiplication exponent to

The main contribution of this paper is a new refined version of the laser method which we then use to obtain the new bound on ω\omega. The laser method (as coined by Strassen [Str86]) is a powerful mathematical technique for analyzing tensors. In our context, it is used to lower bound the “value” of a tensor in designing matrix multiplication algorithms. The laser method also has applications beyond bounding ω\omega itself, including to other problems in arithmetic complexity like computing the “asymptotic subrank” of tensors [Alm19], and to problems in extremal combinatorics like constructing tri-colored sum-free sets [KSS18]. We believe our improved laser method may have other diverse applications.

We will see that our new method achieves better results than the laser method of prior work when applied to almost any sufficiently large tensor, including most of the tensors which arise in prior bounds on ω\omega. In fact, unlike in other recent work, it is clear before running any code that our new method yields a new improved bound on ω\omega.

The last several improvements to the best bound on ω\omega have been modest. Most recently, Le Gall [LG14] brought the upper bound on ω\omega from 2.372882.37288 [Vas12] to 2.372872.37287, and we bring it down to 2.372862.37286. (More precisely, we prove ω<2.3728596\omega<2.3728596.) A recent line of work has shown that only modest improvements can be expected if one continues using similar techniques. All fast matrix multiplication algorithms since 1986 use the laser method applied to the Coppersmith-Winograd family of tensors [CW90]. The techniques can also be simulated within the group theoretic method of Cohn and Umans [CU03, CKSU05, CU13]. A sequence of several papers [AFLG15, ASU13, BCC+17a, BCC+17b, AV18a, AV18b, Alm19, CVZ19] has given strong limitations on the power of the laser method, the group theoretic method and their generalizations, showing in particular that for many natural families of tensors, even approaches substantially more general than the laser method would not be able to prove that ω=2\omega=2. It is further known that the laser method, even our refined version of it, when applied to powers of the particular Coppersmith-Winograd tensor CW5⊗32CW^{\otimes 32}_{5} that achieves the current best bounds on ω\omega, cannot achieve ω<2.3725\omega<2.3725 [AFLG15].

That said, the known limitation results are very specific to the tensors they are applied to, and so it is not ruled out that our improved laser method could be applied to a different family of tensors to yield even further improved bounds on ω\omega. Even in the case of the smaller Coppersmith-Winograd tensor CW1CW_{1}, the known limitations are weaker, and it is conceivable that one could achieve ω<2.239\omega<2.239 using it.

In this subsection, we give an overview of our improvement to the laser method. We assume familiarity with basic notions related to tensors and matrix multiplication; unfamiliar readers may want to read Section 2 first.

Fast matrix multiplication algorithms since the 1980s have been designed by making use of a cleverly-chosen intermediate tensor TT. They have consisted of two main ingredients:

A proof that TT has a high value for computing matrix multiplication (i.e. a restriction of T⊗nT^{\otimes n} into a large direct sum of matrix multiplication tensors).

Since the work of Coppersmith and Winograd [CW90], the fastest matrix multiplication algorithms have used T=CWqT=CW_{q}, the Coppersmith-Winograd tensor. Coppersmith and Winograd showed that the asymptotic rank of CWqCW_{q} is as low as possible given its dimensions. Hence, subsequent work has focused on improving the bound on the value of CWqCW_{q}, and this is the approach we take as well.

The primary way that past work has bounded the values of tensors like CWqCW_{q} is using the laser method. The laser method was so-named by Strassen [Str87], and then further developed by Coppersmith and Winograd [CW90] into its current form. We now describe the laser method at a high level.

Consider a tensor TT over finite variables sets X,Y,ZX,Y,Z, given by

be the subtensor of TT restricted to Xi,Yj,ZkX_{i},Y_{j},Z_{k}, we have

Suppose for now that each TijkT_{ijk} is either or else a matrix multiplication tensor; this will simplify the presentation here but is not needed in the general setting. Hence, TT is a sum of matrix multiplication tensors. The typical way to obtain matrix multiplication algorithms from a sum of matrix multiplication tensors, however, requires the sum to be a direct sum, and TT is not a direct sum in general. One could zero-out many of the XiX_{i}, YjY_{j}, and ZkZ_{k} parts until TT is a direct sum of the remaining TijkT_{ijk} subtensors, but this typically removes ‘too much’ from the tensor.

The laser method instead takes the following approach. First, we pick a probability distribution α\alpha on the nonzero subtensors of TT, which assigns probability αijk\alpha_{ijk} to TijkT_{ijk}. Next, we take a large Kronecker power nn of TT:

Since each of these sets can be used by at most one of the final BB subtensors, this multinomial coefficient upper bounds BB. The laser method shows that if TT and α\alpha satisfy some additional conditions, then roughly this bound on BB can actually be achieved!

One of these conditions, which is the focus of our new improvement, is on the marginals of α\alpha. Let DαD_{\alpha} be the set of probability distributions β\beta with the same marginals as α\alpha (i.e. with αXi=βXi\alpha_{X_{i}}=\beta_{X_{i}} for all i∈[kX]i\in[k_{X}], αYj=βYj\alpha_{Y_{j}}=\beta_{Y_{j}} for all j∈[kY]j\in[k_{Y}], and αZk=βZk\alpha_{Z_{k}}=\beta_{Z_{k}} for all k∈[kZ]k\in[k_{Z}]). The laser method only achieves the aforementioned value of BB if there are no other probability distributions β\beta in DαD_{\alpha}. This is intuitively because the laser method is only zeroing-out sets of variables, and so it cannot distinguish between two distributions which have the same marginals. This is not an issue when analyzing smaller powers of CWqCW_{q} as in [CW90, DS13], since there the tensors and partitions are small enough that the linear system defining DαD_{\alpha} has full rank. However, it becomes an issue when analyzing larger powers of CWqCW_{q} as in [Vas12, LG14].

The prior work dealt with this issue in a greedy way: Suppose that after the zeroing outs described above, we are left with a direct sum of BB subtensors consistent with α\alpha, plus m⋅Bm\cdot B other subtensors which are consistent with other distributions in DαD_{\alpha}. We can repeatedly pick a subtensor SS consistent with α\alpha, and zero-out roughly mm subtensors which aren’t consistent with α\alpha until SS no longer shares variables with any remaining subtensors. We can then keep SS as an independent subtensor, but we may have zeroed out roughly mm other subtensors consistent with α\alpha in the process. We repeat until only subtensors consistent with α\alpha remain. Hence, the old approach leaves us with a direct sum of

In this work, we present a new way to deal with this issue, which improves the number of subtensors consistent with α\alpha at the end of the laser method to

This directly improves the final value bound achieved by the laser method by a factor of Θ(m)\Theta(\sqrt{m}). Since most of the applications of the laser method in the previous best bounds on ω\omega [Vas12, LG14] apply it in settings where m≫1m\gg 1 is large enough to reduce the final value, it is evident even before running any code or computing any specific values that our improvement on the laser method leads to an improved bound on ω\omega.

Similar to other steps of the laser method, our new construction is probabilistic. We show that if one picks a random subset of roughly B/mB/\sqrt{m} subtensors consistent with α\alpha, and zeroes out all variables which aren’t used by any of them, then there is a nonzero probability that all other subtensors are zeroed out.

It is worth asking whether the factor of m\sqrt{m} can be further improved. We give evidence that an improvement is not possible by constructing tensors for which our new probabilistic argument is tight up to low-order factors. Our constructed tensors even share special properties with the tensors that the laser method is usually applied to (they are “free”). That said, we leave open the possibility of improving the m\sqrt{m} bound for the specific tensors to which the laser method ultimately applies our probabilistic argument.

We present our new probabilistic argument for dealing with distributions β∈Dα\beta\in D_{\alpha} other than α\alpha in Section 3, and then we show how to incorporate it into the laser method in Section 4. We then get into the details of actually applying the laser method to CWqCW_{q} to achieve our new bound on ω\omega: In Section 5 we discuss the computational problem of applying the laser method to a given tensor, and some algorithms and heuristics for solving it, and in Section 6 we detail how to apply the laser method to CWqCW_{q} specifically. Our new bound of ω<2.3728596\omega<2.3728596 is achieved by applying our refined laser method to CW5⊗32CW_{5}^{\otimes 32}, the same tensor used by [LG14].

Our primary new contribution is the improved factor of m\sqrt{m} in the laser method, but we do add some new heuristics to the optimization framework of [Vas12, LG14] for applying the laser method to CWqCW_{q} as well. Although many of the ideas in our proof are similar to past work, we nonetheless give all the details, and we have written the body of the paper assuming little prior knowledge from the reader. We recommend the reader go through the sections in order, as the notation needed to apply the laser method is built up throughout.

2 Other Related Work

We do not specifically address algorithms for rectangular matrix multiplication in this paper. Since the best known algorithms for rectangular matrix multiplication also make use of the laser method, our techniques can be used to design faster rectangular matrix multiplication algorithms as well. That said, the computational issues which arise when bounding the running time of rectangular matrix multiplication are even more severe than when bounding ω\omega, and in fact the best known algorithms only use the 44th Kronecker power of CWqCW_{q} [GU18], where our improved laser method does not yet kick in.

Lower Bounds for Matrix Multiplication

Preliminaries

For nonnegative integers a1,…,aka_{1},\ldots,a_{k} with a1+⋯+ak=na_{1}+\cdots+a_{k}=n, we write (n[ai]i∈[k]):=(na1,a2,…,ak)\binom{n}{[a_{i}]_{i\in[k]}}:=\binom{n}{a_{1},a_{2},\ldots,a_{k}} for the multinomial coefficient. One standard bound on multinomial coefficients that we will frequently make use of is that, if p1,…,pk∈p_{1},\ldots,p_{k}\in sum to p1+⋯+pk=1p_{1}+\cdots+p_{k}=1, then for sufficiently large positive integers nn such that pi⋅np_{i}\cdot n is an integer for all i∈[k]i\in[k], we have that

2 Tensors and Sums

For tensor TT over X={x1,…,x∣X∣},Y={y1,…,y∣Y∣},Z={z1,…,z∣Z∣}X=\{x_{1},\ldots,x_{|X|}\},Y=\{y_{1},\ldots,y_{|Y|}\},Z=\{z_{1},\ldots,z_{|Z|}\} and tensor T′T^{\prime} over X′={x1′,…,x∣X′∣′},Y′={y1′,…,y∣Y′∣′},Z′={z1′,…,z∣Z′∣′}X^{\prime}=\{x^{\prime}_{1},\ldots,x^{\prime}_{|X^{\prime}|}\},Y^{\prime}=\{y^{\prime}_{1},\ldots,y^{\prime}_{|Y^{\prime}|}\},Z^{\prime}=\{z^{\prime}_{1},\ldots,z^{\prime}_{|Z^{\prime}|}\}, given by

we now describe a number of operations and relations. We will use these two tensors as running notation throughout this section.

If X=X′X=X^{\prime}, Y=Y′Y=Y^{\prime}, and Z=Z′Z=Z^{\prime}, then the sum T+T′T+T^{\prime} is the tensor whose coefficient of xiyjzkx_{i}y_{j}z_{k} is aijk+bijka_{ijk}+b_{ijk}. It can be equivalently viewed as summing TT and T′T^{\prime} as polynomials.

The direct sum T⊕T′T\oplus T^{\prime} is the sum T+T′T+T^{\prime} over the disjoint unions X⊔X′,Y⊔Y′,Z⊔Z′X\sqcup X^{\prime},Y\sqcup Y^{\prime},Z\sqcup Z^{\prime}. In other words, it is the sum T+T′T+T^{\prime} after we first relabel the sets of variables so that they are disjoint.

We say TT and T′T^{\prime} are isomorphic, written T≡T′T\equiv T^{\prime}, if ∣X∣=∣X′∣|X|=|X^{\prime}|, ∣Y∣=∣Y′∣|Y|=|Y^{\prime}|, ∣Z∣=∣Z′∣|Z|=|Z^{\prime}|, and there are bijections πX:[∣X∣]→[∣X′∣]\pi_{X}:[|X|]\to[|X^{\prime}|], πY:[∣Y∣]→[∣Y′∣]\pi_{Y}:[|Y|]\to[|Y^{\prime}|], and πZ:[∣Z∣]→[∣Z′∣]\pi_{Z}:[|Z|]\to[|Z^{\prime}|] such that aijk=bπx(i)πy(j)πz(k)a_{ijk}=b_{\pi_{x}(i)\pi_{y}(j)\pi_{z}(k)} for all i∈[∣X∣]i\in[|X|], j∈[∣Y∣]j\in[|Y|], and k∈[∣Z∣]k\in[|Z|].

The rotation of TT, denoted TrT^{r}, is the tensor over Y,Z,XY,Z,X such that the coefficient of yjzkxiy_{j}z_{k}x_{i} in TrT^{r} is aijka_{ijk}. We similarly write TrrT^{rr} for the corresponding tensor over Z,X,YZ,X,Y.

3 Kronecker Products

The Kronecker product T⊗T′T\otimes T^{\prime} is a tensor over X×X′,Y×Y′,Z×Z′X\times X^{\prime},Y\times Y^{\prime},Z\times Z^{\prime} given by

One can think of T⊗T′T\otimes T^{\prime} as multiplying TT and T′T^{\prime} as polynomials, but then ‘merging’ together pairs of xx-variables, pairs of yy-variables, and pairs of zz-variables into single variables.

For a positive integer nn, we write T⊗n:=T⊗T⊗T⊗⋯⊗TT^{\otimes n}:=T\otimes T\otimes T\otimes\cdots\otimes T (nn times) for the Kronecker power of TT, which is a tensor over Xn,Yn,ZnX^{n},Y^{n},Z^{n}. For I∈[∣X∣]nI\in[|X|]^{n}, we will write xIx_{I} to denote the element (xI1,xI2,…,xIn)∈Xn(x_{I_{1}},x_{I_{2}},\ldots,x_{I_{n}})\in X^{n}, and similarly for Yn,ZnY^{n},Z^{n}, so that

4 Tensor Rank

R(T+T′)≤R(T)+R(T′)R(T+T^{\prime})\leq R(T)+R(T^{\prime}), by adding the rank expressions for TT and T′T^{\prime},

R(T)=R(Tr)R(T)=R(T^{r}) by rotating the rank expression, and

R(T⊗T′)≤R(T)⋅R(T′)R(T\otimes T^{\prime})\leq R(T)\cdot R(T^{\prime}), by the distributive property, since one can verify that the Kronecker product of two rank 11 tensors is also a rank 11 tensor.

5 Matrix Multiplication Tensors

For positive integers a,b,ca,b,c, the a×b×ca\times b\times c matrix multiplication tensor, written ⟨a,b,c⟩\langle a,b,c\rangle, is a tensor over {xij}i∈[a],j∈[b]\{x_{ij}\}_{i\in[a],j\in[b]}, {yjk}j∈[b],k∈[c]\{y_{jk}\}_{j\in[b],k\in[c]}, {zki}k∈[c],i∈[a]\{z_{ki}\}_{k\in[c],i\in[a]}, given by

One can verify that for any positive integers a,b,c,d,e,fa,b,c,d,e,f we have ⟨a,b,c⟩⊗⟨d,e,f⟩≡⟨ad,be,cf⟩\langle a,b,c\rangle\otimes\langle d,e,f\rangle\equiv\langle ad,be,cf\rangle. This corresponds to the fact that block matrices can be multiplied by appropriately multiplying and adding together blocks.

For any positive integers q,rq,r, if R(⟨q,q,q⟩)=rR(\langle q,q,q\rangle)=r, then one can use the corresponding rank expression to design an arithmetic circuit for n×n×nn\times n\times n matrix multiplication of size O(nlog⁡q(r))O(n^{\log_{q}(r)}). This follows from the recursive approach introduced by Strassen [Str69]; see e.g. [Blä13, Proposition 1.1, Theorem 5.2]. The exponent of matrix multiplication, ω\omega, is hence defined as

Thus, for every ε>0\varepsilon>0, there is an arithmetic circuit for n×n×nn\times n\times n matrix multiplication of size O(nω+ε)O(n^{\omega+\varepsilon}). For instance, Strassen showed that R(⟨2,2,2⟩)≤7R(\langle 2,2,2\rangle)\leq 7, which implied ω≤log⁡2(7)<2.81\omega\leq\log_{2}(7)<2.81. Since ⟨q,q,q⟩⊗n≡⟨qn,qn,qn⟩\langle q,q,q\rangle^{\otimes n}\equiv\langle q^{n},q^{n},q^{n}\rangle, we can equivalently write that, for any fixed integer qq,

6 Schönhage’s Asymptotic Sum Inequality

By definition, in order to upper bound ω\omega, it suffices to upper bound the (asymptotic) rank of some matrix multiplication tensor. Schönhage [Sch81] showed that it also suffices to upper bound the (asymptotic) rank of a direct sum of multiple matrix multiplication tensors.

Suppose there are positive integers r>mr>m, and ai,bi,cia_{i},b_{i},c_{i} for i∈[m]i\in[m], such that the tensor

7 Zeroing-Outs, Restrictions, and Value

In fact, we will only use a limited type of a restriction called a zeroing out. We say T′T^{\prime} is a zeroing out of TT if X′⊆XX^{\prime}\subseteq X, Y′⊆YY^{\prime}\subseteq Y, Z′⊆ZZ^{\prime}\subseteq Z, and the coefficient of xiyjzkx_{i}y_{j}z_{k} is the same in TT and T′T^{\prime} for every xi∈X′x_{i}\in X^{\prime}, yj∈Y′y_{j}\in Y^{\prime}, and zk∈Z′z_{k}\in Z^{\prime}. In this case, we write T′=T∣X′,Y′,Z′T^{\prime}=T|_{X^{\prime},Y^{\prime},Z^{\prime}}. We say the variables in X∖X′X\setminus X^{\prime}, Y∖Y′Y\setminus Y^{\prime}, and Z∖Z′Z\setminus Z^{\prime} have been zeroed-out; one can think of substituting in for those variables in TT to get to T′T^{\prime}.

Coppersmith and Winograd [CW90] formalized this approach to bounding ω\omega by defining the value of a tensor. For τ∈[2/3,1]\tau\in[2/3,1], the τ\tau-value of TT, written Vτ(T)V_{\tau}(T), is given by the supremum over all positive integers nn, and all tensors of the form ⨁i=1m⟨ai,bi,ci⟩\bigoplus_{i=1}^{m}\langle a_{i},b_{i},c_{i}\rangle which are restrictions of (T⊗Tr⊗Trr)⊗n(T\otimes T^{r}\otimes T^{rr})^{\otimes n}, of

When τ\tau is clear from context, we will simply write V(T)V(T) and call it the value of TT. One can see that for tensors T,T′T,T^{\prime}, the value VτV_{\tau} satisfies Vτ(T⊗T′)≥Vτ(T)⋅Vτ(T′)V_{\tau}(T\otimes T^{\prime})\geq V_{\tau}(T)\cdot V_{\tau}(T^{\prime}) and Vτ(T⊕T′)≥Vτ(T)+Vτ(T′)V_{\tau}(T\oplus T^{\prime})\geq V_{\tau}(T)+V_{\tau}(T^{\prime}). We can also see that Vτ(⟨a,b,c⟩)=(abc)τV_{\tau}(\langle a,b,c\rangle)=(abc)^{\tau}. We work with the tensor T⊗Tr⊗TrrT\otimes T^{r}\otimes T^{rr} instead of just TT in the definition of Vτ(T)V_{\tau}(T) since this more symmetric form can sometimes substantially increase the value of relatively ‘asymmetric’ tensors.

8 Coppersmith-Winograd Tensors

For a nonnegative integer qq, the Coppersmith-Winograd tensor CWqCW_{q} is a tensor over {x0,…,xq+1}\{x_{0},\ldots,x_{q+1}\}, {y0,…,yq+1}\{y_{0},\ldots,y_{q+1}\}, {z0,…,zq+1}\{z_{0},\ldots,z_{q+1}\} given by

9 Salem-Spencer Sets

We briefly mention a ‘tensor interpretation’ of Theorem 2.2. For odd prime MM, define the tensor CMC_{M} over {x0,…,xM−1}\{x_{0},\ldots,x_{M-1}\}, {y0,…,yM−1}\{y_{0},\ldots,y_{M-1}\}, {z0,…,zM−1}\{z_{0},\ldots,z_{M-1}\} by

Letting AA be the set from Theorem 2.2, if we zero-out all xix_{i}, yiy_{i}, and ziz_{i} for which i∉Ai\notin A in CMC_{M}, then the result is the tensor

which is a direct sum of ∣A∣≥M⋅e−O(log⁡M)|A|\geq M\cdot e^{-O(\sqrt{\log M})} terms.

Diagonalizing Arbitrary Tensors with Zeroing Outs

We now present a main new technical tool which we will later use in proving value lower bounds for tensors. It can be thought of as a generalization of Theorem 2.2 to tensors beyond just CMC_{M}. The resulting bound we get is not as large (it yields Ω(M)\Omega(\sqrt{M}) instead of M⋅e−O(log⁡M)M\cdot e^{-O(\sqrt{\log M})} for CMC_{M}), although we show later in Theorem 3.2 and Theorem 3.3 that such a loss is required for this more general statement. The proof uses the probabilistic method.

Suppose TT is a tensor over X,Y,ZX,Y,Z, with partitions X=X1∪X2∪⋯∪XnX=X_{1}\cup X_{2}\cup\cdots\cup X_{n}, Y=Y1∪Y2∪⋯∪YnY=Y_{1}\cup Y_{2}\cup\cdots\cup Y_{n}, Z=Z1∪Z2∪⋯∪ZnZ=Z_{1}\cup Z_{2}\cup\cdots\cup Z_{n} for some positive integer nn. For i,j,k∈[n]i,j,k\in[n], write Tijk:=T∣Xi,Yj,ZkT_{ijk}:=T|_{X_{i},Y_{j},Z_{k}}. Let S={(i,j,k)∈[n]3∣Tijk≠0}S=\{(i,j,k)\in[n]^{3}\mid T_{ijk}\neq 0\}, and suppose that:

for all other (i,j,k)∈S(i,j,k)\in S, the three values i,j,ki,j,k are distinct.

Write m:=(∣S∣−n)/nm:=(|S|-n)/n, and suppose that m≥1m\geq 1. Then, there is a subset I⊆[n]I\subseteq[n] of size ∣I∣≥2n33m|I|\geq\frac{2n}{3\sqrt{3m}} such that TT has a zeroing out into ∑i∈ITiii\sum_{i\in I}T_{iii}.

It follows that there is a choice of randomness with ∣I∣≥2n33m|I|\geq\frac{2n}{3\sqrt{3m}}. Fix this choice, then let T′T^{\prime} be TT after zeroing-out every Xj,Yj,X_{j},Y_{j}, and ZjZ_{j} such that j∉Ij\notin I; we claim this is the desired zeroing out. Evidently TiiiT_{iii} is not zeroed out for any i∈Ii\in I. Meanwhile, for any other (i,j,k)∈S(i,j,k)\in S, it must be that TijkT_{ijk} was zeroed out, i.e. at least one of i,j,ki,j,k is not in II, since either at least one of i,j,ki,j,k is not in RR, in which case it would not be included in II, or else ii would have been included in AA and hence excluded from II. ∎

Theorem 3.1 shows how to start with a tensor TT which is a direct sum ⨁i=1nTiii\bigoplus_{i=1}^{n}T_{iii} plus roughly m⋅nm\cdot n additional subtensors TijkT_{ijk}, and zero-out some variables so that Ω(n/m)\Omega(n/\sqrt{m}) of the TiiiT_{iii} tensors remain, but all other subtensors are zeroed out. We will use this fact in the proof of Theorem 4.1 below to show that the value of TT is at least Vτ(T)≥Ω(nm⋅min⁡i∈[n]Vτ(Tiii))V_{\tau}(T)\geq\Omega\left(\frac{n}{\sqrt{m}}\cdot\min_{i\in[n]}V_{\tau}(T_{iii})\right). It is natural to ask whether this m\sqrt{m} dependence is optimal; we next construct some tensors for which it is.

For positive integers n≥mn\geq m with nn sufficiently large, there is a subset S⊆{(i,j,k)∈[n]3∣i,j,k distinct}S\subseteq\{(i,j,k)\in[n]^{3}\mid i,j,k\text{ distinct}\} with ∣S∣=mn|S|=mn such that, for any subset I⊆[n]I\subseteq[n] of size ∣I∣=nlog⁡nm|I|=\frac{n\log n}{\sqrt{m}}, there is an (i,j,k)∈S(i,j,k)\in S with i,j,k∈Ii,j,k\in I.

Let CC be the set of subsets I⊆[n]I\subseteq[n] of size nlog⁡nm\frac{n\log n}{\sqrt{m}}. Hence,

Initially let S=∅S=\emptyset. We will repeatedly add an element (i,j,k)(i,j,k) to SS, and then remove any remaining I∈CI\in C with i,j,k∈Ii,j,k\in I, until CC becomes empty. It suffices to show we only need to add ≤mn\leq mn elements to SS.

At each step, we simply greedily pick any (i,j,k)∈[n]3(i,j,k)\in[n]^{3} with i,j,ki,j,k distinct which maximizes ∣{I∈C∣i,j,k∈I}∣|\{I\in C\mid i,j,k\in I\}|. Note that if we pick three random distinct i,j,k∈[n]i,j,k\in[n], then for a given I∈CI\in C, the probability that i,j,k∈Ii,j,k\in I is

for large enough nn. It follows that we can pick i,j,ki,j,k which multiply ∣C∣|C| by a factor which is less than 1−12(log⁡nm)31-\frac{1}{2}\left(\frac{\log n}{\sqrt{m}}\right)^{3}. After repeating nmnm times, the resulting size of CC will be less than

for large enough nn. Since ∣C∣|C| is an integer, it follows that ∣C∣=0|C|=0 as desired. ∎

Let S⊆[n]3S\subseteq[n]^{3} be the set from Theorem 3.2, with ∣S∣=m⋅n|S|=m\cdot n, and define the tensor TT over {x1,…,xn}\{x_{1},\ldots,x_{n}\}, {y1,…,yn}\{y_{1},\ldots,y_{n}\}, {z1,…,zn}\{z_{1},\ldots,z_{n}\} by

Theorem 3.2 says that, for any I⊆[n]I\subseteq[n] such that TT has a zeroing out into ∑i∈Ixiyizi\sum_{i\in I}x_{i}y_{i}z_{i}, we must have ∣I∣<nlog⁡nm|I|<\frac{n\log n}{\sqrt{m}}. This is nearly the size of the set II constructed by Theorem 3.1.

The tensors to which we will apply Theorem 3.1 will have additional structure beyond those stipulated by Theorem 3.1. It is worth investigating whether the m\sqrt{m} factor in Theorem 3.1 can be improved for those tensors in particular. One particular property is that they are free, meaning, for any i,j,k,i′,j′,k′∈[n]i,j,k,i^{\prime},j^{\prime},k^{\prime}\in[n], such that xiyjzkx_{i}y_{j}z_{k} and xi′yj′zk′x_{i^{\prime}}y_{j^{\prime}}z_{k^{\prime}} both have nonzero coefficients in TT, at most one of i=i′i=i^{\prime},j′=jj^{\prime}=j,k=k′k=k^{\prime} holds. We can see that the tensor constructed from Theorem 3.2 is unlikely to be free. Nonetheless, with some additional work, we can construct a free tensor for which the m\sqrt{m} factor is still optimal:

For positive integers nn and mm, with nn sufficiently large and log⁡2n≤m≤n/6\log^{2}n\leq m\leq\sqrt{n/6}, there is a subset S⊆([n]3)S\subseteq\binom{[n]}{3} with ∣S∣≤O(mn)|S|\leq O(mn) such that

any distinct {i,j,k},{i′,j′,k′}∈S\{i,j,k\},\{i^{\prime},j^{\prime},k^{\prime}\}\in S, have ∣{i,j,k}∩{i′,j′,k′}∣≤1|\{i,j,k\}\cap\{i^{\prime},j^{\prime},k^{\prime}\}|\leq 1, and

for any subset I⊆[n]I\subseteq[n] of size ∣I∣=nlog⁡(n)m|I|=\frac{n\log(n)}{\sqrt{m}}, there is an {i,j,k}∈S\{i,j,k\}\in S with i,j,k∈Ii,j,k\in I.

Let N=2nN=2n, and let T=([N]3)T=\binom{[N]}{3}. Construct S⊆TS\subseteq T randomly by including each element of TT independently with probability p:=Nm3∣T∣p:=\frac{Nm}{3|T|}.

We compute some probabilities related to SS.

Second, consider any fixed set I⊆[N]I\subseteq[N] of size ∣I∣=nlog⁡nm|I|=\frac{n\log n}{\sqrt{m}}. For any three fixed elements i,j,k∈Ii,j,k\in I, the probability that {i,j,k}\{i,j,k\} is not in SS is 1−Nm3∣T∣≤1−2mN21-\frac{Nm}{3|T|}\leq 1-\frac{2m}{N^{2}}. Thus, for large enough nn, the probability that no triple of II is in SS is at most

Meanwhile, the number of sets I⊆[N]I\subseteq[N] of size ∣I∣=nlog⁡nm|I|=\frac{n\log n}{\sqrt{m}} is only

Thus the probability that all of those sets II are covered by a triple in SS is overwhelming.

Let U=[N]U=[N] be the original universe. Now, repeat the following procedure that shrinks UU somewhat. If there are two triples {i,j,k},{i,j,k′}∈S\{i,j,k\},\{i,j,k^{\prime}\}\in S which share two elements, then remove ii from UU (decreasing the size of UU by one, e.g. effectively making UU into [N−1][N-1] the first time an element is removed). This removes all subsets II of size n(log⁡n)/mn(\log n)/\sqrt{m} containing ii and also removes all triples of SS containing ii. The remaining subsets II of UU of size n(log⁡n)/mn(\log n)/\sqrt{m} are still covered by the remaining triples of SS as long as they were before we shrank UU.

After this greedy procedure there are no more pairs of triples in SS that share a pair of elements. Let us consider the size of UU after the greedy procedure.

Let us fix two triples (i,j,k),(i,j,k′)∈T(i,j,k),(i,j,k^{\prime})\in T. The probability that both of them end up in (the original) SS is N2m29∣T∣2≤2m2N4\frac{N^{2}m^{2}}{9|T|^{2}}\leq\frac{2m^{2}}{N^{4}}. The number of pairs of triples that share a pair of elements is ≤N4\leq N^{4}. Thus the expected number of such pairs that end up in TT is ≤2m2\leq 2m^{2}. By Markov’s inequality, the probability that there are >6m2>6m^{2} such pairs in TT is ≤1/3\leq 1/3.

Thus, with probability at least 1−1/3−1/3=1/31-1/3-1/3=1/3, the original SS had size ≤mN=2mn\leq mN=2mn and we removed ≤6m2\leq 6m^{2} elements from the universe. Since m≤n/6m\leq\sqrt{n/6}, we have removed ≤N/2\leq N/2 elements, and so the remaining universe size is at lest N/2=nN/2=n. If necessary, remove more elements from UU until ∣U∣=n|U|=n, effectively removing the triples of SS and subsets of UU of size n(log⁡n)/mn(\log n)/\sqrt{m} that contain these elements.

We get that for the remaining SS, ∣S∣≤O(mn)|S|\leq O(mn), and with high probability, all subsets of UU of size (n/m)log⁡(n)(n/\sqrt{m})\log(n) are covered by SS. ∎

The requirement in Theorem 3.3 that m≤n/6m\leq\sqrt{n/6} may seem restrictive, but all the tensors to which we will apply Theorem 4.1 have this property. Of course, the tensors to which we will apply Theorem 3.1 have even more structure still than just being free. We leave open the question of whether Theorem 3.1 can be further improved for them.

Refined Laser Method

Let TT be a tensor over X,Y,ZX,Y,Z, with partitions X=X1∪X2∪⋯∪XkXX=X_{1}\cup X_{2}\cup\cdots\cup X_{k_{X}}, Y=Y1∪Y2∪⋯∪YkYY=Y_{1}\cup Y_{2}\cup\cdots\cup Y_{k_{Y}}, Z=Z1∪Z2∪⋯∪ZkZZ=Z_{1}\cup Z_{2}\cup\cdots\cup Z_{k_{Z}} for some positive integers kX,kY,kZk_{X},k_{Y},k_{Z}, and for (i,j,k)∈[kX]×[kY]×[kZ](i,j,k)\in[k_{X}]\times[k_{Y}]\times[k_{Z}] define Tijk:=T∣Xi,Yj,ZkT_{ijk}:=T|_{X_{i},Y_{j},Z_{k}}. Let S:={(i,j,k)∈[kX]×[kY]×[kZ]∣Tijk≠0}S:=\{(i,j,k)\in[k_{X}]\times[k_{Y}]\times[k_{Z}]\mid T_{ijk}\neq 0\}, and suppose there is an integer PP such that every (i,j,k)∈S(i,j,k)\in S satisfies i+j+k=Pi+j+k=P. We call TT along with these partitions a PP-partitioned tensor. Some prior work called TT a partitioned tensor whose outer structure is the tensor

Let DD be the set of α:S→\alpha:S\to such that ∑(i,j,k)∈Sα(i,j,k)=1\sum_{(i,j,k)\in S}\alpha(i,j,k)=1. For each α∈D\alpha\in D, we define a few quantities.

First, for (i,j,k)∈S(i,j,k)\in S, write αijk:=α(i,j,k)\alpha_{ijk}:=\alpha(i,j,k). For i∈[kX]i\in[k_{X}] write

and similarly define αYj\alpha_{Y_{j}} for j∈[kY]j\in[k_{Y}] and αZk\alpha_{Z_{k}} for k∈[kZ]k\in[k_{Z}]. Define the three productsWe use the convention 00:=10^{0}:=1.

Finally, define Dα⊆DD_{\alpha}\subseteq D, the set of β∈D\beta\in D which have the same marginals as α\alpha, by

We will show how to get a lower bound on Vτ(T)V_{\tau}(T) in terms of a given α∈D\alpha\in D, as follows:

For any tensor TT which is a PP-partitioned tensor, any α∈D\alpha\in D, and any τ∈[2/3,1]\tau\in[2/3,1], we have

By comparison, the bound used by prior work [Vas12, LG14] was

Our Theorem 4.1 improves this by a factor of max⁡β∈DαβNαN\sqrt{\frac{\max_{\beta\in D_{\alpha}}\beta_{N}}{\alpha_{N}}}, which is a strict improvement whenever there is a β∈Dα\beta\in D_{\alpha} with βN>αN\beta_{N}>\alpha_{N}. As we will see, this is frequently the case in the analysis of powers of CWqCW_{q} and their subtensors.

Throughout this section, we omit τ\tau when writing VτV_{\tau} and αVτ\alpha_{V_{\tau}}, and we will always use the specific τ\tau in the statement of Theorem 4.1.

In the remainder of this section, we prove Theorem 4.1. Our proof strategy is as follows. Pick a large positive integer nn, and consider the tensor T:=T⊗n⊗Tr⊗n⊗Trr⊗n\mathcal{T}:=T^{\otimes n}\otimes T^{r\otimes n}\otimes T^{rr\otimes n}. We are going to show that T\mathcal{T} can be zeroed out into a direct sum of

different tensors, each of which has value

As n→∞n\to\infty, this implies the desired bound on Vτ(T)=Vτ(T)1/3nV_{\tau}(T)=V_{\tau}(\mathcal{T})^{1/3n}.

Our construction is divided into four main steps. The first three are mostly the same as the laser method from past work [CW90, DS13, Vas12, LG14], except that our analysis in step 3, in which we make use of Salem-Spencer sets, is more involved than in past work as we choose different parameters and need to preserve different properties of our tensor than in previous uses of the laser method. The main novel idea comes in step 4, where we apply our Theorem 3.1 as a final zeroing-out step which has not appeared in past work.

Before we begin, we make one technical remark: we will assume throughout this proof that αijk⋅n\alpha_{ijk}\cdot n is an integer for all (i,j,k)∈S(i,j,k)\in S. This can be achieved by adding a real number of magnitude at most 1/n1/n to each αijk\alpha_{ijk} so that they are all integer multiples of 1/n1/n, while maintaining that ∑(i,j,k)∈Sα(i,j,k)=1\sum_{(i,j,k)\in S}\alpha(i,j,k)=1. In Appendix A below, we show that this is possible, and that the resulting changes to α\alpha only change the value bound (1) by a negligible multiplicative factor between 2−o(n)2^{-o(n)} and 2o(n)2^{o(n)}. Hence, this ‘rounding’ will not change the final bound in our proof.

2 Step 1: Removing blocks which are inconsistent with α𝛼\alpha

We say XIX_{I} for I∈[kX]nI\in[k_{X}]^{n} is consistent with α\alpha if, for all i∈[kX]i\in[k_{X}], we have

We define consistency with α\alpha for YJY_{J} for J∈[kY]nJ\in[k_{Y}]^{n}, and ZKZ_{K} for K∈[kZ]nK\in[k_{Z}]^{n}, similarly.

In T\mathcal{T}, zero-out all X\mathcal{X}-blocks XI×YJ×ZKX_{I}\times Y_{J}\times Z_{K} where at least one of XI,YJ,X_{I},Y_{J}, or ZKZ_{K} is not consistent with α\alpha. Similarly, zero-out all Y\mathcal{Y}-blocks YJ×ZK×XIY_{J}\times Z_{K}\times X_{I} and all Z\mathcal{Z}-blocks ZK×XI×YJZ_{K}\times X_{I}\times Y_{J} where at least one of XI,YJ,X_{I},Y_{J}, or ZKZ_{K} is not consistent with α\alpha. Let T′\mathcal{T}^{\prime} denote T\mathcal{T} after these zeroing outs.

The number of XIX_{I} which are consistent with α\alpha is

we have that the number NBN_{B} of remaining (not zeroed out) X\mathcal{X}-blocks, Y\mathcal{Y}-blocks, or Z\mathcal{Z}-blocks in T′\mathcal{T}^{\prime} is

For an X\mathcal{X}-block BX=XI×YJ′×ZK′′B_{X}=X_{I}\times Y_{J^{\prime}}\times Z_{K^{\prime\prime}}, Y\mathcal{Y}-block BY=YJ×ZK′×XI′′B_{Y}=Y_{J}\times Z_{K^{\prime}}\times X_{I^{\prime\prime}}, and Z\mathcal{Z}-block BZ=ZK×XI′×YJ′′B_{Z}=Z_{K}\times X_{I^{\prime}}\times Y_{J^{\prime\prime}}, we write TBXBYBZ′:=T′∣BX,BY,BZ\mathcal{T}^{\prime}_{B_{X}B_{Y}B_{Z}}:=\mathcal{T}^{\prime}|_{B_{X},B_{Y},B_{Z}}. We call TBXBYBZ′\mathcal{T}^{\prime}_{B_{X}B_{Y}B_{Z}} a block triple, and say that it uses BX,BYB_{X},B_{Y}, and BZB_{Z}. For a β∈D\beta\in D, we say that (XI,YJ,ZK)(X_{I},Y_{J},Z_{K}) is consistent with β\beta if, for all (i,j,k)∈S(i,j,k)\in S,

Similarly, for β,β′,β′′∈D\beta,\beta^{\prime},\beta^{\prime\prime}\in D, we say that TBXBYBZ′\mathcal{T}^{\prime}_{B_{X}B_{Y}B_{Z}} is consistent with (β,β′,β′′)(\beta,\beta^{\prime},\beta^{\prime\prime}) if (XI,YJ,ZK)(X_{I},Y_{J},Z_{K}) is consistent with β\beta, (XI′,YJ′,ZK′)(X_{I^{\prime}},Y_{J^{\prime}},Z_{K^{\prime}}) is consistent with β′\beta^{\prime}, and (XI′′,YJ′′,ZK′′)(X_{I^{\prime\prime}},Y_{J^{\prime\prime}},Z_{K^{\prime\prime}}) is consistent with β′′\beta^{\prime\prime}.

we can count that the number of nonzero block triples TBXBYBZ′\mathcal{T}^{\prime}_{B_{X}B_{Y}B_{Z}} in T′\mathcal{T}^{\prime} consistent with a given (β,β′,β′′)(\beta,\beta^{\prime},\beta^{\prime\prime}) for β,β′,β′′∈Dα,n\beta,\beta^{\prime},\beta^{\prime\prime}\in D_{\alpha,n} is

In particular, the number NαN_{\alpha} of nonzero block triples in T′\mathcal{T}^{\prime} consistent with (α,α,α)(\alpha,\alpha,\alpha) is

Moreover, we can count that the total number NTN_{T} of nonzero block triples in T′\mathcal{T}^{\prime} is at most

We will now describe a randomized process for zeroing-out more X\mathcal{X}-blocks, Y\mathcal{Y}-blocks, and Z\mathcal{Z}-blocks. The ultimate goal is to zero-out a negligible 1−exp⁡(−o(n))1-\exp(-o(n)) fraction of blocks, so that for every remaining X\mathcal{X}-block, Y\mathcal{Y}-block, and Z\mathcal{Z}-block, there is exactly one block triple which uses that block and is consistent with (α,α,α)(\alpha,\alpha,\alpha). Note that currently, by symmetry, every X\mathcal{X}-block, Y\mathcal{Y}-block, and Z\mathcal{Z}-block in T′\mathcal{T}^{\prime} has the same number RR of block triples which use that block and are consistent with (α,α,α)(\alpha,\alpha,\alpha). We can compute RR by dividing the total number of block triples consistent with (α,α,α)(\alpha,\alpha,\alpha) by the total number of blocks, to see that

Consider any X\mathcal{X}-block BX=XI×YJ′×ZK′′B_{X}=X_{I}\times Y_{J^{\prime}}\times Z_{K^{\prime\prime}}, Y\mathcal{Y}-block BY=YJ×ZK′×XI′′B_{Y}=Y_{J}\times Z_{K^{\prime}}\times X_{I^{\prime\prime}}, and Z\mathcal{Z}-block BZ=ZK×XI′×YJ′′B_{Z}=Z_{K}\times X_{I^{\prime}}\times Y_{J^{\prime\prime}}, such that TBXBYBZ′\mathcal{T}^{\prime}_{B_{X}B_{Y}B_{Z}} is a nonzero block triple in T′\mathcal{T}^{\prime}. Notice that

hXh_{X} is pairwise-independent, i.e. for any two distinct (I,J,K),(I′,J′,K′)∈[kX]n×[kY]n×[kZ]n(I,J,K),(I^{\prime},J^{\prime},K^{\prime})\in[k_{X}]^{n}\times[k_{Y}]^{n}\times[k_{Z}]^{n}, the values hX(I,J,K)h_{X}(I,J,K) and hX(I′,J′,K′)h_{X}(I^{\prime},J^{\prime},K^{\prime}) are independent (and similarly for hYh_{Y} or hZh_{Z}).

For an X\mathcal{X}-block BX=XI×YJ′×ZK′′B_{X}=X_{I}\times Y_{J^{\prime}}\times Z_{K^{\prime\prime}}, write hX(BX):=hX(I,J′,K′′)h_{X}(B_{X}):=h_{X}(I,J^{\prime},K^{\prime\prime}), and similarly define hY(BY)h_{Y}(B_{Y}) for a Y\mathcal{Y}-block BYB_{Y} and hZ(BZ)h_{Z}(B_{Z}) for a Z\mathcal{Z}-block BZB_{Z}.

Before continuing, we will bound the expected values of the following three random variables:

C1C_{1}, the number of nonzero block triples in T′′\mathcal{T}^{\prime\prime} consistent with (α,α,α)(\alpha,\alpha,\alpha),

C2C_{2}, the number of pairs of nonzero block triples in T′′\mathcal{T}^{\prime\prime} which are both consistent with (α,α,α)(\alpha,\alpha,\alpha) and which share a block (i.e. both use the same X\mathcal{X}-block, Y\mathcal{Y}-block, or Z\mathcal{Z}-block), and

C3C_{3}, the number of nonzero block triples in T′′\mathcal{T}^{\prime\prime}.

We next consider C2C_{2}, the number of pairs of nonzero block triples in T′′\mathcal{T}^{\prime\prime} which are both consistent with (α,α,α)(\alpha,\alpha,\alpha) and which both use the same X\mathcal{X}-block, Y\mathcal{Y}-block, or Z\mathcal{Z}-block. The number of such pairs in T′\mathcal{T}^{\prime} is 3NB⋅(R2)3N_{B}\cdot\binom{R}{2}, since there are NBN_{B} each of X\mathcal{X}-blocks, Y\mathcal{Y}-blocks, and Z\mathcal{Z}-blocks in T′\mathcal{T}^{\prime}, and each has RR different block triples consistent with (α,α,α)(\alpha,\alpha,\alpha) which use it. Consider a fixed one of those pairs of TXB,YB,ZB′\mathcal{T}^{\prime}_{X_{B},Y_{B},Z_{B}} and TXB,YB′,ZB′′\mathcal{T}^{\prime}_{X_{B},Y_{B}^{\prime},Z_{B}^{\prime}}, where we are assuming without loss of generality that they share an X\mathcal{X}-block XBX_{B}. They will both not be zeroed out in T′′\mathcal{T}^{\prime\prime} if and only if hX(XB)∈Ah_{X}(X_{B})\in A, hY(YB)=hX(XB)h_{Y}(Y_{B})=h_{X}(X_{B}), and hY(YB′)=hX(XB)h_{Y}(Y_{B}^{\prime})=h_{X}(X_{B}), which happens with probability (∣A∣/M)⋅(1/M)⋅(1/M)=∣A∣/M3(|A|/M)\cdot(1/M)\cdot(1/M)=|A|/M^{3}, as those three events are independent from the properties of hXh_{X} and hYh_{Y}. Recall that R=Nα/NBR=N_{\alpha}/N_{B} by definition of RR, and M≥100⋅RM\geq 100\cdot R by definition of MM. Hence, using linearity of expectation, we can bound

Now we define the random variable C1′:=max⁡{0,C1−2C2}C_{1}^{\prime}:=\max\{0,C_{1}-2C_{2}\}. We have

(This follows from the power mean inequality; see Lemma B.1 in Appendix B below for a proof.) Let us fix this choice of randomness in the remainder of the proof.

Next, we will zero-out some more blocks in T′′\mathcal{T}^{\prime\prime} so that there are no pairs of nonzero block triples in T′′\mathcal{T}^{\prime\prime} which are both consistent with (α,α,α)(\alpha,\alpha,\alpha) and which both use the same X\mathcal{X}-block, Y\mathcal{Y}-block, or Z\mathcal{Z}-block. We do this in the following greedy way: repeatedly pick any block used by g≥2g\geq 2 nonzero block triples in T′′\mathcal{T}^{\prime\prime} consistent with (α,α,α)(\alpha,\alpha,\alpha), and zero-out that block, until there are none left. Note that each time, when we zero-out g≥2g\geq 2 block triples which are consistent with (α,α,α)(\alpha,\alpha,\alpha), the number of pairs of such block triples we remove is (g2)≥g/2\binom{g}{2}\geq g/2. Recall that there were initially C2C_{2} such pairs. It follows that throughout this process, the expected number of such block triples we zero-out is at most 2⋅C22\cdot C_{2}. Let T′′′\mathcal{T}^{\prime\prime\prime} be T′′\mathcal{T}^{\prime\prime} after this process is complete. Hence, the remaining nonzero block triples in T′′′\mathcal{T}^{\prime\prime\prime} consistent with (α,α,α)(\alpha,\alpha,\alpha) do not share any blocks with each other, and the number of such block triples is at least max⁡{0,C1−2⋅C2}=C1′\max\{0,C_{1}-2\cdot C_{2}\}=C_{1}^{\prime}. Meanwhile, the total number of nonzero block triples in T′′′\mathcal{T}^{\prime\prime\prime} is at most the number in T′′\mathcal{T}^{\prime\prime}, which is C3C_{3}.

For the final zeroing out, we will apply Theorem 3.1 to T′′′\mathcal{T}^{\prime\prime\prime}, with the partition of the variables of T′′′\mathcal{T}^{\prime\prime\prime} given by the blocks. T′′′\mathcal{T}^{\prime\prime\prime} consists of at least C1′C_{1}^{\prime} block triples consistent with (α,α,α)(\alpha,\alpha,\alpha), plus at most C3C_{3} other block triples. It follows that we can zero-out T′′′\mathcal{T}^{\prime\prime\prime} into a direct sum of LL block triples consistent with (α,α,α)(\alpha,\alpha,\alpha), where

Each block triple TXB,YB,ZB′′′\mathcal{T}^{\prime\prime\prime}_{X_{B},Y_{B},Z_{B}} consistent with (α,α,α)(\alpha,\alpha,\alpha) can be written as

The desired result follows as n→∞n\to\infty.

Algorithms and Heuristics for Applying Theorem 4.1

We now move on to applying Theorem 4.1 to the Coppersmith-Winograd tensor CWqCW_{q}. Throughout this section we use the same notation as in Section 4. The high-level idea is to apply Theorem 4.1 in a recursive fashion: to bound Vτ(T)V_{\tau}(T) for a tensor TT (in our case, TT will be CWq⊗kCW_{q}^{\otimes k} or one of its subtensors), we pick a partitioning of its variables, recursively bound Vτ(Tijk)V_{\tau}(T_{ijk}) for each subtensor TijkT_{ijk}, then pick an α∈D\alpha\in D to get a resulting lower bound on Vτ(T)V_{\tau}(T).

When using this approach, there are two choices we need to make at each level: which partitioning of the variables to use, and which α∈D\alpha\in D to pick. As we will see in Section 6, there are very natural partitionings of the variables of CWq⊗kCW_{q}^{\otimes k} and its subtensors that we will use. The main practical difficulty which arises in this approach is picking the optimal value of α\alpha. Indeed, maximizing the value bound of Theorem 4.1 over all α∈D\alpha\in D is a non-convex optimization problem, and for large enough tensors (including CWq⊗8CW_{q}^{\otimes 8}, as well as the subtensors of CWq⊗kCW_{q}^{\otimes k} for k≥16k\geq 16), modern software seems unable to solve it in a reasonable amount of time. (Modern software does actually solve the optimization problem for the subtensors of CWq⊗kCW_{q}^{\otimes k} for k≤8k\leq 8.)

Instead, as in past work [Vas12, LG14], we use some heuristics to find choices of α\alpha which we believe are close to optimal. The heuristics we use are different from those of past work, in order to take advantage of the new improvement in Theorem 4.1; we will see that the heuristics we use here achieve better value bounds than the heuristics of past work. In the remainder of this section, we give a detailed description of these heuristics that we use.

Although optimizing the bound of Theorem 4.1 over all α∈D\alpha\in D appears difficult, we begin by remarking that, for any fixed γ∈D\gamma\in D, optimizing over all α∈Dγ\alpha\in D_{\gamma} can be done by solving two programs:

Recall that α∈Dγ\alpha\in D_{\gamma} if and only if αXi=γXi\alpha_{X_{i}}=\gamma_{X_{i}} for all i∈[kX]i\in[k_{X}], αYj=γYj\alpha_{Y_{j}}=\gamma_{Y_{j}} for all j∈[kY]j\in[k_{Y}], and αZk=γZk\alpha_{Z_{k}}=\gamma_{Z_{k}} for all k∈[kZ]k\in[k_{Z}]. In other words, in both of these problems, the constraints are all linear constraints. Meanwhile, in both, the objective function is a concave function. Hence, we can efficiently solve these two problems using a convex optimization library to obtain α,β∈Dγ\alpha,\beta\in D_{\gamma}. Theorem 4.1 then implies the bound

and this is the best possible bound we can get using an α∈Dγ\alpha\in D_{\gamma}.

2 Heuristics for picking γ∈D𝛾𝐷\gamma\in D

As discussed, it seems computationally difficult to find the optimal γ∈D\gamma\in D to use in the above approach. Instead, when analyzing a tensor TT, we try the following heuristic choices of γ\gamma, and take the maximum value bound which results from any of them.

Our first heuristic is a slight improvement of that of [LG14, Algorithm B].

subject to γ∈D\gamma\in D and γ=arg max⁡γ′∈DγγN\gamma=\operatorname*{arg\,max}_{\gamma^{\prime}\in D_{\gamma}}\gamma_{N}.

With this choice of γ\gamma, we know that when we compute the value bound of Section 5.1, we will pick β=γ\beta=\gamma, and so the final value we output will be at least γVτ⋅γB\gamma_{V_{\tau}}\cdot\gamma_{B}, but possibly even greater if a better choice of α\alpha is found. By comparison, [LG14, Algorithm B] computes this same γ\gamma, but then outputs the value one gets from picking α=β=γ\alpha=\beta=\gamma in Section 5.1.

As written, it is not evident that Heuristic 1 can be computed much more quickly than the optimal choice of γ∈D\gamma\in D. However, prior work [Vas12, Figure 1],[LG14, Proposition 4.1] gives a way to define a set of nonlinear constraints NonLin(γ)(\gamma) on γ∈D\gamma\in D which are satisfied if and only if γ=arg max⁡γ′∈DγγN\gamma=\operatorname*{arg\,max}_{\gamma^{\prime}\in D_{\gamma}}\gamma_{N}. (These can also be defined by analyzing the convex program in Problem 2 directly.) The number of constraints in NonLin(γ)(\gamma) is small enough for many of the subtensors of CWq⊗16CW_{q}^{\otimes 16} that optimization software can still compute the γ\gamma in Heuristic 1 after replacing the constraint γ=arg max⁡γ′∈DγγN\gamma=\operatorname*{arg\,max}_{\gamma^{\prime}\in D_{\gamma}}\gamma_{N} with NonLin(γ)(\gamma). We find that this heuristic runs quickly enough and gives good value bounds for many of the subtensors of CWq⊗16CW_{q}^{\otimes 16}.

Our remaining heuristics only involve solving convex programs over linear constraints to compute γ\gamma, and run quickly enough for all the tensors we need to analyze.

subject to γ∈D\gamma\in D, for various constant parameters λ\lambda, both negative and positive. This generalizes Heuristic 2.

Out of these heuristics, the best bounds were obtained for most tensors via Heuristic 3 for various choices of λ\lambda between (as in problem 2) and 10710^{7}. It is not immediately clear which choice of λ\lambda in Heuristic 3 is best, although experimentally, it seems that using positive values of λ\lambda produces better results. We also tried a few other heuristics, including maximizing γVτ⋅γB/γN\gamma_{V_{\tau}}\cdot\gamma_{B}/\sqrt{\gamma_{N}} or 1/γN1/\gamma_{N} over γ∈D\gamma\in D, but these didn’t yield the best value bounds for any tensors we analyzed.

3 Faster Computation on Tensors with Symmetries

We briefly note one additional technique which can be used to speed up the calculations needed when applying Theorem 4.1 to a tensor TT which exhibits some symmetry (either the calculations to apply the Theorem optimally, or the heuristics described earlier in this section). Suppose, for instance, that for all (i,j,k)∈S(i,j,k)\in S we have Vτ(Tijk)=Vτ(Tjik)V_{\tau}(T_{ijk})=V_{\tau}(T_{jik}). As we will see below, this will be the case in nearly all our applications of Theorem 4.1. Then, in all of the optimization problems over α∈D\alpha\in D (or similarly β∈D\beta\in D or γ∈D\gamma\in D) that we need to solve, we may assume without loss of generality that αijk=αjki\alpha_{ijk}=\alpha_{jki} for all (i,j,k)∈S(i,j,k)\in S. Indeed, otherwise, we could define α′∈D\alpha^{\prime}\in D by αijk′=(αijk+αjik)/2\alpha^{\prime}_{ijk}=(\alpha_{ijk}+\alpha_{jik})/2, and it is not difficulty to see that the objective function is at least as great when applied to α′\alpha^{\prime} as when applied to α\alpha for all of the aforementioned optimization problems. Prior work also used such symmetry considerations; see [DS13, Vas12, LG14] for more details.

Recall the definition of the family of Coppersmith-Winograd tensors CWqCW_{q} parameterized by integer q≥0q\geq 0. CWqCW_{q} is a tensor over {x0,…,xq+1}\{x_{0},\ldots,x_{q+1}\}, {y0,…,yq+1}\{y_{0},\ldots,y_{q+1}\}, {z0,…,zq+1}\{z_{0},\ldots,z_{q+1}\} given by

CWqCW_{q} has a natural partitioning of its variables into X=X0∪X1∪X2X=X^{0}\cup X^{1}\cup X^{2}, Y=Y0∪Y1∪Y2Y=Y^{0}\cup Y^{1}\cup Y^{2}, Z=Z0∪Z1∪Z2Z=Z^{0}\cup Z^{1}\cup Z^{2}, where X0={x0}X^{0}=\{x_{0}\}, X1={x1,…,xq}X^{1}=\{x_{1},\ldots,x_{q}\}, X2={xq+1}X^{2}=\{x_{q+1}\}, Y0={y0}Y^{0}=\{y_{0}\}, Y1={y1,…,yq}Y^{1}=\{y_{1},\ldots,y_{q}\}, Y2={yq+1}Y^{2}=\{y_{q+1}\}, and Z0={z0}Z^{0}=\{z_{0}\}, Z1={z1,…,zq}Z^{1}=\{z_{1},\ldots,z_{q}\}, Z2={zq+1}Z^{2}=\{z_{q+1}\}. For i,j,k∈{0,1,2}i,j,k\in\{0,1,2\}, we write Tijk:=CWq∣Xi,Yj,ZkT_{ijk}:=CW_{q}|_{X^{i},Y^{j},Z^{k}}, and call these the subtensors of CWqCW_{q}. We see that the nonzero subtensors are: T002=x0y0zq+1T_{002}=x_{0}y_{0}z_{q+1}, T020=x0zq+1y0T_{020}=x_{0}z_{q+1}y_{0}, T200=xq+1y0z0T_{200}=x_{q+1}y_{0}z_{0}, T011=∑i=1qx0yiziT_{011}=\sum_{i=1}^{q}x_{0}y_{i}z_{i}, T101=∑i=1qxiy0ziT_{101}=\sum_{i=1}^{q}x_{i}y_{0}z_{i}, and T110=∑i=1qxiyiz0T_{110}=\sum_{i=1}^{q}x_{i}y_{i}z_{0}. In particular, we see that Tijk≠0T_{ijk}\neq 0 if and only if i+j+k=2i+j+k=2, meaning

Hence, CWqCW_{q} is a 22-partitioned tensor as defined in Section 4, and so we can apply Theorem 4.1 to it to bound its value Vτ(CWq)V_{\tau}(CW_{q}).

The subtensors of CWqCW_{q} are all isomorphic to matrix multiplication tensors, and so their values can all be computed by following the definition of VτV_{\tau}. The subtensors T002T_{002}, T020T_{020}, and T200T_{200} are all isomorphic to ⟨1,1,1⟩\langle 1,1,1\rangle and have value 11 for any τ∈[2/3,1]\tau\in[2/3,1]. Meanwhile, T011T_{011}, T101T_{101}, and T110T_{110} are isomorphic to ⟨1,1,q⟩\langle 1,1,q\rangle or one of its two rotations, and thus have value qτq^{\tau}. We can thus apply Theorem 4.1 to bound the value of CWqCW_{q}.

However, as in prior work, instead of applying Theorem 4.1 only to CWqCW_{q}, we will apply it to CWq⊗tCW_{q}^{\otimes t} for tt a power of 22. We focus on t∈{2,4,8,16,32}t\in\{2,4,8,16,32\} as these are the powers for which the software solvers obtain solutions. In general, it is not clear that applying Theorem 4.1 to a power of a tensor rather than the tensor itself should yield an improved value. However, prior work on analyzing the value of CWqCW_{q} has noticed that the laser method applied to powers of CWqCW_{q} can yield an improved bound because of a ‘merging’ phenomenon, wherein we can prove better value bounds on certain subtensors of CWq⊗tCW_{q}^{\otimes t} by merging together different matrix multiplication tensors into single, larger matrix multiplication tensors. We will also take advantage of this here.

As an example, the subtensor T1122T^{2}_{112} of CWq⊗2CW^{\otimes 2}_{q} is

Since every nonzero term xiyjzkx_{i}y_{j}z_{k} in CWqCW_{q} has κ(i)+κ(j)+κ(k)=2\kappa(i)+\kappa(j)+\kappa(k)=2, it follows that every nonzero TIJKtT^{t}_{IJK} in CWq⊗tCW_{q}^{\otimes t} has I+J+K=2tI+J+K=2t, and so the Xt,I,Yt,J,Zt,KX^{t,I},Y^{t,J},Z^{t,K} give a partitioning of the variables of CWq⊗2tCW_{q}^{\otimes 2t} with

Hence, CWq⊗tCW_{q}^{\otimes t} is a partitioned tensor with outer structure C2t+1C_{2t+1}.

In order to apply Theorem 4.1 to CWq⊗tCW_{q}^{\otimes t}, we need a way to bound the values of subtensors TIJKtT^{t}_{IJK}. As we can see with T1122T^{2}_{112} above, these subtensors are no longer always isomorphic to matrix multiplication tensors when t≥2t\geq 2, and so bounding these values will be less straightforward than before.

For I′,J′,K′∈{0,1,…,t}I^{\prime},J^{\prime},K^{\prime}\in\{0,1,\ldots,t\} with I′+J′+K′=t,I′≤I,J′≤J,K′≤KI^{\prime}+J^{\prime}+K^{\prime}=t,I^{\prime}\leq I,J^{\prime}\leq J,K^{\prime}\leq K, write

Tt(I′,J′,K′)T^{t}(I^{\prime},J^{\prime},K^{\prime}) is a tensor over the variables Xt/2,I′×Xt/2,I−I′X^{t/2,I^{\prime}}\times X^{t/2,I-I^{\prime}}, Yt/2,J′×Yt/2,J−J′Y^{t/2,J^{\prime}}\times Y^{t/2,J-J^{\prime}}, Zt/2,K′×Zt/2,K−K′Z^{t/2,K^{\prime}}\times Z^{t/2,K-K^{\prime}}. Hence, these sets for I′,J′,K′∈{0,1,…,t}I^{\prime},J^{\prime},K^{\prime}\in\{0,1,\ldots,t\} with I′≤I,J′≤J,K′≤KI^{\prime}\leq I,J^{\prime}\leq J,K^{\prime}\leq K partition the variables of TIJKtT^{t}_{IJK}, and they show that TIJKtT^{t}_{IJK} is a tt-partitioned tensor via

4 Larger Values of Some Subtensors from Merging

Finally, for a few subtensors, we can prove an even greater bound on their value than is given by the approach of Section 6.3. This is the key reason why analyzing higher powers of CWqCW_{q} with Theorem 4.1 can yield higher values. The idea is to note that TIJKtT^{t}_{IJK} is isomorphic to a matrix multiplication whenever I=0I=0, J=0J=0, or K=0K=0.

Consider, for instance, T2202T^{2}_{220}. As above, we have that

If we ‘rename’ xq+1,0x_{q+1,0} to x0,0x_{0,0}, y0,q+1y_{0,q+1} to y0,0y_{0,0}, x0,q+1x_{0,q+1} to xq+1,q+1x_{q+1,q+1}, and yq+1,0y_{q+1,0} to yq+1,q+1y_{q+1,q+1}, then this shows

Hence, Vτ(T2202)=(q+2)τV_{\tau}(T^{2}_{220})=(q+2)^{\tau}. One can verify that this is better than we would have gotten by applying Theorem 4.1 to T2202T^{2}_{220} as in Section 6.3. This is intuitively because that approach would have treated the three parts T200⊗T020,T020⊗T200,T110⊗T110T_{200}\otimes T_{020},T_{020}\otimes T_{200},T_{110}\otimes T_{110} as separate tensors instead of ‘merging’ them together into a single matrix multiplication tensor.

More generally, the subtensor TIJ0tT^{t}_{IJ0} for J∈{0,1,…,t/2}J\in\{0,1,\ldots,t/2\} and I=t−J≥JI=t-J\geq J can be merged into a single matrix multiplication tensor, yielding the value

See [Vas12, Claim 1] for the full calculation. The similar value bound holds for any TIJKtT^{t}_{IJK} where at least one of I,J,KI,J,K is by symmetry.

5 Numerical Value Bounds

Finally, we have written code to carry out the recursive procedure described in this section. We ultimately find that, for τ=2.3728596/3\tau=2.3728596/3, we get Vτ(CW5⊗32)>732+9.19×1022V_{\tau}(CW_{5}^{\otimes 32})>7^{32}+9.19\times 10^{22}. The code to verify this bound can be found at http://code.joshalman.com/MM. The basis of our code is the publicly available code of Le Gall [LG14]. We then added new functions to compute the maximum possible value achievable by Theorem 4.1, as well as all of the aforementioned heuristics. Our code makes use of both the NLPSolve function in Maple [Map18], and the CVX convex optimization software for Matlab [GB14, GB08, Mat19].

The values for the subtensors of CW5⊗tCW_{5}^{\otimes t} for t∈{2,4,8}t\in\{2,4,8\} are bounded by finding the optimal γ\gamma to use in Section 5.1. Most of the values for the subtensors of CW5⊗16CW_{5}^{\otimes 16}, and all of the values for the subtensors of CW5⊗32CW_{5}^{\otimes 32}, are bounded using Heuristic 2 from Section 5.2. For the subtensors of CW5⊗16CW_{5}^{\otimes 16} whose values are bounded using a different heuristic, the exact point γ\gamma that we use in Section 5.1 is included with the codeIn fact, the γ\gamma points we provide coincide with the β\beta points of Section 5.1.. Finally, the ‘global’ value bound for CW5⊗32CW_{5}^{\otimes 32} is computed using Heuristic 2. All of the subtensor value bounds we compute are provided along with the code.

Acknowledgements

We would like to thank François Le Gall for answering our questions about his code from [LG14], Ryan Williams for his suggestions for improving the presentation of this paper and optimizing our code, and anonymous reviewers for their helpful comments.

References

Appendix A Rounding α𝛼\alpha in the proof of Theorem 4.1

Recall the notation from Section 4. Fix any α∈D\alpha\in D and any sufficiently large positive integer nn.

There is an α′∈D\alpha^{\prime}\in D such that, for all (i,j,k)∈S(i,j,k)\in S,

αijk′\alpha^{\prime}_{ijk} is an integer multiple of 1n\frac{1}{n}, and

∣αijk−αijk′∣<1n|\alpha_{ijk}-\alpha^{\prime}_{ijk}|<\frac{1}{n}.

Let S′⊆SS^{\prime}\subseteq S be the set of (i,j,k)∈S(i,j,k)\in S such that αijk\alpha_{ijk} is not an integer multiple of 1n\frac{1}{n}. For each (i,j,k)∈S∖S′(i,j,k)\in S\setminus S^{\prime}, we pick αijk′=αijk\alpha^{\prime}_{ijk}=\alpha_{ijk}. Initially, for each (i,j,k)∈S′(i,j,k)\in S^{\prime}, let αijk′\alpha^{\prime}_{ijk} be αijk\alpha_{ijk} rounded down to the next integer multiple of 1n\frac{1}{n}, i.e. pick αijk′=⌊n⋅αijk⌋n\alpha^{\prime}_{ijk}=\frac{\lfloor n\cdot\alpha_{ijk}\rfloor}{n}. Since α∈D\alpha\in D we have that ∑(i,j,k)∈Sαijk=1\sum_{(i,j,k)\in S}\alpha_{ijk}=1. Let t=∑(i,j,k)∈Sαijk′t=\sum_{(i,j,k)\in S}\alpha^{\prime}_{ijk}. tt is an integer multiple of 1n\frac{1}{n}. Moreover, we have that

There is hence a nonnegative integer K≤∣S′∣K\leq|S^{\prime}| such that t=1−Knt=1-\frac{K}{n}. Pick any KK elements (i,j,k)(i,j,k) of S′S^{\prime} and add 1n\frac{1}{n} to αijk′\alpha^{\prime}_{ijk}. We now have ∑(i,j,k)∈Sαijk′=1\sum_{(i,j,k)\in S}\alpha^{\prime}_{ijk}=1, and so α′∈D\alpha^{\prime}\in D.

We always have that αijk′\alpha^{\prime}_{ijk} is an integer multiple of 1n\frac{1}{n}, since we originally picked integer multiples of 1n\frac{1}{n}, and then possibly added 1n\frac{1}{n} to them. Finally, we always have ∣αijk−αijk′∣<1n|\alpha_{ijk}-\alpha^{\prime}_{ijk}|<\frac{1}{n} since we initially rounded each αijk\alpha_{ijk} for (i,j,k)∈S′(i,j,k)\in S^{\prime} down to the next integer multiple of 1n\frac{1}{n}, then possibly added 1n\frac{1}{n} to it. ∎

Let α,α′∈D\alpha,\alpha^{\prime}\in D be as above. Then,

Since SS is a constant-sized set, it is sufficient to show that for any fixed (i,j,k)∈S(i,j,k)\in S we have

First, if αijk\alpha_{ijk} is an integer multiple of 1/n1/n, including if αijk=0\alpha_{ijk}=0, then we have αijk′=αijk\alpha^{\prime}_{ijk}=\alpha_{ijk}, and so αijk−αijkα′ijk−α′ijk=1\frac{\alpha_{ijk}^{-\alpha_{ijk}}}{{\alpha^{\prime}}_{ijk}^{-{\alpha^{\prime}}_{ijk}}}=1. Otherwise, let δ=αijk′−αijk\delta=\alpha^{\prime}_{ijk}-\alpha_{ijk}, so we have 0<∣δ∣<1n0<|\delta|<\frac{1}{n}. Consider first when δ>0\delta>0. We can write

Using the fact that log⁡(1+x)=x−O(x2)\log(1+x)=x-O(x^{2}) as x→0+x\to 0^{+}, and that αijk\alpha_{ijk} is a positive constant, we can bound

We have αijk−αijkα′ijk−α′ijk≥1\frac{\alpha_{ijk}^{-\alpha_{ijk}}}{{\alpha^{\prime}}_{ijk}^{-{\alpha^{\prime}}_{ijk}}}\geq 1 since δ>0\delta>0, which completes the proof for δ>0\delta>0. The proof for δ<0\delta<0 is nearly identical. ∎

Very similar proofs show that, for α,α′∈D\alpha,\alpha^{\prime}\in D as above, the ratios αVταVτ′\frac{\alpha_{V{\tau}}}{\alpha^{\prime}_{V_{\tau}}}, αBαB′\frac{\alpha_{B}}{\alpha^{\prime}_{B}}, and max⁡β∈DαβNmax⁡β∈Dα′βN\frac{\max_{\beta\in D_{\alpha}}\beta_{N}}{\max_{\beta\in D_{\alpha^{\prime}}}\beta_{N}}, are all bounded between 2−o(n)2^{-o(n)} and 2o(n)2^{o(n)} as well.

Appendix B Lemma for Section 4.4

We now prove Lemma B.1, which was used in the proof in Section 4.4 above. To apply it there, i=1,…,ci=1,\ldots,c are the different choices of randomness (i.e. the choices of w0,…,w2nw_{0},\ldots,w_{2n}) defining the hash functions.

Suppose cc is a positive integer, and A,B,a1,…,ac,b1,…,bcA,B,a_{1},\ldots,a_{c},b_{1},\ldots,b_{c} are positive real numbers such that ∑i=1cai=c⋅A\sum_{i=1}^{c}a_{i}=c\cdot A and ∑i=1cbi=c⋅B\sum_{i=1}^{c}b_{i}=c\cdot B. Then, there exists an i∈[c]i\in[c] such that

Assume to the contrary that for all i∈[c]i\in[c] we have

Rearranging, squaring both sides, then summing over all i∈[c]i\in[c] shows that

On the other hand, the power mean inequality says that