Abstract
Convolutional Autoencoders (CAEs) are foundational to unsupervised representation learning, yet the impact of their bottleneck geometry—specifically the trade-off between spatial resolution and channel depth—remains under-explored. This paper investigates how the shape of the $H \times W \times C$ bottleneck tensor influences reconstruction fidelity, feature quality, and training dynamics. Our findings reveal that spatial resolution is the primary driver of performance and debunk the common assumption that "complete" autoencoders (where bottleneck neurons equal input pixels) inevitably learn trivial identity mappings.
Introduction
Autoencoders (AEs) function by compressing input data into a low-dimensional latent space and subsequently reconstructing the original signal. While traditional fully-connected AEs utilize a 1D vector bottleneck, CAEs employ a 3D tensor defined by height ($H$), width ($W$), and channels ($C$). Despite their ubiquity, the optimal configuration of these dimensions is often determined heuristically.
This study addresses two critical questions: First, does the specific shape of the bottleneck matter if the total number of neurons (the "volume") remains constant? Second, does a "complete" bottleneck—one with sufficient capacity to store the entire input—cause the model to bypass feature learning in favor of a simple copy-paste identity function?
Experimental Methodology
To isolate the effects of bottleneck shape, the authors implemented a standardized CAE architecture featuring five strided convolutional layers in the encoder and five corresponding up-sampling layers in the decoder, augmented with residual blocks and instance normalization.
A novel scaling scheme was employed to maintain a constant feature map volume throughout the network until the bottleneck. This allowed for the systematic variation of $H$, $W$, and $C$ without changing the overall model capacity. The models were evaluated across three datasets of increasing complexity: Pokemon (structured/simple), CelebA (faces/moderate), and STL-10 (natural images/complex).
Analysis of Bottleneck Dynamics
Spatial Resolution vs. Channel Depth
The experiments demonstrate that spatial resolution ($H \times W$) is significantly more influential than channel count ($C$) for both reconstruction and generalization. Increasing the spatial dimensions of the bottleneck consistently yielded better results than increasing the number of channels for a fixed neuron count.
Convergence and Overfitting
Bottleneck size also dictates training efficiency. Models with larger spatial bottlenecks converge faster across all datasets. Furthermore, the study observed distinct overfitting patterns: smaller bottlenecks exhibit a classic U-shaped test loss curve, whereas larger bottlenecks tend to plateau or continue improving, suggesting a higher tolerance for extended training.
Debunking the "Copying" Myth
A significant finding is the rejection of the "identity function" trap. Even when the bottleneck was "complete" (1:1 neuron-to-pixel ratio), the CAEs did not collapse into trivial copying. The inductive bias inherent in convolutional architectures forces the model to learn abstract features, as evidenced by test errors remaining non-zero and the high performance of downstream linear classifiers.
Empirical Results
Reconstruction Fidelity
Quantitatively, larger $H \times W$ dimensions led to lower Mean Squared Error (MSE). Qualitatively, these models preserved fine-grained details that were lost in channel-heavy configurations. This suggests that for tasks like image compression, prioritizing feature map size over depth is essential for maintaining visual integrity.
Feature Transferability
To verify that the encoders were learning meaningful representations, the authors trained linear logistic regression classifiers on the latent codes. These classifiers consistently outperformed raw-pixel baselines, proving that the bottleneck serves as a site for effective feature extraction rather than a mere data conduit.
Representation Similarity
Using Singular Vector Canonical Correlation Analysis (SVCCA), the researchers found that bottlenecks with identical spatial dimensions learned highly similar mathematical representations, regardless of their channel counts. This reinforces the conclusion that spatial dimensions are the dominant factor in defining the "tightness" of the bottleneck.
Conclusion
This investigation provides practical heuristics for CAE design: use smaller spatial bottlenecks for applications like anomaly detection to ensure the model fails on out-of-distribution data, and use larger spatial bottlenecks for high-fidelity tasks like compression. Future work remains to explore "over-complete" bottlenecks and the specific role of the decoder in the observed overfitting dynamics.
Summary updated