Abstract
Smartphones and wearables are equipped with motion sensors that provide valuable data for health and activity tracking but also inadvertently leak sensitive user information. We propose Hippo, a privacy-preserving middleware that dissociates hierarchical information from sensor streams using a latent guidance-based diffusion model. By employing self-supervised stacked convolutional autoencoders (CAEs), Hippo can selectively remove sensitive metadata and fine-grained activity features while preserving the utility of high-level motion data. Evaluations on four benchmark datasets show that Hippo effectively mitigates privacy risks, such as gender inference and gesture leakage, without requiring labeled private data for training.
Introduction: The "Leaky Bucket" of Sensor Data
Mobile operating systems often classify motion sensors like accelerometers and gyroscopes as "low-risk," allowing apps to access raw data streams without explicit user consent. However, this raw data is a "leaky bucket" containing two types of overprivileged information:
- Metadata-level leakage: Unique movement patterns can reveal sensitive demographic attributes like age or gender.
- Feature-level leakage: High-resolution data can capture unintended details, such as a user typing a password while an app is supposedly only monitoring for falls.
Existing privacy solutions often rely on adding noise, which degrades utility, or adversarial training, which requires large amounts of labeled private data. Hippo addresses these challenges by treating human motion as a hierarchy and dissociating these layers in a self-supervised manner.
The Hippo Architecture
Hippo acts as a secure buffer between the operating system's sensor manager and third-party applications. Its technical core consists of two primary components:
- Stacked Convolutional Autoencoders (CAEs): Hippo uses a series of CAEs to learn a hierarchy of features. The initial layers capture fine-grained details (e.g., hand gestures), while deeper layers extract increasingly coarse, high-level motion patterns (e.g., walking).
- Latent Guidance-based Diffusion Model: This generative engine performs a forward diffusion process (adding noise) followed by a reverse process (reconstruction). The reconstruction is guided by the latent features from specific CAE layers.
By selecting different CAE layers for guidance, Hippo generates data at various "granularities":
- Granu.0: Perturbs metadata while retaining all raw activity features.
- Granu.1-3: Progressively filters out fine-grained activity details, preserving only broad locomotion patterns.
Experimental Evaluation
The system was evaluated using four prominent human activity recognition (HAR) datasets: HARBox, UCI HAR, MotionSense (which includes demographic metadata), and Daily and Sports Activity (DSA).
Key Results
Hippo demonstrates a superior balance between privacy protection and data utility compared to traditional methods like GANs or standard CAEs.
- Metadata Protection: On the MotionSense dataset, Hippo reduced gender-inference attack accuracy to ~52.8% (near random), while maintaining ~94.8% accuracy for the intended activity recognition task.
- Feature-Level Control: In a step-counting case study, Hippo "blurred" sensitive activities (like calling while walking), dropping attacker recognition accuracy from 92.8% to 63.8%, while keeping the step counter error rate under 5%.
- Efficiency: Hippo processes a 1-second window of 9-axis sensor data in approximately 0.61 seconds on server-grade hardware, with a model size of 49.5 MB, indicating potential for mobile deployment.
Discussion and Future Work
Hippo’s success stems from treating activity as a hierarchy—preserving the "trunk" (broad motion) while discarding the "leaves" (sensitive details). Unlike blind noise injection, the diffusion model is "structure-aware," ensuring the output remains realistic and useful for legitimate apps.
Future research will focus on improving the explainability of the relationship between specific CAE layers and human-understandable activity resolutions. Additionally, the team aims to optimize the computational overhead of diffusion models to better suit the battery and thermal constraints of mobile devices.
Summary updated