Convolutions and More as Einsum: A Tensor Network Perspective with Advances for Second-Order Methods
원문 초록
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.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
NysAct: A Scalable Preconditioned Gradient Descent using Nystrom Approximation
A tensor network approach for chaotic time series prediction
Towards Practical Second-Order Optimizers in Deep Learning: Insights from Fisher Information Analysis
Quantum Methods for Managing Ambiguity in Natural Language Processing
SASSHA: Sharpness-aware Adaptive Second-order Optimization with Stable Hessian Approximation
tn4ml: Tensor Network Training and Customization for Machine Learning
토론
이 논문과 연결된 포럼 글이 아직 없습니다.