[Paper Review] Testing local properties of arrays
This paper introduces a generic, one-sided error, non-adaptive testing framework for k-local properties in d-dimensional arrays over arbitrary finite alphabets. It establishes optimal query complexity bounds—O(ε⁻¹k log(εn/k)) for d=1 and O(c_d ε⁻¹ᐟᵈ k n^{d-1}) for d>1)—by querying sphere-like structures independent of the property or alphabet, achieving tight bounds for monotonicity, Lipschitz continuity, convexity, and other local properties.
We study testing of local properties in one-dimensional and multi-dimensional arrays. A property of $d$-dimensional arrays $f:[n]^d o Σ$ is $k$-local if it can be defined by a family of $k imes \ldots imes k$ forbidden consecutive patterns. This definition captures numerous interesting properties. For example, monotonicity, Lipschitz continuity and submodularity are $2$-local; convexity is (usually) $3$-local; and many typical problems in computational biology and computer vision involve $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 $k$-local property of $d$-dimensional arrays is testable by a simple canonical one-sided error non-adaptive $\varepsilon$-test, whose query complexity is $O(ε^{-1}k \log{\frac{εn}{k}})$ for $d = 1$ and $O(c_d ε^{-1/d} k \cdot n^{d-1})$ for $d > 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 $Σ$. The query complexity is optimal for a wide range of parameters: For $d=1$, this matches the query complexity of many previously investigated local properties, while for $d > 1$ we design and analyze new constructions of $k$-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.
Motivation & Objective
- To develop a unified, efficient testing framework for local properties in structured arrays, particularly those defined by forbidden consecutive patterns.
- To establish tight query complexity bounds for testing k-local properties in both one-dimensional and multi-dimensional arrays.
- To demonstrate the optimality of the proposed method via matching lower bounds for one-sided and two-sided non-adaptive tests.
- To extend the applicability of property testing to a wide range of problems in computational biology, computer vision, and optimization by capturing them as k-local properties.
- To provide the first known sublinear query complexity upper bounds for certain previously unstudied local properties, including global count-based conditions like 'more zeros than ones'.
Proposed method
- Propose a canonical one-sided error, non-adaptive ε-test that queries sphere-like structures of varying sizes, independent of the property or alphabet.
- Define a k-local property as one where an array satisfies the property if and only if it avoids a family of k×⋯×k forbidden consecutive subarrays.
- Use a reduction to a counting-based property in a higher-dimensional auxiliary array A₃, where each cell stores aggregated 0/1 counts from a base array.
- Construct rejection and acceptance collections (C_rej and C_acc) based on global count imbalances (e.g., more zeros than ones in centers of gravity) to establish lower bounds.
- Apply probabilistic analysis to bound the expected value of the total count in a query set Q, showing that |Q| must be Ω(n^{d-1}/d) to distinguish C_acc from C_rej with one-sided error.
- Generalize the construction to arbitrary even k ≥ 2 and constant ε by modifying data flow and count aggregation rules while preserving k-locality.
Experimental results
Research questions
- RQ1Can a single, generic testing framework be designed to handle all k-local properties in d-dimensional arrays over arbitrary finite alphabets?
- RQ2What is the optimal query complexity for testing k-local properties in one-dimensional and multi-dimensional arrays?
- RQ3How do the query complexity bounds of the proposed framework compare to known bounds for specific properties like monotonicity, Lipschitz continuity, and convexity?
- RQ4Can the framework provide the first sublinear query complexity upper bounds for previously unstudied local properties, such as global count-based conditions?
- RQ5What are the tightest possible lower bounds for non-adaptive, one-sided error testing of k-local properties, and how do they match the upper bounds?
Key findings
- The proposed canonical test achieves O(ε⁻¹k log(εn/k)) query complexity for d=1 and O(c_d ε⁻¹ᐟᵈ k n^{d-1}) for d>1, matching known optimal bounds for monotonicity and Lipschitz continuity.
- For d=1, the query complexity matches the best-known bounds for previously studied local properties, confirming the framework’s efficiency.
- For d>1, the framework's upper bounds are matched by new constructions of k-local properties, proving the tightness of the complexity bounds.
- The method provides the first known sublinear query complexity upper bounds for certain global, non-local-in-the-traditional-sense properties, such as 'more zeros than ones in centers of gravity'.
- A matching lower bound of Ω(n^{d-1}/d) is proven for one-sided non-adaptive testing, showing the query complexity is optimal up to constant factors.
- The framework is universally applicable: the query set is independent of the property and alphabet, relying only on k and d, making it highly reusable across diverse applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.