Compressed suffix arrays and suffix trees with applications to text indexing and string matching (extended abstract)
The DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
The proliferation of online text, such as on the World Wide Web and in databases, motivates the need for space-efficient index methods that support fast search. Consider a text T of n binary symbols to index. Given any query pattern P of m binary symbols, the goal is to search for P in T quickly, with T being fully scanned only once, namely, when the index is created. All indexing schemes published in the last thirty years support searching in \\Theta(m) worst-case time and require \\Theta(n) memory words (or \\Theta(n log n) bits), which is significantly larger than the text itself. In this paper we provide a breakthrough both in searching time and index space under the same model of computation as the one adopted in previous work. Based upon new compressed representations of suffix arrays and suffix trees, we construct an index structure that occupies only O(n) bits and compares favorably with inverted lists in space. We can search any binary pattern P , stored in O(m= log n) words, in only o(m) time. Specifically, searching takes O(1) time for m = o(log n), and O(m= log n + log ffl n) = o(m) time for m =\\Omega\\Gamma239 n) and any fixed 0 ! ffl ! 1. That is, we achieve optimal O(m= log n) search time for sufficiently large m =\\Omega\\Gamma206 1+ffl n). We can list all the occ pattern occurrences in optimal O(occ) additional time when m = \\Omega\\Gamma1 olylog(n)) or when occ = \\Omega\\Gamma n ffl ); otherwise, listing takes O(occ log ffl n) additional time.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Algorithms on Strings, Trees and Sequences: Computer Science and Computational Biology
Gusfield, D. (1997) · Cambridge University Press eBooks · doi:10.1017/cbo9780511574931 · Cited by 3,078 · cited 8×
“The trick is to determine how to reconstruct SAo from SAt, and how to reconstruct SAt, from SAt.”
InfluentialFast Pattern Matching in Strings
Knuth, D. E., Morris, Jr., & Pratt, V. R. (1977) · SIAM Journal on Computing · doi:10.1137/0206024 · Cited by 2,936 · cited 1×
“The seminal paper by Knuth, Morris, and Pra t t [33] presented the first string matching solution taking O(m + n) time and O(m) words to scan the text.”
Information Retrieval: Data Structures and Algorithms
Frakes, W. B., & Baeza-Yates, R. A. (1992) · Cited by 2,757
Suffix Arrays: A New Method for On-Line String Searches
Manber, U., & Myers, G. (1993) · SIAM Journal on Computing · doi:10.1137/0222058 · Cited by 1,915 · cited 6×
“It also keeps another array of longest common prefixes to speed up the search [35].”
InfluentialLinear pattern matching algorithms
Weiner, P. (1973) · 14th Annual Symposium on Switching and Automata Theory (swat 1973) · doi:10.1109/swat.1973.13 · Cited by 1,801
A Space-Economical Suffix Tree Construction Algorithm
McCreight, E. M. (1976) · Journal of the ACM · doi:10.1145/321941.321946 · Cited by 1,511 · cited 2×
“Since then, a plethora of papers have studied the problem in several contexts and sometimes using different terminology [7; 8; 13; 19; 26; 37; 35; 45]; for more references see [4; 15; 25].”
On-line construction of suffix trees
Ukkonen, E. (1995) · Algorithmica · doi:10.1007/bf01206331 · Cited by 1,472
PATRICIA—Practical Algorithm To Retrieve Information Coded in Alphanumeric
Morrison, D. R. (1968) · Journal of the ACM · doi:10.1145/321479.321481 · Cited by 969 · cited 5×
“The Patricia trie [39] is another powerful tool in text indexing.”
InfluentialStoring a Sparse Table with 0 (1) Worst Case Access Time
Fredman, M. L., Komlós, J., & Szemerédi, E. (1984) · Journal of the ACM · doi:10.1145/828.1884 · Cited by 748 · cited 1×
“We use a perfect hash function h for this purpose [21], on keys of length at most 2 log n bits each.”
Space-efficient static trees and graphs
Jacobson, G. (1989) · 30th Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1989.63533 · Cited by 634 · cited 7×
“Given the bit vector Bk of nk = n/2 k bits, Jacobson [27] shows how to support constant-time access to rankk using only o(nk) bits.”
InfluentialThe Oxford University Press, 1468–192
(1922) · Notes and Queries · doi:10.1093/nq/s12-x.208.280b · Cited by 614
(1995) · Choice Reviews Online · doi:10.5860/choice.32-5696 · Cited by 582 · cited 2×
“Since then, a plethora of papers have studied the problem in several contexts and sometimes using different terminology [7; 8; 13; 19; 26; 37; 35; 45]; for more references see [4; 15; 25].”
Optimal suffix tree construction with large alphabets
Farach, M. (2002) · Proceedings 38th Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1997.646102 · Cited by 443
Self-indexing inverted files for fast text retrieval
Moffat, A., & Zobel, J. (1996) · ACM Transactions on Information Systems · doi:10.1145/237496.237497 · Cited by 361 · cited 1×
“1n bits) in many practical cases [38] in order to index a set of words consisting of a total of n bits.”
Inverted files versus signature files for text indexing
Zobel, J., Moffat, A., & Ramamohanarao, K. (1998) · ACM Transactions on Database Systems · doi:10.1145/296854.277632 · Cited by 341 · cited 3×
“Inverted lists are theoretically and practically superior to signature files [49].”
InfluentialThe smallest automation recognizing the subwords of a text
Blumer, A., Blumer, J., Haussler, D., Ehrenfeucht, A., Chen, M. T., & Seiferas, J. (1985) · Theoretical Computer Science · doi:10.1016/0304-3975(85)90157-4 · Cited by 334 · cited 1×
“Since then, a plethora of papers have studied the problem in several contexts and sometimes using different terminology [7; 8; 13; 19; 26; 37; 35; 45]; for more references see [4; 15; 25].”
Reducing the space requirement of suffix trees
Kurtz, S. (1999) · Software: Practice and Experience · doi:10.1002/(sici)1097-024x(199911)29:13<1149::aid-spe274>3.0.co;2-o · Cited by 334
The string B-tree: a new data structure for string search in external memory and its applications
Ferragina, P., & Grossi, R. (1999) · Journal of the ACM · doi:10.1145/301970.301973 · Cited by 317 · cited 1×
“Since then, a plethora of papers have studied the problem in several contexts and sometimes using different terminology [7; 8; 13; 19; 26; 37; 35; 45]; for more references see [4; 15; 25].”
Self-citationThe Myriad Virtues of Subword Trees
Apostolico, A. (1985) · Combinatorial Algorithms on Words · doi:10.1007/978-3-642-82456-2_6 · Cited by 274
New indices for text: PAT Trees and PAT arrays
Gonnet, G. H., Baeza-Yates, R. A., & Snider, T. (1992) · Information Retrieval · Cited by 272
Clark, D. R. (1998) · Cited by 269
GLIMPSE: a tool to search through entire file systems
Manber, U., & Wu, S. (1994) · USENIX Winter Technical Conference · Cited by 251
Complete inverted files for efficient text retrieval and analysis
Blumer, A., Blumer, J., Haussler, D., McConnell, R., & Ehrenfeucht, A. (1987) · Journal of the ACM · doi:10.1145/28869.28873 · Cited by 239 · cited 4×
“(The previously computed value ko0(25) = 16 has a ranko value of 8 (i.e., ranko(16) = 8), so the rlookup procedure needs to determine SA1 [8], which it does by first calculating ~1(8).)”
InfluentialCrochemore, M. (1986) · Theoretical Computer Science · doi:10.1016/0304-3975(86)90041-1 · Cited by 224 · cited 1×
“Since then, a plethora of papers have studied the problem in several contexts and sometimes using different terminology [7; 8; 13; 19; 26; 37; 35; 45]; for more references see [4; 15; 25].”
Efficient worst-case data structures for range searching
Bentley, J. L., & Maurer, H. A. (1980) · Acta Informatica · doi:10.1007/bf00263991 · Cited by 202
Efficient suffix trees on secondary storage
Clark, D. R., & Munro, J. I. (1996) · Symposium on Discrete Algorithms · doi:10.5555/313852.314087 · Cited by 166
Succinct representation of balanced parentheses, static trees and planar graphs
Munro, J. I., & Raman, V. (2002) · Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1997.646100 · Cited by 158 · cited 1×
“proved succinct representation of balanced parentheses [41] in order to get O(m) search time with only n l o g n + o(n) bits.”
Kärkkäinen, J., & Ukkonen, E. (1996) · Lecture notes in computer science · doi:10.1007/3-540-61332-3_155 · Cited by 109 · cited 1×
“Other authors devised several variations of sparse suffix trees to store a subset of the suffixes [2; 24; 32; 31; 36; 39].”
Symmetry breaking for suffix tree construction
Şahinalp, S. C., & Vishkin, U. (1994) · ACM Symposium on Theory of Computing (STOC) · doi:10.1145/195058.195164 · Cited by 106 · cited 1×
“For some examples of divide-and-conquer construction of suffix arrays and suffix trees, see [5; 16; 17; 18; 35; 44].”
Munro, I., Raman, V., & Satti, S. R. (1998) · Lecture notes in computer science · doi:10.1007/978-3-540-49382-2_17 · Cited by 91
Efficient implementation of suffix trees
Andersson, A., & Nilsson, S. (1995) · Software Practice and Experience · doi:10.1002/spe.4380250203 · Cited by 66 · cited 1×
“For the analysis of constants, we refer the reader to [3; 10; 23; 29; 34; 35].”
Suffix cactus: A cross between suffix tree and suffix array
Kärkkäinen, J. (1995) · Lecture notes in computer science · doi:10.1007/3-540-60044-2_43 · Cited by 61 · cited 1×
“For the analysis of constants, we refer the reader to [3; 10; 23; 29; 34; 35].”
Overcoming the memory bottleneck in suffix tree construction
Farach-Colton, M., Ferragina, P., & Muthukrishnan, S. (2002) · Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1998.743441 · Cited by 61 · cited 1×
“For some examples of divide-and-conquer construction of suffix arrays and suffix trees, see [5; 16; 17; 18; 35; 44].”
Approximate dictionary queries
Brodal, G. S., & Gąsieniec, L. A. (1996) · Lecture notes in computer science · doi:10.1007/3-540-61258-0_6 · Cited by 52 · cited 1×
“An interesting extension would be to support some sophisticated queries directly, such as those that tolerate a small number of errors in the pattern match [1; 9; 48].”
Kärkkäinen, J., & Sutinen, E. (1998) · Algorithmica · doi:10.1007/pl00009205 · Cited by 43 · cited 6×
“Another interesting index, the Lempel-Ziv index of K~irkk~iinen and Sutinen [30], occupies O(n) bits and takes O(m) time to search patterns shorter than log n; for longer patterns, it may occupy O(n log n) bits.”
InfluentialA time and space efficient data structure for string searching on large texts
Colussi, L., & Col, A. D. (1996) · Information Processing Letters · doi:10.1016/0020-0190(96)00061-0 · Cited by 26 · cited 3×
“A solution requiring n log n + O(n) bits and O(m + log log n) search time was described in [12].”
(1997)
Cited by
Fast and accurate short read alignment with Burrows-Wheeler transform
Li, H., & Durbin, R. (2009) · Bioinformatics · doi:10.1093/bioinformatics/btp324 · Cited by 58,607
Navarro, G., & Mäkinen, V. (2007) · ACM Computing Surveys · doi:10.1145/1216370.1216372 · Cited by 735
“Several other succinct and self-indexes appeared almost simultaneously [M¨ akinen 2000; Grossi and Vitter 2000; Sadakane 2000].”
InfluentialFerragina, P., & Manzini, G. (2005) · Journal of the ACM · doi:10.1145/1082036.1082039 · Cited by 686
Replacing suffix trees with enhanced suffix arrays
Abouelhoda, M. I., Kurtz, S., & Ohlebusch, E. (2004) · Journal of Discrete Algorithms · doi:10.1016/s1570-8667(03)00065-0 · Cited by 668
High-order entropy-compressed text indexes
Grossi, R., Gupta, A. K., & Vitter, J. S. (2003) · doi:10.5555/644108.644250 · Cited by 648
Self-citation
Metadata
- Authors
- Grossi, R., & Vitter, J. S.
- Venue
- Proceedings of the thirty-second annual ACM symposium on Theory of computing
- Publisher
- ACM
- Published
- 2000-05
- Pages
- 397-406
- OpenAlex
- W2056707490
- Cited by
- 202
- References
- 37
- FWCI
- 7.05
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.