## Abstract

Analyzing 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 to understand local properties of the data. We focus on the natural 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 the entries of A that need to be modified to make it P-free. For any ϵ > 0 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 the distance is at most a_{d}ϵ, with query complexity and running time c_{d}ϵ^{-1}, where a_{d} < 1 and c_{d} depend only on the dimension d. These testers only need to access uniformly random blocks of samples from the input A. To analyze the testers we establish several combinatorial results, including the following ddimensional modification lemma, which might be of independent interest: For any large enough d-dimensional pattern P over any alphabet (excluding a small set of exceptional patterns for the binary case), and any d-dimensional 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.

Original language | English |
---|---|

Title of host publication | 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017 |

Editors | Anca Muscholl, Piotr Indyk, Fabian Kuhn, Ioannis Chatzigiannakis |

Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |

ISBN (Electronic) | 9783959770415 |

DOIs | |

State | Published - 1 Jul 2017 |

Externally published | Yes |

Event | 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017 - Warsaw, Poland Duration: 10 Jul 2017 → 14 Jul 2017 |

### Publication series

Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|

Volume | 80 |

ISSN (Print) | 1868-8969 |

### Conference

Conference | 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017 |
---|---|

Country/Territory | Poland |

City | Warsaw |

Period | 10/07/17 → 14/07/17 |

### Bibliographical note

Publisher Copyright:© Omri Ben-Eliezer, Simon Korman, and Daniel Reichman;.

## Keywords

- Pattern matching
- Property testing
- Sublinear algorithms

## ASJC Scopus subject areas

- Software