English

Scaling Datalog for Machine Learning on Big Data

Databases 2012-03-05 v2 Machine Learning Performance

Abstract

In this paper, we present the case for a declarative foundation for data-intensive machine learning systems. Instead of creating a new system for each specific flavor of machine learning task, or hardcoding new optimizations, we argue for the use of recursive queries to program a variety of machine learning systems. By taking this approach, database query optimization techniques can be utilized to identify effective execution plans, and the resulting runtime plans can be executed on a single unified data-parallel query processing engine. As a proof of concept, we consider two programming models--Pregel and Iterative Map-Reduce-Update---from the machine learning domain, and show how they can be captured in Datalog, tuned for a specific task, and then compiled into an optimized physical plan. Experiments performed on a large computing cluster with real data demonstrate that this declarative approach can provide very good performance while offering both increased generality and programming ease.

Keywords

Cite

@article{arxiv.1203.0160,
  title  = {Scaling Datalog for Machine Learning on Big Data},
  author = {Yingyi Bu and Vinayak Borkar and Michael J. Carey and Joshua Rosen and Neoklis Polyzotis and Tyson Condie and Markus Weimer and Raghu Ramakrishnan},
  journal= {arXiv preprint arXiv:1203.0160},
  year   = {2012}
}
R2 v1 2026-06-21T20:27:32.140Z