[Paper Review] Edit and Alphabet-Ordering Sensitivity of Lex-Parse
This paper analyzes the sensitivity of lex-parse, a greedy string parsing method, to single-character edits and alphabet ordering changes. Using Fibonacci words and Lyndon factorization properties, it establishes tight logarithmic upper and lower bounds for both edit and alphabet-ordering sensitivity, demonstrating that lex-parse exhibits super-constant sensitivity—making it the third such measure among ~20 studied. The results highlight structural robustness limits in dictionary-based compression and string repetitiveness analysis.
We investigate the compression sensitivity [Akagi et al., 2023] of lex-parse [Navarro et al., 2021] for two operations: (1) single character edit and (2) modification of the alphabet ordering, and give tight upper and lower bounds for both operations. For both lower bounds, we use the family of Fibonacci words. For the bounds on edit operations, our analysis makes heavy use of properties of the Lyndon factorization of Fibonacci words to characterize the structure of lex-parse.
Motivation & Objective
- To investigate the sensitivity of lex-parse to single-character edits, quantifying how much the number of phrases can change under such modifications.
- To introduce and analyze a new sensitivity metric—alphabet-ordering sensitivity (AO-sensitivity)—measuring how lex-parse output varies with different alphabet orderings.
- To establish tight upper and lower bounds for both edit and AO-sensitivity using combinatorial properties of Fibonacci words.
- To characterize the structure of lex-parse via Lyndon factorization, especially for Fibonacci words, to derive precise bounds.
- To contribute insights into the robustness and structural stability of dictionary compressors under small input perturbations.
Proposed method
- Uses Fibonacci words as extremal examples to construct tight lower bounds for both edit and AO-sensitivity.
- Applies properties of Lyndon factorization to analyze the lexicographic predecessor structure in suffix arrays, crucial for determining lex-parse phrase boundaries.
- Employs inductive reasoning on suffix structures to prove that certain suffixes are the immediate lexicographic predecessors in the suffix array of Fibonacci words.
- Leverages known combinatorial properties of Fibonacci words, such as their primitive structure and substring avoidance (e.g., no 'aaa' substring), to rule out intermediate suffixes.
- Derives the lex-parse structure of Fibonacci words under different alphabet orderings (a≺b vs. b≺a), showing how phrase boundaries shift dramatically.
- Uses the factorization of suffixes into Fibonacci components (e.g., suf⁺_i = suf_i · suf⁺_{i−2}) to analyze phrase transitions and predecessor relationships.
Experimental results
Research questions
- RQ1What is the worst-case multiplicative sensitivity of lex-parse under a single-character edit?
- RQ2How does the number of phrases in lex-parse change when the alphabet ordering is altered?
- RQ3Can Fibonacci words be used to establish tight lower bounds for both edit and alphabet-ordering sensitivity?
- RQ4How do properties of Lyndon factorization influence the structure of lex-parse for highly repetitive strings?
- RQ5What is the maximum gap in lex-parse size between two different alphabet orderings for the same string?
Key findings
- The edit sensitivity of lex-parse is tightly bounded by Θ(log n), where n is the length of the input string, and this bound is tight for Fibonacci words.
- The alphabet-ordering sensitivity (AO-sensitivity) of lex-parse is also Θ(log n), showing that the number of phrases can vary significantly under different orderings.
- For the k-th Fibonacci word with k ≥7 odd and a ≺b, the lex-parse consists of Fk[1..fk−1−2], baFk−4, Fk−4, Fk−6, ..., F5, a, a, b — a structure that changes drastically under b ≺a.
- Under b ≺a, the lex-parse of the same Fibonacci word becomes Fk−2, Fk[fk−2+1..fk−2], a, b, demonstrating a complete structural shift.
- The analysis proves that no intermediate suffix exists between the lexicographic predecessor and the current suffix in the suffix array of Fibonacci words, which is key to deriving the bounds.
- The results establish that lex-parse is one of the few known compressors with super-constant sensitivity, making it a critical case study in robustness of string compression schemes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.