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.
\emph{string attractor}的概念最近在[Prezza,2017]中引入,并在[Kempa和Prezza,2018]中进行了研究,为已知的基于字典的压缩器提供了统一的框架。字$w=w[1]w[2]\cdots w[n]$的串吸引子是位置$\{1,\ldots,n\}$的子集$Γ$,使得$w$的所有不同因子具有穿过$Γ$的元素中的至少一个的出现。虽然找到单词的最小字符串吸引子是一个NP完全问题,但在[Kempa and Prezza,2018]中已经证明,字典压缩器可以被解释为近似给定单词的最小字符串吸引子的算法。在本文中,我们将探讨字符串吸引子的概念,从组合的角度来看,集中在几个家庭的有限字。结果表明,字符串吸引子的概念可以用来定义新的工具,调查的组合性质的话。
Smallest String Attractors and Minimal Coverage Certificates of Thue--Morse Words
University of Catania(卡塔尼亚大学);Univ Rouen Normandie, INSA Rouen Normandie, Université Le Havre Normandie, Normandie Univ(鲁昂诺曼底大学,鲁昂国立应用科学学院,勒阿弗尔诺曼底大学,诺曼底大学);University of Palermo(巴勒莫大学)
Univ. Gustave Eiffel(巴黎-塞纳大学);CNRS(法国国家科学研究中心);LIGM(图像与信号实验室);King’s College London(伦敦国王学院);Dipartimento di Matematica e Informatica, Univ. Palermo(巴勒莫大学数学与计算机科学系)
Joint Graduate School of Mathematics for Innovation, Kyushu University(九州大学数学创新联合研究生院);Department of Information Science and Technology, Kyushu University(九州大学信息科学技术系);Graduate School of Informatics and Engineering, University of Electro-Communications(电波大学信息与工程学院);Department of Informatics, Kyushu University(九州大学信息学系)