The Communication Complexity of Pattern Matching with Edits Revisited
Abstract
In the decades-old Pattern Matching with Edits problem, given a length- string (the text), a length- string (the pattern), and a positive integer (the threshold), the task is to list the -error occurrences of in , that is, all fragments of whose edit distance to is at most . The one-way communication complexity of Pattern Matching with Edits is the minimum number of bits that Alice, given an instance of the problem, must send to Bob so that Bob can reconstruct the answer solely from that message. For the natural parameter regime of , our recent work [STOC'24] yields that bits are necessary and bits are sufficient for Pattern Matching with Edits. More generally, for strings over an alphabet , our recent work [STOC'24] gives an -bit encoding that allows one to recover a shortest sequence of edits for every -error occurrence of in . In this work, we revisit the original proof and improve the encoding size to , which matches the lower bound for constant-sized alphabets. We further establish a new tight lower bound of for the edit sequence reporting variant that we solve. Our encoding size also matches the communication complexity established for the simpler Pattern Matching with Mismatches problem in the context of streaming algorithms [Clifford, Kociumaka, Porat; SODA'19].
Keywords
Cite
@article{arxiv.2604.15601,
title = {The Communication Complexity of Pattern Matching with Edits Revisited},
author = {Tomasz Kociumaka and Jakob Nogler and Philip Wellnitz},
journal= {arXiv preprint arXiv:2604.15601},
year = {2026}
}
Comments
41 pages, 2 figures; reuses and improves parts of 2403.18812 and 2410.06808