Orthogonalizing Convolutional Layers with the Cayley Transform

Asher Trockman, J. Zico Kolter
4/14/2021
cs.LGstat.ML

Official code: locuslab/orthogonal-convolutions (48 stars, Jupyter Notebook, MIT, last commit 2021-04-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Implementations of orthogonal and semi-orthogonal convolutions in the Fourier domain with applications to adversarial robustness

487Jupyter Notebook, PythonMar 13, 20215 years agoMIT

Similar Papers

Cite this paper

@article{trockman2021orthogonalizing,
  title  = {Orthogonalizing Convolutional Layers with the Cayley Transform},
  author = {Asher Trockman and J. Zico Kolter},
  year   = {2021},
  eprint = {2104.07167},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07167}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07167.svg)](https://codeofpaper.com/paper/2104.07167)

Discussion