English

Online Conversion with Switching Costs: Robust and Learning-Augmented Algorithms

Data Structures and Algorithms 2024-11-11 v3 Machine Learning

Abstract

We introduce and study online conversion with switching costs, a family of online problems that capture emerging problems at the intersection of energy and sustainability. In this problem, an online player attempts to purchase (alternatively, sell) fractional shares of an asset during a fixed time horizon with length TT. At each time step, a cost function (alternatively, price function) is revealed, and the player must irrevocably decide an amount of asset to convert. The player also incurs a switching cost whenever their decision changes in consecutive time steps, i.e., when they increase or decrease their purchasing amount. We introduce competitive (robust) threshold-based algorithms for both the minimization and maximization variants of this problem, and show they are optimal among deterministic online algorithms. We then propose learning-augmented algorithms that take advantage of untrusted black-box advice (such as predictions from a machine learning model) to achieve significantly better average-case performance without sacrificing worst-case competitive guarantees. Finally, we empirically evaluate our proposed algorithms using a carbon-aware EV charging case study, showing that our algorithms substantially improve on baseline methods for this problem.

Keywords

Cite

@article{arxiv.2310.20598,
  title  = {Online Conversion with Switching Costs: Robust and Learning-Augmented Algorithms},
  author = {Adam Lechowicz and Nicolas Christianson and Bo Sun and Noman Bashir and Mohammad Hajiesmaili and Adam Wierman and Prashant Shenoy},
  journal= {arXiv preprint arXiv:2310.20598},
  year   = {2024}
}

Comments

Appeared as a conference paper at SIGMETRICS / Performance '24. 47 pages, 9 figures

R2 v1 2026-06-28T13:07:36.790Z