[Paper Review] Discriminative Recurrent Sparse Auto-Encoders
This paper proposes the Discriminative Recurrent Sparse Auto-Encoder (DrSAE), a recurrent neural network with shared weights and rectified linear units that unrolls over time to learn hierarchical representations. It jointly optimizes for sparse reconstruction and classification, discovering distinct categorical-units (prototypes) and part-units (deformations), achieving strong MNIST performance with minimal parameters and explicit data manifold modeling.
We present the discriminative recurrent sparse auto-encoder model, comprising a recurrent encoder of rectified linear units, unrolled for a fixed number of iterations, and connected to two linear decoders that reconstruct the input and predict its supervised classification. Training via backpropagation-through-time initially minimizes an unsupervised sparse reconstruction error; the loss function is then augmented with a discriminative term on the supervised classification. The depth implicit in the temporally-unrolled form allows the system to exhibit all the power of deep networks, while substantially reducing the number of trainable parameters. From an initially unstructured network the hidden units differentiate into categorical-units, each of which represents an input prototype with a well-defined class; and part-units representing deformations of these prototypes. The learned organization of the recurrent encoder is hierarchical: part-units are driven directly by the input, whereas the activity of categorical-units builds up over time through interactions with the part-units. Even using a small number of hidden units per layer, discriminative recurrent sparse auto-encoders achieve excellent performance on MNIST.
Motivation & Objective
- To develop a deep, parameter-efficient neural network architecture that combines unsupervised sparse coding with discriminative classification.
- To model the data manifold using a hierarchical representation where categorical-units represent class prototypes and part-units encode deformations.
- To enable end-to-end training via backpropagation-through-time that first learns reconstruction and then adds classification loss.
- To discover a structured organization of hidden units—categorical and part-units—through unsupervised pretraining followed by discriminative fine-tuning.
- To demonstrate that the model learns disentangled, class-specific representations that generalize well on visual recognition tasks like MNIST.
Proposed method
- The model uses a recurrent encoder of rectified linear units (ReLUs) unrolled over T time steps, with shared weight matrices across layers.
- The encoder is initialized with zero hidden states and processes the input through iterative updates using a proximal-like algorithm inspired by ISTA.
- Two decoders are attached: one reconstructs the input using the final hidden state, and the other predicts the supervised class label.
- Training proceeds in two phases: first minimizing a sparse reconstruction loss via backpropagation-through-time, then augmenting the loss with a discriminative cross-entropy term.
- A non-negativity constraint is applied to the decoder weights, transforming the shrinkage operation into a ReLU-like nonlinearity.
- The hidden units spontaneously differentiate into two types: categorical-units (sharp, class-specific prototypes) and part-units (local, deformation-sensitive units).
Experimental results
Research questions
- RQ1Can a recurrent autoencoder with shared weights and sparse regularization learn disentangled, class-specific representations without explicit supervision?
- RQ2How does the combination of unsupervised reconstruction and discriminative fine-tuning affect the emergence of hierarchical structure in hidden units?
- RQ3Can the model effectively represent the data manifold using a prototype (categorical-unit) and tangent-space deformations (part-units)?
- RQ4To what extent do part-units and categorical-units cooperate to improve classification accuracy while maintaining sparse, interpretable representations?
- RQ5Does the temporal unrolling of a recurrent network provide greater representational power than standard deep networks with equivalent parameter counts?
Key findings
- The DrSAE model achieves high performance on MNIST classification using only a small number of hidden units per layer, demonstrating strong generalization with minimal parameters.
- After training, hidden units differentiate into two distinct types: categorical-units that resemble sharp, class-specific prototypes and part-units that encode local deformations.
- Categorical-units activate late in the dynamics, building up through interaction with part-units, and are mutually inhibited, enabling competition between classes.
- Part-units are strongly influenced by the input and function as a sparse coder on the residual between input and prototype, enabling deformation modeling.
- The reconstruction process traces paths along the data manifold: even when the input is far from the prototype, intermediate steps remain recognizable as the correct class.
- The model learns class-prototype representations that are sharper than class averages, and can generalize across diverse transformations by combining prototypes with deformation parts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.