Skip to main content
QUICK REVIEW

[Paper Review] Orthogonalizing Convolutional Layers with the Cayley Transform

Asher Trockman, J. Zico Kolter|arXiv (Cornell University)|Apr 14, 2021
Adversarial Robustness in Machine LearningComputer Science50 references11 citations
TL;DR

This paper proposes a novel method to directly parameterize orthogonal convolutional layers using the Cayley transform in the Fourier domain, enabling efficient inverse computation and high-precision orthogonality. The approach achieves state-of-the-art certified adversarial robustness for ℓ₂-bounded attacks while scaling to larger networks, outperforming prior Lipschitz-constrained and orthogonal convolution methods.

ABSTRACT

Recent work has highlighted several advantages of enforcing orthogonality in the weight layers of deep networks, such as maintaining the stability of activations, preserving gradient norms, and enhancing adversarial robustness by enforcing low Lipschitz constants. Although numerous methods exist for enforcing the orthogonality of fully-connected layers, those for convolutional layers are more heuristic in nature, often focusing on penalty methods or limited classes of convolutions. In this work, we propose and evaluate an alternative approach to directly parameterize convolutional layers that are constrained to be orthogonal. Specifically, we propose to apply the Cayley transform to a skew-symmetric convolution in the Fourier domain, so that the inverse convolution needed by the Cayley transform can be computed efficiently. We compare our method to previous Lipschitz-constrained and orthogonal convolutional layers and show that it indeed preserves orthogonality to a high degree even for large convolutions. Applied to the problem of certified adversarial robustness, we show that networks incorporating the layer outperform existing deterministic methods for certified defense against $\ell_2$-norm-bounded adversaries, while scaling to larger architectures than previously investigated. Code is available at https://github.com/locuslab/orthogonal-convolutions.

Motivation & Objective

  • To address the lack of direct, scalable, and expressive parameterizations for orthogonal convolutional layers.
  • To overcome the limitations of heuristic penalty methods and kernel reshaping in enforcing orthogonality for convolutions.
  • To enable high-precision orthogonality in large-scale convolutional networks without relying on iterative projections or spectral normalization.
  • To improve certified adversarial robustness for ℓ₂-norm-bounded perturbations using a deterministic, gradient-norm-preserving layer.
  • To provide a parameterization that maintains orthogonality in 32-bit precision across diverse architectures and channel counts.

Proposed method

  • The method applies the Cayley transform to a skew-symmetric convolution in the Fourier domain to ensure the resulting weight matrix is orthogonal.
  • It leverages the Fourier domain to efficiently compute the inverse convolution required by the Cayley transform, avoiding expensive matrix inversions.
  • The parameterization directly enforces orthogonality by construction, avoiding optimization-based penalty or projection methods.
  • The approach is compatible with standard convolutional neural network architectures and supports arbitrary kernel sizes and channel dimensions.
  • The method is implemented in PyTorch and released with code at https://github.com/locuslab/orthogonal-convolutions.
  • The forward pass includes a pre-hook to reshape input tensors when stride=2, preserving spatial dimensions via einops rearrangement.

Experimental results

Research questions

  • RQ1Can a direct, expressive, and scalable parameterization of orthogonal convolutions be achieved without relying on iterative projections or kernel reshaping?
  • RQ2Does the Fourier-domain Cayley transform enable high-precision orthogonality in large convolutions under 32-bit floating-point arithmetic?
  • RQ3Can such a layer improve certified adversarial robustness for ℓ₂-norm-bounded attacks compared to existing Lipschitz-constrained and orthogonal convolution methods?
  • RQ4How does the performance of the Cayley-based orthogonal convolution scale across different network depths and widths?
  • RQ5Does the layer maintain gradient-norm preservation and stability in training without batch normalization or residual connections?

Key findings

  • The proposed Cayley-based orthogonal convolution maintains orthogonality to high precision in 32-bit floating-point arithmetic, even for large kernels and high channel counts.
  • The method outperforms existing deterministic certified defense methods in terms of certified robust accuracy on ℓ₂-bounded adversarial attacks.
  • The layer enables state-of-the-art certified robustness on larger architectures than previously explored in the literature.
  • The network with the Cayley layer achieves strong robustness without adversarial training, indicating inherent stability from orthogonality.
  • The method scales effectively to deeper and wider networks, demonstrating superior performance compared to BCOP and spectral normalization-based approaches.
  • Empirical results confirm that the layer preserves gradient norms and stabilizes activations, supporting its role as a batch normalization alternative.

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.