TY - GEN
T1 - Strongly Sublinear Algorithms for Testing Pattern Freeness
AU - Newman, Ilan
AU - Varma, Nithin
N1 - Publisher Copyright: © Ilan Newman and Nithin Varma; licensed under Creative Commons License CC-BY 4.0
PY - 2022/7/1
Y1 - 2022/7/1
N2 - For a permutation π : [k] → [k], a function f : [n] → ℝ contains a π-appearance if there exists 1 ≤ i1 < i2 < · · · < ik ≤ n such that for all s, t ∈ [k], f(is) < f(it) if and only if π(s) < π(t). The function is π-free if it has no π-appearances. In this paper, we investigate the problem of testing whether an input function f is π-free or whether f differs on at least εn values from every π-free function. This is a generalization of the well-studied monotonicity testing and was first studied by Newman, Rabinovich, Rajendraprasad and Sohler [28]. We show that for all constants k ∈ N, ε ∈ (0, 1), and permutation π : [k] → [k], there is a one-sided error ε-testing algorithm for π-freeness of functions f : [n] → R that makes Õ(no(1)) queries. We improve significantly upon the previous best upper bound O(n1−1/(k−1)) by Ben-Eliezer and Canonne [7]. Our algorithm is adaptive, while the earlier best upper bound is known to be tight for nonadaptive algorithms.
AB - For a permutation π : [k] → [k], a function f : [n] → ℝ contains a π-appearance if there exists 1 ≤ i1 < i2 < · · · < ik ≤ n such that for all s, t ∈ [k], f(is) < f(it) if and only if π(s) < π(t). The function is π-free if it has no π-appearances. In this paper, we investigate the problem of testing whether an input function f is π-free or whether f differs on at least εn values from every π-free function. This is a generalization of the well-studied monotonicity testing and was first studied by Newman, Rabinovich, Rajendraprasad and Sohler [28]. We show that for all constants k ∈ N, ε ∈ (0, 1), and permutation π : [k] → [k], there is a one-sided error ε-testing algorithm for π-freeness of functions f : [n] → R that makes Õ(no(1)) queries. We improve significantly upon the previous best upper bound O(n1−1/(k−1)) by Ben-Eliezer and Canonne [7]. Our algorithm is adaptive, while the earlier best upper bound is known to be tight for nonadaptive algorithms.
KW - Pattern freeness
KW - Property testing
KW - Sublinear algorithms
UR - http://www.scopus.com/inward/record.url?scp=85133472642&partnerID=8YFLogxK
U2 - 10.4230/LIPIcs.ICALP.2022.98
DO - 10.4230/LIPIcs.ICALP.2022.98
M3 - Conference contribution
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 49th EATCS International Conference on Automata, Languages, and Programming, ICALP 2022
A2 - Bojanczyk, Mikolaj
A2 - Merelli, Emanuela
A2 - Woodruff, David P.
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 49th EATCS International Conference on Automata, Languages, and Programming, ICALP 2022
Y2 - 4 July 2022 through 8 July 2022
ER -