1. Home
  2. Theories of Everything with Curt Jaimungal

Feb 20

Can quantum mechanics emerge from classical neural networks?

17 min → 2:15

Overview

A physicist joins Curt Jaimungal to explain how quantum mechanics can emerge naturally from the learning dynamics of classical neural networks.

3 things to know

Jaimungal claims quantum math needs discrete phase and extra neurons

Curt Jaimungal claims that after averaging out fast activations and applying stationary entropy production to slow variables, moving from Madelung equations to true quantum mechanics requires discrete phase changes and a shared pool of borrowable neurons.

More

When fast activation variables are integrated out and a stationary entropy production principle is applied to the slow, trainable variables, the system is described by the Madelung equations.

▶ Watch at 5:25

Jaimungal: Physicists can define temperature inside deep neural networks

Curt Jaimungal notes that because deep neural networks have fast activation dynamics and slow learning dynamics, physicists can analyze them statistically to define broad parameters like temperature and entropy inside machine learning architectures.

More

Deep neural networks contain massive degrees of freedom operating on two distinct timescales: fast activation dynamics and slow learning dynamics.

▶ Watch at 1:26

Jaimungal says describing AI and physics depends on observation scale

Curt Jaimungal explains that because microscopic loss functions and local rules yield broader field theories through Renormalization Group flow, the right descriptive language shifts from neural networks at small scales to cosmology at large scales.

More

Through the Renormalization Group (RG) flow, microscopic loss functions and local rules yield macroscopic field theories. This demonstrates that the correct language for describing a system changes depending on the level of observation (e.g., neural networks at the micro-scale, field theories at the meso-scale, and cosmology at the macro-scale).

Quotes

“For a Schrödinger equation, the system has to have access to a bath, to a reservoir of neurons that it can borrow... If you have this access... your dynamics effectively becomes linear... and described by the Schrödinger equation.”

▶ Watch at 7:32

“If you assume [stationary entropy production], the equations you derive from that are the Madelung equations... It's close to quantum, but it isn't quantum.”

▶ Watch at 5:25

“Neural networks... they would always say, 'Well, it's like a black box', black box meaning it works, we don't really know why... So I had time... and I said, 'Okay, why not just try to open this black box?'”

▶ Watch at 1:26

Full summary

Episode Overview

  • Explores how quantum mechanical behaviors can emerge naturally from the statistical optimization and learning dynamics of classical neural networks.
  • Documents the journey of "opening the black box" of machine learning by applying thermodynamic and physical principles to deep learning architectures.
  • Traces the mathematical progression from classical optimization to the Madelung equations, and ultimately to the linear Schrödinger equation.
  • Discusses the nature of interpretability in both physics and AI, explaining how the appropriate descriptive language shifts across different scales of complexity.

Key Concepts

  • Neural Networks as Thermodynamic Systems: Deep neural networks contain massive degrees of freedom operating on two distinct timescales: fast activation dynamics and slow learning dynamics. By analyzing these systems statistically, physicists can construct a "thermodynamics of machine learning" to define macroscopic parameters like temperature and entropy within neural architectures.
  • The Emergence of the Schrödinger Equation: When fast activation variables are integrated out and a stationary entropy production principle is applied to the slow, trainable variables, the system is described by the Madelung equations. To transition to true quantum mechanics, the system must exhibit phase discreteness (where phase can change by $2\pi$ without changing the dynamics) and have access to a reservoir of neurons (a grand canonical ensemble) that can be dynamically "borrowed" or returned.
  • Scale-Dependent Interpretability and RG Flow: Interpretability in both physics and AI relies on scale. Through the Renormalization Group (RG) flow, microscopic loss functions and local rules yield macroscopic field theories. This demonstrates that the correct language for describing a system changes depending on the level of observation (e.g., neural networks at the micro-scale, field theories at the meso-scale, and cosmology at the macro-scale).

Quotes

  • At 1:26 - "Neural networks... they would always say, 'Well, it's like a black box'—black box meaning it works, we don't really know why... So I had time... and I said, 'Okay, why not just try to open this black box?'" - Explaining the primary motivation for applying theoretical physics frameworks to understand deep learning architectures.
  • At 5:25 - "If you assume [stationary entropy production], the equations you derive from that are the Madelung equations... It's close to quantum, but it isn't quantum." - Clarifying the mathematical link between classical statistical optimization and quantum-like fluid equations.
  • At 7:32 - "For a Schrödinger equation, the system has to have access to a bath, to a reservoir of neurons that it can borrow... If you have this access... your dynamics effectively becomes linear... and described by the Schrödinger equation." - Detailing the physical mechanism (grand canonical ensemble of neurons) required to transition from classical optimization to true quantum behavior.

Takeaways

  • Apply a two-timescale analysis when modeling complex systems: separate fast-changing activation dynamics from slow-changing structural parameters to dramatically simplify the state space.
  • Utilize the grand canonical ensemble concept in network design: allow models to dynamically "hire" or "fire" parameters from a background reservoir to maintain linear, stable dynamics.
  • Assess systems at the appropriate scale of description: do not expect microscopic laws (like individual neuron weights or particle physics) to easily explain macroscopic behaviors (like semantic alignment or biology) without identifying the intermediate emergent layers.

Watch the full episode 17 min

Read along with the audio summary

Can quantum mechanical behaviors emerge naturally from the statistical optimization and learning dynamics of classical neural networks? That is the core question explored by the speaker in this episode. In this episode that came out on February twentieth, twenty twenty six, the speaker shares their journey of applying physical principles to deep learning architectures. By the end, you will learn how thermodynamics, quantum equations, and scale shape our understanding of machine learning.

Discover how physicists are opening the black box of artificial intelligence by treating neural networks like thermodynamic systems. People often call neural networks a black box because they work, yet we do not really know why. Deep neural networks contain massive degrees of freedom. These variables operate on two distinct timescales: fast activation dynamics and slow learning dynamics. By analyzing these systems statistically, physicists can construct a thermodynamics of machine learning. This allows them to define macroscopic parameters, such as temperature and entropy, right inside neural architectures. When you are modeling complex systems, try applying a two timescale analysis by separating fast changing activation dynamics from slow changing structural parameters to dramatically simplify the state space.

Building on this thermodynamic foundation, see how a classical learning network can actually give rise to the famous Schrödinger equation of quantum physics. When you average out those fast activation variables and apply a principle of stationary entropy production to the slow, trainable variables, the system is described by the Madelung equations. As the speaker notes, these quantum like fluid equations are close to quantum, but they are not quite quantum. To make the jump to true quantum mechanics and the linear Schrödinger equation, two things must happen. The system must exhibit phase discreteness, meaning its phase can change by two pi without altering the dynamics. It also needs access to a grand canonical ensemble, which is a background bath or reservoir of neurons that the network can dynamically borrow from or return to. In your own network designs, you can utilize this grand canonical ensemble concept by allowing models to dynamically hire or fire parameters from a background reservoir to maintain linear, stable dynamics.

Uncover why the secret to understanding both artificial intelligence and the universe depends entirely on the scale at which you look. Interpretability in both physics and artificial intelligence relies heavily on scale. Through a mathematical process called the Renormalization Group flow, microscopic loss functions and local rules give way to macroscopic field theories. This shows that the right language for describing a system changes depending on your level of observation. For instance, you might use neural networks at the micro scale, field theories at the meso scale, and cosmology at the macro scale. When you assess complex systems, evaluate them at the appropriate scale of description.

The big idea to carry with you is that applying theoretical physics to deep learning reveals how classical networks can exhibit emergent, quantum like behaviors across different scales. Do not expect microscopic laws like individual neuron weights or particle physics to easily explain macroscopic behaviors like semantic alignment or biology without identifying the intermediate emergent layers.

More from Theories of Everything with Curt Jaimungal

Related Episodes