AC/DC: In-Database Learning Thunderstruck
Not on the map. Why?
Abstract (arXiv)
We report on the design and implementation of the AC/DC gradient descent solver for a class of optimization problems over normalized databases. AC/DC decomposes an optimization problem into a set of aggregates over the join of the database relations. It then uses the answers to these aggregates to iteratively improve the solution to the problem until it converges. The challenges faced by AC/DC are the large database size, the mixture of continuous and categorical features, and the large number of aggregates to compute. AC/DC addresses these challenges by employing a sparse data representation, factorized computation, problem reparameterization under functional dependencies, and a data structure that supports shared computation of aggregates. To train polynomial regression models and factorization machines of up to 154K features over the natural join of all relations from a real-world dataset of up to 86M tuples, AC/DC needs up to 30 minutes on one core of a commodity machine. This is up to three orders of magnitude faster than its competitors R, MadLib, libFM, and TensorFlow whenever they finish and thus do not exceed memory limitation, 24-hour timeout, or internal design limitations.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Mar 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 0; 2023: 1; 2024: 1; 2025: 1.
6 papers.
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQLcited by 4
- 2024In-Database Data Imputationcited by 3
- 2021Relational Boosted Regression Treescited by 0
- 2021Fine-Tuning Data Structures for Analytical Query Processingcited by 0
- 2025InferF: Declarative Factorization of AI/ML Inferences over Joinscited by 0
- 2025InferF: Declarative Factorization of AI/ML Inferences over Joins25 Nov 2025
- 2024In-Database Data Imputation7 Jan 2024
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQL1 Jul 2023
- 2021Fine-Tuning Data Structures for Analytical Query Processing24 Dec 2021
- 2021Relational Boosted Regression Trees25 Jul 2021
- 2021Functional Collection Programming with Semi-Ring Dictionaries10 Mar 2021