English

BigData Applications from Graph Analytics to Machine Learning by Aggregates in Recursion

Logic in Computer Science 2019-09-19 v1 Databases Machine Learning

Abstract

In the past, the semantic issues raised by the non-monotonic nature of aggregates often prevented their use in the recursive statements of logic programs and deductive databases. However, the recently introduced notion of Pre-mappability (PreM) has shown that, in key applications of interest, aggregates can be used in recursion to optimize the perfect-model semantics of aggregate-stratified programs. Therefore we can preserve the declarative formal semantics of such programs while achieving a highly efficient operational semantics that is conducive to scalable implementations on parallel and distributed platforms. In this paper, we show that with PreM, a wide spectrum of classical algorithms of practical interest, ranging from graph analytics and dynamic programming based optimization problems to data mining and machine learning applications can be concisely expressed in declarative languages by using aggregates in recursion. Our examples are also used to show that PreM can be checked using simple techniques and templatized verification strategies. A wide range of advanced BigData applications can now be expressed declaratively in logic-based languages, including Datalog, Prolog, and even SQL, while enabling their execution with superior performance and scalability.

Keywords

Cite

@article{arxiv.1909.08249,
  title  = {BigData Applications from Graph Analytics to Machine Learning by Aggregates in Recursion},
  author = {Ariyam Das and Youfu Li and Jin Wang and Mingda Li and Carlo Zaniolo},
  journal= {arXiv preprint arXiv:1909.08249},
  year   = {2019}
}

Comments

In Proceedings ICLP 2019, arXiv:1909.07646. Paper presented at the 35th International Conference on Logic Programming (ICLP 2019), Las Cruces, New Mexico, USA, 20-25 September 2019, 7 pages (short paper - applications track)

R2 v1 2026-06-23T11:18:50.120Z