Lune

SODA2026Top-tier venue

Testing forbidden order-pattern properties on hypergrids

Harish Chandramouleeswaran, Ilan Newman, Tomer Pelleg, Nithin Varma

Abstract

Given a permutation π : [k] → [k], a function f : [n] d → R is said to be π-free if there are no k indices x 1 ≺ • • • ≺ x k ∈ [n] d such that f (x i ) < f (x j ) and π(i) < π(j) for all i, j ∈ [k], where ≺ is the natural partial order over [n] d . For a fixed π and ǫ ∈ (0, 1), the problem of ǫ-testing π-freeness is to distinguish the case that f is π-free from the case that at least ǫn d values of f need to be modified in order to make it π-free. When k = 2, the problem is identical to monotonicity testing, which is extensively studied in property testing. The case of k > 2 has also received significant attention for functions f : [n] → R.

We initiate a systematic study of testing of π-freeness for higher dimensional grids; specifically, for permutations of size 3 over hypergrids of dimension 2. We design an adaptive one-sided error π-freeness tester with query complexity O(n 4/5+o(1) ) that works for all permutations of size 3. We then argue that for general permutations of size 3, every nonadaptive tester must have query complexity Ω(n), and further, that every adaptive tester must have query complexity Ω( √ n). This is the first general lower bound for testing π-freeness that is higher than Θ(log n).

For the important special case of π = (1, 2, 3) or (3, 2, 1), we design a nonadaptive tester with a significantly improved (nearly optimal) query complexity of polylog n. Such an exponential gap in the complexity of testing freeness of nonmonotone and monotone patterns is not known, in general, in the one-dimensional case.

Erasure-resilient (ER) monotonicity testers are important subroutines in the design of our π-freeness testers. We design δ-ER ǫ-testers for monotonicity for functions f : [n] d → R with query complexity O log O(d) n ǫ(1-δ)

, where δ ∈ (0, 1) is an upper bound on the fraction of erasures.

Earlier erasure-resilient monotonicity testers worked only when δ = O(ǫ/d). The complexity of our nonadaptive monotonicity tester is nearly optimal as evidenced by a lower bound of Pallavoor, Raskhodnikova, and Waingarten (Random Struct. Algorithms, 2022).

Lastly, we argue that the current techniques in function property testing cannot give us sublinear-query testers for patterns of length 4 even for 2-dimensional hypergrids.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximating the Distance to Monotonicity of Boolean Functions cites Domain Reduction for Monotonicity Testing: A o(d) Tester for Boolean Functions in d-Dimensions
  • Directed Isoperimetric Theorems for Boolean Functions on the Hypergrid and an Õ(n√d) Monotonicity Tester cites Approximating the Distance to Monotonicity of Boolean Functions
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on7

  1. Domain Reduction for Monotonicity Testing: A o(d) Tester for Boolean Functions in d-DimensionsHadley Black, Deeparnab Chakrabarty, C. SeshadhriSODA 2020 · 10 citations
  2. Approximating the Distance to Monotonicity of Boolean FunctionsRamesh Krishnan S. Pallavoor, Sofya Raskhodnikova, Erik WaingartenSODA 2020 · 6 citations
  3. A d1/2+o(1) Monotonicity Tester for Boolean Functions on d-Dimensional HypergridsHadley Black, Deeparnab Chakrabarty, C. SeshadhriFOCS 2023 · 5 citations
  4. Directed Isoperimetric Theorems for Boolean Functions on the Hypergrid and an Õ(n√d) Monotonicity TesterHadley Black, Deeparnab Chakrabarty, C. SeshadhriSTOC 2023 · 5 citations
  5. Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix DecompositionParinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta et al.SODA 2023 · 4 citations

Related papers

  1. Boolean Function Monotonicity Testing Requires (Almost) n1/2 QueriesMark Chen, Xi Chen, Hao Cui, William Pires et al.STOC 2026
  2. Testing convexity of functions over finite domainsAleksandrs Belovs, Eric Blais, Abhinav BommireddiSODA 2020 · 2 citations
  3. Mildly Exponential Lower Bounds on Tolerant Testers for Monotonicity, Unateness, and JuntasXi Chen, Anindya De, Yuhao Li, Shivam Nadimpalli et al.SODA 2024
  4. Non-adaptive vs Adaptive Queries in the Dense Graph Testing ModelOded Goldreich, Avi WigdersonFOCS 2021 · 7 citations
  5. The complexity of testing all properties of planar graphs, and the role of isomorphismSabyasachi Basu, Akash Kumar, C. SeshadhriSODA 2022
Dusk over the sea between two cliffs drawn in fine vertical lines