Faster two-dimensional pattern matching with $k$ mismatches
Jonas Ellert, Pawe{\l} Gawrychowski, Adam G\'orkiewicz and, Tatiana Starikovskaya

TL;DR
This paper introduces a faster algorithm for approximate pattern matching in two-dimensional square arrays, improving the time complexity for cases with a limited number of mismatches, leveraging new insights into two-dimensional periodicity.
Contribution
It presents a novel algorithm that reduces the time complexity for 2D pattern matching with mismatches by utilizing advanced 2D periodicity techniques.
Findings
Achieves near-linear time complexity for certain mismatch bounds
Improves upon the 30-year-old best algorithms for 2D approximate pattern matching
Provides theoretical bounds and practical implications for 2D pattern matching algorithms
Abstract
The classical pattern matching asks for locating all occurrences of one string, called the pattern, in another, called the text, where a string is simply a sequence of characters. Due to the potential practical applications, it is desirable to seek approximate occurrences, for example by bounding the number of mismatches. This problem has been extensively studied, and by now we have a good understanding of the best possible time complexity as a function of (length of the text), (length of the pattern), and (number of mismatches). In particular, we know that for , we can achieve quasi-linear time complexity [Gawrychowski and Uzna\'nski, ICALP 2018]. We consider a natural generalisation of the approximate pattern matching problem to two-dimensional strings, which are simply square arrays of characters. The exact version of this problem has been…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMusic and Audio Processing · Video Analysis and Summarization · Handwritten Text Recognition Techniques
