mlsanityData to 14 Oct 2026

Competitive caching with machine learned advice

arXiv 1802.05399 ↗First posted 15 Feb 2018cs.DS cs.LGcited by 195

Not on the map. Why?

Abstract (arXiv)

Traditional online algorithms encapsulate decision making under uncertainty, and give ways to hedge against all possible future events, while guaranteeing a nearly optimal solution as compared to an offline optimum. On the other hand, machine learning algorithms are in the business of extrapolating patterns found in the data to predict the future, and usually come with strong guarantees on the expected generalization error. In this work we develop a framework for augmenting online algorithms with a machine learned oracle to achieve competitive ratios that provably improve upon unconditional worst case lower bounds when the oracle has low error. Our approach treats the oracle as a complete black box, and is not dependent on its inner workings, or the exact distribution of its errors. We apply this framework to the traditional caching problem -- creating an eviction strategy for a cache of size k. We demonstrate that naively following the oracle's recommendations may lead to very poor performance, even when the average error is quite low. Instead we show how to modify the Marker algorithm to take into account the oracle's predictions, and prove that this combined approach achieves a competitive ratio that both (i) decreases as the oracle's error decreases, and (ii) is always capped by O(log k), which can be achieved without any oracle input. We complement our results with an empirical evaluation of our algorithm on real world datasets, and show that it performs well empirically even using simple off-the-shelf predictions.

Key facts. Cited by 195 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Feb 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 21; 2022: 33; 2023: 27; 2024: 40; 2025: 35; 2026: 39.

195 papers.

Sort:

By area:

  1. 2024Improving Online Algorithms via ML Predictionscited by 66
  2. 2021Faster Matchings via Learned Dualscited by 56
  3. 2021Learning-Augmented k-means Clusteringcited by 26
  4. 2022Hindsight Learning for MDPs with Exogenous Inputscited by 26
  5. 2022Learning Predictions for Algorithms with Predictionscited by 25
  6. 2022Permutation Predictions for Non-Clairvoyant Schedulingcited by 22
  7. 2022Online Algorithms with Multiple Predictionscited by 22
  8. 2022Customizing ML Predictions for Online Algorithmscited by 21
  9. 2021Learning-Augmented Dynamic Power Management with Multiple States via New Ski Rental Boundscited by 20
  10. 2022Triangle and Four Cycle Counting with Predictions in Graph Streamscited by 20
  11. 2021Pareto-Optimal Learning-Augmented Algorithms for Online Conversion Problemscited by 19
  12. 2022Parsimonious Learning-Augmented Cachingcited by 19
38 more
  1. 2022Chasing Convex Bodies and Functions with Black-Box Advicecited by 19
  2. 2022Algorithms with Prediction Portfolioscited by 19
  3. 2021A Novel Prediction Setup for Online Speed-Scalingcited by 17
  4. 2021Learning-based Support Estimation in Sublinear Timecited by 16
  5. 2022Discrete-Convex-Analysis-Based Framework for Warm-Starting Algorithms with Predictionscited by 16
  6. 2023Improved Learning-Augmented Algorithms for the Multi-Option Ski Rental Problem via Best-Possible Competitive Analysiscited by 16
  7. 2022A Universal Error Measure for Input Predictions Applied to Online Graph Problemscited by 14
  8. 2023Sorting with Predictionscited by 14
  9. 2021Can Q-Learning be Improved with Advice?cited by 13
  10. 2023Mixing predictions for online metric algorithmscited by 13
  11. 2024Online bipartite matching with imperfect advicecited by 13
  12. 2021Robust Learning-Augmented Caching: An Experimental Studycited by 12
  13. 2021Adaptive Discretization in Online Reinforcement Learningcited by 12
  14. 2021Logarithmic Regret from Sublinear Hintscited by 12
  15. 2022A Regression Approach to Learning-Augmented Online Algorithmscited by 12
  16. 2024Algorithms for Caching and MTS with reduced number of predictionscited by 12
  17. 2021Online Bin Packing with Predictionscited by 11
  18. 2021(Optimal) Online Bipartite Matching with Degree Informationcited by 11
  19. 2022Learning-Augmented Maximum Flowcited by 11
  20. 2022Learning-Augmented Algorithms for Online Linear and Semidefinite Programmingcited by 11
  21. 2024Algorithm Configuration for Structured Pfaffian Settingscited by 11
  22. 2024Binary Search with Distributional Predictionscited by 11
  23. 2024Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Maskingcited by 11
  24. 2021Double Coverage with Machine-Learned Advicecited by 10
  25. 2021Robustification of Online Graph Exploration Methodscited by 10
  26. 2022Smoothed Online Optimization with Unreliable Predictionscited by 10
  27. 2022Optimistic No-regret Algorithms for Discrete Cachingcited by 10
  28. 2022Paging with Succinct Predictionscited by 10
  29. 2023Active causal structure learning with advicecited by 10
  30. 2023Online Conversion with Switching Costs: Robust and Learning-Augmented Algorithmscited by 10
  31. 2023Improved Frequency Estimation Algorithms with and without Predictionscited by 10
  32. 2025Adaptively Robust LLM Inference Optimization under Prediction Uncertaintycited by 10
  33. 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agentscited by 10
  34. 2022Single-Leg Revenue Management with Advicecited by 9
  35. 2022Online Search with Predictions: Pareto-optimal Algorithm and its Applications in Energy Marketscited by 9
  36. 2023Online Algorithms with Uncertainty-Quantified Predictionscited by 9
  37. 2022Learning-Augmented Algorithms for Online TSP on the Linecited by 8
  38. 2023Beyond Black-Box Advice: Learning-Augmented Algorithms for MDPs with Q-Value Predictionscited by 8

50 most cited of 195 All 195 (JSON)