Robust Representation Learning for Privacy-Preserving Machine Learning: A Multi-Objective Autoencoder Approach

Sofiane Ouaari, Ali Burak Ünal, Mete Akgün, Nico PfeiferarXiv 2023

TL;DR

Researchers have developed a new privacy-preserving machine learning (ppML) framework that uses a multi-objective residual autoencoder to transform sensitive data into robust, "encoded" representations. By concatenating features from multiple encoder layers and applying specialized losses, this method allows data owners to share information with third parties for intensive model training without sacrificing predictive accuracy or revealing the original raw data.

What Problem Does This Paper Address?

In the era of GDPR and strict data ethics, sharing sensitive information (like medical records or genomic data) for machine learning is a minefield. Existing solutions often force a compromise:

  • Differential Privacy (DP): Adds noise to data, which often degrades the final model's performance (the privacy-utility trade-off).
  • Homomorphic Encryption (HE): Allows computation on encrypted data but is computationally grueling and struggles with the non-linear functions essential to deep learning.

The authors address this by asking: Can we learn a representation of the data that is rich enough for high-performance training but abstract enough to prevent an adversary from reconstructing the original input?

Methods

The core of their approach is a Supervised Residual Autoencoder (SRAE). Unlike a standard autoencoder that only tries to reconstruct the input from a compressed "latent space," this framework uses a multi-objective paradigm:

  1. Multi-Layer Supervision: Every hidden layer in the encoder is connected to its own classifier. This ensures that every stage of the encoding process preserves features relevant to the final task (e.g., diagnosing a disease).
  2. Concatenated Representation ($\Psi$): Instead of just sharing the final bottleneck layer, the framework concatenates the outputs of all encoder layers. This creates a more robust feature set for the third-party trainer.
  3. Center Loss: This forces the encoded data points of the same class to cluster closely together, maximizing the distance between different classes and making the representation more discriminative.
  4. PCA Alignment: A cosine similarity loss aligns the learned representation with the Principal Component Analysis (PCA) of the original data, providing a grounded interpretation for the learned features.
Figure 4: Suggested Framework vs Baseline

The framework supports both unimodal (single data source) and multimodal settings. In the multimodal case, different institutions (e.g., three different clinics) can each encode their specific data "modality" (like X-rays vs. EHR records) and send these encodings to a central cloud for joint training without ever seeing each other's raw data.

Figure 3: Execution flow when applying our ppML encoding framework on a multimodal use case with vertically distributed data

Datasets

The authors evaluated their framework across diverse data types:

  • Image Data: Standard benchmarks like MNIST and FashionMNIST, plus the more complex Retinal Optical Coherence Tomography (OCT) dataset (84,495 images).
  • Tabular Data: The Leukemia dataset, which is challenging due to its high dimensionality (22,284 gene expression values for only 281 samples).
  • Multimodal Data: The TCGA Breast Cancer dataset, combining DNA sequencing, RNA expression, and DNA methylation data to predict patient survival.

Key Insights and Ideas

  • Utility Doesn't Have to Suffer: A major "aha" moment is that models trained on these encoded representations often perform better than those trained on the original raw data. The encoding process acts as a sophisticated feature engineering step that filters out noise.
  • The Power of Center Loss: By adding center loss, the authors saw silhouette scores (a measure of how well data is clustered) jump by as much as 478% for FashionMNIST. This suggests the representation is much easier for downstream classifiers to navigate.
  • Security through Obscurity (and Math): The threat analysis reveals that as long as the adversary doesn't have access to the specific encoder used, the shared representations are effectively a "black box," making model inversion attacks extremely difficult.

Key Results

  • Performance: On the Leukemia dataset, a Random Forest model trained on the encoded data achieved a Macro F1-score of 83.69%, significantly outperforming the 78.70% achieved on the original raw data.
  • Comparison to Baselines: The proposed method consistently beat the baseline of sharing only the latent space (a common previous approach). For example, in the TCGA multimodal task, the F1-score improved from ~59% (baseline) to ~63% (proposed).
  • Clustering: The inclusion of Center Loss was critical; without it, the encoded representations were much more scattered and less useful for classification.

Limitations and Future Work

While promising, the framework has a few constraints:

  • Supervision Required: The current model is "task-oriented," meaning it needs labeled data to guide the encoder. It cannot yet be used for purely unsupervised discovery.
  • Vertical Splitting Only: The multimodal approach assumes "vertical" distribution (different features for the same people). It doesn't yet support "horizontal" distribution (same features for different people), which is common in many federated learning scenarios.
  • Future Directions: The authors plan to expand the framework to handle unlabeled datasets and integrate it into horizontal federated learning architectures.

Summary updated

BibTeX
@misc{ouaari2023robust,
  author = {Sofiane Ouaari and Ali Burak Ünal and Mete Akgün and Nico Pfeifer},
  title = {{Robust Representation Learning for Privacy-Preserving Machine Learning: A Multi-Objective Autoencoder Approach}},
  year = {2023},
  eprint = {2309.04427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.04427},
}

Loading related content...

Figure