Generative AI and Stochastic Thermodynamics
A Tale of Free Energies
Max Welling author Sirui Lu author Lars Holdijk author
Format:Paperback
Publisher:Cambridge University Press
Publishing:20th Aug '26
£28.00
This title is due to be published on 20th August, and will be despatched as soon as possible.
This paperback is available in another edition too:
- Hardback£70.00(9781009709064)

A timely text providing a unifying perspective on the mathematics of generative AI and stochastic thermodynamics.
Bridging the gap between stochastic thermodynamics and generative AI, this book will interest those working in either discipline, as well as physicists hoping to enter the field of AI. It covers the fundamental concepts before progressing to more advanced methods and encourages the reader to build their intuition.Originating from lectures delivered at the African Institute of Mathematical Sciences, this book presents a unifying perspective on traditional and modern methods in generative AI and stochastic thermodynamics. By relating the core topics in machine learning to the notion of (variational) free-energy, a bridge is built between methods such as latent variable models, variational auto-encoders, optimal control, optimal transport, normalizing flows and diffusion models and concepts such as entropy production and fluctuation theorems in stochastic thermodynamics. Structured into three main parts, the book commences by setting up the required mathematical and statistical physics preliminaries needed to make it broadly accessible. The largest part of the book then focuses on building intuition of major advances in generative AI by considering discrete time processes and their relationship to topics in stochastic thermodynamics. Finally, the authors take a short excursion to the continuous time domain for the more advanced learner.
'Just as thermodynamics proved key to understanding the age of steam, stochastic thermodynamics will prove key to understanding the age of AI. This book is the first comprehensive guide to the principles of stochastic thermodynamics and how they relate to modern AI. It is much needed and will be widely read.' Neil Lawrence, University of Cambridge
'Generative AI now shapes science and industry, but its conceptual underpinnings are often opaque even to those who use it daily. This text develops an elegant unifying perspective grounded in the physics of stochastic thermodynamics — an angle no other book has explored at this depth. An inspiring resource for researchers in both fields.' Miranda Cheng, Academia Sinica
'In Generative AI and Stochastic Thermodynamics, Max Welling achieves something rare and thrilling: a beautiful marriage of two deep and historically separate fields, weaving together the principles of modern AI with the elegant formalism of statistical physics. Complex ideas are presented with remarkable clarity and care, never sacrificing mathematical rigor for the sake of accessibility, yet remaining wonderfully approachable throughout. This book is an essential read for anyone working at the intersection of AI and the physical sciences, and I have no doubt it will inspire a new generation of cross-disciplinary thinking.' Rose Yu, UC San Diego
'Generative AI and statistical physics keep rediscovering each other's ideas under different names. This book presents both fields in the same framework and is the most interesting textbook I have read this year. It taught me new things about areas I thought I knew well. I strongly recommend it for anyone interested in AI and physics.' Jascha Sohl-Dickstein, Anthropic
'This book describes the surprising connection between probabilistic machine learning and non-equilibrium thermodynamics. In particular the concept of variational free energy acts as the connecting bridge between these fields. In generative AI, diffusion models further underscore this deep mathematical relationship. By exposing this surprising connection, the book will hopefully catalyse new developments in the rich field of AI+Science.' Geoffrey Hinton, Professor Emeritus, University of Toronto
ISBN: 9781009709033
Dimensions: unknown
Weight: unknown
307 pages