Inferential Engines
Alex Alemi
Google Research
@ Aspen 2023
By Phanatic - Parthenon, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=82609062
Digitized from NPR - Two Centuries of Energy in America in Four Graphs https://www.npr.org/sections/money/2013/04/10/176801719/two-centuries-of-energy-in-america-in-four-graphs
Digitized from NPR - Two Centuries of Energy in America in Four Graphs https://www.npr.org/sections/money/2013/04/10/176801719/two-centuries-of-energy-in-america-in-four-graphs
Wood
Fossil Fuels
By Amcyrus2012 - Own work, CC BY 4.0, https://commons.wikimedia.org/w/index.php?curid=37728056
Among the materials that are dug because they are useful, those known as coals are made of earth, and, once set on fire, they burn like charcoal. They are found in Liguria... and in Elis as one approaches Olympia by the mountain road; and they are used by those who work in metals. - On stones, Theophrastus (c. 371 - 287 BC)
Digitized from NPR - Two Centuries of Energy in America in Four Graphs https://www.npr.org/sections/money/2013/04/10/176801719/two-centuries-of-energy-in-america-in-four-graphs
1712: Newcomen's atmospheric engine
1774: James Watt
1804: Trevithick
Digitized from NPR - Two Centuries of Energy in America in Four Graphs https://www.npr.org/sections/money/2013/04/10/176801719/two-centuries-of-energy-in-america-in-four-graphs
1712: Newcomen's atmospheric engine
1774: James Watt
1804: Trevithick
1824: Carnot
1892: Diesel
50x
Digitized from NPR - Two Centuries of Energy in America in Four Graphs https://www.npr.org/sections/money/2013/04/10/176801719/two-centuries-of-energy-in-america-in-four-graphs
Heating
Work
~80 W
~4 kW
Waste Heat
By Ricardo Liberato - All Gizah Pyramids, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=2258048
Training Compute-Optimal Large Language Models. Hoffmann et al. [2203.15556]
What are we missing?
Scaling Laws
Stochastic Thermodynamics
Jarzynski Equality
Crooks Fluctuation Theorem
Generalized Landauer Bounds
Thermodynamic Uncertainty Relations
Thermodynamic Speed Limits
Information Engines
Generalized Szilard Engines
e.g. Udo Seifert, David Wolpert, Susanne Still, David Sivak, Chris Jarzynski, Gavin Crooks, ...
It's
Diffusion
It's VB
It's the Generalized Landauer Bound
It's Non-Eq Free Energy
It's ELBO
It's IB
Modified from https://www.science.org/doi/10.1126/scitranslmed.3002981
KL is Nonnegative
KL is Monotonic
Variational Autoencoders (VAEs)
Generative Process (Reverse)
Representational Process (Forward)
ELBO
Distortion
Rate
Negative Log Likelihood
Data Entropy
Fixing a Broken ELBO - Alemi et al. [1711.00464]
Generalized Landauer Bound
Entropy Change
Entropy Flow
Entropy Production
=
+
Ensemble and Trajectory Thermodynamics: A Brief Introduction - Van den Broeck & Esposito - [1403.1777]
Where are the Heat Baths?
Where is the Microscopic Reversibility?
Gaussians are Affine Flows
VAEs
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
VAEs are Conditional Bijective Flows
Forward
Forward
3900
200
1100
210
Reverse
Reverse
3900
200
1100
210
Reconstruction | Lossy Compression
Reconstruction | Lossy Compression
210
3900
Lossless Compression
Lossless Compression
750
210
3900
Lossless Compression
750
210
3900
190
Bits-Back
Bits-Back
750
210
190
3900
Bits-Back w/Letters
Bits-Back w/Letters
880
210
190
3900
Bits-Back w/Noise
Bits-Back w/Noise
5000
230
190
1100
Universal Compression is Impossible
Finite Size Bath
Warning: Flashing Video!
Finite Heat Bath
Finite Size Bath
t=0
Finite Size Bath
t=3k
Finite Size Bath
t=6k
Finite Size Bath
t=9k
Finite Size Bath
t=12k
Finite Size Bath
t=15k
It's TURs
It's VB
It's the Generalized Landauer Bound
It's Non-Eq Free Energy
It's ELBO
It's IB
FIN
(THE END)
Jarzynski Equality
Jarzynski Equality
Thermodynamic Uncertainty Relations
Speed Limits