Deep learning models formalized with new data flow mathematics
Grab, Drop, Glue: Formalizing Deep Learning's Data Flows
Machine Learning
Summary
Deep learning models work like special math functions, but they have unique behaviors that make them hard to describe mathematically. The authors find that these models pass data in complicated ways, including saving information for learning and sometimes using randomness. To better understand and improve deep learning, the authors create a new formal system called the heterogeneous taped category that captures these complex data flows. This approach helps bring clearer mathematical understanding to how deep learning works internally.
What this means in practice
- •For machine learning engineers: Design and optimize deep learning models by leveraging a formal framework that accurately describes internal data flows and learning dynamics.
- •For software developers for ai systems: Build more reliable and maintainable AI software by understanding and structuring model components according to this formal data flow representation.
A theory result. No direct application yet.
Authors
Vincent Abbott, Gioele Zardini
Abstract
Deep learning models implement a mathematical function. Simple enough -- but these functions behave in a manner not found in other fields of mathematics, complicating a mathematical analysis. Functions are broadcast over additional axes, load parameters, save values for backpropagation, and in some cases have random aspects and are hence better described as Markov processes. Components are modules, and their composition captures all these dynamics at once. Indeed, models exhibit additional atypical data transfer dynamics, reusing values and even employing LIFO tapes as in UNets. This packaged, heterogeneous, modular form of deep learning components is critical for developing a perspective which captures and optimizes processes such as backpropagation. In this work, we introduce the heterogeneous taped category to capture these dynamics formally, bringing us closer to developing a mathematically tractable form of deep learning models.