Similarity caching allows requests for an item \(i\) to be served by a similar item \(i'\). Applications include recommendation systems, multimedia retrieval, and machine learning. Recently, many similarity caching policies have been proposed, but still we do not know how to compute the hit rate even for the simplest policies, like SIM-LRU and RND-LRU that are straightforward modifications of classical caching algorithms. This paper proposes the first algorithm to compute the hit rate of similarity caching policies under the independent reference model for the request process. In particular, our work shows how to extend the popular TTL approximation from classic caching to similarity caching. The algorithm is evaluated on both synthetic and real world traces.
翻译:相似的缓存允许类似项 \ (i\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\(i\\\\\\\\\\\\\I\\\\\\\\\\\\\\\(i\\\\\\\(i\\\\\\\\\\\(i\\\\\\\\\\\\\I\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\需要类似的项目要求相似的项目要求相似的项目要求相似的项目要求相似的项目要求相似的项目请求请求请求请求)请求)请求请求请求请求请求请求请求请求)请求)请求)请求请求请求请求请求请求请求请求)请求)请求)请求)请求)请求请求请求请求请求请求请求请求请求请求)请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求请求