Probabilistic Skipping-Based Data Structures with Robust Efficiency Guarantees
Abstract
Probabilistic data structures like hash tables, skip lists, and treaps support efficient operations through randomized hierarchies that enable ''skipping'' elements, achieving sub-linear query complexity on average for perfectly correct responses. They serve as critical components in performance-sensitive systems where correctness is essential and efficiency is highly desirable. While simpler than deterministic alternatives like balanced search trees, these structures traditionally assume that input data are independent of the structure's internal randomness and state -- an assumption questionable in malicious environments -- potentially leading to a significantly increased query complexity. We present adaptive attacks on all three aforementioned structures that, in the case of hash tables and skip lists, cause exponential degradation compared to the input-independent setting. While efficiency-targeting attacks on hash tables are well-studied, our attacks on skip lists and treaps provide new insights into vulnerabilities of skipping-based probabilistic data structures. Next, we propose simple and efficient modifications to the original designs of these data structures to provide provable security against adaptive adversaries. Our approach is formalized through Adaptive Adversary Property Conservation (AAPC), a general security notion that captures deviation from the expected efficiency guarantees in adversarial scenarios. We use this notion to present rigorous robustness proofs for our versions of the data structures. Lastly, we perform experiments whose empirical results closely agree with our analytical results.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on4
- Probabilistic Data Structures in Adversarial EnvironmentsDavid Clayton, Christopher Patton, Thomas ShrimptonCCS 2019 · 52 citations
- Adversarial Correctness and Privacy for Probabilistic Data StructuresMia Filic, Kenneth G. Paterson, Anupama Unnikrishnan, Fernando VirdiaCCS 2022 · 6 citations
- Compact Frequency Estimators in Adversarial EnvironmentsSam A. Markelon, Mia Filic, Thomas ShrimptonCCS 2023 · 4 citations
- Clubcards for the WebPKI: Smaller Certificate Revocation Tests in Theory and PracticeJohn M. SchanckS&P 2025
Related papers
- Learning-Augmented Search Data StructuresChunkai Fu, Brandon G. Nguyen, Jung Hoon Seo, Ryan S. Zesch et al.ICLR 2025 · 1 citation
- Unmasking Vulnerabilities: Cardinality Sketches under Adaptive InputsSara Ahmadian, Edith CohenICML 2024 · 7 citations
- Robust Learning-Augmented DictionariesAli Zeynali, Shahin Kamali, Mohammad HajiesmailiICML 2024 · 6 citations
- One Attack to Rule Them All: Tight Quadratic Bounds for Adaptive Queries on Cardinality SketchesEdith Cohen, Jelani Nelson, Tamás Sarlós, Mihir Singhal et al.SODA 2026
- Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive InputsEdith Cohen, Jelani Nelson, Tamás Sarlós, Uri StemmerAAAI 2023 · 14 citations
