Learning Models over Relational Data using Sparse Tensors and Functional Dependencies
Not on the map. Why?
Abstract (arXiv)
Integrated solutions for analytics over relational databases are of great practical importance as they avoid the costly repeated loop data scientists have to deal with on a daily basis: select features from data residing in relational databases using feature extraction queries involving joins, projections, and aggregations; export the training dataset defined by such queries; convert this dataset into the format of an external learning tool; and train the desired model using this tool. These integrated solutions are also a fertile ground of theoretically fundamental and challenging problems at the intersection of relational and statistical data models. This article introduces a unified framework for training and evaluating a class of statistical learning models over relational databases. This class includes ridge linear regression, polynomial regression, factorization machines, and principal component analysis. We show that, by synergizing key tools from database theory such as schema information, query structure, functional dependencies, recent advances in query evaluation algorithms, and from linear algebra such as tensor and matrix operations, one can formulate relational analytics problems and design efficient (query and data) structure-aware algorithms to solve them. This theoretical development informed the design and implementation of the AC/DC system for structure-aware learning. We benchmark the performance of AC/DC against R, MADlib, libFM, and TensorFlow. For typical retail forecasting and advertisement planning applications, AC/DC can learn polynomial regression models and factorization machines with at least the same accuracy as its competitors and up to three orders of magnitude faster than its competitors whenever they do not run out of memory, exceed 24-hour timeout, or encounter internal design limitations.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Mar 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 0; 2024: 6; 2025: 2; 2026: 2.
12 papers.
- 2021ARM-Net: Adaptive Relation Modeling Network for Structured Datacited by 24
- 2024Powering In-Database Dynamic Model Slicing for Structured Data Analyticscited by 5
- 2024NeurDB: An AI-powered Autonomous Data Systemcited by 5
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
- 2024Preserving logical and functional dependencies in synthetic tabular datacited by 4
- 2022Approaching sales forecasting using recurrent neural networks and transformerscited by 3
- 2025Graph Your Own Promptcited by 2
- 2024Compressing Structured Tensor Algebracited by 0
- 2024Graph Neural Networks on Graph Databasescited by 0
- 2025Morphing-based Compression for Data-centric ML Pipelinescited by 0
- 2026Closed-Form Steepest Descent Direction toward Flat Minima: Reducing Upper Bounds on the Loss Hessian Eigenspectrum in Neural Networkscited by 0
- 2026InferQ: A Database-Oriented Benchmark for Quantum Circuits Simulationcited by 0
- 2026InferQ: A Database-Oriented Benchmark for Quantum Circuits Simulation31 Jul 2026
- 2026Closed-Form Steepest Descent Direction toward Flat Minima: Reducing Upper Bounds on the Loss Hessian Eigenspectrum in Neural Networks27 Jun 2026
- 2025Graph Your Own Prompt27 Sep 2025
- 2025Morphing-based Compression for Data-centric ML Pipelines15 Apr 2025
- 2024Graph Neural Networks on Graph Databases18 Nov 2024
- 2024Preserving logical and functional dependencies in synthetic tabular data26 Sep 2024
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2024NeurDB: An AI-powered Autonomous Data System7 May 2024
- 2024Powering In-Database Dynamic Model Slicing for Structured Data Analytics1 May 2024
- 2022Approaching sales forecasting using recurrent neural networks and transformers16 Apr 2022
- 2021ARM-Net: Adaptive Relation Modeling Network for Structured Data5 Jul 2021