Abstract
Companies increasingly expose machine learning (ML) models trained over sensitive user data to untrusted domains, such as end-user devices and wide-access model stores. We present Sage, a differentially private (DP) ML platform that bounds the cumulative leakage of training data through models. Sage builds upon the rich literature on DP ML algorithms and contributes pragmatic solutions to two of the most pressing systems challenges of global DP: running out of privacy budget and the privacy-utility tradeoff. To address the former, we develop block composition, a new privacy loss accounting method that leverages the growing database regime of ML workloads to keep training models endlessly on a sensitive data stream while enforcing a global DP guarantee for the stream. To address the latter, we develop privacy-adaptive training, a process that trains a model on growing amounts of data and/or with increasing privacy parameters until, with high probability, the model meets developer-configured quality criteria. They illustrate how a systems focus on characteristics of ML workloads enables pragmatic solutions that are not apparent when one focuses on individual algorithms, as most DP ML literature does.
Introduction
Differential Privacy (DP) has emerged as the gold standard for protecting individual privacy in data analysis. However, integrating DP into production machine learning pipelines—such as those used by major tech companies for ad click prediction or ride-sharing optimization—presents significant systems-level hurdles. Traditional DP assumes a static dataset and a finite privacy budget ($\epsilon$). Once this budget is exhausted by successive queries or training runs, the data must be retired forever. In a production environment with continuous data streams, this "budget exhaustion" would eventually halt all model development. Furthermore, the noise injected by DP to ensure privacy often degrades model utility, making it difficult for developers to guarantee that production models meet necessary quality standards.
The Sage Platform Architecture
Sage is designed to bridge the gap between theoretical DP and production ML. It introduces a structured approach to managing privacy budgets across the entire lifecycle of a model, from preprocessing to validation.
As shown in the architecture above, Sage wraps the training pipeline in a Privacy-Adaptive Training loop. This loop manages the noise-accuracy tradeoff by iteratively adjusting privacy parameters and data volume. The system also includes a Sage Access Control layer that manages the global privacy budget across multiple pipelines using a novel accounting method.
Block Composition: Enabling Endless Training
A core innovation of Sage is block composition. Instead of treating an entire data stream as a single dataset, Sage partitions the stream into discrete time-based "blocks" (e.g., hourly or daily increments).
In this "growing database" regime, Sage tracks the privacy loss for each specific block. When a pipeline requests a dataset spanning multiple blocks, Sage ensures that the cumulative privacy loss for any individual block does not exceed a global limit ($\epsilon_g, \delta_g$). This allows for overlapping queries: a model can be trained on a month of data while another is trained on just the most recent day. As new data arrives, older blocks can be retired, but the system continues to function indefinitely on the fresh stream. This insight transforms the growing nature of production data from a complication into a "refresh" mechanism for the privacy budget.
Privacy-Adaptive Training and SLAed Validation
To handle the privacy-utility tradeoff, Sage employs an iterative training process. A developer specifies a quality target, such as a maximum Mean Squared Error (MSE). Sage begins training with a conservative privacy budget and a subset of data.
Crucially, Sage recognizes that validation itself is a privacy leak. Standard validation on a hold-out set consumes the privacy budget. Sage introduces SLAed (Service Level Agreement) Validation, which uses DP-aware statistical tests (based on concentration inequalities like Bernstein’s) to provide a high-confidence guarantee that the model meets the quality target. If the validation fails, the system "retries" by increasing the data size or the privacy budget ($\epsilon$) until the model is either accepted or the available budget is exhausted.
Evaluation and Key Results
The authors evaluated Sage using two large-scale datasets: the NYC Yellow Cab Trip Data (37 million samples) and Criteo Ad Impressions (45 million samples). These experiments simulated a production environment where multiple models compete for a shared privacy budget on an hourly data stream.
- Reliability: Sage’s SLAed validation significantly improved reliability. While standard TFX validation had false-acceptance rates as high as 38% under high noise, Sage maintained the target confidence level (e.g., 5%), preventing low-quality models from reaching production.
- Throughput: Sage demonstrated the ability to support over 15 new models per day on a continuous stream. Traditional query-level accounting methods, by contrast, exhausted their budgets and ceased operation within hours.
- Efficiency: Privacy-adaptive training proved efficient by only consuming the minimum budget necessary to reach quality targets, rather than applying a fixed, potentially wasteful budget to every run.
Conclusion
Sage demonstrates that a systems-oriented approach to DP can solve practical deployment challenges. By treating data streams as a series of blocks and automating the privacy-utility tradeoff, Sage enables continuous, high-quality ML under rigorous privacy guarantees.
Future work remains in several areas. Currently, Sage focuses on event-level privacy; extending this to user-level privacy on streams is more challenging as users do not "expire" like time blocks. Additionally, the platform needs to address the "data exploration" phase, where data scientists interactively analyze data to discover features. Finally, handling highly correlated data points remains an open challenge for maintaining the "endless" training property.
Summary updated