Skip to main content
QUICK REVIEW

[Paper Review] Convolutional Neural Networks as 2-D systems

Dennis Gramlich, Patricia Pauli|arXiv (Cornell University)|Jan 1, 2023
Model Reduction and Neural NetworksPhysics and Astronomy3 citations
TL;DR

This paper introduces a 2-D systems representation of convolutional neural networks (CNNs) by modeling convolutional layers as 2-D linear time-invariant systems, enabling a 2-D Luré system formulation. Using dissipativity theory and convex optimization, it derives a computationally efficient method for estimating the Lipschitz constant of CNNs, which is critical for robustness against adversarial attacks, and demonstrates superior computational feasibility over existing methods like LipSDP, especially for larger networks.

ABSTRACT

This paper introduces a novel representation of convolutional Neural Networks (CNNs) in terms of 2-D dynamical systems. To this end, the usual description of convolutional layers with convolution kernels, i.e., the impulse responses of linear filters, is realized in state space as a linear time-invariant 2-D system. The overall convolutional Neural Network composed of convolutional layers and nonlinear activation functions is then viewed as a 2-D version of a Lur'e system, i.e., a linear dynamical system interconnected with static nonlinear components. One benefit of this 2-D Lur'e system perspective on CNNs is that we can use robust control theory much more efficiently for Lipschitz constant estimation than previously possible.

Motivation & Objective

  • To address the lack of efficient robust control-based methods for estimating the Lipschitz constant of CNNs.
  • To bridge control theory and deep learning by representing CNNs as 2-D dynamical systems, leveraging established 2-D systems theory.
  • To enable scalable Lipschitz constant estimation for multi-layer CNNs, including fully connected layers, using convex optimization.
  • To overcome computational limitations of existing methods like LipSDP, which fail due to excessive memory usage on moderate-sized CNNs.
  • To provide a theoretically grounded, computationally tractable approach for assessing adversarial robustness in CNNs.

Proposed method

  • Represent each convolutional layer as a 2-D linear time-invariant (LTI) system using state-space realizations based on Roesser or Fornasini-Marchesini models.
  • Formulate the entire CNN as a 2-D Luré system, where the linear 2-D system is interconnected with static, sector-bounded nonlinearities (e.g., ReLU).
  • Apply dissipativity theory to derive a convex optimization problem (a semidefinite program) for bounding the Lipschitz constant of the CNN.
  • Use linear fractional representations (LFRs) of convolution kernel transfer functions to construct the 2-D system model, enabling efficient computation via tools like the one in [47].
  • Solve the resulting convex optimization problem using solvers like Mosek to compute upper bounds on the Lipschitz constant.
  • Validate the method on MNIST-classifying CNNs with two convolutional layers and two fully connected layers, comparing performance with LipSDP and Toeplitz norm methods.

Experimental results

Research questions

  • RQ1Can convolutional neural networks be effectively modeled as 2-D dynamical systems to enable robust control-based analysis?
  • RQ2Does the 2-D Luré system formulation allow for more computationally efficient Lipschitz constant estimation than existing robust control methods for CNNs?
  • RQ3How does the proposed method scale with network size and input dimension, particularly in comparison to memory-intensive approaches like LipSDP?
  • RQ4What is the trade-off between tightness of the Lipschitz upper bound and computational cost in the 2-D systems framework?
  • RQ5Can the 2-D systems approach handle hybrid architectures combining convolutional and fully connected layers in a unified framework?

Key findings

  • The 2-D systems approach computes a Lipschitz constant upper bound of 23.9 for a 28×28 MNIST CNN in 82.7 seconds, significantly faster than LipSDP, which required 334 seconds and produced a tighter bound of 12.0.
  • For a reduced 14×14 input size, the 2-D method achieved a bound of 23.9 in 82.7 seconds, while LipSDP ran out of memory for the same problem.
  • The 2-D approach remained computationally feasible even for larger networks, with a 28×28 input requiring 1550 seconds and yielding a bound of 18.9, demonstrating scalability.
  • The Lipschitz upper bound from the 2-D method was looser than LipSDP’s (23.9 vs. 12.0), but the trade-off was essential for computational feasibility on larger networks.
  • The method successfully enabled Lipschitz estimation for a full CNN architecture including ReLU activations and fully connected layers, which previous 2-D control-based methods had not addressed.
  • The results confirm that 2-D systems theory provides a computationally viable and scalable framework for robustness analysis of CNNs, especially where traditional methods fail due to memory constraints.

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.