Abstract
Autoencoders often struggle with learning meaningful representations if the latent space capacity is not properly constrained. This paper presents the Implicit Rank-Minimizing Autoencoder (IRMAE), which achieves low-rank representations by simply inserting linear layers between the encoder and decoder. This architectural change leverages the implicit regularization of gradient descent to discover the intrinsic dimensionality of data, outperforming traditional methods that rely on explicit penalties or stochasticity.
Introduction
Representation learning via autoencoders (AEs) aims to compress data into a latent code for reconstruction. A common challenge is preventing the model from learning a trivial identity mapping when the latent space is over-parameterized. Traditional solutions include explicit bottlenecks like small latent dimensions, noise injection in Variational Autoencoders (VAEs), or sparsity penalties. However, these often require extensive hyperparameter tuning or result in degraded reconstruction quality. IRMAE addresses this by utilizing the optimization process itself as a natural regularizer.
Methodology: The Power of Deep Linear Layers
The IRMAE architecture is a straightforward modification of a standard autoencoder. A sequence of $l$ linear layers, represented by matrices $W_1, W_2, \dots, W_l$, is placed between the encoder and decoder.
While a product of linear layers is mathematically equivalent to a single linear transformation, training such "deep" linear networks with gradient descent introduces an implicit regularization effect. This process naturally drives the product matrix toward a low-rank solution. During inference, these layers can be collapsed into a single matrix, ensuring no additional computational overhead compared to a standard AE.
Experimental Results
The authors evaluated IRMAE across synthetic and real-world datasets, including MNIST and CelebA.
Recovering Intrinsic Dimensionality
On a synthetic dataset of shapes with a known intrinsic dimensionality of 7, IRMAE demonstrated a remarkable ability to recover this rank. While standard AEs and those with L1/L2 regularization utilized the full latent capacity, IRMAE's singular value spectrum dropped sharply at the true dimensionality.
Generative Quality and Downstream Tasks
On the CelebA dataset, IRMAE achieved a Frechet Inception Distance (FID) of 42.0, surpassing other deterministic models like WAE (53.7) and RAE (44.7). Furthermore, in low-data regimes on MNIST (10 labels), IRMAE features achieved a 12.0% error rate, significantly better than the 31.4% of standard AEs, indicating that the learned low-rank representations are more semantically meaningful.
Conclusion
IRMAE provides a simple yet effective method for learning low-rank representations by exploiting the implicit bias of gradient descent in deep linear networks. By avoiding explicit penalties, it offers a more "natural" bottleneck that improves both generative quality and the utility of learned features for downstream tasks. Future work remains to fully bridge the theoretical gap between linear and non-linear autoencoder dynamics.
Summary updated