Testing forbidden order-pattern properties on hypergrids

Abstract

We study testing π-freeness of functions f:[n]d, where f is π-free if there there are no k indices x1·s xk∈ [n]d such that f(xi)<f(xj) and π(i) < π(j) for all i,j ∈ [k], where is the natural partial order over [n]d. Given ε∈(0,1), ε-testing π-freeness asks to distinguish π-free functions from those which are ε-far -- meaning at least ε nd function values must be modified to make it π-free. While k=2 coincides with monotonicity testing, far less is known for k>2. We initiate a systematic study of pattern freeness on higher-dimensional grids. For d=2 and all permutations of size k=3, we design an adaptive one-sided tester with query complexity O(n4/5+o(1)). We also prove general lower bounds for k=3: every nonadaptive tester requires (n) queries, and every adaptive tester requires (n) queries, yielding the first super-logarithmic lower bounds for π-freeness. For the monotone patterns π=(1,2,3) and (3,2,1), we present a nonadaptive tester with polylogarithmic query complexity, giving an exponential separation between monotone and nonmonotone patterns (unlike the one-dimensional case). A key ingredient in our π-freeness testers is new erasure-resilient (δ-ER) ε-testers for monotonicity over [n]d with query complexity O(O(d)n/(ε(1-δ))), where 0<δ<1 is an upper bound on the fraction of erasures. Prior ER testers worked only for δ=O(ε/d). Our nonadaptive monotonicity tester is nearly optimal via a matching lower bound due to Pallavoor, Raskhodnikova, and Waingarten (Random Struct. Algorithms, 2022). Finally, we show that current techniques cannot yield sublinear-query testers for patterns of length 4 even on two-dimensional hypergrids.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…