1. Home
  2. Machine Learning Street Talk

Dec 25, 2023

Why theory says deep learning shouldn't work

Simon Prince

126 min → 1:57

Overview

The Machine Learning Street Talk hosts use Simon Prince's book to explore why overparameterized deep learning models work despite classical theory, contrasting human cognition with large language models and addressing AI ethics.

3 things to know

Prince: Deep learning works despite defying our theoretical understanding

Simon Prince and Tim Scarfe point out the core mystery that deep learning succeeds in practice even though theory cannot explain how massive models generalize so well.

▶ Watch at 2:18

Prince says language models hold information without one worldview

Simon Prince explains that while humans must build consistent models of the world to take action, large language models simply hold a statistical mix of all information without a single coherent worldview.

More

Humans are "bounded observers" who must build internally consistent, actionable models of the world to function, often using post-hoc rationalization.

▶ Watch at 27:23

Prince critiques AI researchers for prioritizing engineering over science

Simon Prince critiques the AI research community for prioritizing engineering that chases high benchmark scores over controlled scientific experiments aimed at fundamental understanding.

▶ Watch at 1:29:35

Also in this episode

Simon Prince claims scientists are never neutral actors

Simon Prince argues that scientists and engineers are not neutral actors because their personal values, choices, and the problems they choose to solve inherently carry ethical weight and real-world consequences.

▶ Watch at 1:05:11

Sejnowski: More parameters make a haystack of needles

Terry Sejnowski describes how adding more parameters makes finding a good solution easier rather than harder, turning the search for a needle in a haystack into a search through a haystack of needles.

▶ Watch at 59:43

Global Minima as a Solution Space

In high-dimensional deep learning, the "global minimum" is not a single point but a vast, interconnected level set of many different parameter configurations that all yield good performance.

▶ Watch at 57:00

Grokking

The phenomenon where a neural network first perfectly memorizes the training data, showing high training accuracy but poor generalization, and then, after extensive further training, suddenly "groks" the underlying pattern and generalizes well.

▶ Watch at 1:05:01

Scarfe: Recalling vast information is not genuine human thinking

Tim Scarfe distinguishes between a language model's ability to store and recall vast amounts of information and genuine human thinking, which creates new models by finding flaws in old ones.

▶ Watch at 27:56

Scarfe says massive data drives major AI labs' success

Tim Scarfe and Simon Prince argue that the success of major AI labs comes more from massive datasets, computing scale, and private user interaction data than from fundamental algorithmic breakthroughs.

▶ Watch at 1:30:25

Quotes

“The large language model has everything that's ever been created with no preference for one thing or another other than its statistical likeliness.”

▶ Watch at 26:48

“We now argue that scientists are not neutral actors; their values inevitably impinge on their work.”

▶ Watch at 1:05:11

“These are people who are trained as engineers, not scientists.”

▶ Watch at 1:30:02

17 more quotes

“This book is all about the ideas which underlie deep learning.”

▶ Watch at 0:08

“...at the time of writing, nobody understands how deep learning models work. Literally nobody.”

▶ Watch at 2:18

“DEEP LEARNING SHOULD NOT WORK.”

▶ Watch at 4:54

“Every ethical issue is not within the control of every individual computer scientist. However, this does not imply that researchers have no responsibility whatsoever to consider, and mitigate where they can, the potential for misuse of the systems they create.”

▶ Watch at 7:20

“There's no sense that a Transformer system is doing anything like that. It just starts at the beginning and predicts the next word and has the statistics...that are consistent with what's previously in its context window.”

▶ Watch at 26:04

“...we need to take actions in the world and it's impossible to do that if you have 50,000 conflicting views of how things work.”

▶ Watch at 27:23

“...with cognition, it's not just knowing, it's also thinking. So just knowing everything isn't actually the whole piece, is it?”

▶ Watch at 27:56

“By the global minima... I mean the sort of level set of good solutions that... fit the data well.”

▶ Watch at 57:00

“Terry Sejnowski has this beautiful expression where he says... it goes from searching for a needle in a haystack to a haystack of needles.”

▶ Watch at 59:43

“You can randomly perturb the labels and the neural network will still learn the training data fine... the neural network still learns the training data fine.”

▶ Watch at 1:04:20

“[Grokking is when a network] fits the data perfectly quite early on, but then it takes ages and ages and suddenly it generalizes.”

▶ Watch at 1:05:01

“We're not a very scientific community. We've got better...”

▶ Watch at 1:29:35

“Ultimately... the success of their methods is just so much data. They've built a Google v-next organization. They're hoovering up all of this data.”

▶ Watch at 1:30:25

“There's a reason why they let people use it for free.”

▶ Watch at 1:30:45

“When you set it up in an autonomous arrangement... the magic disappears... it does stupid things and you think, 'Oh, I can't believe I was fooled by that.'”

▶ Watch at 1:33:28

“What's going to happen is one radiologist will be able to do the job that was formerly done by 20 radiologists.”

▶ Watch at 1:09:46

“What's really concerning, if it ever happened, is the automation of our agency.”

▶ Watch at 1:17:38

Full summary

Episode Overview

  • This episode explores the central paradox of deep learning—why massively overparameterized models work so well when classical theory suggests they shouldn't—using Simon Prince's book, "Understanding Deep Learning," as a guide.
  • The discussion contrasts human cognition, which relies on building simplified, actionable world models, with the mechanisms of Large Language Models, which operate as sophisticated statistical pattern matchers across a superposition of all data.
  • It delves into key theoretical concepts like the nature of global minima, the benefits of overparameterization, and the "Grokking" phenomenon, where generalization emerges long after initial memorization.
  • The conversation concludes with a critique of the AI research community's engineering-focused culture and a call for researchers to take responsibility for the immediate, practical ethical implications of their work, such as job displacement and the de-skilling of experts.

Key Concepts

  • The Paradox of Deep Learning: The core mystery that deep learning's empirical success defies theoretical understanding, particularly regarding how overparameterized models generalize effectively and how optimization finds good solutions in complex loss landscapes.
  • Human World Models vs. LLMs: Humans are "bounded observers" who must build internally consistent, actionable models of the world to function, often using post-hoc rationalization. In contrast, LLMs contain a statistical superposition of all information without a single coherent worldview.
  • Knowing vs. Thinking: A distinction between an LLM's ability to store and recall vast amounts of information ("knowing") and the human capacity for genuine cognition ("thinking"), which involves creating novel models by identifying flaws in existing ones.
  • Overparameterization's Benefit: The counterintuitive idea that having more parameters makes optimization easier, not harder, by transforming the search for a "needle in a haystack" into a search through a "haystack of needles" with many good solutions.
  • Global Minima as a Solution Space: In high-dimensional deep learning, the "global minimum" is not a single point but a vast, interconnected level set of many different parameter configurations that all yield good performance.
  • Grokking: The phenomenon where a neural network first perfectly memorizes the training data, showing high training accuracy but poor generalization, and then, after extensive further training, suddenly "groks" the underlying pattern and generalizes well.
  • Engineering vs. Science in AI Research: A critique that the AI community often prioritizes engineering (achieving state-of-the-art benchmark performance) over scientific inquiry (conducting controlled experiments to gain fundamental understanding).
  • The Value of Data and Scale: The success of major AI labs is often driven more by their access to massive datasets and compute scale—including proprietary user interaction data—than by fundamental algorithmic breakthroughs.
  • The Value-Laden Nature of Research: The argument that scientists and engineers are not neutral actors; their values, choices, and the problems they choose to solve inherently have ethical weight and real-world consequences.

Quotes

  • At 0:08 - "This book is all about the ideas which underlie deep learning." - Dr. Tim Scarfe explains that the book focuses on the fundamental concepts of deep learning, distinguishing it from practical, code-focused guides.
  • At 2:18 - "...at the time of writing, nobody understands how deep learning models work. Literally nobody." - Dr. Tim Scarfe points out the irony of the book's title, emphasizing the profound mystery at the heart of deep learning's success.
  • At 4:54 - "DEEP LEARNING SHOULD NOT WORK." - An on-screen quote from the book that captures the central paradox of the field: its empirical success defies classical theoretical expectations.
  • At 7:20 - "Every ethical issue is not within the control of every individual computer scientist. However, this does not imply that researchers have no responsibility whatsoever to consider—and mitigate where they can—the potential for misuse of the systems they create." - The narrator reads the powerful concluding message from the book's ethics chapter.
  • At 26:04 - "There's no sense that a Transformer system is doing anything like that. It just starts at the beginning and predicts the next word and has the statistics...that are consistent with what's previously in its context window." - Simon contrasting the human tendency to build world models with the statistical, next-token prediction mechanism of Transformers.
  • At 26:48 - "The large language model has everything that's ever been created with no preference for one thing or another other than its statistical likeliness." - Simon highlighting the difference between a human's finite set of beliefs and an LLM's superposition of all available data.
  • At 27:23 - "...we need to take actions in the world and it's impossible to do that if you have 50,000 conflicting views of how things work." - Simon explaining the functional necessity for humans to develop consistent, actionable models.
  • At 27:56 - "...with cognition, it's not just knowing, it's also thinking. So just knowing everything isn't actually the whole piece, is it?" - Tim making a critical distinction between the vast information recall of LLMs and the process of genuine thought and model-building.
  • At 57:00 - "By the global minima... I mean the sort of level set of good solutions that... fit the data well." - The speaker clarifies that in high-dimensional neural networks, "global minima" refers to a large family of equally good solutions, not a single point.
  • At 59:43 - "Terry Sejnowski has this beautiful expression where he says... it goes from searching for a needle in a haystack to a haystack of needles." - This quote is used to explain the benefit of overparameterization, which creates a loss surface with many good solutions.
  • At 1:04:20 - "You can randomly perturb the labels and the neural network will still learn the training data fine... the neural network still learns the training data fine." - The speaker references an experiment showing that neural networks are flexible enough to memorize pure noise, complicating the understanding of generalization.
  • At 1:05:01 - "[Grokking is when a network] fits the data perfectly quite early on, but then it takes ages and ages and suddenly it generalizes." - The speaker describes the "Grokking" phenomenon, where generalization performance improves dramatically long after training performance has plateaued.
  • At 89:35 - "We're not a very scientific community. We've got better..." - Simon Prince critiques the AI research field for lacking scientific rigor in its experimental methods.
  • At 90:02 - "These are people who are trained as engineers, not scientists." - Simon Prince argues that the focus in the AI community is often on building things that achieve high performance, rather than on understanding underlying principles.
  • At 90:25 - "Ultimately... the success of their methods is just so much data. They've built a Google v-next organization. They're hoovering up all of this data." - Tim Scarfe comments on the strategy of large AI labs, suggesting their dominance comes from massive data and compute scale.
  • At 90:45 - "There's a reason why they let people use it for free." - Simon Prince points out that free access to models like ChatGPT allows companies to collect vast amounts of valuable user interaction data.
  • At 93:28 - "When you set it up in an autonomous arrangement... the magic disappears... it does stupid things and you think, 'Oh, I can't believe I was fooled by that.'" - Tim Scarfe observes that the illusion of intelligence in large language models often breaks down when human interaction is removed.
  • At 1:05:11 - "We now argue that scientists are not neutral actors; their values inevitably impinge on their work." - Simon Prince quotes his book, making the point that the choices researchers make are inherently value-laden and have ethical consequences.
  • At 1:09:46 - "What's going to happen is one radiologist will be able to do the job that was formerly done by 20 radiologists." - Simon Prince uses radiology as a concrete example of how AI will likely cause massive job displacement.
  • At 1:17:38 - "What's really concerning, if it ever happened, is the automation of our agency." - Tim Scarfe expresses his primary concern about the future of AI as a potential erosion of human autonomy and decision-making.

Takeaways

  • Acknowledge that deep learning's effectiveness is an empirical reality that currently outpaces our theoretical understanding.
  • When evaluating AI, distinguish between its capacity for information recall ("knowing") and the human ability for novel insight and model creation ("thinking").
  • Recognize that the competitive advantage in AI today often comes from massive, proprietary datasets and feedback loops, not just superior algorithms.
  • Critically assess AI research claims, distinguishing between true scientific discoveries and engineering achievements that merely beat a benchmark.
  • Shift your mental model of optimization from finding a single perfect solution to navigating a vast landscape to find any one of a multitude of "good enough" solutions.
  • Understand that a model's performance can change drastically with more training, even after it appears to have fully converged on the training data.
  • Accept that building and using AI is not a neutral act; practitioners have an ethical responsibility to consider the real-world impact of their work.
  • Focus on the immediate and tangible societal challenges posed by AI, such as job displacement and the de-skilling of human expertise.
  • Appreciate that humans build simplified, actionable world models out of necessity, a key difference from LLMs which hold a statistical summary of all views.
  • Test the true capabilities of AI models by observing their performance in autonomous tasks, as their perceived intelligence is often inflated by human guidance.
  • Be conscious of the difference between an internally consistent argument and one that is factually accurate when evaluating information from any source.
  • Do not be discouraged by overparameterization; adding complexity can paradoxically make finding a good solution easier for an optimization algorithm.

Watch the full episode 2 hr 6 min

Read along with the audio summary

According to Simon Prince's book, Understanding Deep Learning, deep learning should not work, and Dr. Tim Scarfe points out that at the time of writing, literally nobody understands how these models actually function. In this episode, released on December 25, 2023, Dr. Tim Scarfe talks with author Simon Prince about the ideas underlying deep learning. By the end, you will understand how artificial intelligence learns, how it differs from human thought, and why scale matters so much.

Why deep learning's real world success defies classical theory. Deep learning models are massively overparameterized. In fact, an experiment shows you can randomly scramble the labels on training data and a neural network will still memorize the pure noise just fine.

How human worldviews differ from large language models. Simon Prince explains that it is impossible to take action in the world if you hold 50,000 conflicting views of how things work. In contrast, a large language model holds a statistical combination of everything ever created, simply predicting the next word with no preference other than statistical likelihood.

This difference in how models handle information leads directly to the gap between knowing everything and actually thinking. While a large language model can store and recall vast amounts of information, genuine human cognition involves creating novel models by spotting flaws in existing ones. To test the true capabilities of AI models, you can observe their performance in autonomous tasks without human guidance, where Dr. Tim Scarfe says the magic disappears and they do stupid things.

How adding complexity makes finding a solution easier. Counterintuitively, giving a model more parameters makes optimization easier rather than harder. Quoting an expression by Terry Sejnowski, this extra complexity transforms the search for a needle in a haystack into a search through a haystack of needles, creating many good solutions.

Why the best solution in deep learning is a vast space, not a single point. In high dimensional deep learning, the global minimum is not one single point. Instead, it is a vast, interconnected family of many different parameter configurations that all fit the data equally well.

Why a network can memorize data early, then suddenly understand it much later. A neural network can perfectly memorize its training data quite early on, showing high training accuracy while failing to generalize to new information. Then, after ages of further training, a phenomenon called grokking occurs, where the network suddenly grasps the underlying pattern and generalizes well.

Why AI research often looks more like engineering than true science. Simon Prince critiques the AI community for not being very scientific, noting that many practitioners are trained as engineers rather than scientists. Because of this, the field often prioritizes achieving state of the art benchmark performance over conducting controlled experiments to gain fundamental understanding.

What really drives the dominance of major AI labs. Dr. Tim Scarfe suggests the success of major AI labs is often driven more by massive datasets and computing scale than by fundamental algorithmic breakthroughs. Simon Prince adds that there is a reason companies let people use tools like ChatGPT for free, as it allows them to collect valuable user interaction data.

Why AI researchers cannot claim to be neutral actors. Simon Prince quotes his book to argue that scientists are not neutral actors, because their values and the problems they choose to solve inevitably carry ethical weight. He illustrates the real world consequences with radiology, predicting that one radiologist using AI will likely do the job formerly done by 20 radiologists, causing massive job displacement.

Deep learning is an empirical reality whose success currently outpaces our theoretical understanding, and building it is never a neutral act. What's really concerning, if it ever happened, is the automation of our agency.

More from Machine Learning Street Talk

Related Episodes