Introduction
In deep learning, disentanglement is the process of separating the underlying factors of variation in a dataset—such as isolating the identity of an object from its pose, lighting, or background. While powerful, most disentanglement methods are "data-hungry," requiring vast amounts of labeled or unlabeled data.
In many real-world scenarios, such as medical imaging, we face a "data-scarce" reality. We may have very few samples of a specific target condition but an abundance of samples from a related domain. JADE (Joint Autoencoders for Dis-Entanglement) addresses this by using a secondary, abundant dataset to help a model learn which features to ignore in a primary, scarce dataset.
The JADE Framework
JADE utilizes the framework of Variational Autoencoders (VAEs) to perform joint feature disentanglement across two datasets: a primary scarce dataset $X$ and an auxiliary abundant dataset $Y$.
Architecture and Objective
The architecture consists of two parallel VAE pipelines. For each dataset, the latent representation is split into a "style" component and a "content" component.
- Split Latent Space: As shown in the architecture diagram, Encoder 1 produces latent variables $z_1$ (style) and $z_2$ (content) for dataset $X$. Encoder 2 produces $z_3$ (style) and $z_4$ (content) for dataset $Y$.
- Shared Classifier: Only the content portions ($z_2$ and $z_4$) are fed into a shared Multi-Layer Perceptron (MLP) for classification.
- Joint Training: The model is trained end-to-end with a joint objective. Beyond standard reconstruction and KL divergence losses, JADE minimizes the distance between the content distributions of the two datasets when they share the same label. This forces the model to strip away domain-specific "style" (e.g., color, background) and focus on features essential for classification.
Experimental Setup
The researchers emulated a data-scarce environment using two classic benchmarks:
- SVHN (Street View House Numbers): The primary, scarce dataset. It features 3-color channels and varied backgrounds. Training was limited to only 1,000 samples (100 per class).
- MNIST: The auxiliary dataset. It is grayscale and abundant (45,000 samples).
While the "style" of these datasets differs significantly, they share the same "content" (the digits 0-9).
Disentanglement as Regularization
By explicitly providing a dedicated space for style information and requiring the model to reconstruct the original image, JADE prevents noisy style features from leaking into the classification path. This "active disentanglement" serves as a powerful regularizer.
As illustrated in the latent space heatmaps, the model learns to partition the representation. The classifier only sees the relevant "content" dimensions, while the reconstruction task ensures that the "style" dimensions capture the remaining variance without affecting the classification decision.
Key Results
JADE was compared against a standard CNN benchmark and a "paired classifier" (which shares an MLP but lacks the VAE disentanglement structure).
| Method | SVHN Error (1000 samples) | MNIST Error (45K samples) |
|---|---|---|
| Single Classifier (Benchmark) | 32.31% | - |
| Paired Classifier | 30.17% | 0.82% |
| JADE (Proposed) | 29.08% | 0.72% |
JADE achieved a significant reduction in error on the scarce SVHN data. Notably, it outperformed some semi-supervised methods that had access to the entire unlabeled SVHN training set, demonstrating the efficiency of leveraging cross-domain similarity.
Conclusion
JADE demonstrates that you don't need unlabeled data from the same distribution to improve a model. By "entangling" the disentanglement process across domains, JADE effectively leverages auxiliary data to boost performance in data-scarce regimes. Future work may explore using ensembles of auxiliary datasets to further refine the separation of content and style.
Summary updated