Learning-augmented Rent-or-Buy with a Sample
Davidson Zhu, Sreenivas Gollapudi, Debmalya Panigrahi
Abstract
In this paper, we study the rent-or-buy problem (also called the Bahncard problem) in the learning-augmented setting. In this problem, a traveler must complete a sequence of trips that are revealed online over time, each of which has an associated cost with it. The traveler has the option of buying a discount card at a fixed cost that gives a discount on trip costs for a fixed time after buying the card. The goal is to minimize the overall cost of all the trips, including the money spent on buying discount cards. For this problem, it is well-known that the best deterministic algorithm has a competitive ratio of 2. In this paper, we ask whether we can do better if the traveler has a sample of trips available offline, e.g., obtained from an ML model based on historical data. We show that even a sparse sample of the input can significantly improve the competitive ratio of the algorithm from 2 to 3/2, and further to close to 1 under some additional conditions. We also verify our theoretical bounds via numerical simulations, which reveal that our proposed algorithm obtains nearly optimal solutions for a variety of natural input classes.
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
- The Primal-Dual method for Learning Augmented Algorithms cites Online Scheduling via Learned Weights
- Customizing ML Predictions for Online Algorithms cites Online Scheduling via Learned Weights
- Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online Algorithms cites Online Scheduling via Learned Weights
Builds on12
- The Primal-Dual method for Learning Augmented AlgorithmsÉtienne Bamas, Andreas Maggiori, Ola SvenssonNeurIPS 2020 · 171 citations
- Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online AlgorithmsAlexander Wei, Fred ZhangNeurIPS 2020 · 129 citations
- Online Scheduling via Learned WeightsSilvio Lattanzi, Thomas Lavastida, Benjamin Moseley, Sergei VassilvitskiiSODA 2020 · 83 citations
- Customizing ML Predictions for Online AlgorithmsKeerti Anand, Rong Ge, Debmalya PanigrahiICML 2020 · 65 citations
- Online Algorithms for Multi-shop Ski Rental with Machine Learned AdviceShufan Wang, Jian Li, Shiqiang WangNeurIPS 2020 · 60 citations
Related papers
- Learning-Augmented Algorithms for the Bahncard ProblemHailiang Zhao, Xueyan Tang, Peng Chen, Shuiguang DengNeurIPS 2024 · 10 citations
- Combinatorial Ski Rental Problem: Robust and Learning-Augmented AlgorithmsZiwei Li, Bo Sun, Zhiqiu Zhang, Mohammad Hajiesmaili et al.NeurIPS 2025 · 1 citation
- Improved Learning-Augmented Algorithms for the Multi-Option Ski Rental Problem via Best-Possible Competitive AnalysisYongho Shin, Changyeol Lee, Gukryeol Lee, Hyung-Chan AnICML 2023 · 19 citations
- Improving Online Rent-or-Buy Algorithms with Sequential Decision Making and ML PredictionsSoumya BanerjeeNeurIPS 2020 · 25 citations
- Learning-Augmented Online Algorithm for Two-Level Ski-Rental ProblemKeyuan Zhang, Zhongdong Liu, Nakjung Choi, Bo JiAAAI 2024 · 2 citations
