JZJia Zou

Jia Zou

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Jia Zou has a total of 23 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    OptBench: An Interactive Workbench for SQL-ML Co-Optimization

    by Jaykumar Tandel, Douglas Oscarson, Jia Zou

    Database workloads are increasingly nesting AI/ML model inferences with data processing, yielding hybrid ''SQL+AI/ML'' queries that mix relational operators with expensive, opaque AI/ML operators (often expressed as UDFs). These workloads are challenging to optimize: (1) introducing AI/ML operators will bring numerous co-optimization opportunities, such as factorization and pushdown, ML to SQL, linear algebra to relational algebra, etc., which will significantly enlarge the search space of equivalent execution plans and require new optimization strategies; and (2) co-optimization techniques or optimization strategies including practical heuristics are difficult to be developed and tested with monolithic optimizers. At the same time, research prototypes for SQL+ML optimization are difficult to evaluate with fair comparisons, because each optimizer is typically developed on different platforms, and evaluated using different queries. We present OptBench, an interactive workbench for building and benchmarking query optimizers for hybrid ''SQL+AI/ML'' queries in a transparent, apples-to-apples manner. OptBench runs all optimizers on a unified backend using DuckDB and exposes an interactive web interface that allows users to (i) construct query optimizers by leveraging and/or extending our logical plan rewrite actions; (ii) benchmark and evaluate different optimizer implementations over a suite of diverse inference queries while recording decision traces and latency; and (iii) visualize logical plans produced by different optimizers side-by-side. The demo illustrates how practitioners and researchers can prototype optimization techniques, inspect plan transformations, and quantitatively compare optimizer designs on multi-modal inference queries within a single workbench.

  • Open Access

    InferF: Declarative Factorization of AI/ML Inferences over Joins

    by Kanchan Chowdhury, Lixi Zhou, Lulu Xie, Xinwei Fu, Jia Zou

    Real-world AI/ML workflows often apply inference computations to feature vectors joined from multiple datasets. To avoid the redundant AI/ML computations caused by repeated data records in the join's output, factorized ML has been proposed to decompose ML computations into sub-computations to be executed on each normalized dataset. However, there is insufficient discussion on how factorized ML could impact AI/ML inference over multi-way joins. To address the limitations, we propose a novel declarative InferF system, focusing on the factorization of arbitrary inference workflows represented as analyzable expressions over the multi-way joins. We formalize our problem to flexibly push down partial factorized computations to qualified nodes in the join tree to minimize the overall inference computation and join costs and propose two algorithms to resolve the problem: (1) a greedy algorithm based on a per-node cost function that estimates the influence on overall latency if a subset of factorized computations is pushed to a node, and (2) a genetic algorithm for iteratively enumerating and evaluating promising factorization plans. We implement InferF on Velox, an open-sourced database engine from Meta, evaluate it on real-world datasets, observed up to 11.3× speedups, and systematically summarized the factors that determine when factorized ML can benefit AI/ML inference workflows.


  • Open Access

    Privacy and Accuracy-Aware AI/ML Model Deduplication

    by Hong Guan, Lei Yu, Lixi Zhou, Li Xiong, Kanchan Chowdhury, Lulu Xie, Xusheng Xiao, Jia Zou

    With the growing adoption of privacy-preserving machine learning algorithms, such as Differentially Private Stochastic Gradient Descent (DP-SGD), training or fine-tuning models on private datasets has become increasingly prevalent. This shift has led to the need for models offering varying privacy guarantees and utility levels to satisfy diverse user requirements. Managing numerous versions of large models introduces significant operational challenges, including increased inference latency, higher resource consumption, and elevated costs. Model deduplication is a technique widely used by many model serving and database systems to support high-performance and low-cost inference queries and model diagnosis queries. However, none of the existing model deduplication works has considered privacy, leading to unbounded aggregation of privacy costs for certain deduplicated models and inefficiencies when applied to deduplicate DP-trained models. We formalize the problem of deduplicating DP-trained models for the first time and propose a novel privacy- and accuracy-aware deduplication mechanism to address the problem. We developed a greedy strategy to select and assign base models to target models to minimize storage and privacy costs. When deduplicating a target model, we dynamically schedule accuracy validations and apply the Sparse Vector Technique to reduce the privacy costs associated with private validation data. Compared to baselines, our approach improved the compression ratio by up to 35× for individual models (including large language models and vision transformers). We also observed up to 43× inference speedup due to the reduction of I/O operations.


  • Open Access

    A Comparison of End-to-End Decision Forest Inference Pipelines

    by Hong Guan, Saif Masood, Mahidhar Dwarampudi, Venkatesh Gunda, Hong Min, Lei Yu, Soham Nag, Jia Zou

    Decision forest, including RandomForest, XGBoost, and LightGBM, dominates the machine learning tasks over tabular data. Recently, several frameworks were developed for decision forest inference, such as ONNX, TreeLite from Amazon, TensorFlow Decision Forest from Google, HummingBird from Microsoft, Nvidia FIL, and lleaves. While these frameworks are fully optimized for inference computations, they are all decoupled with databases and general data management frameworks, which leads to cross-system performance overheads. We first provided a DICT model to understand the performance gaps between decoupled and in-database inference. We further identified that for in-database inference, in addition to the popular UDF-centric representation that encapsulates the ML into one User Defined Function (UDF), there also exists a relation-centric representation that breaks down the decision forest inference into several fine-grained SQL operations. The relation-centric representation can achieve significantly better performance for large models. We optimized both implementations and conducted a comprehensive benchmark to compare these two implementations to the aforementioned decoupled inference pipelines and existing in-database inference pipelines such as Spark-SQL and PostgresML. The evaluation results validated the DICT model and demonstrated the superior performance of our in-database inference design compared to the baselines.


  • Open Access

    Privacy-Preserving Redaction of Diagnosis Data through Source Code Analysis

    by Lixi Zhou, Lei Yu, Jia Zou, Hong Min

    Protecting sensitive information in diagnostic data such as logs, is a critical concern in the industrial software diagnosis and debugging process. While there are many tools developed to automatically redact the logs for identifying and removing sensitive information, they have severe limitations which can cause either over redaction and loss of critical diagnostic information (false positives), or disclosure of sensitive information (false negatives), or both. To address the problem, in this paper, we argue for a source code analysis approach for log redaction. To identify a log message containing sensitive information, our method locates the corresponding log statement in the source code with logger code augmentation, and checks if the log statement outputs data from sensitive sources by using the data flow graph built from the source code. Appropriate redaction rules are further applied depending on the sensitiveness of the data sources to preserve the privacy information in the logs. We conducted experimental evaluation and comparison with other popular baselines. The results demonstrate that our approach can significantly improve the detection precision of the sensitive information and reduce both false positives and negatives.


  • SIP Parsing Offload: Design and Performance

    by Jia Zou, Wei Xue, Zhiyong Liang, Yixin Zhao, Bo Yang, Ling Shao

    TCP offload has attracted a great deal of industrial interest. However, little research has been done to examine the benefits of offload for today's popular application layer protocols, in particular, Session Initiation Protocol (SIP). In this paper, we profile the processing of SIP stacks and find that for typical SIP scenarios and despite of different SIP stack implementations, SIP parsing would take a significant percentage (20%-40%) of CPU time. Based on this fact, a SIP offload scheme termed SIP offload engine (SOE) is proposed to offload SIP parser from SIP stack. A prototype of SOE is implemented and the benchmarking results indicate that throughput gain varies greatly depending on server's pipelining architectures. We also observe that SIP retransmission will incur "receive livelock" in overloaded high performance SIP servers.


  • A new micro-payment protocol based on P2P networks

    by Zou Jia, Si Tiange, Huang Liansheng, Dai Yiqi

    Introducing micro-payment mechanism into P2P systems will bring economic incentives to various P2P applications and encourage peers to share their resources. In this paper, we present a new micro-payment protocol, CPay, which exploits unique characteristics of P2P systems. The protocol establishes dynamic consistent hashing map between the set of all peers in the system and its subset of high performance peers. In each transaction, the payer's corresponding high performance peer checks the transaction to make sure that any illegal use of the e-coin would be timely detected. The protocol effectively exploits the heterogeneity of the P2P system and can achieve load balance