Similarity Caching: Theory and Algorithms
Michele Garetto, Emilio Leonardi, Giovanni Neglia
Abstract
This paper focuses on similarity caching systems, in which a user request for an object o that is not in the cache can be (partially) satisfied by a similar stored object o', at the cost of a loss of user utility. Similarity caching systems can be effectively employed in several application areas, like multimedia retrieval, recommender systems, genome study, and machine learning training/serving. However, despite their relevance, the behavior of such systems is far from being well understood. In this paper, we provide a first comprehensive analysis of similarity caching in the offline, adversarial, and stochastic settings. We show that similarity caching raises significant new challenges, for which we propose the first dynamic policies with some optimality guarantees. We evaluate the performance of our schemes under both synthetic and real request traces.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- GRADES: Gradient Descent for Similarity CachingAnirudh Sabnis, Tareq Si Salem, Giovanni Neglia, Michele Garetto et al.INFOCOM 2021 · 14 citations
- Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online AdaptationXutong Liu, Baran Atalar, Xiangxiang Dai, Jinhang Zuo et al.INFOCOM 2026 · 2 citations
- Accelerating Deep Learning Classification with Error-controlled Approximate-key CachingAlessandro Finamore, James Roberts, Massimo Gallo, Dario RossiINFOCOM 2022
Related papers
- Online metric algorithms with untrusted predictionsAntonios Antoniadis, Christian Coester, Marek Eliás, Adam Polak et al.ICML 2020 · 170 citations
- Dynamic Regret of Randomized Online Service Caching in Edge ComputingSiqi Fan, I-Hong Hou, Van Sy MaiINFOCOM 2023 · 15 citations
- Making Cache Monotonic and ConsistentShuai An, Yang CaoVLDB 2023 · 1 citation
- Cost-Driven Data Caching in the Cloud: An Algorithmic ApproachYang Wang, Yong Zhang, Xinxin Han, Pengfei Wang et al.INFOCOM 2021 · 13 citations
- vCache: Verified Semantic Prompt CachingLuis Gaspar Schroeder, Aditya Desai, Alejandro Cuadron, Kyle Chu et al.ICLR 2026 · 15 citations
