Machines of Finite Depth: Towards a Formalization of Neural Networks
Pietro Vertechi, Mattia G. Bergomi
Abstract
We provide a unifying framework where artificial neural networks and their architectures can be formally described as particular cases of a general mathematical construction---machines of finite depth. Unlike neural networks, machines have a precise definition, from which several properties follow naturally. Machines of finite depth are modular (they can be combined), efficiently computable, and differentiable. The backward pass of a machine is again a machine and can be computed without overhead using the same procedure as the forward pass. We prove this statement theoretically and practically via a unified implementation that generalizes several classical architectures---dense, convolutional, and recurrent neural networks with a rich shortcut structure---and their respective backpropagation rules.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b7868c15-750a-489f-ae70-e891309920fcBuilds on3
- Monotone operator equilibrium networksEzra Winston, J. Zico KolterNeurIPS 2020 · 177 citations
- Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast GradientsWilliam S. Moses, Valentin ChuravyNeurIPS 2020 · 144 citations
- Joint inference and input optimization in equilibrium networksSwaminathan Gurumurthy, Shaojie Bai, Zachary Manchester, J. Zico KolterNeurIPS 2021 · 22 citations
Related papers
- The Uncanny Similarity of Recurrence and DepthAvi Schwarzschild, Arjun Gupta, Amin Ghiasi, Micah Goldblum et al.ICLR 2022 · 11 citations
- SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networks at the EdgeMahdi Nikdan, Tommaso Pegolotti, Eugenia Iofinova, Eldar Kurtic et al.ICML 2023 · 14 citations
- Meta Learning Backpropagation And Improving ItLouis Kirsch, Jürgen SchmidhuberNeurIPS 2021 · 70 citations
- Compositional Generalization Across Distributional Shifts with Sparse Tree OperationsPaul Soulos, Henry Conklin, Mattia Opper, Paul Smolensky et al.NeurIPS 2024 · 8 citations
- Modeling Structure with Undirected Neural NetworksTsvetomila Mihaylova, Vlad Niculae, André F. T. MartinsICML 2022 · 1 citation
