Skip to main content
QUICK REVIEW

[Paper Review] Deep Rewiring: Training very sparse deep networks

Guillaume Bellec, David Kappel|arXiv (Cornell University)|Nov 14, 2017
Advanced Vision and ImagingComputer Science2 references134 citations
TL;DR

DEEP R trains deep networks under a strict connectivity bound by simultaneously sampling network weights and architectures, enabling very sparse networks with minimal performance loss.

ABSTRACT

Neuromorphic hardware tends to pose limits on the connectivity of deep networks that one can run on them. But also generic hardware and software implementations of deep learning run more efficiently for sparse networks. Several methods exist for pruning connections of a neural network after it was trained without connectivity constraints. We present an algorithm, DEEP R, that enables us to train directly a sparsely connected neural network. DEEP R automatically rewires the network during supervised training so that connections are there where they are most needed for the task, while its total number is all the time strictly bounded. We demonstrate that DEEP R can be used to train very sparse feedforward and recurrent neural networks on standard benchmark tasks with just a minor loss in performance. DEEP R is based on a rigorous theoretical foundation that views rewiring as stochastic sampling of network configurations from a posterior.

Motivation & Objective

  • Motivate memory and energy efficiency concerns in hardware implementations of deep learning.
  • Introduce a principled framework to train with a hard connectivity constraint while learning weights.
  • Develop an algorithm that rewires connections during supervised training to maintain a fixed number of active synapses.
  • Provide theoretical guarantees that the method samples from a tempered posterior over network configurations.
  • Demonstrate applicability to fully connected, convolutional, and recurrent architectures with sparse connectivity.

Proposed method

  • Assign each potential connection a sign s_k and a nonnegative parameter θ_k, with weight w_k = s_k θ_k when active and w_k = 0 when dormant.
  • Update active θ_k via gradient descent on the loss plus an L1 regularization term and add Gaussian noise to implement a stochastic gradient MCMC step.
  • Dormant connections are pruned (θ_k < 0) and replaced by randomly activated dormant connections to keep exactly K active connections at all times.
  • Formulate learning as sampling from a tempered posterior p*(θ) subject to a hard connectivity constraint, effectively jointly sampling weights and network configuration.
  • Provide a theoretical mapping showing convergence to a stationary distribution under the constrained pruning/wiring dynamics (soft-DEEP R and DEEP R).
  • Compare DEEP R and soft-DEEP R with pruning baselines on MNIST, CIFAR-10, and TIMIT to show sparse networks can retain performance.

Experimental results

Research questions

  • RQ1Can a neural network be trained under a strict limit on total connections while still achieving competitive accuracy?
  • RQ2Does simultaneous weight learning and dynamic rewiring yield better sparse solutions than pruning-after-training or fixed-sparse baselines?
  • RQ3Do the proposed methods generalize across fully connected, convolutional, and recurrent architectures?
  • RQ4What are the convergence properties and theoretical guarantees of the constrained stochastic rewiring process?
  • RQ5Can the method support transfer learning or online adaptation under constant connectivity budgets?

Key findings

  • DEEP R achieves 96.2% on MNIST with only 1.3% connectivity, and 96.3% with 1.0% connectivity after extended training.
  • On CIFAR-10, DEEP R reaches 84.1% accuracy at 5% connectivity and approaches the fully connected performance at 20% connectivity.
  • DEEP R and soft-DEEP R outperform or match pruning and L1-shrinkage methods under strict sparsity, especially at very low connectivities.
  • Rewiring stabilizes over time, with a steady rate of new active connections after an initial transient.
  • In LSTM on TIMIT, DEEP R outperforms BPTT with fixed random connectivity at all tested connectivities, and avoids instability spikes seen with pruning/L1 methods.
  • Transfer learning experiments show DEEP R benefits transfer through invariant early-layer features and ongoing posterior exploration.

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.