Skip to main content
QUICK REVIEW

[Paper Review] Modularized Morphing of Neural Networks

Tao Wei, Changhu Wang|arXiv (Cornell University)|Jan 12, 2017
Advanced Memory and Neural ComputingEngineering11 references12 citations
TL;DR

This paper proposes a modularized network morphism framework that enables a single convolutional layer to be systematically morphed into any arbitrary neural network module by formulating morphing as a graph transformation problem on a directed acyclic graph (DAG) abstraction of modules. The method introduces two atomic morphing operations to handle both simple and complex modules, achieving up to 25% relative accuracy improvement over ResNet with only 1.2x computational cost, demonstrating significant performance gains through knowledge-preserving architectural evolution.

ABSTRACT

In this work we study the problem of network morphism, an effective learning scheme to morph a well-trained neural network to a new one with the network function completely preserved. Different from existing work where basic morphing types on the layer level were addressed, we target at the central problem of network morphism at a higher level, i.e., how a convolutional layer can be morphed into an arbitrary module of a neural network. To simplify the representation of a network, we abstract a module as a graph with blobs as vertices and convolutional layers as edges, based on which the morphing process is able to be formulated as a graph transformation problem. Two atomic morphing operations are introduced to compose the graphs, based on which modules are classified into two families, i.e., simple morphable modules and complex modules. We present practical morphing solutions for both of these two families, and prove that any reasonable module can be morphed from a single convolutional layer. Extensive experiments have been conducted based on the state-of-the-art ResNet on benchmark datasets, and the effectiveness of the proposed solution has been verified.

Motivation & Objective

  • To address the limitation of prior network morphism methods that operate only at the layer level, which results in a prohibitively large morphing space for deep networks.
  • To investigate whether and how a single convolutional layer can be morphed into any arbitrary neural network module, establishing theoretical and practical foundations for modular morphing.
  • To develop a unified, generalizable morphing solution applicable to modern modular architectures like ResNet, enabling efficient architecture search and performance boosting.
  • To provide a systematic framework that classifies modules into simple and complex families and offers tailored morphing algorithms for each, ensuring morphability to any reasonable module.

Proposed method

  • Abstracts a neural network module as a directed acyclic graph (DAG), where data blobs are vertices and convolutional layers are edges, enabling graph-based representation of network structure.
  • Introduces two atomic morphing operations—split and merge—as the fundamental building blocks for transforming the graph representation of a module.
  • Classifies modules into two families: simple morphable modules (amenable to direct morphing via atomic operations) and complex modules (requiring reduction to irreducible forms before morphing).
  • Proposes a reduction algorithm to simplify complex modules into irreducible forms, followed by solving the network morphism equation for the irreducible component to enable morphing.
  • Extends blob and filter dimensions to infinity to resolve dimension compatibility issues in graph abstraction, ensuring convergence and theoretical validity.
  • Applies the morphing scheme to state-of-the-art ResNet architectures, enabling performance gains through minimal computational overhead and continued training.

Experimental results

Research questions

  • RQ1Can a single convolutional layer be morphed into any arbitrary neural network module while preserving the network function?
  • RQ2What are the fundamental operations required to enable morphing at the module level, rather than the layer level?
  • RQ3How can morphing be systematically generalized to both simple and complex neural network modules?
  • RQ4What is the theoretical upper bound of morphing capability in terms of architectural flexibility and performance gain?
  • RQ5Can the morphing scheme be practically applied to modern modular networks like ResNet to achieve significant performance improvements with minimal computational cost?

Key findings

  • The morphed 20-layer network achieved a 6.60% top-1 error rate on CIFAR-10, outperforming the 110-layer ResNet (6.61%) with only ~1/5 of the computational cost.
  • The morphed 56-layer network achieved 5.37% error rate on CIFAR-10, surpassing both ResNet-110 (6.61%) and ResNet-164 (5.46%).
  • On CIFAR-100, the morphed 56-layer network achieved 27.52% error rate, outperforming the 110-layer ResNet (28.46%) with approximately half the computation.
  • On ImageNet, the morphed 18-layer network (morph18_1c1) achieved 31.69% top-1 error rate (1-view), a 0.87% absolute improvement over ResNet-18, with only 1.06x FLOP.
  • The morphed 34-layer network (morph34_1c1) achieved 27.90% top-1 error rate (1-view), a 1.18% absolute improvement over ResNet-34, with 1.08x FLOP.
  • The morphing scheme achieved up to 32.6% relative performance improvement over training from scratch on the morph110_1c1 architecture, demonstrating regularization benefits and reduced risk of poor local minima.

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.