TL;DR
This paper provides the first formal privacy analysis for deep time series forecasting models trained with Differential Privacy (DP). The authors demonstrate that standard DP-SGD guarantees fail to account for the structured way forecasting batches are sampled, and they derive new, tight privacy bounds that leverage bi-level subsampling and data augmentation to enable high-utility private forecasting.
What Problem Does This Paper Address?
Training machine learning models on sensitive sequential data—like hospital occupancy or individual mobility patterns—requires rigorous privacy protections. The gold standard is Differentially Private Stochastic Gradient Descent (DP-SGD). However, DP-SGD was designed for unstructured datasets where each record is independent.
In time series forecasting, data is highly structured. A single "batch" isn't just a random set of points; it's created by selecting a specific sequence (e.g., a specific sensor), then a contiguous window of time, and finally splitting that window into "context" (features) and "forecast" (labels). Because a single sensitive event (like a hospital visit) can appear in multiple overlapping windows, standard DP-SGD analysis either underestimates the privacy risk (leading to "privacy leaks") or overestimates it (resulting in models with poor utility). This paper closes that gap by analyzing the privacy amplification inherent in this structured subsampling process.
Methods
The authors introduce a framework for Bi-Level Subsampling and analyze its privacy properties using coupling-based techniques. Their approach breaks down the batching process into three distinct stages:
- Top-Level Sampling: Randomly selecting which time series (e.g., which users or sensors) to include in a batch.
- Bottom-Level Sampling: Randomly selecting contiguous subsequences from those chosen series.
- Context-Forecast Split: Partitioning the subsequence into input features and target labels.
Key Innovations: * Tight Privacy Bounds: They derive the first tight "event-level" and "user-level" privacy guarantees for this specific sampling structure. * Optimal Sampling Strategy: They prove theoretically that sampling exactly one subsequence per series ($\lambda=1$) is the most private way to compose an epoch. * Privacy-Amplifying Data Augmentation: They prove that adding Gaussian noise directly to the context and forecast windows (a form of online data augmentation) further amplifies privacy, providing a new "knob" to balance the privacy-utility trade-off.
Datasets
The researchers evaluated their methods on three standard public benchmarks for "global" forecasting (models that learn across many related time series):
- Traffic: Hourly measurements from 862 sensors on San Francisco highways.
- Electricity: Hourly consumption data from 321 customers.
- Solar-10-Minutes: Solar power production from 137 plants, sampled every 10 minutes.
Key Insights and Ideas
- The "Multiple Leakage" Risk: Because forecasting relies on sliding windows, a single sensitive data point can influence multiple gradients in a single batch. The authors' math specifically accounts for this "group privacy" effect, ensuring the final $\epsilon$ (privacy budget) is honest.
- $\lambda=1$ is the Sweet Spot: While it might seem intuitive to sample many windows from a single long sequence to fill a batch, the authors show that it is always more private to sample one window from many different sequences.
- Top-Level Randomization Matters: Simply iterating through sequences deterministically (a common practice in forecasting libraries) provides significantly weaker privacy than randomly sampling sequences for each batch.
- Augmentation as a Privacy Tool: Usually, noise is added only to the gradients. By showing that noise added to the inputs (context/labels) also amplifies privacy, the authors provide a way to train more accurate models under strict privacy budgets.
Key Results
The authors tested four deep learning architectures (SimpleFF, DeepAR, iTransformer, and DLinear) against traditional non-private baselines (Seasonal Naive and AutoETS).
- Meaningful Utility at Low $\epsilon$: Even with a very strict privacy budget of $\epsilon = 0.5$, the private DeepAR model achieved a CRPS (Continuous Ranked Probability Score) of 0.157 on the Traffic dataset, significantly outperforming the non-private Seasonal Naive baseline (0.251).
- Tightness: Their new analysis provides much "tighter" bounds than black-box DP-SGD. This means they can achieve the same level of formal privacy while adding less noise, directly leading to better forecasting accuracy.
- Feasibility: The results demonstrate that it is entirely feasible to train state-of-the-art neural forecasters with strong, formal privacy guarantees that still provide useful predictions for real-world applications like infrastructure planning.
Limitations and Future Work
- Tightness for $\lambda > 1$: While the authors provide a tight bound for $\lambda=1$, their bounds for sampling multiple subsequences per series ($\lambda > 1$) are pessimistic upper bounds. They suggest that central limit theorems for composition could help tighten these in the future.
- Inference Privacy: The primary focus is on "parameter privacy" (ensuring the trained model doesn't leak training data). While they briefly explore "inference privacy" (protecting data used at test-time), they note this is a distinct challenge requiring further research.
- Extension to NLP: The authors point out a direct parallel between time series windows and "sentence-level" privacy in Large Language Models (LLMs), suggesting their structured subsampling analysis could be adapted for private LLM fine-tuning.
Summary updated