Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1710.10964v2

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1710.10964v2 (cs)
[Submitted on 30 Oct 2017 (v1), revised 4 Nov 2017 (this version, v2), latest version 28 May 2019 (v4)]

Title:At the Roots of Dictionary Compression: String Attractors

Authors:Dominik Kempa, Nicola Prezza
View a PDF of the paper titled At the Roots of Dictionary Compression: String Attractors, by Dominik Kempa and Nicola Prezza
View PDF
Abstract:A well-known fact in the field of lossless text compression is that high-order entropy is a weak model when the input contains long repetitions. Motivated by this fact, decades of research have generated myriads of so-called dictionary compressors: algorithms able to reduce the text's size by exploiting its repetitiveness. Lempel-Ziv 77 is probably one of the most successful and known tools of this kind, followed by straight-line programs, run-length Burrows-Wheeler transform, macro schemes, collage systems, and the compact directed acyclic word graph. In this paper, we show that these techniques are only different solutions to the same, elegant, combinatorial problem: to find a small set of positions capturing all distinct text's substrings. We call \emph{string attractor} such a set. We first show reductions between dictionary compressors and string attractors. This gives us the approximation ratios of dictionary compressors with respect to the smallest string attractor and allows us to solve several open problems related to the asymptotic relations between the output sizes of different dictionary compressors. We then show that $k$-attractor problem --- that is, deciding whether a text has a size-$t$ set of positions capturing all substrings of length at most $k$ --- is NP-complete for $k\geq 3$. This, in particular, implies the NP-completeness of the full string attractor problem. We provide several approximation techniques for the smallest $k$-attractor, show that the problem is APX-complete for constant $k$, and give strong inapproximability results. To conclude, we provide matching lower- and upper- bounds for the random access problem on string attractors. Our data structure matching the lower bound is optimal also for LZ77, straight-line programs, collage systems, and macro schemes, and therefore essentially closes the random access problem for all these compressors.
Comments: added conclusion
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1710.10964 [cs.DS]
  (or arXiv:1710.10964v2 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1710.10964
arXiv-issued DOI via DataCite

Submission history

From: Nicola Prezza [view email]
[v1] Mon, 30 Oct 2017 14:24:35 UTC (48 KB)
[v2] Sat, 4 Nov 2017 14:19:42 UTC (51 KB)
[v3] Thu, 22 Mar 2018 10:28:19 UTC (53 KB)
[v4] Tue, 28 May 2019 15:16:16 UTC (37 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled At the Roots of Dictionary Compression: String Attractors, by Dominik Kempa and Nicola Prezza
  • View PDF
  • Other Formats
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2017-10
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Dominik Kempa
Nicola Prezza
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack