1. Home
  2. Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas

Nov 24, 2025

Modern AI runs on centuries-old math

Anil Ananthaswamy

74 min → 4:16

Overview

Anil Ananthaswamy joins Sean Carroll to explain the classical mathematics behind modern neural networks, how transformers power large language models, and what breakthroughs may be needed for artificial general intelligence.

3 things to know

Ananthaswamy: Neural networks need way more examples than humans

Anil Ananthaswamy explains that a major limitation of current neural networks is that they require vast amounts of data to learn concepts that humans can grasp from just a few examples.

▶ Watch at 11:53

Ananthaswamy says high dimensions make all data equally distant

Anil Ananthaswamy explains that in very high-dimensional spaces, the concepts of distance and similarity break down because all data points become roughly the same distance from one another, challenging many algorithms.

▶ Watch at 52:52

Transformer Architecture & Attention

The model design, introduced in the "Attention Is All You Need" paper, that revolutionized AI.

More

Its key innovation is the "attention mechanism," which allows the model to weigh the importance of different parts of the input data and build a rich contextual understanding.

▶ Watch at 19:49

Also in this episode

High-Dimensional Space

The conceptual arena where machine learning operates; data points (like pixels in an image) are represented as coordinates in a space with thousands or even trillions of dimensions.

▶ Watch at 47:05

Loss Landscape

Training involves finding the lowest point (minimum loss) in this complex, high-dimensional landscape.

More

A topographical metaphor for a neural network's error function.

▶ Watch at 6:38

Gradient Descent

The mathematical optimization algorithm used to navigate the loss landscape.

More

It iteratively adjusts the network's parameters by "descending" in the direction of the steepest slope to minimize error.

▶ Watch at 45:34

Backpropagation

The core algorithm for training deep neural networks.

More

It calculates the error at the output and propagates it backward through the network's layers, using the chain rule of calculus to update each parameter.

▶ Watch at 21:48

Perceptron & Hyperplanes

An early, simple neural network model that works by finding a "hyperplane" (a flat, multidimensional surface) to create a linear separation between different classes of data.

Quotes

“Today's neural networks are extremely sample inefficient. So they require too much data to do what they need to do.”

▶ Watch at 11:53

“The notion that... similar data points are closer together than dissimilar ones, that starts falling apart because in high dimensions, everything is as far away as everything else. ...And that in a very simple way is the curse of dimensionality.”

▶ Watch at 52:52

“...when we do gradient descent, we are doing it in an extraordinarily high dimensional spaces, right? When you think about modern deep neural networks... your loss landscape is in trillion dimensions.”

▶ Watch at 47:05

8 more quotes

“A couple of years ago... I said that it's probably somewhere between the impact of cell phones and electricity.”

▶ Watch at 1:30

“The short answer very quickly I found out, absolutely not.”

▶ Watch at 6:38

“The point is that all of the nines kind of cluster in a group, hopefully, in that 400-dimensional space, and all of the fours cluster somewhere else.”

▶ Watch at 19:49

“You bring in an image of a horse, the classifier has no idea... it's going to call the horse either a cat or a dog.”

▶ Watch at 21:35

“Going back to the late 1950s, early 1960s, this was a very big deal, because you are basically saying we can recognize images, we can classify images. And classification is the first step towards recognition.”

▶ Watch at 21:48

“It's all backpropagation because the loss is calculated on the output side and now you have to propagate that loss all the way back layer by layer...”

▶ Watch at 45:34

“...it has to contextualize it. It has to keep massaging those vectors such that the words start paying attention to each other. And hence the term attention.”

▶ Watch at 59:32

“My hunch is that we're two or three breakthroughs away from something quite transformative.”

▶ Watch at 1:03:32

Full summary

Episode Overview

  • The episode explores the classical mathematics that form the foundation of modern AI, explaining how established concepts are being applied at an unprecedented scale to power technologies like Large Language Models.
  • The discussion breaks down the fundamental mechanics of neural networks, starting with the simple geometry of early models like the Perceptron and progressing to the core training processes of modern systems.
  • Key challenges in machine learning, such as the "curse of dimensionality," are explained, alongside the architectural breakthroughs like the Transformer model's "attention mechanism" that have enabled recent progress.
  • The conversation contextualizes AI's current capabilities, highlighting limitations like sample inefficiency while also looking toward the conceptual breakthroughs that may be required to achieve artificial general intelligence (AGI).

Key Concepts

  • Sample Inefficiency: A key limitation of current neural networks, which require vast amounts of data to learn concepts that humans can grasp from very few examples.
  • High-Dimensional Space: The conceptual arena where machine learning operates; data points (like pixels in an image) are represented as coordinates in a space with thousands or even trillions of dimensions.
  • Perceptron & Hyperplanes: An early, simple neural network model that works by finding a "hyperplane" (a flat, multidimensional surface) to create a linear separation between different classes of data.
  • Loss Landscape: A topographical metaphor for a neural network's error function. Training involves finding the lowest point (minimum loss) in this complex, high-dimensional landscape.
  • Gradient Descent: The mathematical optimization algorithm used to navigate the loss landscape. It iteratively adjusts the network's parameters by "descending" in the direction of the steepest slope to minimize error.
  • Backpropagation: The core algorithm for training deep neural networks. It calculates the error at the output and propagates it backward through the network's layers, using the chain rule of calculus to update each parameter.
  • Curse of Dimensionality: A phenomenon where, in very high-dimensional spaces, the concepts of distance and similarity break down because all data points become roughly equidistant from each other, posing a challenge for many algorithms.
  • Transformer Architecture & Attention: The model design, introduced in the "Attention Is All You Need" paper, that revolutionized AI. Its key innovation is the "attention mechanism," which allows the model to weigh the importance of different parts of the input data and build a rich contextual understanding.

Quotes

  • At 1:30 - "A couple of years ago... I said that it's probably somewhere between the impact of cell phones and electricity." - Sean Carroll on his personal estimation of AI's long-term societal impact, highlighting a wide range of possibilities from significant to completely transformative.
  • At 6:38 - "The short answer very quickly I found out, absolutely not." - Anil Ananthaswamy on the definitive failure of his experiment to have a neural network replicate Kepler's discoveries, highlighting the fundamental differences between machine and human learning.
  • At 11:53 - "Today's neural networks are extremely sample inefficient. So they require too much data to do what they need to do." - Anil Ananthaswamy on a key limitation of current AI models, contrasting their need for massive datasets with the sparse data available to historical figures like Kepler.
  • At 19:49 - "The point is that all of the nines kind of cluster in a group, hopefully, in that 400-dimensional space, and all of the fours cluster somewhere else." - Explaining the geometric intuition of how different classes of data are represented in the model's high-dimensional space.
  • At 21:35 - "You bring in an image of a horse, the classifier has no idea... it's going to call the horse either a cat or a dog." - Using an analogy to explain how a binary classifier fails when presented with data from a category it wasn't trained on.
  • At 21:48 - "Going back to the late 1950s, early 1960s, this was a very big deal, because you are basically saying we can recognize images, we can classify images. And classification is the first step towards recognition." - Emphasizing the historical significance and groundbreaking nature of these early neural network concepts.
  • At 45:34 - "It's all backpropagation because the loss is calculated on the output side and now you have to propagate that loss all the way back layer by layer..." - Ananthaswamy explains the logic behind the term "backpropagation," where the error signal travels backward from output to input.
  • At 47:05 - "...when we do gradient descent, we are doing it in an extraordinarily high dimensional spaces, right? When you think about modern deep neural networks... your loss landscape is in trillion dimensions." - Ananthaswamy highlights what makes modern AI different: applying classical mathematical techniques to an unprecedentedly vast and complex parameter space.
  • At 52:52 - "The notion that... similar data points are closer together than dissimilar ones, that starts falling apart because in high dimensions, everything is as far away as everything else. ...And that in a very simple way is the curse of dimensionality." - Ananthaswamy gives an intuitive explanation of the "curse of dimensionality," a major challenge in machine learning.
  • At 59:32 - "...it has to contextualize it. It has to keep massaging those vectors such that the words start paying attention to each other. And hence the term attention." - Ananthaswamy explains the core idea behind the revolutionary "attention mechanism" in Transformer models.
  • At 1:03:32 - "My hunch is that we're two or three breakthroughs away from something quite transformative." - Ananthaswamy offers his perspective on the future of AI, suggesting that progress will depend on new conceptual leaps rather than simply scaling up current models.

Takeaways

  • AI's power is less about inventing new math and more about applying classical concepts, like calculus and geometry, at a computational scale previously unimaginable.
  • Understand a model's inherent limitations: it can only operate within the boundaries of its training data and will fail predictably when faced with novel, out-of-distribution information.
  • The process of training an AI can be visualized as an optimization problem: finding the lowest point in a complex, multi-trillion-dimensional "loss landscape" to minimize error.
  • Despite their sophistication, current AI models are fundamentally inefficient learners compared to humans, requiring exponentially more data to achieve competence.
  • In high-dimensional spaces, our everyday intuitions about distance and similarity fail, which requires specialized techniques to overcome the "curse of dimensionality."
  • The ability of modern language models to understand context stems from the "attention mechanism," which dynamically assesses the relationships between different parts of the input.
  • Advancing toward more general and robust AI will likely require new conceptual breakthroughs, as simply scaling up current architectures may not be sufficient.

Watch the full episode 1 hr 14 min

Read along with the audio summary

Anil Ananthaswamy once ran an experiment to see if a neural network could replicate the discoveries of the historical figure Kepler, and the short answer he very quickly found out was absolutely not. In this episode, released on November 24, 2025, Sean Carroll and Ananthaswamy explore the classical mathematics that form the foundation of modern artificial intelligence. By the end, you will understand how geometry and calculus power technologies like large language models, and where these systems still fall short.

Why artificial intelligence needs exponentially more examples than you do to learn.

Despite their sophistication, today's neural networks are fundamentally inefficient learners compared to humans. While Kepler made his historical breakthroughs using sparse data, a neural network needs massive datasets just to do what it needs to do.

How a machine turns a simple picture into a map with thousands of dimensions.

Data points, like the individual pixels in an image, are represented as coordinates in a space with thousands or even trillions of dimensions. The geometric intuition here is that in a four hundred dimensional space, all the images of the number nine will hopefully cluster together in one group, while all the images of the number four cluster somewhere else.

Once data is clustered in this space, the machine needs a way to tell those groups apart, which brings us to how a simple flat surface sparked the beginning of image recognition.

Back in the late nineteen fifties and early nineteen sixties, a simple neural network model called the Perceptron became a very big deal by proving machines could classify images. It works by finding a hyperplane, which is just a flat, multidimensional surface, to create a clean linear separation between different classes of data. However, a binary classifier trained only to separate cats from dogs has strict boundaries, so if you bring in an image of a horse, it has no idea what it is looking at and will predictably call that horse either a cat or a dog.

Why training an artificial intelligence involves finding the lowest point in a complex, high-dimensional landscape.

When a network makes mistakes like misclassifying an image, engineers visualize its error function using a topographical metaphor called a loss landscape. Training an artificial intelligence is an optimization problem that involves finding the lowest point, known as the minimum loss, in this complex terrain.

Finding that lowest point requires a specific mathematical compass, which reveals how a classical algorithm navigates trillions of dimensions to reduce errors.

To navigate the loss landscape, engineers rely on a mathematical optimization algorithm called gradient descent. This algorithm iteratively adjusts the network's parameters, descending step by step in the direction of the steepest slope through that extraordinarily high dimensional space to minimize error.

How a network learns from its mistakes by working in reverse.

Calculating the error is only the start, because the core algorithm for training deep neural networks, called backpropagation, actually travels backward. As Ananthaswamy explains, the loss is calculated on the output side, and the system then has to propagate that loss all the way back, layer by layer, toward the input.

Why our basic sense of distance breaks down in the spaces where artificial intelligence lives.

Even with these powerful algorithms, operating in thousands or even trillions of dimensions triggers a major challenge known as the curse of dimensionality. Ananthaswamy notes that in very high dimensional spaces, that notion starts falling apart because every data point becomes roughly as far away from everything else, causing our normal concepts of distance and similarity to break down.

The power of modern artificial intelligence is less about inventing new mathematics and more about applying classical calculus and geometry at a computational scale previously unimaginable. Ananthaswamy's hunch is that we're two or three breakthroughs away from something quite transformative.

More from Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas

Related Episodes