Adjustable privacy using autoencoder-based learning structure

Mohammad Ali Jamshidi, Hadi Veisi, Mohammad Mahdi Mojahedian, Mohammad Reza Aref

This paper, titled "Adjustable Privacy using Autoencoder-based Learning Structure," presents a practical framework for data sharing that balances the competing needs of data utility and user privacy.

TL;DR

The authors propose a modular autoencoder architecture that separates data into "private" and "non-private" features within a latent space. By adding tunable noise to the private features and enhancing the non-private ones before reconstruction, they allow data providers to adjust privacy levels on the fly without retraining the model, outperforming GAN-based methods in both efficiency and stability.

What Problem Does This Paper Address?

In the era of collaborative machine learning, "inference centers" (utility providers) need massive amounts of data to train robust models. However, data providers (individuals or organizations) are often hesitant to share raw data due to privacy risks—for example, sharing a facial image to train a "smiling" detector might inadvertently leak the person's gender, age, or identity.

Existing solutions often fall short:

  • Differential Privacy (DP): Can severely degrade data utility if too much noise is added.
  • Cryptographic Methods: Like Homomorphic Encryption, these are often too computationally expensive for real-time or mobile use.
  • GAN-based Obfuscation: While effective, Generative Adversarial Networks are notoriously difficult to train and can suffer from convergence instability.

The authors seek a "middle ground": a way to transform data so that specific useful features are preserved while sensitive features are scrubbed, all while keeping the data in its original format (e.g., an image remains an image) so it can be used by standard pre-trained models.

Methods

The core of the paper is the Obfuscator, a specialized autoencoder trained in two stages:

  1. Feature Separation and Decorrelation: An encoder compresses the input data into a latent vector. This vector is then split into two paths. One network ($C_\theta$) acts as a classifier to extract the "utility" features (e.g., smiling), while a second network ($R_\phi$) captures the remaining "private" information. The training loss is designed to ensure these two sets of features are uncorrelated.
  2. Intelligent Manipulation:
    • Function $g(\cdot)$: Enhances the utility features using a parameter $\lambda$. By using LogSoftMax, the model can "sharpen" the presence of the desired feature.
  3. Function $f(\cdot)$: Adds adjustable Additive White Gaussian Noise (AWGN) to the private features.
  4. Reconstruction: A decoder takes these manipulated latent features and reconstructs the data into its original format ($X'$).

The beauty of this approach is its adjustability. Once the autoencoder is trained, a data provider can move the "privacy slider" simply by increasing the noise variance or adjusting $\lambda$, without needing to retrain the entire neural network.

Datasets

The authors evaluated their method on two distinct types of data:

  • CelebA (Image): A dataset of 202,599 facial images. They used "smiling," "open mouth," and "high cheekbone" as the non-private utility features and "gender" as the private feature to be hidden.
  • UCI Adult (Categorical): A census dataset. Here, "income" (>$50k/year) was the utility feature, and "gender" was the private feature.

Key Insights and Ideas

  • Decorrelation is the Secret Sauce: By forcing the latent space to separate utility from privacy, the model ensures that adding noise to the "private" path doesn't accidentally destroy the "utility" path.
  • Format Preservation: Unlike many privacy methods that output abstract feature vectors, this model outputs reconstructed images. This means the obfuscated data can be dropped into existing pipelines (like a pre-trained ResNet or DenseNet) without modification.
  • Removing the Training Burden: The authors suggest that a trusted authority or the utility provider can train the obfuscator and send the model to data providers. The providers then only need to tune the noise parameters, making it suitable for low-power IoT or mobile devices.

Key Results

  • Superior Trade-offs: On the CelebA dataset, the proposed scheme achieved a higher Area Under the Curve (AUC) for the utility-privacy trade-off compared to state-of-the-art methods like TIPRDC and GAP.
  • Privacy Strength: For a "weak" adversary (one without access to the obfuscation model), gender inference accuracy was reduced to ~53% (near-random guessing), while smiling detection remained at ~85% accuracy.
  • Efficiency: For categorical data, the model achieved performance comparable to top benchmarks but with 75% fewer parameters (88k vs. 338k), leading to faster convergence and lower computational overhead.

Limitations and Future Work

  • Known Utility Features: The model requires the data provider to know exactly which features the utility provider wants to infer. It is less flexible if the utility provider's goals are unknown or change over time.
  • Strong Adversaries: While the model performs excellently against weak adversaries, "strong" adversaries (who have access to the obfuscator model) can still achieve higher inference accuracy (~63% on gender), though this is still a significant drop from the original 97%.
  • Noise Distributions: The current work relies on Gaussian noise. The authors suggest that exploring other noise distributions or more complex enhancement functions could further optimize the trade-off.

Summary updated

BibTeX
@article{jamshidi2024adjustable,
  author = {Mohammad Ali Jamshidi and Hadi Veisi and Mohammad Mahdi Mojahedian and Mohammad Reza Aref},
  title = {{Adjustable privacy using autoencoder-based learning structure}},
  journal = {Neurocomputing},
  year = {2024},
  doi = {10.1016/j.neucom.2023.127043},
}
Figure