English

Testing convexity of functions over finite domains

Computational Complexity 2019-08-08 v1

Abstract

We establish new upper and lower bounds on the number of queries required to test convexity of functions over various discrete domains. 1. We provide a simplified version of the non-adaptive convexity tester on the line. We re-prove the upper bound O(log(ϵn)ϵ)O(\frac{\log(\epsilon n)}{\epsilon}) in the usual uniform model, and prove an O(lognϵ)O(\frac{\log n}{\epsilon}) upper bound in the distribution-free setting. 2. We show a tight lower bound of Ω(log(ϵn)ϵ)\Omega(\frac{\log(\epsilon n)}{\epsilon}) queries for testing convexity of functions f:[n]Rf: [n] \rightarrow \mathbb{R} on the line. This lower bound applies to both adaptive and non-adaptive algorithms, and matches the upper bound from item 1, showing that adaptivity does not help in this setting. 3. Moving to higher dimensions, we consider the case of a stripe [3]×[n][3] \times [n]. We construct an \emph{adaptive} tester for convexity of functions f ⁣:[3]×[n]Rf\colon [3] \times [n] \to \mathbb R with query complexity O(log2n)O(\log^2 n). We also show that any \emph{non-adaptive} tester must use Ω(n)\Omega(\sqrt{n}) queries in this setting. Thus, adaptivity yields an exponential improvement for this problem. 4. For functions f ⁣:[n]dRf\colon [n]^d \to \mathbb R over domains of dimension d2d \geq 2, we show a non-adaptive query lower bound Ω((nd)d2)\Omega((\frac{n}{d})^{\frac{d}{2}}).

Keywords

Cite

@article{arxiv.1908.02525,
  title  = {Testing convexity of functions over finite domains},
  author = {Aleksandrs Belovs and Eric Blais and Abhinav Bommireddi},
  journal= {arXiv preprint arXiv:1908.02525},
  year   = {2019}
}

Comments

24 pages

R2 v1 2026-06-23T10:41:52.034Z