NeurStore: Efficient In-database Deep Learning Model Management System
Siqi Xiang, Sheng Wang, Xiaokui Xiao et al. · Proceedings of the ACM on Management of Data · 2025
With the prevalence of in-database AI-powered analytics, there is an increasing demand for database systems to efficiently manage the ever-expanding number and size of deep learning models. However, existing database systems typically store entire models as monolithic files or apply compression techniques that overlook the structural characteristics of deep learning models, resulting in suboptimal model storage overhead. This paper presents NeurStore, a novel in-database model management system that enables efficient storage and utilization of deep learning models. First, NeurStore employs a tensor-based model storage engine to enable fine-grained model storage within databases. In particular, we enhance the hierarchical navigable small world (HNSW) graph to index tensors, and only store additional deltas for tensors within a predefined similarity threshold to ensure tensor-level deduplication. Second, we propose a delta quantization algorithm that effectively compresses delta tensors, thus achieving a superior compression ratio with controllable model accuracy loss. Finally, we devise a compression-aware model loading mechanism, which improves model utilization performance by enabling direct computation on compressed tensors. Experimental evaluations demonstrate that NeurStore achieves superior compression ratios and competitive model loading throughput compared to state-of-the-art approaches.
Cited by 1 works. doi:10.1145/3769809 Open-access PDF
Authors
References
- Product Quantization for Nearest Neighbor Search
- Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs
- Fixed-Rate Compressed Floating-Point Arrays
- The MADlib analytics library
- Fast approximate nearest neighbor search with the navigating spreading-out graph
- A comprehensive survey and experimental comparison of graph-based approximate nearest neighbor search
- ClickHouse - Lightning Fast Analytics for Everyone
- A Revisit of Hashing Algorithms for Approximate Nearest Neighbor Search
- TPCx-AI - An Industry Standard Benchmark for Artificial Intelligence and Machine Learning Systems
- NeurDB: an AI-powered autonomous data system