The problem
Large image datasets cost memory and bandwidth. The goal was an architecture that compresses data into a lower-dimensional representation while losing as little information as possible, so the compressed data can be reused downstream. Here, compression means dimensionality and memory footprint, not file size on disk.
Approach
- Data: EMNIST-Balanced, 28×28 grey-scale digits plus upper- and lower-case letters, chosen for its diverse character shapes.
- Encoder: strided Conv2D layers instead of MaxPooling2D, so the network learns how to downsample and keeps the spatial detail needed for accurate reconstruction.
- Decoder: Conv2DTranspose instead of UpSampling2D, giving learnable upsampling, higher-quality reconstructions and fewer artefacts.
- Experiment: a shared encoder with four different decoder designs, each evaluated on training/validation loss, MSE, SSIM and PSNR, both as a full autoencoder and as a standalone decoder (a consistency check on the architecture).
- Model 01 performed best, with the lowest losses and the highest SSIM and PSNR; Models 03 and 04 were competitive and Model 02 trailed.
Result
Encoded dataset of ≈13.77 MB versus ≈84.34 MB as raw uint8 (6.1× smaller) and ≈337.35 MB as float32 model input (≈24× smaller), at SSIM 0.98. The trained encoder and decoder models are saved for reuse or fine-tuning on similar data. Topic proposed by Dr. Peter Steinbach (Helmholtz AI).
