Proceedings of the 2022 International Conference on Management of Data · 2022 · 44 citations · 34 references
ComputingComputer ScienceMachine LearningParallel ComputingPredictive AnalyticsDeep LearningGraph-based LearningHardware AccelerationOptimization For Machine LearningQuery OptimizationQuery ProcessingData ProcessingData-driven OptimizationHigh-level Intermediate RepresentationIntermediate Representation DesignMachine Learning AnalyticsOperatorsQuery Performance OptimizationTransformations
Prediction queries are widely used across industries to perform advanced analytics and draw insights from data. They include a data processing part (e.g., for joining, filtering, cleaning, featurizing the datasets) and a machine learning (ML) part invoking one or more trained models to perform predictions. These parts have so far been optimized in isolation, leaving significant opportunities for optimization unexplored. We present Raven, a production-ready system for optimizing prediction queries. Raven follows the enterprise architectural trend of collocating data and ML runtimes. It relies on a unified intermediate representation that captures both data and ML operators in a single graph structure to unlock two families of optimizations. First, it employs logical optimizations that pass information between the data part (and the properties of the underlying data) and the ML part to optimize each other. Second, it introduces logical-to-physical transformations that allow operators to be executed on different run-times (relational, ML, and DNN) and hardware (CPU, GPU). Novel data-driven optimizations determine the runtime to be used for each part of the query to achieve optimal performance. Our evaluation shows that Raven is able to improve performance of prediction queries on Apache Spark and SQL Server by up to 13.1x and 330x, respectively. Finally, for complex models where GPU acceleration is beneficial, Raven provides up to 8× speedup compared to state-of-the-art systems.
34
LightGBM: A Highly Efficient Gradient Boosting Decision Tree
Guolin Ke, Qi Meng, Thomas Finley et al. · HAL (Le Centre pour la Communication Scientifique Directe) · 2017 · 9.5K citations · Full text
Scikit-learn: Machine Learning in Python
PedregosaFabian, VaroquauxGaël, GramfortAlexandre et al. · Journal of Machine Learning Research · 2011 · 8.2K citations
Michael Armbrust, Reynold Xin, Cheng Lian et al. · 2015 · 1.2K citations
MLlib: Machine Learning in Apache Spark
Xiangrui Meng, Joseph K. Bradley, Burak Yavuz et al. · arXiv (Cornell University) · 2015 · 961 citations · Full text