auto-fpt: Automating Free Probability Theory Calculations for Machine Learning Theory
Subramonian, Arjun, Dohmatob, Elvis
–arXiv.org Artificial Intelligence
A large part of modern machine learning theory often involves computing the high-dimensional expected trace of a rational expression of large rectangular random matrices. To symbolically compute such quantities using free probability theory, we introduce auto-fpt, a lightweight Python and SymPy-based tool that can automatically produce a reduced system of fixed-point equations which can be solved for the quantities of interest, and effectively constitutes a theory. We overview the algorithmic ideas underlying auto-fpt and its applications to various interesting problems, such as the high-dimensional error of linearized feed-forward neural networks, recovering well-known results. We hope that auto-fpt streamlines the majority of calculations involved in high-dimensional analysis, while helping the machine learning community reproduce known and uncover new phenomena.
arXiv.org Artificial Intelligence
Apr-16-2025
- Country:
- Asia > Russia (0.04)
- Europe > Russia (0.04)
- North America > United States
- California > Los Angeles County > Los Angeles (0.14)
- Genre:
- Research Report (0.40)
- Technology: