Skip to main content
QUICK REVIEW

[Paper Review] SNN: Stacked Neural Networks

Milad Mohammadi, Subhasis Das|arXiv (Cornell University)|May 27, 2016
Domain Adaptation and Few-Shot LearningComputer Science15 references7 citations
TL;DR

This paper proposes Stacked Neural Networks (S-NN), a novel architecture that combines features from multiple pre-trained CNNs (e.g., VGG, GoogLeNet, Places, NIN) via stacking to significantly improve transfer learning accuracy—achieving up to 8% higher accuracy than state-of-the-art methods using a single pre-trained network. It further introduces 'joint fine-tuning' to preserve generalization while enabling multi-task adaptation.

ABSTRACT

It has been proven that transfer learning provides an easy way to achieve state-of-the-art accuracies on several vision tasks by training a simple classifier on top of features obtained from pre-trained neural networks. The goal of this work is to generate better features for transfer learning from multiple publicly available pre-trained neural networks. To this end, we propose a novel architecture called Stacked Neural Networks which leverages the fast training time of transfer learning while simultaneously being much more accurate. We show that using a stacked NN architecture can result in up to 8% improvements in accuracy over state-of-the-art techniques using only one pre-trained network for transfer learning. A second aim of this work is to make network fine- tuning retain the generalizability of the base network to unseen tasks. To this end, we propose a new technique called "joint fine-tuning" that is able to give accuracies comparable to finetuning the same network individually over two datasets. We also show that a jointly finetuned network generalizes better to unseen tasks when compared to a network finetuned over a single task.

Motivation & Objective

  • To improve transfer learning accuracy by generating better, more generalizable features than those from individual pre-trained networks.
  • To explore whether combining features from multiple non-overlapping pre-trained networks can yield superior performance across diverse vision tasks.
  • To develop a method that maintains the generalization capability of pre-trained networks during fine-tuning, especially when adapting to multiple tasks.
  • To evaluate whether ensemble stacking of S-NNs further enhances performance beyond single S-NNs.
  • To investigate the trade-off between computational cost and accuracy in stacked architectures, including lightweight two-network stacks.

Proposed method

  • Stacking features from multiple pre-trained CNNs (VGG16, GoogLeNet, Places, NIN) by concatenating their final fully connected layer outputs (e.g., fc7 or pool4) into a single feature vector for classification.
  • Using a linear SVM classifier trained on stacked features to evaluate performance on various vision datasets, without updating the base networks.
  • Introducing 'joint fine-tuning'—simultaneously fine-tuning a single network on two different datasets to preserve generalization while achieving performance close to individual fine-tuning.
  • Applying weighted stacking by scaling each network’s feature vector with a learned weight proportional to its individual accuracy on a given dataset (e.g., 0.5 for GoogLeNet if its accuracy is half of the best-performing network).
  • Evaluating ensemble S-NNs by averaging predictions from multiple independently trained S-NN models to boost performance.
  • Exploring future directions such as parallel training of stacked networks via shared gradient broadcasting and data augmentation to further improve accuracy.

Experimental results

Research questions

  • RQ1Can combining features from multiple non-overlapping pre-trained CNNs significantly improve transfer learning accuracy compared to using a single network?
  • RQ2Is there a single optimal combination of pre-trained networks that generalizes well across diverse vision datasets, or does the best combination vary per dataset?
  • RQ3Does joint fine-tuning of a single network on two datasets preserve or enhance generalization compared to individual fine-tuning on one dataset?
  • RQ4Can weighted stacking of features reduce the negative impact of poorly performing networks in the ensemble?
  • RQ5Can parallel training or data augmentation further improve the performance of stacked neural networks?

Key findings

  • Stacking features from multiple pre-trained networks (e.g., VGG16, GoogLeNet, Places, NIN) improved classification accuracy by up to 8% compared to using a single pre-trained network.
  • A two-network S-NN stack achieved performance comparable to a five-network stack but with significantly reduced computational cost.
  • Joint fine-tuning of a single network on two datasets produced classification accuracy nearly matching that of individual fine-tuning on each dataset separately.
  • The features from jointly fine-tuned networks generalized better to unseen tasks than features from individually fine-tuned networks.
  • Ensembling multiple S-NN models provided a substantial performance boost beyond stacking alone.
  • Weighted stacking, where features are scaled by individual network accuracy, reduced the adverse impact of low-performing networks in the ensemble.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.