Skip to main content
QUICK REVIEW

[Paper Review] Nearly Optimal Bounds for Sample-Based Testing and Learning of $k$-Monotone Functions

Hadley Black|arXiv (Cornell University)|Oct 18, 2023
Machine Learning and AlgorithmsComputer Science1 citations
TL;DR

This paper establishes nearly tight sample complexity bounds for testing and learning $k$-monotone functions over the hypercube and continuous product spaces. It proves a lower bound of $\exp(\Omega(\min\{\frac{rk}{\varepsilon}\sqrt{d}, d\}))$ for $k$-monotonicity testing and learning of functions $f: \{0,1\}^d \to [r]$, matching known upper bounds up to logarithmic factors in the exponent, and extends these results to $\mathbb{R}^d$ under product distributions with improved sample efficiency.

ABSTRACT

We study monotonicity testing of functions $f \colon \{0,1\}^d o \{0,1\}$ using sample-based algorithms, which are only allowed to observe the value of $f$ on points drawn independently from the uniform distribution. A classic result by Bshouty-Tamon (J. ACM 1996) proved that monotone functions can be learned with $\exp(\widetilde{O}(\min\{\frac{1}{\varepsilon}\sqrt{d},d\}))$ samples and it is not hard to show that this bound extends to testing. Prior to our work the only lower bound for this problem was $Ω(\sqrt{\exp(d)/\varepsilon})$ in the small $\varepsilon$ parameter regime, when $\varepsilon = O(d^{-3/2})$, due to Goldreich-Goldwasser-Lehman-Ron-Samorodnitsky (Combinatorica 2000). Thus, the sample complexity of monotonicity testing was wide open for $\varepsilon \gg d^{-3/2}$. We resolve this question, obtaining a nearly tight lower bound of $\exp(Ω(\min\{\frac{1}{\varepsilon}\sqrt{d},d\}))$ for all $\varepsilon$ at most a sufficiently small constant. In fact, we prove a much more general result, showing that the sample complexity of $k$-monotonicity testing and learning for functions $f \colon \{0,1\}^d o [r]$ is $\exp(Ω(\min\{\frac{rk}{\varepsilon}\sqrt{d},d\}))$. For testing with one-sided error we show that the sample complexity is $\exp(Θ(d))$. Beyond the hypercube, we prove nearly tight bounds (up to polylog factors of $d,k,r,1/\varepsilon$ in the exponent) of $\exp(\widetildeΘ(\min\{\frac{rk}{\varepsilon}\sqrt{d},d\}))$ on the sample complexity of testing and learning measurable $k$-monotone functions $f \colon \mathbb{R}^d o [r]$ under product distributions. Our upper bound improves upon the previous bound of $\exp(\widetilde{O}(\min\{\frac{k}{\varepsilon^2}\sqrt{d},d\}))$ by Harms-Yoshida (ICALP 2022) for Boolean functions ($r=2$).

Motivation & Objective

  • To close the gap in sample complexity bounds for monotonicity testing and learning in the sample-based model, particularly for $\varepsilon \gg d^{-3/2}$.
  • To establish nearly optimal lower bounds for $k$-monotonicity testing and learning of functions $f: \{0,1\}^d \to [r]$.
  • To extend these bounds to continuous product spaces, providing nearly tight sample complexity for learning and testing measurable $k$-monotone functions on $\mathbb{R}^d$.
  • To improve the sample complexity of learning algorithms for $k$-monotone functions under product distributions, matching the new lower bounds up to polylogarithmic factors.

Proposed method

  • Constructs two distributions, $D_{\text{yes}}$ and $D_{\text{no}}$, to prove a lower bound via indistinguishability under uniform sampling.
  • Uses a probabilistic argument based on the union bound over pairs of samples to show that any one-sided tester must use $\exp(\Omega(d))$ samples to detect non-monotonicity.
  • Applies a coupon-collecting argument to establish a sample complexity lower bound of $\exp(\Omega(d))$ for one-sided error testing of monotonicity.
  • Reduces the learning problem over $\mathbb{R}^d$ to learning over hypergrids via downsampling, enabling the use of discrete techniques.
  • Employs a learning algorithm based on empirical risk minimization with a hypothesis class of bounded VC-dimension, ensuring generalization with high probability.
  • Uses the testing-by-learning framework: a learning algorithm with $s(\varepsilon/4)$ samples is converted into a tester with $s(\varepsilon/4) + O(1/\varepsilon^2)$ samples.

Experimental results

Research questions

  • RQ1What is the optimal sample complexity for testing $k$-monotonicity of functions $f: \{0,1\}^d \to [r]$ in the sample-based model?
  • RQ2Can nearly tight lower bounds be established for $k$-monotonicity testing and learning that match existing upper bounds?
  • RQ3How does the sample complexity of learning and testing $k$-monotone functions scale in continuous product spaces like $\mathbb{R}^d$?
  • RQ4Can the sample complexity of learning $k$-monotone functions over $\mathbb{R}^d$ be improved to match the new lower bounds?

Key findings

  • The paper establishes a nearly tight lower bound of $\exp(\Omega(\min\{\frac{rk}{\varepsilon}\sqrt{d}, d\}))$ for $k$-monotonicity testing and learning of functions $f: \{0,1\}^d \to [r]$.
  • For one-sided error testing of monotonicity ($k=1$, $r=2$), the sample complexity is $\exp(\Omega(d))$, which is tight up to logarithmic factors.
  • The learning upper bound for $k$-monotone functions over $\mathbb{R}^d$ under product distributions is $\exp(\widetilde{O}(\min\{\frac{rk}{\varepsilon}\sqrt{d}, d\}))$, matching the lower bound up to polylogarithmic factors in the exponent.
  • The improved learning algorithm for $\mathbb{R}^d$ matches the new sample-based testing lower bound, resolving a long-standing gap in the continuous setting.
  • The results close the gap in sample complexity for monotonicity testing in the $\varepsilon \gg d^{-3/2}$ regime, where prior bounds were unknown.
  • The paper provides a general framework for proving lower bounds in sample-based testing by constructing indistinguishable distributions that are far from $k$-monotone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.