PrivateHub: Contrastive Diffusion Model for Private Sensor-Intensive Environment Data Generation
Organizations: Stanford University Stanford, California, USA · University of Virginia · University of Virginia Charlottesville, Virginia, USA
Abstract
Sensor-intensive environments enable many intelligent services by inferring user applications from heterogeneous data streams. However, not all applications should be exposed: users want some activities to stay private. This creates a tension between inferring applications for useful services and preventing unwanted inference. Existing approaches such as differential privacy and rule-based filtering protect individual streams but cannot address the privacy risk from cross-sensor inference. We introduce Privatehub, which uses contrastive learning within a diffusion model to generate synthetic multi-sensor streams that keep non-private applications detectable while concealing private ones. Privatehub has two stages: App-Conditioned Pre-training (ACP), which conditions the model on multi-sensor data with application embeddings, and App-Aware Fine-tuning (AAF), which separates private from non-private data via contrastive learning. We also define a threat model for the multi-sensor sharing setting. Experiments on three real-world multi-sensor datasets show Privatehub lowers private-application accuracy by 40 to 50% without hurting non-private performance, and stays robust when the attacker retrains on the synthetic data.
Figures & tables
| Device | Sensor | Range | Error | Unit |
| Awair Omni | Humidity | 0–100 | 2% | % |
| Temperature | –125 | |||
| 400–5000 | 75 | ppm | ||
| TVOC | 0–60000 | 10% | ppb | |
| PM2.5 | 0–1000 | 15 | ||
| SPL | 48–90 | – | dBA |
| Dataset | Activity Acc | TimeGAN ( Yoon et al., 2019 ) | Conditional GAN ( Mirza and Osindero, 2014 ) | Occupancy-GAN ( Wu et al., 2021 ) | PrivateHub | Raw data |
| Milan | Non-private | 0.774 0.052 | 0.653 0.093 | 0.692 0.032 | 0.840 0.067 | 0.84 |
| Bath | 0.425 0.045 | 0.498 0.025 | 0.512 0.020 | 0.380 0.019 | 0.78 | |
| Leave home | 0.471 0.021 | 0.495 0.035 | 0.510 0.022 | 0.393 0.023 | 0.83 | |
| Kyoto1 | Non-private | 0.686 0.038 | 0.622 0.050 | 0.539 0.046 | 0.778 0.064 | 0.80 |
| Bath | 0.421 0.043 | 0.494 0.034 | 0.502 0.022 | 0.365 0.016 | 0.72 | |
| Leave home | 0.441 0.037 | 0.492 0.019 | 0.500 0.015 | 0.381 0.023 | 0.81 |
| Configuration | Non-private Acc. | Private Acc. |
| ACP only | 0.831 | 0.612 |
| ACP + AAF (no filtering) | 0.798 | 0.451 |
| ACP + AAF + filtering ( PrivateHub ) | 0.840 | 0.387 |
Privacy-Preserving ML
Privacy-preserving machine learning develops methods to learn, share, and run models while limiting exposure of sensitive data.
See all 433 papers