Convolutions and More as Einsum: A Tensor Network Perspective with Advances for Second-Order Methods
Not on the map. Why?
Abstract (arXiv)
Despite their simple intuition, convolutions are more tedious to analyze than dense layers, which complicates the transfer of theoretical and algorithmic ideas to convolutions. We simplify convolutions by viewing them as tensor networks (TNs) that allow reasoning about the underlying tensor multiplications by drawing diagrams, manipulating them to perform function transformations like differentiation, and efficiently evaluating them with einsum. To demonstrate their simplicity and expressiveness, we derive diagrams of various autodiff operations and popular curvature approximations with full hyper-parameter support, batching, channel groups, and generalization to any convolution dimension. Further, we provide convolution-specific transformations based on the connectivity pattern which allow to simplify diagrams before evaluation. Finally, we probe performance. Our TN implementation accelerates a recently-proposed KFAC variant up to 4.5x while removing the standard implementation's memory overhead, and enables new hardware-efficient tensor dropout for approximate backpropagation.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Jul 2023.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2023: 2; 2024: 2.
4 papers.
- 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 2023Structured Inverse-Free Natural Gradient: Memory-Efficient & Numerically-Stable KFACcited by 9
- 2024Tensor network compressibility of convolutional modelscited by 2
- 2024Tensor network compressibility of convolutional models21 Mar 2024
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective5 Feb 2024
- 2023Structured Inverse-Free Natural Gradient: Memory-Efficient & Numerically-Stable KFAC9 Dec 2023
- 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architectures1 Nov 2023