Skip to content

Research Articles

Repairing a Vector Index after Deletes: Changing Conditions

Dario Fieldmere (Machine Learning Laboratory, Ravenmere Technical University), Rowan Glenwick (Machine Learning Laboratory, Pinewick School of Engineering)

Vol. 3 No. 1 (2022) · pp. 41–53 · Published 16 April 2022

Abstract

We ask whether scheduling local graph repair when tombstones affect reachable paths performs better than waiting for the next full index rebuild in an operating profile that changes halfway through each run. The evaluation is synthetic. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, deleted records must include frequently traversed nodes; the final part of each run is deliberately drawn from a different regime than the initial calibration cases. 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. The first configuration passes 143 of 180 cases, versus 133 for the comparator. In the stress subset, the respective counts are 28 and 21 of 45. The alternative exceeds the comparator overall by 5.6 percentage points. The practical trade-off is that local repair consumes capacity during foreground search. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: vector databases, deletion, index maintenance, changing conditions, synthetic evaluation

References

  1. 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.
  2. Biggio, B., Nelson, B., & Laskov, P. (2012). Poisoning attacks against support vector machines. Proceedings of the 29th International Conference on Machine Learning, 1467–1474.
  3. Campbell, W. M., Sturim, D. E., & Reynolds, D. A. (2006). Support vector machines using GMM supervectors for speaker verification. IEEE Signal Processing Letters, 13(5), 308–311.
  4. Chapelle, O., Vapnik, V., Bousquet, O., & Mukherjee, S. (2002). Choosing multiple parameters for support vector machines. Machine Learning, 46(1–3), 131–159.
  5. 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.
  6. Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297.
  7. Edelkamp, S. (2001). Planning with pattern databases. Proceedings of the 6th European Conference on Planning, 13–24.
  8. Ester, M., Kriegel, H.-P., Sander, J., & Xu, X. (1996). A density-based algorithm for discovering clusters in large spatial databases with noise. Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, 226–231.
  9. Fu, C., Xiang, C., Wang, C., & Cai, D. (2017). Fast approximate nearest neighbor search with the navigating spreading-out graph. arXiv:1707.00143.
  10. 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.
  11. Joachims, T. (1999). Transductive inference for text classification using support vector machines. Proceedings of the 16th International Conference on Machine Learning, 200–209.
  12. 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.
  13. Platt, J. C. (1999). Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. In A. Smola, P. Bartlett, B. Schölkopf, & D. Schuurmans (Eds.), Advances in large margin classifiers (pp. 61–74). MIT Press.
  14. Simonyan, K., Parkhi, O. M., Vedaldi, A., & Zisserman, A. (2013). Fisher vector faces in the wild. Proceedings of the British Machine Vision Conference, 8.1–8.11.
  15. Stonebraker, M. (2010). SQL databases v. NoSQL databases. Communications of the ACM, 53(4), 10–11.
  16. Tong, S., & Koller, D. (2001). Support vector machine active learning with applications to text classification. Journal of Machine Learning Research, 2, 45–66.
  17. 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.