# No-Regret Caching with Delayed Hits

*Bowen Jiang, Chaofan Ma, Qi Li, Wang Duo*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154595) · [OpenReview](https://openreview.net/forum?id=CQ5tByxuD8) · [Open on the map](../papers.html#p154595)

Category: [Bandits, Online Learning & Economics](../pcat/12.md) › [Online Convex Optimization Extensions](../pgroup/186.md) · Type: new method · Keywords: caching, delayed hits, regret minimization, UCB algorithms, online learning

## Summary
The paper introduces UCB-DH and LA-FTPL algorithms for caching with delayed hits, achieving no-regret guarantees under stochastic and adversarial arrivals.

## Explained to a 5-year-old
Imagine a library where books are borrowed and take time to return. If someone asks for a book before the previous borrower brings it back, they have to wait. The paper creates smart rules to decide which books to keep so that waiting time is low and the rules work well over time. These rules learn from past mistakes and change when the borrowing pattern changes or someone tries to trick them. As a result, the library can serve people faster and more fairly.

## Explained to a 5-year-old, longer
In a library, books are taken out and need time to come back. Sometimes a person wants a book while it is still being returned by the previous borrower. This delay makes it hard to know if keeping the book helps or not. The researchers looked at this problem and wanted to create rules that work well even with these delays. They built a way to measure how good the rules are by comparing them to the best possible rule over time. For situations where books are borrowed in a steady way, they made a rule that learns from past delays and picks the best books. When the borrowing pattern changes, like a sudden rush of requests, they added a restart mechanism to adapt quickly. Even if someone tries to confuse the system by making unexpected requests, the rule still performs well. The experiments used both made-up data and real library borrowing records. The results show the new rules reduce waiting time compared to older methods. This helps libraries and storage systems serve users faster and more reliably. Overall, the work gives a solid foundation for designing caching systems that handle delayed hits gracefully.

## For a technical reader
The paper addresses caching scenarios where a request for an item can arrive before a previous fetch completes, causing a delayed hit. It formulates a regret framework that measures how well a caching policy performs against optimal static and time-varying comparators. For stochastic workloads, the authors propose a UCB-style algorithm that uses shadow values to balance exploration and exploitation, achieving logarithmic regret. For adversarial settings, they introduce a latency-scaled perturbation method with admission control that attains sublinear shadow regret. Experiments on synthetic and real traces confirm sublinear regret and latency improvements over existing baselines.

## Problem
Caching systems suffer from delayed hits when a request arrives while a previous miss for the same item is still being fetched, breaking the equivalence between hit ratio and latency. Designing caching policies that achieve no-regret guarantees in the presence of such delayed hits is challenging.

## Method
The authors develop a regret framework for delayed-hit caching, deriving static and switching regret bounds. They propose stochastic algorithms using delayed-hit shadow values and UCB-style exploration, and adversarial algorithms based on latency-scaled perturbations and completion-time admission.

## Results
The algorithms achieve sublinear regret on synthetic and real traces and improve latency over state-of-the-art baselines.

## Contributions
The paper provides a regret framework for delayed-hit caching, introduces stochastic and adversarial no-regret algorithms, and proves matching lower bounds on latency amplification.

## Practical relevance
The results demonstrate improved caching latency on real-world workloads, enabling more efficient content delivery and storage systems.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154595)
