arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18812cs.DSquant-ph
收藏

近似模式匹配的通信复杂度研究

On the Communication Complexity of Approximate Pattern Matching

Tomasz Kociumaka, Jakob Nogler, Philip Wellnitz

AI总结:

针对带编辑操作模式匹配问题通信复杂度研究空白,本文证明了至多差对数因子的最优上界,还给出可编码最短编辑序列的上界,并基于相关技术得到了该问题的量子算法。

摘要:

已有数十年研究历史的带编辑操作模式匹配(Pattern Matching with Edits)问题,给定长度为$n$的字符串$T$(文本)、长度为$m$的字符串$P$(模式)以及正整数$k$(阈值),要求列出$T$中所有与$P$的编辑距离不超过$k$的片段。该问题的单向通信复杂度是指对答案进行编码所需的最小空间量,使得无需访问输入字符串$P$和$T$即可检索到结果。\n与之密切相关的带失配模式匹配(Pattern Matching with Mismatches)问题(以汉明距离而非编辑距离定义)在通信复杂度视角下已有充分研究:Clifford、Kociumaka和Porat[SODA 2019]证明了其下界为$Ω(n/m · k \log(m/k))$比特,上界为$O(n/m · k\log (m|Σ|/k))$比特;该上界不仅支持对$T$中至多有$k$个失配的$P$出现位置进行编码,还能对每个$k$失配出现位置修正为精确匹配所需的替换操作进行编码。\n尽管近年在运行时间上有所改进[Charalampopoulos、Kociumaka和Wellnitz;FOCS 2020和2022],带编辑操作模式匹配的通信复杂度仍未被充分探究,已有研究给出的下界为$Ω(n/m · k\log(m/k))$比特,上界为$O(n/m · k^3\log m)$比特。在本研究中,我们证明了$O(n/m · k \log^2 m)$比特的上界,从而确立了至多相差对数因子的最优通信复杂度。我们还证明,$O(n/m · k \log m \log (m|Σ|))$比特可以为$T$中每个$k$误差的$P$出现位置,编码使其成为精确匹配所需的最短编辑操作序列。\n我们利用本次通信复杂度新成果背后的技术,得到了带编辑操作模式匹配的量子算法。

英文摘要:

The decades-old Pattern Matching with Edits problem, given a length-$n$ string $T$ (the text), a length-$m$ string $P$ (the pattern), and a positive integer $k$ (the threshold), asks to list all fragments of $T$ that are at edit distance at most $k$ from $P$. The one-way communication complexity of this problem is the minimum amount of space needed to encode the answer so that it can be retrieved without accessing the input strings $P$ and $T$. The closely related Pattern Matching with Mismatches problem (defined in terms of the Hamming distance instead of the edit distance) is already well understood from the communication complexity perspective: Clifford, Kociumaka, and Porat [SODA 2019] proved that $Ω(n/m \cdot k \log(m/k))$ bits are necessary and $O(n/m \cdot k\log (m|Σ|/k))$ bits are sufficient; the upper bound allows encoding not only the occurrences of $P$ in $T$ with at most $k$ mismatches but also the substitutions needed to make each $k$-mismatch occurrence exact. Despite recent improvements in the running time [Charalampopoulos, Kociumaka, and Wellnitz; FOCS 2020 and 2022], the communication complexity of Pattern Matching with Edits remained unexplored, with a lower bound of $Ω(n/m \cdot k\log(m/k))$ bits and an upper bound of $O(n/m \cdot k^3\log m)$ bits stemming from previous research. In this work, we prove an upper bound of $O(n/m \cdot k \log^2 m)$ bits, thus establishing the optimal communication complexity up to logarithmic factors. We also show that $O(n/m \cdot k \log m \log (m|Σ|))$ bits allow encoding, for each $k$-error occurrence of $P$ in $T$, the shortest sequence of edits needed to make the occurrence exact. We leverage the techniques behind our new result on the communication complexity to obtain quantum algorithms for Pattern Matching with Edits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑