Abstract
Deep learning models often suffer from dataset bias, failing to generalize when deployed in environments different from their training data. This paper introduces the Multi-Task Autoencoder (MTAE), a novel feature-learning framework designed for domain generalization. Unlike standard denoising autoencoders that reconstruct an image from its noisy version, MTAE learns to transform an image from one domain into its counterparts in other domains. This multi-task objective forces the model to learn representations that are invariant to domain-specific variations such as lighting, camera angle, or background. Our experiments on synthetic and real-world datasets demonstrate that MTAE achieves state-of-the-art performance, effectively "distilling" the essential features of objects.
Introduction: The Challenge of Dataset Bias
A significant hurdle in deploying robust computer vision systems is dataset bias. A model trained on high-quality images of cars in sunny weather may fail to recognize the same vehicles in a snowy environment or from a different camera perspective. This is the core challenge of Domain Generalization: training a model on a set of "source" domains so that it performs reliably on a completely "unseen" target domain.
While Domain Adaptation allows for some unlabeled data from the target domain during training, Domain Generalization requires the model to learn universal, robust features without any prior knowledge of the test environment. The goal is to find a representation that is stable across various environments, effectively ignoring domain-specific "fluff."
Multi-Task Autoencoder (MTAE) Framework
The authors propose extending the standard Denoising Autoencoder (DAE) framework into a multi-task setting. In a typical DAE, an image is corrupted with noise, and the model is trained to reconstruct the original. MTAE shifts this paradigm by treating domain variability as a form of "natural noise."
The MTAE architecture consists of a shared encoder and multiple decoders—one for each source domain. The model is trained on several objectives simultaneously:
- Cross-Domain Reconstruction: Given an image from Domain A, the model is tasked with reconstructing how that same object would appear in Domain B, Domain C, and so on.
- Self-Domain Reconstruction: The model also performs standard reconstruction (Domain A to Domain A).
- D-MTAE Variant: A version that combines artificial denoising (adding pixel-level noise) with cross-domain transformation for enhanced robustness.
By forcing the shared encoder to produce a representation that can be successfully decoded into any domain, the model is pressured to ignore domain-specific variations and focus on the underlying geometry and identity of the object. To handle datasets where categories are not perfectly balanced across domains, the authors introduced a "RAND-SEL" strategy to maintain category-level correspondence during training.
Experimental Setup and Datasets
The effectiveness of MTAE was evaluated across a variety of datasets featuring both controlled synthetic variations and complex real-world data.
- MNIST-r & MNIST-s: Modified MNIST digits featuring specific rotations (roll) and dilations.
- ETH-80: An object dataset used to create variations in pitch and yaw.
- VLCS: A challenging benchmark combining four distinct datasets: VOC2007, LabelMe, Caltech-101, and SUN09.
- Office+Caltech: A standard benchmark featuring images from Amazon, DSLR cameras, and webcams.
Key Insights and Results
The authors' "Invariance Analysis" revealed that D-MTAE learns a feature manifold with lower local dimensionality than standard autoencoders, suggesting a successful collapse of complex domain variations into a simpler, invariant representation. Furthermore, visualizations of the learned filters showed that MTAE captures the "flow" of transformations (like rotation), whereas standard models focus on static edges.
Performance Highlights: * MNIST-r: D-MTAE achieved an average accuracy of 87.58%, outperforming standard Autoencoders (83.88%) and the previous state-of-the-art, uDICA (79.22%). * VLCS Dataset: D-MTAE combined with a single hidden layer neural network achieved a cross-domain accuracy of 68.60%, surpassing specialized algorithms like Undo-Bias and LRE-SVM. * Consistency: D-MTAE was the top performer in 9 out of 11 individual cross-domain cases across the MNIST and ETH-80 experiments.
Conclusion
The Multi-Task Autoencoder provides a powerful framework for learning domain-invariant features by leveraging cross-domain transformations as a form of natural denoising. While the current algorithm requires category-level correspondence during training, it significantly narrows the "bias gap" between within-dataset and cross-dataset performance. Future work may explore stacking these autoencoders for deeper representations or applying them to temporal video data, where objects naturally undergo transformations across frames.
Summary updated