Abstract
The problem of testing monotonicity for Boolean functions on the hypergrid, $f:[n]^d \to \{0,1\}$ is a classic topic in property testing. When $n=2$, the domain is the hypercube. For the hypercube case, a breakthrough result of Khot-Minzer-Safra (FOCS 2015) gave a non-adaptive, one-sided tester making $\widetilde{O}(\varepsilon^{-2}\sqrt{d})$ queries. Up to polylog $d$ and $\varepsilon$ factors, this bound matches the $\widetilde{\Omega}(\sqrt{d})$-query non-adaptive lower bound. For any $n > 2$, the optimal non-adaptive complexity was unknown. A previous result of the authors achieves a $\widetilde{O}(d^{5/6})$-query upper bound, quite far from the $\sqrt{d}$ bound for the hypercube. In this paper, we resolve the non-adaptive complexity of monotonicity testing for all constant $n$, up to $\text{poly}(\varepsilon^{-1}\log d)$ factors. Specifically, we give a non-adaptive, one-sided monotonicity tester making $\widetilde{O}(\varepsilon^{-2}n\sqrt{d})$ queries. From a technical standpoint, we prove new directed isoperimetric theorems over the hypergrid $[n]^d$. These results generalize the celebrated directed Talagrand inequalities that were only known for the hypercube.
Introduction
In the field of property testing, monotonicity testing is a fundamental challenge: given oracle access to a Boolean function $f$, can we determine if it is monotone (non-decreasing in all coordinates) or "far" from monotone by querying only a tiny fraction of its domain?
For the hypercube ($n=2$), a landmark 2015 result by Khot, Minzer, and Safra (KMS) showed that $\tilde{O}(\sqrt{d})$ queries are sufficient, breaking the linear $d$ barrier. However, for the hypergrid $[n]^d$ (where each coordinate can take $n$ values), the situation remained murky. For $n > 2$, the best known upper bound was $O(d^{5/6})$, leaving a significant gap between the grid and the cube. The core difficulty lies in the geometry; the hypercube's clean structure allows for specific inductive operators that do not easily scale to the grid, where the number of possible Boolean functions on a single line grows exponentially with $n$.
The Isoperimetric Landscape
The progress in monotonicity testing is deeply tied to the development of isoperimetric inequalities. While undirected isoperimetry has been well-understood for decades, directed versions—crucial for monotonicity—have only recently caught up to their undirected counterparts.
As shown in the table above, the directed Talagrand inequality (bottom right) was a key component of the KMS breakthrough for the hypercube. This paper generalizes such results to the hypergrid, providing the necessary theoretical foundation to achieve $\sqrt{d}$ query complexity in higher dimensions.
Methods
To move past the limitations of previous techniques, the authors introduce several novel conceptual tools:
1. Tracker Functions
Instead of trying to generalize the complex "split operators" used in hypercube proofs, the authors define a collection of Boolean functions on the hypercube that "track" how sorting the original function along different dimensions changes its values. This effectively reduces a grid problem to a cube problem.
2. Majorization Theory
To prove that their "Talagrand objective" (a measure of function complexity) behaves well under sorting, the authors turn to the theory of majorization. They show that sorting a function along a line is essentially a majorizing operation on the vector of influences. Because the square root function is concave, majorization guarantees that the objective won't increase—avoiding the need for exhaustive case-by-case analysis.
3. Hybrid Potential Argument and Path Tester
The authors employ a hybrid argument that defines a potential function across $d+1$ rounds. In each round, they "sort" one dimension, showing that the potential (which starts as the grid's directed influence and ends as the cube's undirected influence) only decreases. They then adapt the "path tester"—which queries the endpoints of a directed random walk—to the hypergrid to catch monotonicity violations.
Key Results
The primary technical contribution is a new directed Talagrand theorem for hypergrids, showing that for any function $\epsilon$-far from monotone, the expected square root of its thresholded influence is $\Omega(\epsilon / \log n)$. Leveraging this, the authors present a non-adaptive, one-sided monotonicity tester with query complexity:
$$O\left(\frac{n\sqrt{d} \log^5(nd)}{\epsilon^2}\right)$$
For constant $n$, this resolves the complexity of monotonicity testing up to polylogarithmic factors, matching the $\sqrt{d}$ behavior previously only known for the hypercube.
Limitations and Future Work
The primary limitation of the current result is the linear dependence on $n$. While this is a major step forward for constant $n$, the bound degrades as the grid becomes "longer." The authors propose Conjecture 8.5, a "weighted influence" version of their theorem where edges are weighted by the reciprocal of their length. If true, this would lead to a tester with only a polylogarithmic dependence on $n$, making the complexity almost entirely dependent on the dimension $d$.
Summary updated