Unsupervised Representation Learning Using Convolutional and Stacked Auto-Encoders: A Domain and Cross-Domain Feature Space Analysis

Gabriel B. Cavallari, Leonardo Ribeiro, Moacir PontiSibgrapi 2018 · DOI

Introduction

This study explores the efficacy of unsupervised representation learning through deep and convolutional auto-encoders (AEs). The central premise is that meaningful image features can be extracted without labeled data, and these features can generalize across different visual domains. The authors compare their findings against established benchmarks and pre-trained models like ResNet50.

Methodology

The researchers employed Auto-encoders, which consist of an encoder to compress input into a latent "code" and a decoder to reconstruct the original input. They investigated several architectural variations to determine their impact on feature quality:

  • Depth: Stacked architectures with 2, 4, and 6 layers.
  • Layer Type: Comparison between standard dense (fully connected) layers and the integration of Convolutional layers to preserve spatial hierarchies.
  • Weight Strategy: Evaluation of "tied weights" (mirrored decoder) versus independent weights.
Architecture of the proposed auto-encoders, illustrating the dense and convolutional pathways used for feature extraction.

To evaluate the learned features, the compressed "code" was used as input for a Support Vector Machine (SVM) classifier.

Datasets

The study utilized two primary datasets:

  • MNIST: Handwritten digits (0-9).
  • Fashion-MNIST: Clothing items (e.g., shirts, shoes). Both datasets consist of 70,000 28x28 grayscale images, providing a consistent format for cross-domain testing.

Key Insights

Depth and Compression

Increasing network depth allowed for significant compression. The models could reduce images to codes as small as 32 dimensions while maintaining high classification accuracy. Deeper layers facilitate the learning of more abstract, hierarchical representations.

The Convolutional Advantage

The inclusion of convolutional layers (e.g., the "6D+C" model) markedly improved both reconstruction quality and the discriminative power of the features. Convolutions allow the model to capture local patterns like shapes and textures more effectively than dense layers alone.

Asymmetric Transfer Learning

A key finding was the asymmetry in cross-domain performance. Features learned on the more complex Fashion-MNIST transferred well to MNIST, achieving 94% accuracy. Conversely, models trained on the simpler digits struggled to generalize to the varied textures of clothing.

Results

The experimental results highlight the robustness of unsupervised AEs:

  • Within-Domain: A 4-layer AE with a 128-dimensional code achieved 94% accuracy on MNIST and 88% on Fashion-MNIST.
  • Cross-Domain: Fashion-MNIST-trained features performed at 94% on MNIST, matching models trained specifically on digits.
  • Compression Resilience: The convolutional AE maintained 93% accuracy on MNIST even at a 32-dimension compression level.
Reconstructed images from MNIST and Fashion-MNIST datasets across varying code sizes (128, 64, and 32 dimensions).

Conclusion

The study demonstrates that unsupervised auto-encoders can produce features comparable to or better than those from large pre-trained models for specific domains. While currently limited to low-resolution grayscale images, the results suggest that unsupervised learning is a powerful tool for domain adaptation. Future work will focus on scaling these methods to high-resolution natural images and exploring more robust AE variants like Denoising or Contractive Auto-encoders.

Summary updated

BibTeX
@inproceedings{cavallari2018unsupervised,
  author = {Gabriel B. Cavallari and Leonardo Ribeiro and Moacir Ponti},
  title = {{Unsupervised Representation Learning Using Convolutional and Stacked Auto-Encoders: A Domain and Cross-Domain Feature Space Analysis}},
  booktitle = {Sibgrapi},
  year = {2018},
  doi = {10.1109/sibgrapi.2018.00063},
}
Figure