English

Optimal bounds for monotonicity and Lipschitz testing over hypercubes and hypergrids

Discrete Mathematics 2014-04-04 v3 Computational Complexity Data Structures and Algorithms

Abstract

The problem of monotonicity testing over the hypergrid and its special case, the hypercube, is a classic, well-studied, yet unsolved question in property testing. We are given query access to f:[k]nRf:[k]^n \mapsto \R (for some ordered range R\R). The hypergrid/cube has a natural partial order given by coordinate-wise ordering, denoted by \prec. A function is \emph{monotone} if for all pairs xyx \prec y, f(x)f(y)f(x) \leq f(y). The distance to monotonicity, \epsf\eps_f, is the minimum fraction of values of ff that need to be changed to make ff monotone. For k=2k=2 (the boolean hypercube), the usual tester is the \emph{edge tester}, which checks monotonicity on adjacent pairs of domain points. It is known that the edge tester using O(\eps1nlogR)O(\eps^{-1}n\log|\R|) samples can distinguish a monotone function from one where \epsf>\eps\eps_f > \eps. On the other hand, the best lower bound for monotonicity testing over the hypercube is min(R2,n)\min(|\R|^2,n). This leaves a quadratic gap in our knowledge, since R|\R| can be 2n2^n. We resolve this long standing open problem and prove that O(n/\eps)O(n/\eps) samples suffice for the edge tester. For hypergrids, known testers require O(\eps1nlogklogR)O(\eps^{-1}n\log k\log |\R|) samples, while the best known (non-adaptive) lower bound is Ω(\eps1nlogk)\Omega(\eps^{-1} n\log k). We give a (non-adaptive) monotonicity tester for hypergrids running in O(\eps1nlogk)O(\eps^{-1} n\log k) time. Our techniques lead to optimal property testers (with the same running time) for the natural \emph{Lipschitz property} on hypercubes and hypergrids. (A cc-Lipschitz function is one where f(x)f(y)cxy1|f(x) - f(y)| \leq c\|x-y\|_1.) In fact, we give a general unified proof for O(\eps1nlogk)O(\eps^{-1}n\log k)-query testers for a class of "bounded-derivative" properties, a class containing both monotonicity and Lipschitz.

Keywords

Cite

@article{arxiv.1204.0849,
  title  = {Optimal bounds for monotonicity and Lipschitz testing over hypercubes and hypergrids},
  author = {Deeparnab Chakrabarty and C. Seshadhri},
  journal= {arXiv preprint arXiv:1204.0849},
  year   = {2014}
}

Comments

Cleaner proof and much better presentation

R2 v1 2026-06-21T20:44:23.729Z