The Group Access Bounds for Binary Search Trees (2312.15426v1)
Abstract: The access lemma (Sleator and Tarjan, JACM 1985) is a property of binary search trees that implies interesting consequences such as static optimality, static finger, and working set property. However, there are known corollaries of the dynamic optimality that cannot be derived via the access lemma, such as the dynamic finger, and any $o(\log n)$-competitive ratio to the optimal BST where $n$ is the number of keys. In this paper, we introduce the group access bound that can be defined with respect to a reference group access tree. Group access bounds generalize the access lemma and imply properties that are far stronger than those implied by the access lemma. For each of the following results, there is a group access tree whose group access bound Is $O(\sqrt{\log n})$-competitive to the optimal BST. Achieves the $k$-finger bound with an additive term of $O(m \log k \log \log n)$ (randomized) when the reference tree is an almost complete binary tree. Satisfies the unified bound with an additive term of $O(m \log \log n)$. Matches the unified bound with a time window $k$ with an additive term of $O(m \log k \log \log n)$ (randomized). Furthermore, we prove simulation theorem: For every group access tree, there is an online BST algorithm that is $O(1)$-competitive with its group access bound. In particular, any new group access bound will automatically imply a new BST algorithm achieving the same bound. Thereby, we obtain an improved $k$-finger bound (reference tree is an almost complete binary tree), an improved unified bound with a time window $k$, and matching the best-known bound for Unified bound in the BST model. Since any dynamically optimal BST must achieve the group access bounds, we believe our results provide a new direction towards proving $o(\log n)$-competitiveness of Splay tree and Greedy.
- A unified access bound on comparison-based dynamic dictionaries. Theoretical Computer Science, 382(2):86–96, 2007.
- An o (log log n)-competitive binary search tree with optimal worst-case access times. In Scandinavian Workshop on Algorithm Theory, pages 38–49. Springer, 2010.
- Layered working-set trees. Algorithmica, 63(1-2):476–489, 2012.
- Improved pattern-avoidance bounds for greedy bsts via matrix decomposition. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 509–534. SIAM, 2023.
- Greedy is an almost optimal deque. In Workshop on Algorithms and Data Structures, pages 152–165. Springer, 2015.
- Pattern-avoiding access in binary search trees. In 2015 IEEE 56th Annual Symposium on Foundations of Computer Science, pages 410–423. IEEE, 2015.
- Self-adjusting binary search trees: What makes them tick? In Algorithms-ESA 2015, pages 300–312. Springer, 2015.
- Multi-finger binary search trees. arXiv preprint arXiv:1809.01759, 2018.
- New binary search tree bounds via geometric inversions. In 28th Annual European Symposium on Algorithms (ESA 2020). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2020.
- Richard Cole. On the dynamic finger conjecture for splay trees. part ii: The proof. SIAM Journal on Computing, 30(1):44–85, 2000.
- The geometry of binary search trees. In Proceedings of the twentieth annual ACM-SIAM symposium on Discrete algorithms, pages 496–505. SIAM, 2009.
- Dynamic optimality—almost. SIAM Journal on Computing, 37(1):240–251, 2007.
- Combining binary search trees. In International Colloquium on Automata, Languages, and Programming, pages 388–399. Springer, 2013.
- Skip-splay: Toward achieving the unified bound in the bst model. In Workshop on Algorithms and Data Structures, pages 194–205. Springer, 2009.
- On the hierarchy of distribution-sensitive properties for data structures. Acta informatica, 50(4):289–295, 2013.
- Kyle Fox. Upper bounds for maximally greedy binary search trees. In Workshop on Algorithms and Data Structures, pages 411–422, 2011.
- George F Georgakopoulos. Chain-splay trees, or, how to achieve and prove loglogn-competitiveness by splaying. Information Processing Letters, 106(1):37–43, 2008.
- On dynamic optimality for binary search trees. arXiv preprint arXiv:1102.4523, 2011.
- Better analysis of binary search tree on decomposable sequences. Theoretical Computer Science, 776:19–42, 2019.
- John Iacono. Alternatives to splay trees with o (log n) worst-case access times. In Proceedings of the twelfth annual ACM-SIAM symposium on Discrete algorithms, pages 516–522. Society for Industrial and Applied Mathematics, 2001.
- John Iacono. Key-independent optimality. Algorithmica, 42(1):3–10, 2005.
- Weighted dynamic finger in binary search trees. In Proceedings of the twenty-seventh annual ACM-SIAM symposium on Discrete algorithms, pages 672–691. SIAM, 2016.
- On the k-server conjecture. Journal of the ACM (JACM), 42(5):971–983, 1995.
- Smooth heaps and a dual view of self-adjusting data structures. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pages 801–814, 2018.
- James R Lee. Fusible hsts and the randomized k-server conjecture. In 2018 IEEE 59th Annual Symposium on Foundations of Computer Science (FOCS), pages 438–449. IEEE, 2018.
- J Ian Munro. On the competitiveness of linear search. In European Symposium on Algorithms, pages 338–345. Springer, 2000.
- Self-adjusting binary search trees. J. ACM, 32(3):652–686, 1985.
- Robert Endre Tarjan. Sequential access in splay trees takes linear time. Combinatorica, 5(4):367–378, 1985.
- Chengwen Chris Wang. Multi-Splay Trees. PhD thesis, USA, 2006. AAI3253576.
- O (log log n)-competitive dynamic binary search trees. In SODA, volume 6, pages 374–383, 2006.
- Robert Wilber. Lower bounds for accessing binary search trees with rotations. SIAM journal on Computing, 18(1):56–67, 1989.