Learning Sparse Deep Feedforward Networks via Tree Skeleton Expansion

Zhourong Chen, Xiaopeng Li, Nevin L. ZhangarXiv 2018

TL;DR

TSE-Net (Tree Skeleton Expansion Network) bridges the gap between probabilistic graphical models and deep learning by using Hierarchical Latent Tree Analysis to automatically learn sparse neural network architectures. The resulting models achieve comparable or superior classification performance to standard dense networks while using as little as 6% of the parameters and offering significantly better interpretability.

What Problem Does This Paper Address?

While deep learning has revolutionized AI, the structure of feedforward neural networks (FNNs) is often a weak point. Unlike Convolutional Neural Networks (CNNs), which have a built-in spatial structure, standard FNNs are typically "black boxes" where every neuron in one layer connects to every neuron in the next. This leads to massive parameter redundancy, high computational costs, and a lack of interpretability.

Existing solutions like Neural Architecture Search (NAS) are computationally expensive, while pruning methods require starting with a pre-trained, oversized model. The authors address the challenge of unsupervised structure learning: how can we automatically discover a sparse, efficient, and meaningful network architecture directly from the data's inherent correlations?

Methods

The authors propose a three-stage process to build TSE-Nets:

  1. Learning the Tree Skeleton: They use Hierarchical Latent Tree Analysis (HLTA) to group correlated observed variables and represent them with latent variables. This process is repeated to build a multi-layer tree hierarchy.
  2. Skeleton Expansion: Because a pure tree is often too sparse to capture complex dependencies (e.g., a word like "Apple" relating to both "fruit" and "technology"), they expand the skeleton. They add new edges between layers based on empirical conditional mutual information, creating a denser but still sparse "PGM core."
  3. Conversion to FNN: The PGM structure is converted into a neural network where latent variables become hidden units. To ensure the model can perform classification, they add a "Backbone" (a feature aggregator layer) and "Skip-paths" (narrow, fully-connected paths from lower layers to the output) to capture any weak correlations missed during the unsupervised phase.
Figure 1: Model structure of our Tree Skeleton Expansion Networks (TSE-Nets). The PGM core includes the bottom three layers x−h2. The solid connections make up the skeleton and the dashed connec- tions are added during the expansion phase. The black part of the model is called the Backbone, while the red part provides narrow skip-paths from the PGM core to the output layer.

Datasets

The researchers evaluated their method across 17 diverse classification tasks:

  • Tox21 Challenge: 12 binary classification tasks predicting toxic effects of ~12,000 chemical compounds.
  • Text Classification: 5 large-scale datasets including Yelp Reviews, DBPedia, Sogou News, Yahoo! Answers, and AG’s News.
  • MNIST: Used primarily for visualizing how the model groups pixels based on correlation.

Key Insights and Ideas

  • Correlation as Architecture: The core idea is that the structure of a neural network should reflect the statistical dependencies in the data. By using PGMs to find these dependencies, the network "learns" where connections are actually needed.
  • Unsupervised Transfer: Because the structure is learned in an unsupervised manner, it can theoretically be transferred across different tasks that use the same input data.
  • Natural Grouping: When applied to MNIST, the model grouped neighboring pixels together (see Figure 6 in the paper) despite having no prior knowledge of the image's 2D grid structure. This proves the method can "discover" spatial relationships purely through correlation.
  • Interpretability through Sparsity: Because hidden units are only connected to a small subset of inputs, researchers can easily identify which specific words or features "trigger" a particular neuron, making the model much less of a black box.

Key Results

  • Extreme Efficiency: TSE-Nets required only 6.25% to 32.07% of the parameters used by manually-tuned, fully-connected FNNs.
  • Superior Performance: On the Tox21 dataset, TSE-Net achieved better AUC scores than standard FNNs in 10 out of 12 tasks.
  • Competitive Accuracy: On massive text datasets, TSE-Net maintained comparable accuracy to dense models while being significantly smaller.
  • Interpretability: In text tasks, the hidden units in TSE-Nets showed much higher "coherency" (measured by word2vec similarity of top-correlated words) compared to standard or pruned FNNs.

Limitations and Future Work

While TSE-Net excels at standard feedforward tasks, the authors note several areas for growth:

  • Generalization: The current work focuses on FNNs. The authors aim to generalize this tree-expansion approach to more complex architectures like RNNs and CNNs.
  • Skip-path Heuristics: The skip-paths are currently added as a safeguard to capture task-specific weak correlations. Finding a more principled way to integrate these during the structure learning phase could further optimize the model.
  • Scalability: While efficient on a standard desktop for the tested datasets, very high-dimensional data might require further optimizations of the HLTA algorithm.

Summary updated

Abstract

Despite the popularity of deep learning, structure learning for deep models remains a relatively under-explored area. In contrast, structure learning has been studied extensively for probabilistic graphical models (PGMs). In particular, an efficient algorithm has been developed for learning a class of tree-structured PGMs called hierarchical latent tree models (HLTMs), where there is a layer of observed variables at the bottom and multiple layers of latent variables on top. In this paper, we propose a simple method for learning the structures of feedforward neural networks (FNNs) based on HLTMs. The idea is to expand the connections in the tree skeletons from HLTMs and to use the resulting structures for FNNs. An important characteristic of FNN structures learned this way is that they are sparse. We present extensive empirical results to show that, compared with standard FNNs tuned-manually, sparse FNNs learned by our method achieve better or comparable classification performance with much fewer parameters. They are also more interpretable.
BibTeX
@misc{chen2018learning,
  author = {Zhourong Chen and Xiaopeng Li and Nevin L. Zhang},
  title = {{Learning Sparse Deep Feedforward Networks via Tree Skeleton Expansion}},
  year = {2018},
  eprint = {1803.06120},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.06120},
}

Loading related content...

Figure