This paper, titled "Privacy-Preserving Collaborative Learning through Feature Extraction," presents a novel approach to the classic "data silo" problem in machine learning. Researchers from NYU Tandon School of Engineering explore how multiple organizations can build a powerful joint model without ever exposing their raw, sensitive data to one another.
TL;DR
The authors propose two new frameworks—Shared Feature Extractor (SFE) and Locally Trained Feature Extractor (LTFE)—that use Secure Multi-Party Computation (SMPC) to train models on encrypted feature embeddings. Their findings show that LTFE provides the best balance of high accuracy and robust privacy against membership inference attacks, albeit at a higher computational cost.
What Problem Does This Paper Address?
In fields like healthcare or finance, data is often distributed across different institutions. While these entities would benefit from training a joint model on their combined data, privacy regulations and competitive concerns prevent them from sharing raw datasets.
Existing solutions have flaws:
- Federated Learning (FL): While it keeps data local, it has been shown to leak information through the gradients sent to a central server.
- Standard Encryption (SMPC/HE): Training an entire deep neural network on fully encrypted data is computationally "expensive"—often thousands of times slower than standard training—making it impractical for large datasets or complex models.
The authors aim to solve this "trilemma" of accuracy, privacy, and speed by moving the collaborative part of the training from the raw data level to the feature embedding level.
Methods
The paper compares three distinct collaborative scenarios, all implemented using the SPDZ protocol (a form of additive secret sharing) via the PySyft library:
- CTFE (Baseline): Parties share raw data in an encrypted domain to train the entire model. This is the most computationally taxing method.
- SFE (Shared Feature Extractor): Parties agree on a "public" feature extractor (trained on non-sensitive, related data). They only use SMPC to collaboratively train the final classifier layers on encrypted features. This is the fastest method because the heavy lifting (feature extraction) happens in "plain text."
- LTFE (Locally Trained Feature Extractor): This is the paper's primary innovation. Each party trains its own private feature extractor on its local data. During the collaborative phase, they pass their data through their private extractors and then concatenate the resulting embeddings. The classifier is then trained on this combined, encrypted feature vector using SMPC.
Datasets
The researchers evaluated their methods on three diverse datasets to ensure the results weren't architecture-specific:
- MNIST: The classic handwritten digit dataset, partitioned so different parties had different label distributions (simulating real-world data skew).
- Synthetic Dataset: A generated dataset with 784 features and 10 classes.
- Credit Card Fraud Detection: A highly imbalanced real-world dataset containing anonymized transactions.
Key Insights and Ideas
- The Power of Concatenation: In LTFE, concatenating features from different private extractors allows the model to learn from multiple "perspectives" of the data. This significantly boosts accuracy compared to a single entity training alone.
- Privacy via Dimensionality: By using feature extractors that map high-dimensional input to lower-dimensional feature space, the mapping becomes non-invertible. This adds a layer of protection even before encryption is applied.
- The SMPC Bottleneck Shift: The authors discovered that the "slowest" method depends on the architecture. For simple fully connected networks, LTFE is the slowest due to the large input size of the concatenated features. However, for CNNs (like LeNet-5), the baseline CTFE becomes the slowest because performing convolutions on encrypted data is mathematically grueling.
Key Results
- Accuracy: LTFE and CTFE consistently provided the highest accuracy. On the MNIST dataset, LTFE improved the F1-score for certain labels from ~54% (non-cooperative) to over 87%.
- Privacy: Using Membership Inference Attacks (where an attacker tries to guess if a specific sample was in the training set), LTFE proved to be the "safest." Its attack-ROC curve was closest to 0.5 (random guessing), meaning the model leaked the least information about its training samples.
- Speed: SFE was the clear winner for training time, being up to 20x faster than LTFE in some scenarios because it minimizes the number of layers trained in the secure (encrypted) domain.
Limitations and Future Work
- Scalability: The current experiments focused on a two-party scenario. While the math supports $n$ parties, the communication overhead of SMPC grows significantly as more participants join.
- The "Public" Data Assumption: SFE relies on the availability of a "shared" dataset to train the initial feature extractor. In many niche domains (like rare diseases), such public data may not exist.
- Optimization: While the authors optimized PySyft’s internals (using multithreading and better message compression), secure training remains orders of magnitude slower than non-secure training. Future work will likely focus on hardware acceleration or more efficient cryptographic primitives.
Summary updated