Work

Accelerating data science: systems for effective debugging and efficient data loading

Type: article
Abstract: As data science becomes central to fields like finance, healthcare, and e-commerce, real-world analytics pipelines grow in complexity and scale.These workflows span data ingestion, transformation, ML inference, and result interpretation, often involving databases, ML frameworks, and analytics tools.Yet many pipelines still suffer from inefficiencies that slow development, erode trust in results, and hinder deployment.This thesis addresses three key challenges in modern data science: (1) debugging ML-integrated SQL queries, (2) explaining training data errors in privacy-preserving federated learning, and (3) reducing the latency and memory overhead of loading large datasets into analysis tools.The first part introduces Rain, a system for complaint-driven debugging of "Query 2.0" workloads-pipelines that embed ML inference in SQL.In these settings, incorrect results often stem from mislabeled or biased training data rather than input errors or SQL bugs.Rain lets users raise high-level complaints (e.g., "This cohort is too small") and automatically identifies problematic training examples.It integrates the query plan, model inference, and complaint into a single differentiable equation, unifying SQL and ML debugging.The second part extends Rain to privacy-sensitive federated learning, where training data is distributed and secure.We introduce FedRain and Frog: two efficient, privacy-preserving systems for vertically-partitioned, two-party settings.FedRain uses homomorphic encryption to compute over encrypted data, while Frog restructures training and leverages cryptographic protocols for improved scalability and accuracy.Both systems enable root-cause analysis of training errors without compromising sensitive attributes.The final part tackles a long-standing bottleneck: loading large query results into inmemory dataframes, a common entry point for analytics.We present ConnectorX, a highperformance data loading framework that connects databases to dataframe libraries like Pandas, Polars, and Modin.Using a pipelined, streaming design with parallel query execution and zero-copy conversion, ConnectorX improves client-side efficiency.It achieves up to 13× faster loads and 3× lower memory use, enabling more interactive and reliable analytics.Together, these contributions provide an integrated approach to accelerating data science workflows-by improving debuggability (Rain), preserving privacy (FedRain/Frog), and reducing data ingestion latency (ConnectorX).
Author: Wu, Weiyuan
Language: English
Open Access status: green
OpenAlex ID: W7139844374
Cites: 135
Cited by:
Related to: 10