1. Home
  2. The Gradient

Jul 11, 2024

Why physics and AI clash over explanations

David Pfau

120 min → 2:20

Overview

David Pfau examines the tension between theoretical physics and modern machine learning, detailing his research on using differential geometry to untangle data and the limits of self-play for achieving general intelligence.

3 things to know

Pfau uses differential geometry to untangle factors in data

David Pfau uses principles from differential geometry, such as the de Rham decomposition, while treating entangled factors of variation in data as dimensions of a product manifold to discover underlying structure.

▶ Watch at 55:42

Pfau: Disentangling data needs the right way to measure distance

David Pfau notes that having the correct metric for measuring distances between data points is a crucial and often difficult prerequisite, an insight on which the success of geometric deep learning methods often hinges.

▶ Watch at 1:01:09

Pfau explores spectral methods to shrink high-dimensional data

David Pfau explores the core task of mapping high-dimensional data to low-dimensional embeddings through classical spectral methods, alongside approaches like autoencoders and contrastive learning.

▶ Watch at 6:58

Also in this episode

The Gradient says physics seeks explanations while ML chases scores

The Gradient Podcast contrasts the physics-oriented pursuit of simple, explanatory theories with the engineering-driven machine learning focus on improving performance on a test set.

Pfau follows his own research passions over popular trends

David Pfau chooses to pursue his own unique research interests despite pressure to follow popular trends, reflecting a slow research approach that values deep, intrinsically interesting, and interdisciplinary questions even if it means a slower career trajectory.

▶ Watch at 1:13:37

The Gradient argues self-play struggles in the messy real world

The Gradient Podcast presents the argument that while self-play is highly effective in domains with formally specified rules like games, it is not a straightforward solution for training general intelligence in the messy, open-ended real world.

▶ Watch at 1:25:58

The Gradient: Science AI works alone or helps humans

The Gradient Podcast distinguishes between building autonomous AI research agents and integrating AI as a powerful tool inside existing scientific workflows to enhance human understanding.

Quotes

“I probably should have called the paper, 'The metric is all you need for disentangling.'”

▶ Watch at 1:01:09

“We don't understand how the brain works, so let's fit a neural network to it. Now we don't understand how the neural network works.”

▶ Watch at 6:58

“The real world doesn't have rules. It doesn't have rules that you can formally specify like a game.”

▶ Watch at 1:25:58

2 more quotes

“and he just says, 'Oh, you're thinking of the de Rham decomposition.'”

▶ Watch at 55:42

“I was worried that... I had kind of missed out, you know, missed the opportunity to to have the career that I wanted to. And... you know, I've been given this opportunity to follow through on a lot of the crazy ideas that I've had. And to think, well, okay, this is... Is this really like where the field is right now? Is this really the way to maximize my impact? ... I sort of say, you know, no, look, you get one life.”

▶ Watch at 1:13:37

Full summary

Episode Overview

  • The podcast explores the tension between the theory-driven culture of physics, which seeks elegant explanations, and the performance-driven culture of modern machine learning, which often prioritizes predictive accuracy.
  • Guest David Pfau details his research journey, from applying concepts of spectral methods and dimensionality reduction to developing "Geomancer," an algorithm that uses differential geometry to disentangle factors of variation in data.
  • The conversation highlights the practical challenges in applying theoretically pure ideas to real-world data, emphasizing how foundational choices, like the metric used to measure distance, can be more critical than the algorithm itself.
  • The discussion concludes with reflections on the future of AI, critiquing the limits of self-play for achieving general intelligence and championing a "slow research" philosophy focused on bridging disparate fields to ask novel questions.

Key Concepts

  • AI for Science: The distinction between building autonomous AI research agents and integrating AI as a powerful tool into existing scientific workflows to enhance human understanding.
  • Physics vs. ML Culture: A central theme contrasting the physics-oriented pursuit of parsimonious, explanatory theories with the engineering-driven ML focus on improving performance on a test set ("number goes up").
  • Dimensionality Reduction: The core task of mapping high-dimensional data to low-dimensional embeddings, explored through classical spectral methods, autoencoders, and contrastive learning.
  • Manifold Factorization: The concept of treating entangled factors of variation in data as dimensions of a product manifold and using principles from differential geometry, like the de Rham decomposition and holonomy, to discover this underlying structure.
  • The Limits of Self-Play: The argument that self-play, while highly effective in domains with formally specified rules like games, is not a straightforward solution for training general intelligence in the messy, open-ended real world.
  • The Importance of the Metric: The critical insight that the success of geometric deep learning methods often hinges on having the correct way to measure distances between data points, a prerequisite that is often difficult to achieve.
  • "Slow Research" Philosophy: A research approach that values pursuing deep, intrinsically interesting, and interdisciplinary questions over chasing popular trends, even if it means a slower career trajectory.

Quotes

  • At 6:58 - "We don't understand how the brain works, so let's fit a neural network to it. Now we don't understand how the neural network works." - David Pfau summarizing the problem of using complex, black-box models to explain already complex systems, which can obscure rather than provide explanatory insight.
  • At 55:42 - "and he just says, 'Oh, you're thinking of the de Rham decomposition.'" - Recalling the moment his colleague, a differential geometer, provided the formal mathematical name for the concept he had been struggling to articulate.
  • At 1:01:09 - "I probably should have called the paper, 'The metric is all you need for disentangling.'" - Reflecting on the main takeaway from his work: that having the correct metric for measuring distances in the data space is the crucial, and difficult, prerequisite for successful factorization.
  • At 85:58 - "The real world doesn't have rules. It doesn't have rules that you can formally specify like a game." - This quote concisely summarizes the core challenge of applying game-playing AI paradigms to general intelligence.
  • At 1:13:37 - "I was worried that... I had kind of missed out, you know, missed the opportunity to to have the career that I wanted to. And... you know, I've been given this opportunity to follow through on a lot of the crazy ideas that I've had. And to think, well, okay, this is... Is this really like where the field is right now? Is this really the way to maximize my impact? ... I sort of say, you know, no, look, you get one life." - Pfau reflects on his decision to pursue his own unique research interests despite pressures to follow more popular trends, emphasizing the importance of following one's intellectual passions.

Takeaways

  • Focus on explanatory power, not just predictive performance; using complex AI to model complex systems can obscure understanding rather than providing genuine insight.
  • Bridging disparate scientific fields, like machine learning and differential geometry, is a powerful way to reframe problems and unlock novel solutions.
  • The most sophisticated algorithms can fail if foundational assumptions are wrong; getting basic elements right, like the choice of a metric, is often the most critical and challenging part of the problem.
  • Powerful AI techniques like self-play have specific limitations (e.g., requiring formal rules) that prevent their direct application to achieving general intelligence in the real world.

Watch the full episode 2 hr

Read along with the audio summary

Fitting a complex neural network to a brain you do not understand just leaves you with a neural network you also do not understand. That observation comes from researcher David Pfau, speaking on this podcast episode released on July 11, 2024. By the end of this summary, you will learn how bridging physics and geometry with machine learning reveals both the hidden structures in data and the real limits of artificial intelligence.

There is a major difference between building autonomous AI scientists and using AI to actually help humans understand the universe. The conversation highlights two distinct paths for artificial intelligence in science. One approach tries to build independent AI research agents, while the other integrates AI as a powerful tool into existing scientific workflows to enhance human understanding.

That split mirrors a deeper cultural clash between physics and modern machine learning. While physics is driven by a search for simple, elegant, and explanatory theories, engineering-driven machine learning often prioritizes predictive accuracy, focusing on making a performance number go up on a test set. Pfau points out the trap of using complex, black-box models to explain already complex systems like the brain, noting that it can obscure rather than provide explanatory insight.

To make sense of complex systems, researchers often turn to dimensionality reduction. This is the core task of mapping complex, high-dimensional data down into simpler, low-dimensional representations. Pfau explores this through classical spectral methods, autoencoders, and contrastive learning.

Taking that mapping further leads to the concept of manifold factorization, which untangles the hidden variables inside data. When different traits in data are tangled together, you can treat them as separate dimensions of a combined geometric shape, known as a product manifold. Pfau struggled to articulate this until a colleague who specializes in differential geometry told him he was thinking of a formal mathematical concept called the de Rham decomposition. Using this principle alongside another geometric concept called holonomy, Pfau developed an algorithm named Geomancer to discover this underlying structure and disentangle the factors of variation.

Yet even the smartest geometric algorithm will fail if you cannot measure the space correctly. The success of geometric deep learning methods often hinges on having the right metric, which is the specific rule used to measure distances between data points. Getting this foundational measurement right is a difficult prerequisite, and it can be more critical than the algorithm itself. Reflecting on his work, Pfau noted that he probably should have titled his paper, "The metric is all you need for disentangling."

Just as geometric methods have strict prerequisites, popular training techniques like self-play have hard boundaries. Self-play is an AI technique that is highly effective in domains with formally specified rules, such as games. However, it is not a straightforward solution for training general intelligence in the messy, open-ended real world, simply because the real world does not have rules you can formally specify like a game.

Navigating these deep problems requires a philosophy of slow research, choosing intellectual curiosity over the hype cycle. This approach values pursuing deep, intrinsically interesting, and interdisciplinary questions over chasing popular trends, even if it means a slower career trajectory. Pfau admits he once worried he had missed the opportunity to have the career he wanted, and questioned if following his crazy ideas was the best way to maximize his impact, before deciding that you only get one life. When you evaluate or build models in your own work, focus on explanatory power rather than just predictive performance, and make sure your foundational assumptions are right before trusting a sophisticated algorithm.

The most powerful breakthroughs come from bridging separate fields like machine learning and geometry to seek genuine understanding rather than higher test scores. "We don't understand how the brain works, so let's fit a neural network to it. Now we don't understand how the neural network works."

More from The Gradient

Related Episodes