Skip to content

Research Articles

Repairing a Vector Index after Deletes: Tight Resource Limits

Yara Wrenford (Machine Learning Laboratory, Valehart Institute of Computational Science), Idris Dovemere (Machine Learning Laboratory, Kestrelby Institute of Technology), Elena Hartfen (Data Engineering Group, Ravenmere Technical University), Lina-Mae Fallowby (Data Engineering Group, Eastmarsh Institute for Applied Computing)

Vol. 2 No. 1 (2021) · pp. 30–43 · Published 22 May 2021

Abstract

For a reduced operating budget with the same input mix, we construct a synthetic comparison between scheduling local graph repair when tombstones affect reachable paths and waiting for the next full index rebuild. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, deleted records must include frequently traversed nodes; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. 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 comparator passes 112 of 160 cases and the alternative passes 112. For the 40 stress cases alone, the counts are 17 and 20, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that local repair consumes capacity during foreground search. 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: vector databases, deletion, index maintenance, tight resource limits, 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. 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.
  4. Chang, E. Y., et al. (2007). PSVM: Parallelizing support vector machines on distributed computers. Advances in Neural Information Processing Systems, 20.
  5. Cohen, J. (2009). Graph twiddling in a MapReduce world. Computing in Science & Engineering, 11(4), 29–41.
  6. Fu, C., Xiang, C., Wang, C., & Cai, D. (2017). Fast approximate nearest neighbor search with the navigating spreading-out graph. arXiv:1707.00143.
  7. Hsu, C.-W., Chang, C.-C., & Lin, C.-J. (2003). A practical guide to support vector classification (Technical report). National Taiwan University.
  8. Kågebäck, M., Mogren, O., Tahmasebi, N., & Dubhashi, D. (2014). Extractive summarization using continuous vector space models. Proceedings of the 2nd Workshop on Continuous Vector Space Models and their Compositionality, 31–39.
  9. Maji, S., Berg, A. C., & Malik, J. (2008). Classification using intersection kernel support vector machines is efficient. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1–8.
  10. 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.
  11. Popescu, A.-M., Etzioni, O., & Kautz, H. (2003). Towards a theory of natural language interfaces to databases. Proceedings of the 8th International Conference on Intelligent User Interfaces, 149–157.
  12. Tax, D. M. J., & Duin, R. P. W. (2004). Support vector data description. Machine Learning, 54(1), 45–66.
  13. Torralba, A., Fergus, R., & Weiss, Y. (2008). Small codes and large image databases for recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1–8.