arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.15599cs.DS
收藏

在线字符串吸引子

Online String Attractors

Philip Whittington

AI总结:

本文提出字符串吸引子问题的在线变体,证明Lempel-Ziv分解为最优在线算法(竞争比上界O(log n)),并给出Fibonacci词上的匹配下界Ω(log n)及在线k-吸引子的紧k-竞争性。

摘要:

在当今以数据为中心的世界中,快速且有效的压缩数据至关重要。为了衡量第二个目标(即有效压缩)的成功程度,Kempa 和 Prezza [STOC2018] 引入了字符串吸引子(string attractor),这是一种统一基于字典压缩的组合对象。给定一个字符串 $T \in Σ^n$,一个字符串吸引子($k$-吸引子)是位置集合 $Γ\subseteq [1,n]$,使得每个不同的子串(长度至多为 $k$)至少有一个出现包含所选位置之一。字符串吸引子被证明可以被许多重要的字典压缩算法(如 Lempel-Ziv 77、Burrows-Wheeler 变换、直线程序(straight line programs)和宏方案(macro schemes))近似,并因此衡量这些算法的质量。\n\n为了处理海量数据,压缩通常必须以流式方式实现。因此,实际应用的压缩算法(如 Lempel-Ziv 77)已在线设置中被广泛研究。据我们所知,对于字符串吸引子问题,尚无此类工作,因此也没有理论基础。我们引入了 $k$-吸引子和字符串吸引子问题的自然在线变体。\n\n首先,我们表明 Lempel-Ziv 分解对应于该问题的最佳在线算法,从而得出竞争比的上界为 $\mathcal{O}(\log(n))$。另一方面,存在一些稀疏字符串族,它们具有常数大小的最优吸引子,例如无限 Sturmian 词和 Thue-Morse 词的前缀,这些词是通过迭代应用态射(morphism)生成的。我们考虑这些 Sturmian 词中最著名的 Fibonacci 词,并表明任何在线算法的代价随词的长度增长,从而得到匹配的下界 $Ω(\log(n))$。对于在线 $k$-吸引子问题,我们证明了紧的(严格的)$k$-竞争性。

英文摘要:

In today's data-centric world, fast and effective compression of data is paramount. To measure success towards the second goal, Kempa and Prezza [STOC2018] introduce the string attractor, a combinatorial object unifying dictionary-based compression. Given a string $T \in Σ^n$, a string attractor ($k$-attractor) is a set of positions $Γ\subseteq [1,n]$, such that every distinct substring (of length at most $k$) has at least one occurrence that contains one of the selected positions. String attractors are shown to be approximated by and thus measure the quality of many important dictionary compression algorithms such as Lempel-Ziv 77, the Burrows-Wheeler transform, straight line programs, and macro schemes. In order to handle massive amounts of data, compression often has to be achieved in a streaming fashion. Thus, practically applied compression algorithms, such as Lempel-Ziv 77, have been extensively studied in an online setting. To the best of our knowledge, there has been no such work, and therefore are no theoretical underpinnings, for the string attractor problem. We introduce a natural online variant of both the $k$-attractor and the string attractor problem. First, we show that the Lempel-Ziv factorization corresponds to the best online algorithm for this problem, resulting in an upper bound of $\mathcal{O}(\log(n))$ on the competitive ratio. On the other hand, there are families of sparse strings which have constant-size optimal attractors, e.g., prefixes of the infinite Sturmian words and Thue-Morse words, which are created by iterative application of a morphism. We consider the most famous of these Sturmian words, the Fibonacci word, and show that any online algorithm has a cost growing with the length of the word, for a matching lower bound of $Ω(\log(n))$. For the online $k$-attractor problem, we show tight (strict) $k$-competitiveness.

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

↑