Improved Algorithm for Permutation Testing

Abstract

For a permutation π: [K]→ [K], a sequence f: \1,2,·s, n\→ R contains a π-pattern of size K, if there is a sequence of indices (i1, i2, ·s, iK) (i1<i2<·s<iK), satisfying that f(ia)<f(ib) if π(a)<π(b), for a,b∈ [K]. Otherwise, f is referred to as π-free. For the special case where π = (1,2,·s, K), it is referred to as the monotone pattern. newman2017testing initiated the study of testing π-freeness with one-sided error. They focused on two specific problems, testing the monotone permutations and the (1,3,2) permutation. For the problem of testing monotone permutation (1,2,·s,K), ben2019finding improved the ( n)O(K2) non-adaptive query complexity of newman2017testing to O(( n) 2 K). Further, ben2019optimal proposed an adaptive algorithm with O( n) query complexity. However, no progress has yet been made on the problem of testing (1,3,2)-freeness. In this work, we present an adaptive algorithm for testing (1,3,2)-freeness. The query complexity of our algorithm is O(ε-24 n), which significantly improves over the O(ε-726n)-query adaptive algorithm of newman2017testing. This improvement is mainly achieved by the proposal of a new structure embedded in the patterns.

0

Discussion (0)

Sign in to join the discussion.

Loading comments…