Back to Search Start Over

BACKPROPAGATION THROUGH BACK SUBSTITUTION WITHABACKSLASH.

Authors :
EDELMAN, ALAN
AKYÜREK, EKIN
YUYANG WANG
Source :
SIAM Journal on Matrix Analysis & Applications. 2024, Vol. 45 Issue 1, p429-449. 21p.
Publication Year :
2024

Abstract

We present a linear algebra formulation of backpropagation which allows the calculation of gradients by using a generically written "backslash"" or Gaussian elimination on triangular systems of equations. Generally, the matrix elements are operators. This paper has three contributions: (i) it is of intellectual value to replace traditional treatments of automatic differentiation with a (left acting) operator theoretic, graph-based approach; (ii) operators can be readily placed in matrices in software in programming languages such as Julia as an implementation option; (iii) we introduce a novel notation, "transpose dot"" operator "T." that allows for the reversal of operators. We further demonstrate the elegance of the operators approach in a suitable programming language consisting of generic linear algebra operators such as Julia [Bezanson et al., SIAM Rev., 59 (2017), pp. 65--98], and that it is possible to realize this abstraction in code. Our implementation shows how generic linear algebra can allow operators as elements of matrices. In contrast to "operator overloading,"" where backslash would normally have to be rewritten to take advantage of operators, with "generic programming"" there is no such need. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
08954798
Volume :
45
Issue :
1
Database :
Academic Search Index
Journal :
SIAM Journal on Matrix Analysis & Applications
Publication Type :
Academic Journal
Accession number :
177132701
Full Text :
https://doi.org/10.1137/22M1532871