Lightweight and Unobtrusive Privacy Preservation for Remote Inference via Edge Data Obfuscation

Dixing Xu, Mengyao Zheng, Linshan Jiang, Chaojie Gu, Rui Tan, Peng Cheng

Introduction

As Internet of Things (IoT) devices become ubiquitous, the demand for "remote inference" has grown significantly. This process involves sending raw data—such as voice commands or camera feeds—to powerful cloud servers to run deep learning models. However, this paradigm introduces a critical tension between privacy and utility. Sending raw data exposes sensitive information to potentially "curious" backends, while traditional privacy-preserving techniques like Homomorphic Encryption are too computationally expensive for resource-constrained, battery-powered IoT hardware.

This paper introduces ObfNet, a lightweight neural network designed to bridge this gap. ObfNet acts as a feature scrambler on the edge device, obfuscating data before transmission. This approach is "unobtrusive," meaning it allows standard cloud models to perform inference on scrambled data with minimal accuracy loss, keeping raw data unrecognizable to human perception without requiring significant changes to the cloud infrastructure.

System Architecture

The core of the proposed framework is the ability to maintain system utility while ensuring data privacy. The architecture is designed to be backward-compatible: an edge device can choose to "opt-in" to privacy by applying ObfNet or "opt-out" to save energy, and the cloud-based inference model (InfNet) handles both types of data seamlessly.

The unobtrusive system architecture allows the backend to process both obfuscated and raw data samples.

The ObfNet Framework

ObfNet is a small-scale neural network deployed at the edge that transforms input data into an obfuscated version of the same dimensions. It utilizes many-to-one non-linear mapping via activation functions like ReLU to ensure the transformation is difficult to reverse.

Training and Inference Pipeline

To achieve unobtrusiveness, the authors employ a specific training strategy. The backend takes a pre-trained inference model (InfNet) and freezes its weights. An untrained ObfNet is then attached to the front, and only the ObfNet is trained. This ensures that the cloud model learns to interpret the scrambled features without needing any modifications to its own architecture.

Overview of the training phase at the backend and the inference phase split between the edge and backend.

To further bolster security, the backend can generate multiple distinct ObfNets. The edge device dynamically switches between these models, creating a moving target that makes it significantly harder for a curious backend to reverse-engineer the original data through model inversion attacks.

Experimental Evaluation

The authors evaluated ObfNet across three distinct modalities to prove its versatility: audio (Free Spoken Digit), image classification (MNIST), and gesture recognition (ASL Alphabet).

  • High Fidelity: Across all case studies, the drop in inference accuracy was generally within 1% compared to using raw data. Interestingly, in some MNIST tests, the obfuscated pipeline slightly outperformed the original model, likely because the addition of ObfNet increased the overall depth of the neural network.
  • Human-In-The-Loop Validation: To verify privacy, human volunteers were asked to identify obfuscated audio. Accuracy dropped to ~5%, which is lower than the 10% expected from random guessing, proving the obfuscation effectively breaks human perception.
  • Edge Performance: On a Google Coral Edge TPU, ObfNet execution took only a few milliseconds and consumed less than 10mJ of energy per sample. For complex tasks like ASL recognition, this edge-obfuscation/cloud-inference split proved significantly faster than running heavy models locally on weak hardware.

Conclusion and Future Work

ObfNet provides a practical path for privacy-preserving IoT applications by balancing computational efficiency with robust data obfuscation. While highly effective for the classification tasks studied, future work is needed to explore how ObfNet scales to high-dimensional tasks like ImageNet or full-sentence speech-to-text. Additionally, while the system defends against "honest-but-curious" backends, further research is required to address actively malicious providers who might attempt to distribute "poisoned" obfuscation models.

Summary updated

BibTeX
@article{xu2020lightweight,
  author = {Dixing Xu and Mengyao Zheng and Linshan Jiang and Chaojie Gu and Rui Tan and Peng Cheng},
  title = {{Lightweight and Unobtrusive Privacy Preservation for Remote Inference via Edge Data Obfuscation}},
  journal = {IEEE Internet of Things Journal},
  year = {2020},
  url = {https://openreview.net/forum?id=rDlRpdA5Z6},
}
Figure