Testing Convexity of Discrete Sets in High Dimensions

Hadley Black, Eric Blais, Nathaniel Harms · DOI

Abstract

Discrete convexity, defined by the intersection of a continuous convex body and a grid, presents significant challenges compared to its continuous counterpart. This paper provides a comprehensive analysis of the complexity of testing and learning discrete convex sets within the ternary hypercube $\{0, \pm 1\}^n$. Key findings include a tight bound on the maximum influence of such sets at $\Theta(n^{3/4})$ and the demonstration of an exponential advantage for query-based testing over random sampling in detecting non-convexity.

Introduction

Convexity is a cornerstone of optimization and geometry. While well-understood in continuous spaces ($\mathbb{R}^n$), discrete convexity—where a set is formed by the intersection of a continuous convex body and a grid—is much more elusive. This is the realm where linear programming transitions into the significantly more complex integer linear programming.

A discrete convex set in the ternary hypercube, formed by the intersection of a continuous convex body (red) and the grid.

This research investigates the simplest high-dimensional grid where convexity is non-trivial: the ternary hypercube $\{0, \pm 1\}^n$. In a binary hypercube ({0, 1}^n), every subset is technically convex, making the problem uninteresting. In the ternary hypercube, the "middle" points (zeros) allow for lines that define convexity. The paper seeks to determine the complexity of these sets, the sample requirements for learning them, and the difficulty of "testing" if a set is convex or far from it.

Methods and Mathematical Framework

The authors employ a mix of combinatorial geometry, probability, and Fourier analysis to analyze these discrete structures:

  • Random Walk Analysis: To bound the "influence" (a measure of the boundary size) of convex sets, the authors relate the problem to the number of sign-changes in a one-dimensional random walk, utilizing Sparre Andersen’s fluctuation theorem for an upper bound.
  • Fourier Analysis on Non-Standard Domains: The "Low-Degree Algorithm" (LMN93), typically used for Boolean functions, is adapted to the ternary domain. The authors show that the "Fourier mass" of convex sets is concentrated on low-degree coefficients.
  • Outward-Oriented Poset: A partial order is defined where the origin $0^n$ is the minimum and the corners $\{\pm 1\}^n$ are maxima. This structure helps identify "certificates" of non-convexity (violating pairs).
  • Lower Bound Constructions: Sophisticated probabilistic constructions, including versions of Talagrand’s random DNFs and "truncated anti-slabs," are used to prove testing complexity requirements.

Key Insights and Structural Properties

  • The $n^{3/4}$ Threshold: A striking result is that the maximum influence of a convex set in this domain is $\Theta(n^{3/4})$. This is higher than the $\sqrt{n}$ influence typically seen in halfspaces or balls, arising from the "density increment" that occurs when intersecting many random halfspaces.
  • The Power of Queries: For "one-sided error" testing, there is a massive gap between sample-based testing ($3^{\Theta(n)}$ complexity) and query-based testing ($3^{\Theta(\sqrt{n})}$ complexity). This proves that being able to choose where to look is exponentially better than observing random data points.
  • Structural Concentration: Despite the discrete nature of the grid, convex sets exhibit a "concentration of mass" in the middle layers of the hypercube, which is exploited to bound algorithmic complexity.

Key Results

  • Structural: Every convex set in $\{0, \pm 1\}^n$ has influence $O(n^{3/4} \log^{1/4} n)$, with a matching lower bound of $\Omega(n^{3/4})$.
  • Learning: A uniform-distribution learning algorithm exists with sample complexity $3^{O(n^{3/4}/\epsilon)}$.
  • One-Sided Testing: Non-adaptive query complexity is nearly tight at $3^{\Theta(\sqrt{n})}$, while random sample complexity is $3^{\Theta(n)}$.
  • Two-Sided Testing: The paper provides a lower bound of $3^{\Omega(\sqrt{n})}$ for sample-based testing with two-sided error.

Conclusion and Future Work

While this work establishes the first comprehensive bounds for the ternary hypercube, several questions remain. There is still a gap between the $3^{\Omega(\sqrt{n})}$ lower bound and the $3^{O(n^{3/4})}$ upper bound for the general learning problem. Furthermore, generalizing these results to larger grids $[m]^n$ (where $m > 3$) remains an open challenge, as the "outward-oriented" structure becomes significantly more complex. Finally, determining if two-sided testers can be significantly more efficient than one-sided testers is a suggested direction for future research.

Summary updated

BibTeX
@inproceedings{black2024testing,
  author = {Hadley Black and Eric Blais and Nathaniel Harms},
  title = {{Testing Convexity of Discrete Sets in High Dimensions}},
  booktitle = {ITCS},
  year = {2024},
  url = {https://openreview.net/forum?id=tvSIGufccP},
}
Figure