Lune

SODA2026顶会

Space-Efficient k-Mismatch Text Indexes

Tomasz Kociumaka, Jakub Radoszewski

摘要

A central task in string processing is text indexing, where the goal is to preprocess a text (a string of length n) into an efficient index (a data structure) supporting queries about the text. While the most fundamental exact pattern matching queries ask to find all the occurrences of a pattern (a string of length m) as substrings of the text, many applications call for approximate pattern matching queries, where the pattern may differ slightly from the matching substrings. A breakthrough in the extensive study of approximate text indexing came from Cole, Gottlieb, and Lewenstein (STOC 2004), who proposed k-errata trees -a family of text indexes supporting several closely related flavors of approximate pattern matching queries. In particular, k-errata trees yield an elegant solution to k-mismatch queries, where the similarity is quantified using an upper bound k ≥ 1 on the Hamming distance between the pattern and its approximate occurrences. The resulting k-mismatch index uses O(n log k n) space and answers a query for a length-m pattern in O(log k n log log n + m + occ) time, where occ is the number of approximate occurrences.

In retrospect, k-errata trees appear very well optimized: even though a large body of work has adapted k-errata trees to various settings throughout the past two decades, the original time-space trade-off for k-mismatch indexing has not been improved in the general case. We present the first such improvement, a k-mismatch index with O(n log k-1 n) space and the same query time as k-errata trees.

Previously, due to a result of Chan, Lam, Sung, Tam, and Wong (Algorithmica 2010), such an O(n log k-1 n)-size index has been known only for texts over alphabets of constant size σ = O(1). In this setting, however, we obtain an even smaller k-mismatch index of size only O(n log k-2+ε+ 2 k+2-(k mod 2) n) ⊆ O(n log k-1.5+ε n) for 2 ≤ k ≤ O(1) and any constant ε > 0. Along the way, we also develop improved indexes for short patterns, offering better trade-offs in this practically relevant special case.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Space-Efficient Text Indexing with Mismatches using Function InversionJackson Bibbens, Levi Borevitz, Samuel McCauleySTOC 2026 · 2 次引用

它引用的 Paper2

  1. Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix TreesDominik Kempa, Tomasz KociumakaSODA 2023 · 10 次引用
  2. On the String Matching with k Differences in DNA DatabasesYangjun Chen, Hoang Hai NguyenVLDB 2021 · 3 次引用

相关 Paper

  1. Approximating text-to-pattern Hamming distancesTimothy M. Chan, Shay Golan, Tomasz Kociumaka, Tsvi Kopelowitz 等STOC 2020 · 2 次引用
  2. Near-Optimal-Time Quantum Algorithms for Approximate Pattern MatchingTomasz Kociumaka, Jakob Nogler, Philip WellnitzSODA 2025 · 1 次引用
  3. Faster Approximate Pattern Matching: A Unified ApproachPanagiotis Charalampopoulos, Tomasz Kociumaka, Philip WellnitzFOCS 2020 · 2 次引用
  4. Near-Optimal Property Testers for Pattern MatchingCe Jin, Tomasz KociumakaFOCS 2025 · 1 次引用
  5. Faster two-dimensional pattern matching with k mismatchesJonas Ellert, Pawel Gawrychowski, Adam Górkiewicz, Tatiana StarikovskayaSODA 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖