PrvTel: Lightweight Models for Private and Accurate Telemetry Data Retention

Yajie Zhou (University of Maryland), Fuheng Zhao (University of Utah), Eric Wang (University of Maryland), Ayse K. Coskun (Boston University), Divyakant Agrawal (University of California, Santa Barbara), Amr El Abbadi (University of California, Santa Barbara), Zaoxing Liu (University of Maryland)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · When ML Meets Its Network

Overview

Network telemetry data is foundational for operational tasks ranging from security diagnostics to long-term traffic planning. However, cloud and network operators face a compounding trilemma when designing telemetry retention systems: strict regulatory compliance (such as the European Union's GDPR), surging multi-terabyte storage expenditures, and an operational demand for high data fidelity. Traditional solutions force severe compromises. Lossless compression algorithms like gzip or 7-zip preserve 100% data fidelity, but their storage footprints grow linearly over time—leading to multi-million-dollar cloud bills for petabyte-scale environments—and they offer zero cryptographic privacy guarantees. Conversely, predefined sketches (such as Count Sketch, frequency sketches, or cardinality sketches) reduce storage overhead but lack flexibility, failing entirely when operators issue unforeseen or ad-hoc downstream queries.

Watch on YouTube · Slides

Visual summary for PrvTel: Lightweight Models for Private and Accurate Telemetry Data Retention by Yajie Zhou, Fuheng Zhao, Eric Wang, Ayse K. Coskun, Divyakant Agrawal, Amr El Abbadi, Zaoxing Liu
Visual summary for PrvTel: Lightweight Models for Private and Accurate Telemetry Data Retention by Yajie Zhou, Fuheng Zhao, Eric Wang, Ayse K. Coskun, Divyakant Agrawal, Amr El Abbadi, Zaoxing Liu

Key moments

  1. 0:00 Introduction and telemetry data retention problem overview
  2. 1:55 Privacy and fidelity models used in the evaluation
  3. 3:58 Limitations of prior work: lossless compression and sketches
  4. 7:55 Key insights: adding privacy noise before model training
  5. 9:55 Domain-specific encoding and overall system workflow
  6. 11:40 Evaluation setup and fidelity results comparison
  7. 13:40 Privacy attacks analysis and long-term retention cost evaluation

PrvTel: Lightweight Models for Private and Accurate Telemetry Data Retention

Speakers: Yajie Zhou (University of Maryland); Fuheng Zhao (University of Utah); Eric Wang (University of Maryland); Ayse K. Coskun (Boston University); Divyakant Agrawal (University of California, Santa Barbara); Amr El Abbadi (University of California, Santa Barbara); Zaoxing Liu (University of Maryland)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=t7Z1G3vDgew

Overview

Network telemetry data is foundational for operational tasks ranging from security diagnostics to long-term traffic planning. However, cloud and network operators face a compounding trilemma when designing telemetry retention systems: strict regulatory compliance (such as the European Union's GDPR), surging multi-terabyte storage expenditures, and an operational demand for high data fidelity. Traditional solutions force severe compromises. Lossless compression algorithms like gzip or 7-zip preserve 100% data fidelity, but their storage footprints grow linearly over time—leading to multi-million-dollar cloud bills for petabyte-scale environments—and they offer zero cryptographic privacy guarantees. Conversely, predefined sketches (such as Count Sketch, frequency sketches, or cardinality sketches) reduce storage overhead but lack flexibility, failing entirely when operators issue unforeseen or ad-hoc downstream queries.

To resolve these tensions, this talk introduces PrvTel, a lightweight generative modeling framework designed specifically for private, long-term telemetry data retention. Instead of storing raw packets or brittle statistical sketches, PrvTel trains a compact Variational Autoencoder (VAE) on differentially private synthetic data distributions and retains only the model decoder for future queries. By decoupling noise injection from the generative training loop and introducing covariance-aware loss formulations alongside domain-specific encodings, PrvTel achieves superior data fidelity, provable privacy guarantees, and flat long-term storage costs compared to existing cloud archiving pipelines.

Background

▶ Watch: Introduction and telemetry data retention problem overview (0:00)

The systems and machine learning communities have long grappled with the economics and legalities of long-term data retention. Telemetry data streams typically comprise five-tuple flow records (source/destination IP ports, protocol) alongside granular flow-level statistics (packet counts, byte volumes, inter-arrival times). Storing this raw operational data in third-party cloud platforms (such as Amazon Web Services or Microsoft Azure) incurs severe financial penalties. For instance, an enterprise generating one petabyte of telemetry per week can easily rack up storage bills exceeding one million dollars within a single year of retention.

Concurrently, legal frameworks like GDPR mandate strict retention limits—often capping raw user-identifying or behavioral pattern data at 30 days. To comply with these statutes while retaining analytical utility, systems must incorporate differential privacy (DP), which guarantees that an algorithm's output remains statistically indistinguishable whether any single user's record is present or absent from the training dataset. The degree of protection is governed by a privacy budget, $\epsilon$ (epsilon), where smaller values enforce stronger privacy by injecting heavier noise into the underlying data distributions.

Prior work attempting to leverage deep generative models—such as Generative Adversarial Networks (GANs) or diffusion models—for private data retention typically inject noise directly during the neural network training process (e.g., via differentially private stochastic gradient descent). However, the speakers observed that this in-training noise injection severely degrades downstream query accuracy. Furthermore, training heavy deep generative models demands substantial GPU compute time, occasionally shifting the primary cost bottleneck from cloud storage to high-performance hardware clusters. PrvTel is designed to eliminate these inefficiencies by rethinking where privacy noise is introduced and how lightweight architectures are structured for network telemetry domains.

Key Findings

▶ Watch: Limitations of prior work: lossless compression and sketches (3:58)

The research team evaluated PrvTel against six distinct baselines—spanning various sketch algorithms and DP-powered generative models—across six diverse real-world telemetry datasets. The central findings demonstrate that PrvTel successfully breaks the historical trade-off between privacy, storage cost, and query fidelity:

  • Superior Data Fidelity under Differential Privacy: When holding the privacy budget constant at $\epsilon = 2$, PrvTel achieves significantly lower statistical distance errors across individual telemetry features compared to standard DP-generative baselines. This confirms that adding privacy noise before generative model training avoids the gradient destabilization that plagues in-training noise injection.
  • Robust Downstream Task Utility: By explicitly capturing cross-feature correlations, PrvTel accurately reconstructs temporal anomalies and spikes in forward byte and packet metrics. This structural awareness allows operators to successfully detect complex operational events—such as distributed denial-of-service (DoS) attacks—from synthetic data generated months after the raw streams were purged.
  • Guarded Membership Inference Defense: While loosening the privacy budget (increasing $\epsilon$) can marginally improve baseline data fidelity, experiments using membership inference attacks reveal that large $\epsilon$ values yield a 100% success rate for attackers attempting to determine whether a specific packet record existed in the training set. At $\epsilon = 2$, PrvTel restricts attack success rates to near-random guessing without sacrificing core query utility.
  • Flat Long-Term Retention Costs: While initial compute expenses mean PrvTel can be marginally more expensive than raw gzip compression during the first week of deployment, its storage cost remains strictly constant over multi-year horizons because only the lightweight VAE decoder is retained. For archival periods exceeding several months, PrvTel scales exponentially more cost-effectively than lossless compression.

Technical Deep Dive

▶ Watch: Key insights: adding privacy noise before model training (7:55)

The architectural pipeline of PrvTel operates in two distinct phases: data storage and retention query processing.

1. Pre-Training Privacy Noise Injection via Bayesian Networks

Rather than injecting noise during deep network optimization, PrvTel leverages principles from Private Bayesian Networks (Private-Bayes). The framework constructs a Bayesian network topology over the raw telemetry feature space. Noise is added directly to lower-dimensional conditional probability tables rather than independently to individual feature rows. This mathematically rigorous approach ensures that the resulting intermediate dataset satisfies differential privacy before any neural network training commences.

2. Covariance-Aware Variational Autoencoder (VAE)

Standard VAEs struggle to model complex tabular network telemetry because they assume feature independence or fail to capture joint distributions across multi-dimensional metrics. When evaluated using baseline architectures, feature correlation discrepancies between raw and synthetic data remain unacceptably high. PrvTel redesigns the VAE loss function to explicitly model the covariance matrix of the input features. By incorporating covariance awareness directly into the optimization objective, the network faithfully preserves structural relationships across interacting telemetry fields.

3. Domain-Specific Feature Encoding

Network telemetry data contains heterogeneous data types that break generic continuous or categorical encoders:

  • Continuous Features (Packets, Bytes): Standard Gaussian distributions fail to capture the extreme heavy-tail characteristics inherent in network traffic. PrvTel replaces standard normality assumptions with a Gaussian Mixture Model (GMM) encoder to accurately represent multi-modal traffic distributions and tail components.
  • Categorical Features (Ports, Protocols): The framework adopts Word2Vec embedding techniques to map high-cardinality categorical network identifiers into dense, semantically meaningful continuous vector spaces.

At storage time, the encoder network is discarded, and only the compact VAE decoder is saved for long-term retention. At query time, operators invoke the decoder to regenerate high-fidelity synthetic telemetry records capable of answering aggregate and statistical trend queries.

Experimental Setup & Results

▶ Watch: Evaluation setup and fidelity results comparison (11:40)

The evaluation methodology of PrvTel incorporates rigorous benchmarking across both system metrics and statistical fidelity models:

  • Baselines: Evaluated against six distinct baselines, including traditional sketch-based structures (Count Sketch, frequency sketches) and state-of-the-art differential privacy generative models.
  • Datasets: Tested across six real-world telemetry datasets, deliberately varied across trace durations, feature dimensionalities, and total traffic volumes.
  • Evaluation Metrics: Evaluated using statistical distance metrics (comparing marginal and joint distributions between raw and synthetic features), domain-specific query accuracy, downstream task utility (temporal anomaly detection), and cumulative cloud storage financial expenditures over a simulated five-year retention window.
  • Headline Results: Across a standard privacy budget of $\epsilon = 2$, PrvTel minimizes fidelity degradation compared to in-training DP-GAN baselines while ensuring that membership inference attack success rates match random guessing (unlike loose-budget configurations where attack success reaches 100%). Financially, while gzip incurs a linear cost trajectory that scales directly with multi-terabyte ingestion rates, PrvTel flattens the total cost curve after initial model training.

Practical Implications

▶ Watch: Privacy attacks analysis and long-term retention cost evaluation (13:40)

For infrastructure teams, model builders, and cloud operators, PrvTel redefines how compliance and storage economics intersect. Storing multi-petabyte telemetry streams indefinitely in third-party cloud environments is financially unsustainable, yet deleting historical data blinds operators to long-term trend analysis and retrospective security forensics.

PrvTel demonstrates that deep generative models can solve this retention dilemma, provided engineers abandon naïve in-training noise injection. By shifting privacy mechanisms upstream into Bayesian network pre-processing and enforcing covariance-aware loss formulations, engineering teams can deploy lightweight generative decoders that satisfy strict regulatory frameworks like GDPR. However, practitioners must account for the computational overhead: training specialized generative models introduces upfront compute costs that must be amortized over longer retention windows to realize net financial savings relative to basic lossless compression.

Key Takeaways

  • Pre-Training Noise Avoids Degradation: Injecting differential privacy noise before training generative models (via Bayesian networks) preserves significantly higher data fidelity than traditional in-training noise injection methods.
  • Architectural Customization is Essential: Standard VAEs fail on network telemetry data; achieving high fidelity requires covariance-aware loss functions and domain-specific encodings like Gaussian Mixture Models for heavy-tailed continuous variables.
  • Flat Long-Term Economics: Retaining only a lightweight VAE decoder bypasses the linear cost scaling of lossless compression (gzip / 7-zip), stabilizing cloud storage expenditures over multi-year retention horizons.
  • Balanced Privacy-Utility Tradeoffs: Operating at a strict privacy budget ($\epsilon = 2$) successfully thwarts membership inference attacks (success rates near random guessing) while preserving enough structural correlation to detect complex operational anomalies like DoS attacks.

About the Speaker(s)

Yajie Zhou presented this work on behalf of a collaborative multi-institutional research team spanning the University of Maryland, the University of Utah, Boston University, and the University of California, Santa Barbara. The authors bring together deep expertise in systems networking, data management, and privacy-preserving machine learning.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)