Kwanghyun Park

Senior Research Engineer, Microsoft

Kwanghyun Park is a senior research engineer at Microsoft Gray Systems Lab (GSL), looking at query processing and optimizations in database management systems. He is also interested in large-scale data processing with new classes of hardware and the intersection of data processing and machine learning. He obtained his Ph.D. and M.Sc. in Computer Science from University of Wisconsin-Madison under the supervision of Prof. Jignesh M. Patel after receiving a Bachelor with summa cum laude in Computer Science and Applied Math & Statistics (AMS) from State University of New York, Stony Brook.

Past sessions

Summit 2021 Raven: End-to-end Optimization of ML Prediction Queries

May 28, 2021 10:30 AM PT

Machine learning (ML) models are typically part of prediction queries that consist of a data processing part (e.g., for joining, filtering, cleaning, featurization) and an ML part invoking one or more trained models. In this presentation, we identify significant and unexplored opportunities for optimization. To the best of our knowledge, this is the first effort to look at prediction queries holistically, optimizing across both the ML and SQL components.

We will present Raven, an end-to-end optimizer for prediction queries. Raven relies on a unified intermediate representation that captures both data processing and ML operators in a single graph structure.

This allows us to introduce optimization rules that
(i) reduce unnecessary computations by passing information between the data processing and ML operators
(ii) leverage operator transformations (e.g., turning a decision tree to a SQL expression or an equivalent neural network) to map operators to the right execution engine, and
(iii) integrate compiler techniques to take advantage of the most efficient hardware backend (e.g., CPU, GPU) for each operator.

We have implemented Raven as an extension to Spark’s Catalyst optimizer to enable the optimization of SparkSQL prediction queries. Our implementation also allows the optimization of prediction queries in SQL Server. As we will show, Raven is capable of improving prediction query performance on Apache Spark and SQL Server by up to 13.1x and 330x, respectively. For complex models, where GPU acceleration is beneficial, Raven provides up to 8x speedup compared to state-of-the-art systems. As part of the presentation, we will also give a demo showcasing Raven in action.

In this session watch:
Konstantinos Karanasos, Principal Scientist Manager, Microsoft
Kwanghyun Park, Senior Research Engineer, Microsoft

[daisna21-sessions-od]