Competitive caching with machine learned advice
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
Citing papers per year: 2021: 21; 2022: 33; 2023: 27; 2024: 40; 2025: 35; 2026: 39.
195 papers.
Sort:
By area:
- 2024Improving Online Algorithms via ML Predictionscited by 66
- 2021Faster Matchings via Learned Dualscited by 56
- 2021Learning-Augmented k-means Clusteringcited by 26
- 2022Hindsight Learning for MDPs with Exogenous Inputscited by 26
- 2022Learning Predictions for Algorithms with Predictionscited by 25
- 2022Permutation Predictions for Non-Clairvoyant Schedulingcited by 22
- 2022Online Algorithms with Multiple Predictionscited by 22
- 2022Customizing ML Predictions for Online Algorithmscited by 21
- 2021Learning-Augmented Dynamic Power Management with Multiple States via New Ski Rental Boundscited by 20
- 2022Triangle and Four Cycle Counting with Predictions in Graph Streamscited by 20
- 2021Pareto-Optimal Learning-Augmented Algorithms for Online Conversion Problemscited by 19
- 2022Parsimonious Learning-Augmented Cachingcited by 19
38 more
- 2022Chasing Convex Bodies and Functions with Black-Box Advicecited by 19
- 2022Algorithms with Prediction Portfolioscited by 19
- 2021A Novel Prediction Setup for Online Speed-Scalingcited by 17
- 2021Learning-based Support Estimation in Sublinear Timecited by 16
- 2022Discrete-Convex-Analysis-Based Framework for Warm-Starting Algorithms with Predictionscited by 16
- 2023Improved Learning-Augmented Algorithms for the Multi-Option Ski Rental Problem via Best-Possible Competitive Analysiscited by 16
- 2022A Universal Error Measure for Input Predictions Applied to Online Graph Problemscited by 14
- 2023Sorting with Predictionscited by 14
- 2021Can Q-Learning be Improved with Advice?cited by 13
- 2023Mixing predictions for online metric algorithmscited by 13
- 2024Online bipartite matching with imperfect advicecited by 13
- 2021Robust Learning-Augmented Caching: An Experimental Studycited by 12
- 2021Adaptive Discretization in Online Reinforcement Learningcited by 12
- 2021Logarithmic Regret from Sublinear Hintscited by 12
- 2022A Regression Approach to Learning-Augmented Online Algorithmscited by 12
- 2024Algorithms for Caching and MTS with reduced number of predictionscited by 12
- 2021Online Bin Packing with Predictionscited by 11
- 2021(Optimal) Online Bipartite Matching with Degree Informationcited by 11
- 2022Learning-Augmented Maximum Flowcited by 11
- 2022Learning-Augmented Algorithms for Online Linear and Semidefinite Programmingcited by 11
- 2024Algorithm Configuration for Structured Pfaffian Settingscited by 11
- 2024Binary Search with Distributional Predictionscited by 11
- 2024Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Maskingcited by 11
- 2021Double Coverage with Machine-Learned Advicecited by 10
- 2021Robustification of Online Graph Exploration Methodscited by 10
- 2022Smoothed Online Optimization with Unreliable Predictionscited by 10
- 2022Optimistic No-regret Algorithms for Discrete Cachingcited by 10
- 2022Paging with Succinct Predictionscited by 10
- 2023Active causal structure learning with advicecited by 10
- 2023Online Conversion with Switching Costs: Robust and Learning-Augmented Algorithmscited by 10
- 2023Improved Frequency Estimation Algorithms with and without Predictionscited by 10
- 2025Adaptively Robust LLM Inference Optimization under Prediction Uncertaintycited by 10
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agentscited by 10
- 2022Single-Leg Revenue Management with Advicecited by 9
- 2022Online Search with Predictions: Pareto-optimal Algorithm and its Applications in Energy Marketscited by 9
- 2023Online Algorithms with Uncertainty-Quantified Predictionscited by 9
- 2022Learning-Augmented Algorithms for Online TSP on the Linecited by 8
- 2023Beyond Black-Box Advice: Learning-Augmented Algorithms for MDPs with Q-Value Predictionscited by 8
50 most cited of 195 All 195 (JSON)
- 2026Certify the Decision, Not Every Score: Exact Top-k Selection from Few Evaluations10 Oct 2026
- 2026Compressing Value Predictions for Learning-Augmented Metrical Task Systems27 Sep 2026
- 2026Augmented Hypothesis Testing with Persona-Based LLM Simulations21 Sep 2026
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implications4 Sep 2026
- 2026Learning-Augmented Online Allocation under Unreliable Advice: Robustness, Exposure Fairness, and Distribution Shift27 Aug 2026
- 2026LLM-Powered Predictive Decision-Making for Sustainable Data Center Operations19 Aug 2026
- 2026Learning-Augmented and Randomized Algorithms for Line Aggregation with Delays30 Jul 2026
- 2026Online Fair Division with Budget Constraints25 Jul 2026
- 2026Memory-Computation Tradeoffs in Semi Amortized Parametric Optimization22 Jul 2026
- 2026CASP: Learning-Augmented Offline Approximation with Verifiable Certificates and Bounded-Loss PAC Guarantees16 Jul 2026
- 2026TSP with Predictions: Heatmap to Tour with Provable Guarantees4 Jul 2026
- 2026When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers1 Jul 2026
38 more
- 2026Learning-Augmented Algorithms for Online Vertex Cover22 Jun 2026
- 2026Learning Augmented Exact Exponential Algorithms17 Jun 2026
- 2026Online LLM Selection via Constrained Bandits with Time-Varying Demand16 Jun 2026
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agents15 Jun 2026
- 2026Learning-Augmented Approximation for Unrelated-Machines Makespan Scheduling11 Jun 2026
- 2026Learning-Augmented Online Minimization with Dual Predictions3 Jun 2026
- 2026Towards Optimal Robustness in Learning-Augmented Paging31 May 2026
- 2026Parsimonious Learning-Augmented Online Metric Matching26 May 2026
- 2026The Secretary Problem with a Stochastic Precursor21 May 2026
- 2026Resilient Byzantine Agreement with Predictions19 May 2026
- 2026Protection Is (Nearly) All You Need: Structural Protection Dominates Scoring in Globally Capped KV Eviction18 May 2026
- 2026Distribution-Aware Algorithm Design with LLM Agents13 May 2026
- 2026Multi-Armed Bandits With Best-Action Queries8 May 2026
- 2026Online Allocation with Unknown Shared Supply8 May 2026
- 2026Efficient Serving for Dynamic Agent Workflows with Prediction-based KV-Cache Management7 May 2026
- 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristics2 May 2026
- 2026Asymptotically Robust Learning-Augmented Algorithms for Preemptive FIFO Buffer Management29 Apr 2026
- 2026Learning Unanimously Acceptable Lotteries via Queries19 Apr 2026
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions1 Apr 2026
- 2026Robust and Consistent Ski Rental with Distributional Advice31 Mar 2026
- 2026Learning-Augmented Algorithms for k-median via Online Learning18 Mar 2026
- 2026Ski Rental with Distributional Predictions of Unknown Quality24 Feb 2026
- 2026Online Algorithms with Unreliable Guidance24 Feb 2026
- 2026Learning-augmented smooth integer programs with PAC-learnable oracles22 Jan 2026
- 2026SCaLE: Switching Cost aware Learning and Exploration14 Jan 2026
- 2026The Secretary Problem with Predictions and a Chosen Order12 Jan 2026
- 2026Analyzing the effect of prediction accuracy on the distributionally-robust competitive ratio11 Jan 2026
- 2025Timely Information Updating for Mobile Devices Without and With ML Advice19 Dec 2025
- 2025Learning-Augmented Ski Rental with Discrete Distributions: A Bayesian Approach8 Dec 2025
- 2025Learning-Augmented Online Bipartite Matching in the Random Arrival Order Model28 Nov 2025
- 2025Online Smoothed Demand Management23 Nov 2025
- 2025A Switching Framework for Online Interval Scheduling with Predictions20 Nov 2025
- 2025Learning-Augmented Online Bidding in Stochastic Settings29 Oct 2025
- 2025Prediction-Augmented Trees for Reliable Statistical Inference19 Oct 2025
- 2025Prediction-Specific Design of Learning-Augmented Algorithms16 Oct 2025
- 2025Learning-Augmented Streaming Algorithms for Correlation Clustering12 Oct 2025
- 2025Transductive and Learning-Augmented Online Regression4 Oct 2025
- 2025Signal-Aware Workload Shifting Algorithms with Uncertainty-Quantified Predictors30 Sep 2025
50 newest of 195 All 195 (JSON)
- 2024Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Maskingcited by 11
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agentscited by 10
- 2026Protection Is (Nearly) All You Need: Structural Protection Dominates Scoring in Globally Capped KV Evictioncited by 3
- 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristicscited by 1
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agents15 Jun 2026
- 2026Protection Is (Nearly) All You Need: Structural Protection Dominates Scoring in Globally Capped KV Eviction18 May 2026
- 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristics2 May 2026
- 2024Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Masking2 Dec 2024
- 2024VC Theory for Inventory Policiescited by 8
- 2024VC Theory for Inventory Policies17 Apr 2024
- 2024Improving Online Algorithms via ML Predictionscited by 66
- 2021Faster Matchings via Learned Dualscited by 56
- 2021Learning-Augmented k-means Clusteringcited by 26
- 2022Hindsight Learning for MDPs with Exogenous Inputscited by 26
- 2022Learning Predictions for Algorithms with Predictionscited by 25
- 2022Permutation Predictions for Non-Clairvoyant Schedulingcited by 22
- 2022Online Algorithms with Multiple Predictionscited by 22
- 2022Customizing ML Predictions for Online Algorithmscited by 21
- 2021Learning-Augmented Dynamic Power Management with Multiple States via New Ski Rental Boundscited by 20
- 2022Triangle and Four Cycle Counting with Predictions in Graph Streamscited by 20
- 2021Pareto-Optimal Learning-Augmented Algorithms for Online Conversion Problemscited by 19
- 2022Parsimonious Learning-Augmented Cachingcited by 19
12 most cited of 186 All 186 (JSON)
- 2026Certify the Decision, Not Every Score: Exact Top-k Selection from Few Evaluations10 Oct 2026
- 2026Compressing Value Predictions for Learning-Augmented Metrical Task Systems27 Sep 2026
- 2026Augmented Hypothesis Testing with Persona-Based LLM Simulations21 Sep 2026
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implications4 Sep 2026
- 2026Learning-Augmented Online Allocation under Unreliable Advice: Robustness, Exposure Fairness, and Distribution Shift27 Aug 2026
- 2026LLM-Powered Predictive Decision-Making for Sustainable Data Center Operations19 Aug 2026
- 2026Learning-Augmented and Randomized Algorithms for Line Aggregation with Delays30 Jul 2026
- 2026Online Fair Division with Budget Constraints25 Jul 2026
- 2026Memory-Computation Tradeoffs in Semi Amortized Parametric Optimization22 Jul 2026
- 2026CASP: Learning-Augmented Offline Approximation with Verifiable Certificates and Bounded-Loss PAC Guarantees16 Jul 2026
- 2026TSP with Predictions: Heatmap to Tour with Provable Guarantees4 Jul 2026
- 2026Learning-Augmented Algorithms for Online Vertex Cover22 Jun 2026
12 newest of 186 All 186 (JSON)