A Layered Aggregate Engine for Analytics Workloads
Not on the map. Why?
Abstract (arXiv)
This paper introduces LMFAO (Layered Multiple Functional Aggregate Optimization), an in-memory optimization and execution engine for batches of aggregates over the input database. The primary motivation for this work stems from the observation that for a variety of analytics over databases, their data-intensive tasks can be decomposed into group-by aggregates over the join of the input database relations. We exemplify the versatility and competitiveness of LMFAO for a handful of widely used analytics: learning ridge linear regression, classification trees, regression trees, and the structure of Bayesian networks using Chow-Liu trees; and data cubes used for exploration in data warehousing. LMFAO consists of several layers of logical and code optimizations that systematically exploit sharing of computation, parallelism, and code specialization. We conducted two types of performance benchmarks. In experiments with four datasets, LMFAO outperforms by several orders of magnitude on one hand, a commercial database system and MonetDB for computing batches of aggregates, and on the other hand, TensorFlow, Scikit, R, and AC/DC for learning a variety of models over databases.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 2; 2024: 2; 2025: 2; 2026: 1.
12 papers.
- 2021GeCo: Quality Counterfactual Explanations in Real Timecited by 32
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQLcited by 4
- 2022Approaching sales forecasting using recurrent neural networks and transformerscited by 3
- 2024In-Database Data Imputationcited by 3
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Enginescited by 2
- 2021Fine-Tuning Data Structures for Analytical Query Processingcited by 0
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSscited by 0
- 2024TablePuppet: A Generic Framework for Relational Federated Learningcited by 0
- 2025InferF: Declarative Factorization of AI/ML Inferences over Joinscited by 0
- 2025Fast Factorized Learning: Powered by In-Memory Database Systemscited by 0
- 2026Data Flow Control: Data Safety Policies for AI Agentscited by 0
- 2026Data Flow Control: Data Safety Policies for AI Agents4 Jun 2026
- 2025Fast Factorized Learning: Powered by In-Memory Database Systems10 Dec 2025
- 2025InferF: Declarative Factorization of AI/ML Inferences over Joins25 Nov 2025
- 2024TablePuppet: A Generic Framework for Relational Federated Learning23 Mar 2024
- 2024In-Database Data Imputation7 Jan 2024
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Engines28 Dec 2023
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQL1 Jul 2023
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSs21 Jun 2022
- 2022Approaching sales forecasting using recurrent neural networks and transformers16 Apr 2022
- 2021Fine-Tuning Data Structures for Analytical Query Processing24 Dec 2021
- 2021Functional Collection Programming with Semi-Ring Dictionaries10 Mar 2021
- 2021GeCo: Quality Counterfactual Explanations in Real Time5 Jan 2021