English

Testing local properties of arrays

Data Structures and Algorithms 2018-11-20 v1 Discrete Mathematics Combinatorics

Abstract

We study testing of local properties in one-dimensional and multi-dimensional arrays. A property of dd-dimensional arrays f:[n]dΣf:[n]^d \to \Sigma is kk-local if it can be defined by a family of k××kk \times \ldots \times k forbidden consecutive patterns. This definition captures numerous interesting properties. For example, monotonicity, Lipschitz continuity and submodularity are 22-local; convexity is (usually) 33-local; and many typical problems in computational biology and computer vision involve o(n)o(n)-local properties. In this work, we present a generic approach to test all local properties of arrays over any finite (and not necessarily bounded size) alphabet. We show that any kk-local property of dd-dimensional arrays is testable by a simple canonical one-sided error non-adaptive ε\varepsilon-test, whose query complexity is O(ϵ1klogϵnk)O(\epsilon^{-1}k \log{\frac{\epsilon n}{k}}) for d=1d = 1 and O(cdϵ1/dknd1)O(c_d \epsilon^{-1/d} k \cdot n^{d-1}) for d>1d > 1. The queries made by the canonical test constitute sphere-like structures of varying sizes, and are completely independent of the property and the alphabet Σ\Sigma. The query complexity is optimal for a wide range of parameters: For d=1d=1, this matches the query complexity of many previously investigated local properties, while for d>1d > 1 we design and analyze new constructions of kk-local properties whose one-sided non-adaptive query complexity matches our upper bounds. For some previously studied properties, our method provides the first known sublinear upper bound on the query complexity.

Keywords

Cite

@article{arxiv.1811.07448,
  title  = {Testing local properties of arrays},
  author = {Omri Ben-Eliezer},
  journal= {arXiv preprint arXiv:1811.07448},
  year   = {2018}
}

Comments

ITCS 2019

R2 v1 2026-06-23T05:19:50.849Z