Source-linked AI summary

Deep Learning of Part-based Representation of Data Using Sparse Autoencoders with Nonnegativity Constraints

Ehsan Hosseini-Asl, Jacek M. Zurada, Olfa Nasraoui

arXiv:1601.02733v1cs.LGstat.ML

TL;DR

The paper addresses limited part-based feature learning in autoencoders by imposing nonnegativity constraints on autoencoder and deep-network weights. It proposes NCAE with sparse representations, evaluates it across image and text datasets, and reports more interpretable part-based features, improved reconstruction, and better prediction performance than related approaches.

Abstract

from arXiv · show

We demonstrate a new deep learning autoencoder network, trained by a nonnegativity constraint algorithm (NCAE), that learns features which show part-based representation of data. The learning algorithm is based on constraining negative weights. The performance of the algorithm is assessed based on decomposing data into parts and its prediction performance is tested on three standard image data sets and one text dataset. The results indicate that the nonnegativity constraint forces the autoencoder to learn features that amount to a part-based representation of data, while improving sparsity and reconstruction quality in comparison with the traditional sparse autoencoder and Nonnegative Matrix Factorization. It is also shown that this newly acquired representation improves the prediction performance of a deep neural network.

I. INTRODUCTION

The paper develops a nonnegativity-constrained autoencoder to learn sparse, part-based representations and improve reconstruction and deep-network prediction. It motivates this approach through autoencoder pretraining, additive representations, and comparisons with related methods.

Motivation

  • Deep networks learn complex mappings but are difficult to train because random initialization can become trapped in poor solutions.Greedy layer-wise pretraining was proposed to improve this bottleneck and guide supervised fine-tuning.Source: §I · p. 1

Autoencoder learning

  • Autoencoders reconstruct inputs from encoded representations, and stacked pretrained layers provide initialization for deep networks.Lower reconstruction error at each layer is described as producing a more accurate representation and better initialization.Source: §I · p. 1

Part-based representation

  • Part-based representation decomposes data into additive components, potentially disentangling hidden structure in high-dimensional data.The motivation draws on sparse coding, NMF, and evidence that visual data is represented hierarchically and by parts.Source: §I · pp. 1–2

Contribution

  • The proposed method imposes nonnegativity during autoencoder learning to obtain sparse, part-based features and better reconstruction.The approach is extended to stacked autoencoders and a softmax classifier with nonnegative weight constraints.Source: §I · p. 2

Evaluation

  • The method is evaluated against SAE, NNSAE, NMF, DAE, and DpAE on image and text datasets, including representation and classification performance.The reported comparisons cover latent features, reconstruction error, sparsity, and deep-network prediction.Source: §I · p. 2

II. METHODS

The methods section describes an autoencoder that maps inputs to hidden representations and reconstructs them, optimizing reconstruction while controlling representation size and sparsity. The paper also uses layer-wise pretraining to construct deep networks.

Autoencoder architecture

  • An autoencoder maps an input vector x to a hidden representation and then maps that representation to a reconstructed vector.The hidden mapping uses parameters θ1 = {W1, b1}, while the decoder uses θ2 = {W2, b2}.Source: §II · p. 2
  • The hidden and output layers use logistic sigmoid mappings, with W1 and W2 defining the corresponding weight dimensions.The hidden representation h lies in [0,1]^n′ and the reconstruction x̂ lies in [0,1]^n.Source: §II · p. 2

Objective

  • Average reconstruction error is used as the cost function for optimizing the autoencoder parameters.The training set size is represented by m.Source: §II · p. 2

Representation

  • Limiting hidden dimension n′ produces a compressed representation intended to help reveal latent structure in high-dimensional data.The paper treats parameter constraints as a way to control the learned representation.Source: §II · p. 2

Sparsity

  • Sparsity is encouraged by constraining the average activation of each hidden unit to a small positive parameter p using KL divergence.This limits hidden-unit activity and supports sparse representations.Source: §II · pp. 2–3

A. Part-based Representation Using a Nonnegativity Constrained Autoencoder (NCAE)

NCAE adds a nonnegativity penalty to autoencoder training so data can be represented through sparse parts combined additively. Its objective combines reconstruction, sparsity, and penalties on negative weights.

Part-based representation

  • Part-based representation combines decomposed parts additively, and constraining W to be nonnegative supports this form of representation.The paper frames nonnegative weights as a mechanism for decomposing data into parts.Source: A. Part-based Representation Using a… · p. 3

NCAE objective

  • NCAE replaces the standard weight-decay term with a quadratic penalty that encourages nonnegative weights.The resulting objective is designed to penalize negative weights during training.Source: A. Part-based Representation Using a… · p. 3
  • Minimizing the NCAE objective reduces reconstruction error, increases hidden-layer sparsity, and reduces nonnegative-weight violations.These effects are stated as consequences of minimizing the combined cost function.Source: A. Part-based Representation Using a… · p. 3

Optimization

  • Weight and bias updates use gradients of the NCAE objective within backpropagation.The derivative with respect to weights contains three terms, with the learning rate η controlling updates.Source: A. Part-based Representation Using a… · p. 3

Evaluation setup

  • On MNIST, NCAE receptive fields are compared with SAE, NNSAE, and NMF, while decoding filters are compared with SAE.The visualizations include weight histograms for the learned filters.Source: Figure 2 · p. 4, Figure 3 · p. 4

B. Deep Learning using the Nonnegative Constrained Autoencoder (NCAE)

The deep NCAE network is built by stacking pretrained autoencoder layers with a softmax classifier, followed by supervised fine-tuning under nonnegativity constraints.

III. EXPERIMENTAL RESULTS

The experiments evaluate unsupervised feature learning and classification using three benchmark image datasets and one text corpus.

  • The evaluation uses MNIST handwritten digits, ORL face images, small NORB object recognition, and the Reuters 21578 document corpus.Source: §III · p. 5
  • The experimental section reports both feature-learning tests and classification performance for a deep network built from NCAE components.Source: §III · p. 5
  • The parameter-settings table records the algorithm configurations used in the experiments.Source: Table I · p. 5

A. Unsupervised Feature Learning

Unsupervised feature learning compares NCAE with sparse autoencoder, nonnegative sparse autoencoder, and NMF representations using image receptive fields and text features.

1) Learning Part-based Representation of Images:

Across MNIST, ORL Faces, and small NORB images, NCAE learns sparse, localized, part-based features and achieves strong reconstruction relative to SAE, NNSAE, and NMF.

MNIST

ORL Faces

Small NORB

2) Semantic feature discovery from text data:

NCAE extracts semantic features from Reuters documents by grouping informative words around latent topics. Its representations organize related documents and place meaningfully related topics closer in semantic space.

Feature preparation

  • NCAE represents Reuters documents in a TF-IDF vector space after removing very rare and very frequent words and selecting informative features.The corpus contains 11,413 documents and 12,317 word dimensions before dimensionality reduction.Source: 2) Semantic feature discovery from… · p. 9

Semantic feature discovery

Semantic organization

B. Supervised Learning

The authors pretrain deep networks by stacking NCAE autoencoders and then fine-tune them with a softmax classifier. NCAE improves classification before fine-tuning across all three datasets and after fine-tuning on two of them, while part-based first-layer features support class discrimination.

Training procedure

  • Deep networks are pretrained by stacking NCAE autoencoders, followed by softmax training and supervised fine-tuning.Classification is evaluated on MNIST, NORB, and Reuters-21578, with results averaged over 10 experiments.Source: B. Supervised Learning · pp. 10–11

Classification results

  • NCAE pretraining yields significantly better accuracy than other networks on all three datasets before fine-tuning.The comparisons include SAE, NNSAE, DAE, and DpAE-based networks.Source: B. Supervised Learning · p. 11
  • After fine-tuning, NCAE remains superior on two of the three datasets; on NORB, its accuracy is not significantly different from DAE and DpAE.The NORB result limits the post-fine-tuning advantage to two datasets.Source: B. Supervised Learning · pp. 11–12

Optimization

  • NCAE converges faster than the other networks without using more pre-fine-tuning iterations.All networks were trained for 400 iterations before fine-tuning.Source: B. Supervised Learning · pp. 11–12

Representation and discrimination

  • NCAE first-layer features decompose data into distinct parts, whereas other networks learn more holistic features that provide less class separation.The paper links this part decomposition to better discrimination between classes in later layers.Source: B. Supervised Learning · p. 12

IV. CONCLUSION

The paper proposes NCAE, a deep autoencoder trained with nonnegative weight constraints in both unsupervised learning and supervised fine-tuning. Across four datasets, the method is evaluated against autoencoder and matrix-factorization baselines for representation quality and prediction.

  • NCAE applies nonnegative weight constraints during unsupervised autoencoder training and supervised fine-tuning.Nonnegativity is motivated by its promotion of additive features and part-based data representation.Source: §IV · p. 12
  • The evaluation covers MNIST, ORL faces, small NORB objects, and the Reuters-21578 text corpus.The study examines reconstruction error, part-based feature representation, hidden-encoding sparsity, and prediction performance.Source: §IV · p. 12
  • NCAE features capture part-based representations while achieving lower reconstruction error and better hidden-encoding sparsity than SAE and NMF.The reported comparison concerns the unsupervised learning stage.Source: §IV · p. 12
  • Deep-network prediction performance is compared with SAE, NNSAE, DAE, and DpAE.Source: §IV · p. 12
Loading 1601.02733v1…