English

Machine Learning with DBOS

Cryptography and Security 2022-08-11 v1 Databases Distributed, Parallel, and Cluster Computing Human-Computer Interaction Machine Learning

Abstract

We recently proposed a new cluster operating system stack, DBOS, centered on a DBMS. DBOS enables unique support for ML applications by encapsulating ML code within stored procedures, centralizing ancillary ML data, providing security built into the underlying DBMS, co-locating ML code and data, and tracking data and workflow provenance. Here we demonstrate a subset of these benefits around two ML applications. We first show that image classification and object detection models using GPUs can be served as DBOS stored procedures with performance competitive to existing systems. We then present a 1D CNN trained to detect anomalies in HTTP requests on DBOS-backed web services, achieving SOTA results. We use this model to develop an interactive anomaly detection system and evaluate it through qualitative user feedback, demonstrating its usefulness as a proof of concept for future work to develop learned real-time security services on top of DBOS.

Keywords

Cite

@article{arxiv.2208.05101,
  title  = {Machine Learning with DBOS},
  author = {Robert Redmond and Nathan W. Weckwerth and Brian S. Xia and Qian Li and Peter Kraft and Deeptaanshu Kumar and Çağatay Demiralp and Michael Stonebraker},
  journal= {arXiv preprint arXiv:2208.05101},
  year   = {2022}
}

Comments

AIDB@VLDB 2022