Skip to main content
QUICK REVIEW

[Paper Review] Deep Sequential Neural Network

Ludovic Denoyer, Patrick Gallinari|arXiv (Cornell University)|Oct 2, 2014
Domain Adaptation and Few-Shot LearningComputer Science13 references34 citations
TL;DR

This paper introduces Deep Sequential Neural Networks (DSNNs), a novel deep learning architecture that dynamically selects from multiple candidate mappings at each layer via a sequential decision process, enabling adaptive, input-dependent transformation paths. Unlike standard deep networks that apply fixed global transformations, DSNNs use policy gradient learning to jointly optimize selection policies and network weights, demonstrating superior performance on complex, multi-distribution data like negated MNIST and checkerboard datasets.

ABSTRACT

Neural Networks sequentially build high-level features through their successive layers. We propose here a new neural network model where each layer is associated with a set of candidate mappings. When an input is processed, at each layer, one mapping among these candidates is selected according to a sequential decision process. The resulting model is structured according to a DAG like architecture, so that a path from the root to a leaf node defines a sequence of transformations. Instead of considering global transformations, like in classical multilayer networks, this model allows us for learning a set of local transformations. It is thus able to process data with different characteristics through specific sequences of such local transformations, increasing the expression power of this model w.r.t a classical multilayered network. The learning algorithm is inspired from policy gradient techniques coming from the reinforcement learning domain and is used here instead of the classical back-propagation based gradient descent techniques. Experiments on different datasets show the relevance of this approach.

Motivation & Objective

  • Address the limitation of fixed, global transformations in standard deep neural networks by enabling input-dependent, dynamic feature learning.
  • Enable neural networks to process data with diverse characteristics by learning distinct transformation sequences for different input distributions.
  • Introduce a learning framework that combines policy gradient methods with backpropagation to jointly optimize selection policies and network weights.
  • Demonstrate that the proposed model can capture complex, non-linear decision boundaries that standard DNNs fail to learn.
  • Explore the theoretical and empirical equivalence of DSNNs to standard DNNs when the number of candidate mappings per layer is reduced to one.

Proposed method

  • Structure the network as a DAG where each layer contains multiple candidate mappings (transformations) from one representation space to another.
  • At inference time, a sequential decision process selects one mapping per layer based on the current input representation, forming a path from root to leaf.
  • Train the selection policy using policy gradient techniques—specifically, an extension of reinforcement learning policy gradients—while updating network weights via standard backpropagation.
  • Define the selection function at each layer as a differentiable policy that outputs a probability distribution over candidate mappings.
  • Optimize the joint objective: minimize prediction loss while learning which sequence of mappings is most effective for each input.
  • Use rectified linear units (ReLUs) in hidden layers and train end-to-end using stochastic gradient descent with policy gradient updates for the selection heads.

Experimental results

Research questions

  • RQ1Can a deep neural network dynamically select from multiple transformation paths based on input characteristics to improve generalization on complex data?
  • RQ2How does the performance of a DSNN compare to a standard DNN when the input data follows multiple underlying distributions?
  • RQ3To what extent can policy gradient-based learning of transformation sequences outperform backpropagation-only training in capturing non-linear decision boundaries?
  • RQ4What is the impact of architectural choices—such as the number of candidate mappings and hidden layer size—on the model’s ability to generalize?
  • RQ5Is the proposed DSNN framework equivalent to standard DNNs in the limit of a single candidate mapping per layer?

Key findings

  • On the MNIST-Negative dataset, where digits are sampled from two distinct distributions (original and negated), a standard DNN with no hidden layers achieves only 37.4% accuracy, while DSNNs achieve up to 88.3% accuracy with 2 candidate mappings.
  • For the checkerboard dataset with 11×11 patterns, DSNN-3 with a 10-dimensional hidden layer achieves 69.7% accuracy, significantly outperforming the standard DNN’s 50% baseline.
  • On the standard MNIST dataset, DSNNs achieve comparable performance to standard DNNs (e.g., 95.4% accuracy for DSNN-5 vs. 95.3% for NN), confirming equivalence in simple cases.
  • When the number of candidate mappings increases (e.g., 10 actions), DSNNs with larger architectures suffer from overfitting and reduced performance, indicating a trade-off between expressivity and generalization.
  • The DSNN with 25-25 hidden layers on MNIST-Negative achieves 90.4% accuracy, showing that deeper DSNNs can effectively model complex data distributions.
  • The model’s ability to learn distinct transformation paths per input enables it to capture complex, non-linear decision boundaries that standard DNNs fail to model, as demonstrated on the checkerboard task.

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.