Scenario-Based Robust Optimization of Tree Structures
Spyros Angelopoulos, Christoph Dürr, Alex Elenter, Georgii Melidi
Abstract
We initiate the study of tree structures in the context of scenario-based robust optimization. Specifically, we study Binary Search Trees (BSTs) and Huffman coding, two fundamental techniques for efficiently managing and encoding data based on a known set of frequencies of keys. Given k different scenarios, each defined by a distinct frequency distribution over the keys, our objective is to compute a single tree of best-possible performance, relative to any scenario. We consider, as performance metrics, the competitive ratio, which compares multiplicatively the cost of the solution to the tree of least cost among all scenarios, as well as the regret, which induces a similar, but additive comparison. For BSTs, we show that the problem is NP-hard across both metrics. We also show how to obtain a tree of competitive ratio ⌈log 2 (k + 1)⌉, and we prove that this ratio is optimal. For Huffman Trees, we show that the problem is, likewise, NP-hard across both metrics; we also give an algorithm of regret ⌈log 2 k⌉, which we show is near-optimal, by proving a lower bound of ⌊log 2 k⌋. Last, we give a polynomial-time algorithm for computing Pareto-optimal BSTs with respect to their regret, assuming scenarios defined by uniform distributions over the keys. This setting captures, in particular, the first study of fairness in the context of data structures. We provide an experimental evaluation of all algorithms. To this end, we also provide mixed integer linear program formulation for computing optimal trees.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e5e00870-65dc-4644-a13d-b6ab230e641eBuilds on6
- Minimax Pareto Fairness: A Multi Objective PerspectiveNatalia Martínez, Martín Bertrán, Guillermo SapiroICML 2020 · 232 citations
- Learning Augmented Binary Search TreesHonghao Lin, Tian Luo, David P. WoodruffICML 2022 · 46 citations
- Blind Pareto Fairness and Subgroup RobustnessNatalia Martínez, Martín Bertrán, Afroditi Papadaki, Miguel R. D. Rodrigues et al.ICML 2021 · 36 citations
- Time Fairness in Online Knapsack ProblemsAdam Lechowicz, Rik Sengupta, Bo Sun, Shahin Kamali et al.ICLR 2024 · 8 citations
- Robust Learning-Augmented DictionariesAli Zeynali, Shahin Kamali, Mohammad HajiesmailiICML 2024 · 6 citations
Related papers
- On the Power of Learning-Augmented Search TreesJingbang Chen, Xinyuan Cao, Alicia Stepin, Li ChenICML 2025
- Robust Optimal Classification Trees against Adversarial ExamplesDaniël Vos, Sicco VerwerAAAI 2022 · 29 citations
- Competitive Online Search Trees on TreesProsenjit Bose, Jean Cardinal, John Iacono, Grigorios Koumoutsos et al.SODA 2020 · 13 citations
- Exact and Approximate Algorithms for Polytree LearningJuha Harviainen, Frank Sommer, Manuel SorgeICML 2026
- How to Make Knockout Tournaments More Popular?Juhi Chaudhary, Hendrik Molter, Meirav ZehaviAAAI 2024 · 6 citations
