Skip to main content

Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems

Publication ,  Conference
Xing, N; Cai, S; Chen, G; Luo, Z; Chin Ooi, B; Pei, J
Published in: Proceedings of the VLDB Endowment
January 1, 2024

The growing demand for advanced analytics beyond statistical aggregation calls for database systems that support effective model selection of deep neural networks (DNNs). However, existing model selection strategies are based on either training-based algorithms that deliver high-performing models at the expense of high computational cost, or training-free algorithms that enhance computational efficiency with reduced effectiveness. These strategies often disregard computational cost and response time Service-Level Objectives (SLOs), which are of concern to average or budgetconscious machine learning users. In addition, they lack a welldesigned integration of the model selection algorithms with DBMSs, which hinders efficient in-database model selection. This paper presents TRAILS, a resource-efficient and SLO-aware in-database model selection system. To leverage the strengths of both trainingfree and training-based model selection, we first characterize nine state-of-the-art training-free model evaluation metrics and propose a more effective one named JacFlow, and then, restructure the conventional model selection procedure into two phases: filtering and refinement. A novel coordinator is also introduced to strike a balance between the high efficiency of train-free algorithms and the high effectiveness of training-based algorithms, ensuring high-performing model selection while adhering to target SLOs. Moreover, we incorporate the proposed algorithm into PostgreSQL to develop TRAILS, thereby both enhancing resource efficiency and reducing model selection latency. This integration establishes a foundation for declarative model definition and selection within DBMSs. Empirical results demonstrate that our TRAILS reduces model selection time and computational expenses considerably by up to 24.38x and 29.32x respectively compared to existing model selection systems.

Duke Scholars

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2024

Volume

17

Issue

5

Start / End Page

1020 / 1033

Related Subject Headings

  • 4605 Data management and data science
  • 0807 Library and Information Studies
  • 0806 Information Systems
  • 0802 Computation Theory and Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Xing, N., Cai, S., Chen, G., Luo, Z., Chin Ooi, B., & Pei, J. (2024). Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems. In Proceedings of the VLDB Endowment (Vol. 17, pp. 1020–1033). https://doi.org/10.14778/3641204.3641212
Xing, N., S. Cai, G. Chen, Z. Luo, B. Chin Ooi, and J. Pei. “Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems.” In Proceedings of the VLDB Endowment, 17:1020–33, 2024. https://doi.org/10.14778/3641204.3641212.
Xing N, Cai S, Chen G, Luo Z, Chin Ooi B, Pei J. Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems. In: Proceedings of the VLDB Endowment. 2024. p. 1020–33.
Xing, N., et al. “Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems.” Proceedings of the VLDB Endowment, vol. 17, no. 5, 2024, pp. 1020–33. Scopus, doi:10.14778/3641204.3641212.
Xing N, Cai S, Chen G, Luo Z, Chin Ooi B, Pei J. Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems. Proceedings of the VLDB Endowment. 2024. p. 1020–1033.

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2024

Volume

17

Issue

5

Start / End Page

1020 / 1033

Related Subject Headings

  • 4605 Data management and data science
  • 0807 Library and Information Studies
  • 0806 Information Systems
  • 0802 Computation Theory and Mathematics