Skip to main content
construction release_alert
The Scholars Team is working with OIT to resolve some issues with the Scholars search index
cancel

Powering In-Database Dynamic Model Slicing for Structured Data Analytics

Publication ,  Conference
Zeng, L; Xing, N; Cai, S; Chen, G; Ooi, BC; Pei, J; Wu, Y
Published in: Proceedings of the VLDB Endowment
January 1, 2024

Relational database management systems (RDBMS) are widely used for the storage of structured data. To derive insights beyond statistical aggregation, we typically have to extract specific subdatasets from the database using conventional database operations, and then apply deep neural networks (DNN) training and inference on these subdatasets in a separate analytics system. The process can be prohibitively expensive, especially when there are various subdatasets extracted for different analytical purposes. This calls for efficient in-database support of advanced analytical methods. In this paper, we introduce LEADS, a novel SQL-aware dynamic model slicing technique to customize models for specified SQL queries. LEADS improves the predictive modeling of structured data via the mixture of experts (MoE) and maintains efficiency by a SQL-aware gating network. At the core of LEADS is the construction of a general model with multiple expert sub-models trained over the database. The MoE scales up the modeling capacity, enhances effectiveness, and preserves efficiency by activating necessary experts via the SQL-aware gating network during inference. To support in-database analytics, we build an inference extension that integrates LEADS onto PostgreSQL. Our extensive experiments on real-world datasets demonstrate that LEADS consistently outperforms the baseline models, and the in-database inference extension delivers a considerable reduction in inference latency compared to traditional solutions.

Duke Scholars

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2024

Volume

17

Issue

13

Start / End Page

4813 / 4826

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
Zeng, L., Xing, N., Cai, S., Chen, G., Ooi, B. C., Pei, J., & Wu, Y. (2024). Powering In-Database Dynamic Model Slicing for Structured Data Analytics. In Proceedings of the VLDB Endowment (Vol. 17, pp. 4813–4826). https://doi.org/10.14778/3704965.3704985
Zeng, L., N. Xing, S. Cai, G. Chen, B. C. Ooi, J. Pei, and Y. Wu. “Powering In-Database Dynamic Model Slicing for Structured Data Analytics.” In Proceedings of the VLDB Endowment, 17:4813–26, 2024. https://doi.org/10.14778/3704965.3704985.
Zeng L, Xing N, Cai S, Chen G, Ooi BC, Pei J, et al. Powering In-Database Dynamic Model Slicing for Structured Data Analytics. In: Proceedings of the VLDB Endowment. 2024. p. 4813–26.
Zeng, L., et al. “Powering In-Database Dynamic Model Slicing for Structured Data Analytics.” Proceedings of the VLDB Endowment, vol. 17, no. 13, 2024, pp. 4813–26. Scopus, doi:10.14778/3704965.3704985.
Zeng L, Xing N, Cai S, Chen G, Ooi BC, Pei J, Wu Y. Powering In-Database Dynamic Model Slicing for Structured Data Analytics. Proceedings of the VLDB Endowment. 2024. p. 4813–4826.

Published In

Proceedings of the VLDB Endowment

DOI

EISSN

2150-8097

Publication Date

January 1, 2024

Volume

17

Issue

13

Start / End Page

4813 / 4826

Related Subject Headings

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