English

Optimal Depth-Three Circuits for Inner Product

Computational Complexity 2026-02-13 v2

Abstract

We show that Inner Product in 2n2n variables, IPn(x,y)=x1y1xnyn\mathbf{IP}_n(x, y) = x_1y_1 \oplus \ldots \oplus x_ny_n, can be computed by depth-3 bottom fan-in 2 circuits of size poly(n)(9/5)n\mathsf{poly}(n)\cdot (9/5)^n, matching the lower bound of G\"o\"os, Guan, and Mosnoi (Inform. Comput.'24). Our construction is obtained via the following steps. - We provide a general template for constructing optimal depth-3 circuits with bottom fan-in kk for an arbitrary function ff. We do this in two steps. First, we partition f1(1)f^{-1}(1) into orbits of its automorphism group. Second, for each orbit, we construct one kk-CNF that (a) accepts the largest number of inputs from that orbit and (b) rejects all inputs rejected by ff. - We instantiate the template for IPn\mathbf{IP}_n and k=2k = 2. Guided by the intuition (which we call modularity principle) that optimal 2-CNFs can be constructed by taking the conjunction of variable-disjoint copies of smaller 22-CNFs, we use computer search to identify a small set of building block 2-CNFs over at most 4 variables. - We again use computer search to discover appropriate combinations (disjoint conjunctions) of building blocks to arrive at optimal 2-CNFs and analyze them using techniques from analytic combinatorics. We believe that the approach outlined in this paper can be applied to a wide range of functions to determine their depth-3 complexity.

Cite

@article{arxiv.2601.04446,
  title  = {Optimal Depth-Three Circuits for Inner Product},
  author = {Mohit Gurumukhani and Daniel Kleber and Ramamohan Paturi and Christopher Rosin and Navid Talebanfard},
  journal= {arXiv preprint arXiv:2601.04446},
  year   = {2026}
}
R2 v1 2026-07-01T08:55:17.545Z