Powering In-Database Dynamic Model Slicing for Structured Data Analytics
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 30 of its 76 references that are in the map. First posted on arXiv 1 May 2024.
Builds on
30 of 76 references.
Closest ancestors · 2
Same direction, newest first
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan
Other references · 28
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
- 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2020TabTransformer: Tabular Data Modeling Using Contextual Embeddingscited by 398
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2024MoE-LLaVA: Mixture of Experts for Large Vision-Language Modelscited by 298
- 2021Ensemble deep learning: A reviewcited by 283
- 2018xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systemscited by 277
- 2013Learning Factored Representations in a Deep Mixture of Expertscited by 275
- 2019Continual learning with hypernetworkscited by 267
16 more
- 2023From Sparse to Soft Mixtures of Expertscited by 245
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2017Neural Factorization Machines for Sparse Predictive Analyticscited by 183
- 2019Sparse Sequence-to-Sequence Modelscited by 167
- 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 110
- 2018Synthesizing Tabular Data using Generative Adversarial Networkscited by 92
- 2021Go Wider Instead of Deepercited by 56
- 2019Adaptive Factorization Network: Learning Adaptive-Order Feature Interactionscited by 48
- 2018Rafiki: Machine Learning as an Analytics Service Systemcited by 33
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2020TRACER: A Framework for Facilitating Accurate and Interpretable Analytics for High Stakes Applicationscited by 13
- 2022Optimizing Machine Learning Inference Queries with Correlative Proxy Modelscited by 13
- 2017Learning Models over Relational Data using Sparse Tensors and Functional Dependenciescited by 12
- 2019Model Slicing for Supporting Complex Analytics with Elastic Inference Cost and Resource Constraintscited by 12
- 2020Optimal binning: mathematical programming formulationcited by 9
- 2020F-IVM: Learning over Fast-Evolving Relational Datacited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2024NeurDB: An AI-powered Autonomous Data Systemcited by 5
- 2025NeurStore: Efficient In-database Deep Learning Model Management Systemcited by 2
- 2025SliceGX: Layer-wise GNN Explanation with Model-slicingcited by 1
- 2025Aixel: A Unified, Adaptive and Extensible System for AI-powered Data Analysiscited by 1
- 2026Towards Effective Orchestration of AI x DB Workloadscited by 0
- 2026Towards Effective Orchestration of AI x DB Workloads4 Mar 2026
- 2025Aixel: A Unified, Adaptive and Extensible System for AI-powered Data Analysis14 Oct 2025
- 2025NeurStore: Efficient In-database Deep Learning Model Management System3 Sep 2025
- 2025SliceGX: Layer-wise GNN Explanation with Model-slicing22 Jun 2025
- 2024NeurDB: An AI-powered Autonomous Data System7 May 2024
Similar, not cited
Close in wording, no citation either way
- 2026BatchDAG: LLM-Planned Execution Graphs for Scalable Ad-Hoc Analysis Over Enterprise Data
- 2026FEAT: A Linear-Complexity Foundation Model for Extremely Large Structured Data
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluation
- 2025Joint Relational Database Generation via Graph-Conditional Diffusion Models
- 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignment
- 2026RAS: Reflection-Augmented Scaling with In-Context Learning for Executable Cypher Query Generation
- 2025CoddLLM: Empowering Large Language Models for Data Analytics
- 2025Make Still Further Progress: Chain of Thoughts for Tabular Data Leaderboard