Premium Only Content

ActInf GuestStream 092.1 ~ Max Aifer: "Thermodynamic Linear Algebra"
"Thermodynamic Linear Algebra"
Maxwell Aifer, Kaelan Donatella, Max Hunter Gordon, Samuel Duffield, Thomas Ahle, Daniel Simpson, Gavin E. Crooks, Patrick J. Coles
[Submitted on 10 Aug 2023 (v1), last revised 10 Jun 2024 (this version, v2)]
https://arxiv.org/abs/2308.05660
Linear algebraic primitives are at the core of many modern algorithms in engineering, science, and machine learning. Hence, accelerating these primitives with novel computing hardware would have tremendous economic impact. Quantum computing has been proposed for this purpose, although the resource requirements are far beyond current technological capabilities, so this approach remains long-term in timescale. Here we consider an alternative physics-based computing paradigm based on classical thermodynamics, to provide a near-term approach to accelerating linear algebra.
At first sight, thermodynamics and linear algebra seem to be unrelated fields. In this work, we connect solving linear algebra problems to sampling from the thermodynamic equilibrium distribution of a system of coupled harmonic oscillators. We present simple thermodynamic algorithms for (1) solving linear systems of equations, (2) computing matrix inverses, (3) computing matrix determinants, and (4) solving Lyapunov equations. Under reasonable assumptions, we rigorously establish asymptotic speedups for our algorithms, relative to digital methods, that scale linearly in matrix dimension. Our algorithms exploit thermodynamic principles like ergodicity, entropy, and equilibration, highlighting the deep connection between these two seemingly distinct fields, and opening up algebraic applications for thermodynamic computing hardware.
[Submitted on 2 Oct 2024]
Thermodynamic Bayesian Inference
https://arxiv.org/abs/2410.01793
Maxwell Aifer, Samuel Duffield, Kaelan Donatella, Denis Melanson, Phoebe Klett, Zach Belateche, Gavin Crooks, Antonio J. Martinez, Patrick J. Coles
A fully Bayesian treatment of complicated predictive models (such as deep neural networks) would enable rigorous uncertainty quantification and the automation of higher-level tasks including model selection. However, the intractability of sampling Bayesian posteriors over many parameters inhibits the use of Bayesian methods where they are most needed. Thermodynamic computing has emerged as a paradigm for accelerating operations used in machine learning, such as matrix inversion, and is based on the mapping of Langevin equations to the dynamics of noisy physical systems. Hence, it is natural to consider the implementation of Langevin sampling algorithms on thermodynamic devices. In this work we propose electronic analog devices that sample from Bayesian posteriors by realizing Langevin dynamics physically. Circuit designs are given for sampling the posterior of a Gaussian-Gaussian model and for Bayesian logistic regression, and are validated by simulations. It is shown, under reasonable assumptions, that the Bayesian posteriors for these models can be sampled in time scaling with ln(d), where d is dimension. For the Gaussian-Gaussian model, the energy cost is shown to scale with dln(d). These results highlight the potential for fast, energy-efficient Bayesian inference using thermodynamic computing.
Active Inference Institute information:
Website: https://activeinference.org/
Twitter: https://twitter.com/InferenceActive
Discord: https://discord.gg/8VNKNp4jtx
YouTube: https://www.youtube.com/c/ActiveInference/
Active Inference Livestreams: https://coda.io/@active-inference-institute/livestreams
-
33:32
ZeeeMedia
1 day agoKidnapping Cover-Up, Unvaxxed Kids Healthier, EU's New World War | Daily Pulse Ep 105
29.7K30 -
11:04
Nate The Lawyer
3 days ago $9.77 earnedJudge, Mayor & 13 Democrats Arrested In Massive Mail-In Voter Fraud Scandal
33.4K45 -
50:15
daniellesmithab
1 day agoKick-Starting Careers for Young Albertans
24.7K1 -
39:01
Stephen Gardner
18 hours ago🔥This Will Leave You FURIOUS... What’s Really Going On?
87.6K149 -
19:33
DeVory Darkins
20 hours ago $14.57 earnedBREAKING: Charlie Kirk's shooter in custody after making chilling confession
52.4K168 -
2:12:43
TimcastIRL
14 hours agoErika Kirk Addresses Public After Charlie Kirk Assassination, Live Coverage | Timcast IRL
447K454 -
30:59
The Charlie Kirk Show
13 hours agoCharlie Kirk's beloved wife, Mrs. Erika Kirk addresses the Nation.
598K1.73K -
1:53:28
Man in America
21 hours agoLIVE: Assassin Arrested? Civil War? Are We Being Played?? | LET'S TALK
134K210 -
2:10:33
Badlands Media
19 hours agoOnlyLands Ep. 24: Processing Tragedy, Cancel Culture, and the Next Spark
93K35 -
2:27:53
TheSaltyCracker
14 hours agoGot Him ReeEEStream 9-12-25
311K494