Research Articles
Repairing a Vector Index after Deletes: Uneven Workloads
Priya Saltmere (Machine Learning Laboratory, Kestrelby Institute of Technology), Adil Brookvala (Distributed Systems Group, Cairnwell Research Institute), Lina-Mae Larkmere (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Nerea Eastmarsh (Machine Learning Laboratory, Valehart Institute of Computational Science), Beatriz Larchvale (Machine Learning Laboratory, Cairnwell Research Institute)
Vol. 1 No. 1 (2020) · pp. 12–25 · Published 1 April 2020
Abstract
We ask whether scheduling local graph repair when tombstones affect reachable paths performs better than waiting for the next full index rebuild in a workload with many common cases and a small set of recurring high-cost cases. The evaluation is synthetic. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, deleted records must include frequently traversed nodes; the rare cases are assessed separately so that the dominant group does not hide their behavior. A case counts as a pass only if it meets this criterion: retrieval must satisfy recall and freshness targets after updates. 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. Across the full set, 127 cases meet the criterion with the first configuration and 128 with the second. The stress cases account for 24 and 22 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that local repair consumes capacity during foreground search. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.
Keywords: vector databases, deletion, index maintenance, uneven workloads, synthetic evaluation
References
- Agustsson, E., et al. (2017). Soft-to-hard vector quantization for end-to-end learning compressible representations. Advances in Neural Information Processing Systems, 30, 1141–1151.
- Bollacker, K., Evans, C., Paritosh, P., Sturge, T., & Taylor, J. (2008). Freebase: A collaboratively created graph database for structuring human knowledge. Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, 1247–1250.
- Cohen, J. (2009). Graph twiddling in a MapReduce world. Computing in Science & Engineering, 11(4), 29–41.
- Conneau, A., Kruszewski, G., Lample, G., Barrault, L., & Baroni, M. (2018). What you can cram into a single \$&!#\ vector: Probing sentence embeddings for linguistic properties. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics*, 2126–2136.
- Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297.
- Fu, C., Xiang, C., Wang, C., & Cai, D. (2017). Fast approximate nearest neighbor search with the navigating spreading-out graph. arXiv:1707.00143.
- Guyon, I., Weston, J., Barnhill, S., & Vapnik, V. (2002). Gene selection for cancer classification using support vector machines. Machine Learning, 46(1–3), 389–422.
- Larson, P.-Å., Blanas, S., Diaconu, C., Freedman, C., Patel, J. M., & Zwilling, M. (2011). High-performance concurrency control mechanisms for main-memory databases. Proceedings of the VLDB Endowment, 5(4), 298–309.
- Leis, V., Kemper, A., & Neumann, T. (2014). Exploiting hardware transactional memory in main-memory databases. Proceedings of the 30th IEEE International Conference on Data Engineering, 580–591.
- Mullapudi, R. T., Adams, A., Sharlet, D., Ragan-Kelley, J., & Fatahalian, K. (2016). Automatically scheduling Halide image processing pipelines. ACM Transactions on Graphics, 35(4), Article 83.
- Nguyen, D., Lenharth, A., & Pingali, K. (2013). A lightweight infrastructure for graph analytics. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 456–471.
- Tu, S., Zheng, W., Kohler, E., Liskov, B., & Madden, S. (2013). Speedy transactions in multicore in-memory databases. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 18–32.
- Turney, P. D., & Pantel, P. (2010). From frequency to meaning: Vector space models of semantics. Journal of Artificial Intelligence Research, 37, 141–188.
- Zhang, D., & Lee, W. S. (2003). Question classification using support vector machines. Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, 26–32.
