Research Articles
Semantic Caching with Version Boundaries: Clustered Exceptions
Saira Kestrelby (Data Engineering Group, Glenwick University), Zoya Hartfen (Machine Learning Laboratory, Ivermere University)
Vol. 1 No. 1 (2020) · pp. 81–94 · Published 29 July 2020
Abstract
The comparison uses a burst of exceptions concentrated in a short interval to evaluate two choices: checking query similarity and a corpus-version key before reuse and reusing the nearest cached result by similarity alone. All outcomes are synthetic. Each configuration is evaluated on the same 240 cases. In the 60 stress cases, two similarly worded queries must have different relevant time ranges; the difficult conditions occur in contiguous runs rather than being spread across cases. A case counts as a pass only if it meets this criterion: a reused result must meet the rubric for current answer equivalence. The replay retains source versions and arrival order. A reference output built from the complete synthetic history is used to distinguish a fast response from one that is both current and correct. The comparator passes 182 of 240 cases and the alternative passes 186. For the 60 stress cases alone, the counts are 38 and 42, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that a stricter cache key reduces reuse for valid paraphrases. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.
Keywords: semantic caching, embedding retrieval, invalidation, clustered exceptions, synthetic evaluation
References
- Arasu, A., Babu, S., & Widom, J. (2006). The CQL continuous query language: Semantic foundations and query execution. The VLDB Journal, 15(2), 121–142.
- Faruqui, M., Dodge, J., Jauhar, S. K., Dyer, C., Hovy, E., & Smith, N. A. (2014). Retrofitting word vectors to semantic lexicons. arXiv:1411.4166.
- Krallinger, M., Valencia, A., & Hirschman, L. (2008). Linking genes to literature: Text mining, information extraction, and retrieval applications for biology. Genome Biology, 9(Suppl. 2), S8.
- Kumar, R., Novak, J., Pang, B., & Tomkins, A. (2007). On anonymizing query logs via token-based hashing. Proceedings of the 16th International Conference on World Wide Web, 629–638.
- Lee, K., Chang, M.-W., & Toutanova, K. (2019). Latent retrieval for weakly supervised open domain question answering. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 6086–6096.
- Liu, Z., Luo, P., Qiu, S., Wang, X., & Tang, X. (2016). DeepFashion: Powering robust clothes recognition and retrieval with rich annotations. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1096–1104.
- Manning, C. D., Raghavan, P., & Schütze, H. (2008). Introduction to information retrieval. Cambridge University Press.
- Mitra, B., & Craswell, N. (2018). An introduction to neural information retrieval. Foundations and Trends in Information Retrieval, 13(1), 1–126.
- Nogueira, R., Yang, W., Lin, J., & Cho, K. (2019). Document expansion by query prediction. arXiv:1904.08375.
- Parikh, N., & Sundaresan, N. (2008). Inferring semantic query relations from collective user behavior. Proceedings of the 17th ACM Conference on Information and Knowledge Management, 349–358.
- Shen, Y., He, X., Gao, J., Deng, L., & Mesnil, G. (2014). A latent semantic model with convolutional-pooling structure for information retrieval. Proceedings of the 23rd ACM International Conference on Information and Knowledge Management, 101–110.
- Venna, J., Peltonen, J., Nybo, K., Aidos, H., & Kaski, S. (2010). Information retrieval perspective to nonlinear dimensionality reduction for data visualization. Journal of Machine Learning Research, 11, 451–490.
- Wang, G., et al. (2018). Joint embedding of words and labels for text classification. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, 2321–2331.
