Skip to main content
QUICK REVIEW

[Paper Review] ExpandNets: Linear Over-parameterization to Train Compact Convolutional Networks

Shuxuan Guo, José M. Alvarez|arXiv (Cornell University)|Nov 26, 2018
Advanced Neural Network ApplicationsComputer Science66 references9 citations
TL;DR

ExpandNets proposes a novel training method for compact convolutional neural networks by linearly over-parameterizing each linear layer through expansion into multiple consecutive linear layers without nonlinearity. This allows algebraic contraction back to the original compact network at inference, improving optimization and generalization—outperforming both training from scratch and knowledge distillation on image classification, object detection, and segmentation tasks.

ABSTRACT

We introduce an approach to training a given compact network. To this end, we leverage over-parameterization, which typically improves both neural network optimization and generalization. Specifically, we propose to expand each linear layer of the compact network into multiple consecutive linear layers, without adding any nonlinearity. As such, the resulting expanded network, or ExpandNet, can be contracted back to the compact one algebraically at inference. In particular, we introduce two convolutional expansion strategies and demonstrate their benefits on several tasks, including image classification, object detection, and semantic segmentation. As evidenced by our experiments, our approach outperforms both training the compact network from scratch and performing knowledge distillation from a teacher. Furthermore, our linear over-parameterization empirically reduces gradient confusion during training and improves the network generalization.

Motivation & Objective

  • To address the difficulty of training compact convolutional neural networks effectively from scratch.
  • To explore whether linear over-parameterization can improve training dynamics and generalization in compact networks.
  • To develop a method that enables training a compact network via expansion, followed by algebraic contraction, without performance loss.
  • To demonstrate that linear over-parameterization reduces gradient confusion and improves optimization.
  • To provide a practical, plug-and-play alternative to knowledge distillation for training compact models.

Proposed method

  • Expand each linear layer of a compact network into a sequence of multiple consecutive linear layers, with no nonlinearities between them.
  • Use three distinct expansion strategies: (i) replacing a k×k convolution with 1×1, k×k, and 1×1 convolutions; (ii) replacing large-kernel convolutions (>3×3) with multiple 3×3 convolutions; (iii) expanding fully-connected layers into multiple linear layers.
  • Maintain equivalence between the expanded network and the original compact network by algebraically contracting the sequence of linear layers into a single equivalent linear transformation.
  • Leverage matrix-vector representations of convolutions to compute the equivalent weight matrix of the expanded layers using standard matrix multiplication.
  • Implement the expansion and contraction using PyTorch tensor operations, ensuring numerical equivalence and minimal computational overhead.
  • Train the expanded network (ExpandNet) end-to-end and then contract it back to the original architecture for inference.

Experimental results

Research questions

  • RQ1Can linear over-parameterization of compact convolutional networks improve training performance compared to training from scratch?
  • RQ2Does linear over-parameterization reduce gradient confusion during optimization in compact networks?
  • RQ3Can ExpandNets outperform knowledge distillation when training a compact network?
  • RQ4How does the choice of expansion strategy (e.g., kernel size replacement) affect the final performance of the compact model?
  • RQ5To what extent does linear over-parameterization improve generalization and loss landscape properties in compact networks?

Key findings

  • ExpandNets outperform training the compact network from scratch on ImageNet, PASCAL VOC, and Cityscapes benchmarks across image classification, object detection, and semantic segmentation.
  • ExpandNets achieve better performance than knowledge distillation from a larger teacher network on all evaluated tasks.
  • The expanded network shows reduced gradient confusion during training, as evidenced by more stable and less correlated gradients across layers.
  • Linear over-parameterization leads to flatter loss landscapes, which correlates with improved generalization.
  • The method is effective across different network architectures and tasks, with the kernel-size expansion strategy (replacing large kernels with multiple 3×3 convolutions) being particularly beneficial.
  • The algebraic contraction of the expanded network preserves the original model's parameters and inference behavior with numerical error below 1e-5.

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.