Deleting and Testing Forbidden Patterns in Multi-Dimensional Arrays

07/13/2016
by   Omri Ben-Eliezer, et al.
0

Understanding the local behaviour of structured multi-dimensional data is a fundamental problem in various areas of computer science. As the amount of data is often huge, it is desirable to obtain sublinear time algorithms, and specifically property testers, to understand local properties of the data. We focus on the natural local problem of testing pattern freeness: given a large d-dimensional array A and a fixed d-dimensional pattern P over a finite alphabet, we say that A is P-free if it does not contain a copy of the forbidden pattern P as a consecutive subarray. The distance of A to P-freeness is the fraction of entries of A that need to be modified to make it P-free. For any ϵ∈ [0,1] and any large enough pattern P over any alphabet, other than a very small set of exceptional patterns, we design a tolerant tester that distinguishes between the case that the distance is at least ϵ and the case that it is at most a_d ϵ, with query complexity and running time c_d ϵ^-1, where a_d < 1 and c_d depend only on d. To analyze the testers we establish several combinatorial results, including the following d-dimensional modification lemma, which might be of independent interest: for any large enough pattern P over any alphabet (excluding a small set of exceptional patterns for the binary case), and any array A containing a copy of P, one can delete this copy by modifying one of its locations without creating new P-copies in A. Our results address an open question of Fischer and Newman, who asked whether there exist efficient testers for properties related to tight substructures in multi-dimensional structured data. They serve as a first step towards a general understanding of local properties of multi-dimensional arrays, as any such property can be characterized by a fixed family of forbidden patterns.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/19/2018

Testing local properties of arrays

We study testing of local properties in one-dimensional and multi-dimens...
research
09/13/2023

Finding Morton-Like Layouts for Multi-Dimensional Arrays Using Evolutionary Algorithms

The layout of multi-dimensional data can have a significant impact on th...
research
09/30/2021

Breaking the hegemony of the triangle method in clique detection

We consider the fundamental problem of detecting/counting copies of a fi...
research
03/03/2010

Properties of the Discrete Pulse Transform for Multi-Dimensional Arrays

This report presents properties of the Discrete Pulse Transform on multi...
research
10/09/2017

A Sequential Thinning Algorithm For Multi-Dimensional Binary Patterns

Thinning is the removal of contour pixels/points of connected components...
research
02/23/2019

Faster and simpler algorithms for finding large patterns in permutations

Permutation patterns and pattern avoidance have been intensively studied...
research
03/16/2018

Distributed Caching for Complex Querying of Raw Arrays

As applications continue to generate multi-dimensional data at exponenti...

Please sign up or login with your details

Forgot password? Click here to reset