Random Access in Grammar-Compressed Strings: Optimal Trade-Offs in Almost All Parameter Regimes
Anouk Duyster, Tomasz Kociumaka

TL;DR
This paper presents a new data structure for random access in grammar-compressed strings that achieves optimal trade-offs across various parameters, with matching lower bounds and efficient construction.
Contribution
It introduces a generalized trade-off for random access in grammar-compressed strings, matching lower bounds and supporting additional operations.
Findings
Achieves optimal query time and space trade-offs for grammar-compressed strings.
Provides a matching unconditional lower bound for almost all parameter regimes.
Supports substring extraction, rank, and select operations efficiently.
Abstract
A Random Access query to a string asks for the character at a given position . In bits of space, this fundamental task admits constant-time queries. While this is optimal in the worst case, much research has focused on compressible strings, hoping for smaller data structures that still admit efficient queries. We investigate the grammar-compressed setting, where is represented by a straight-line grammar. Our main result is a general trade-off that optimizes Random Access time as a function of string length , grammar size (the total length of productions) , alphabet size , data structure size , and word size of the word RAM model. For any with , we show an -size data structure with query time .…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
