1. Home
  2. Grant Sanderson

Sep 24, 2021

The math explaining how AI learns language

Tai-Danae Bradley

96 min → 1:47

Overview

Tai-Danae Bradley joins Grant Sanderson to explain her journey into math, how category theory unifies different mathematical fields, and how it helps us understand modern AI and Large Language Models.

3 things to know

Bradley calls category theory Mad Libs for math

Tai-Danae Bradley compares category theory to Mad Libs because it uncovers shared structures across different math fields and acts as a bridge to translate problems between them.

▶ Watch at 26:01

Application in AI

Category theory, specifically "enriched category theory," provides a mathematical framework for modeling how Large Language Models learn complex structures that blend both grammatical rules and statistical patterns from text data.

▶ Watch at 28:11

Bradley: Math is a language for understanding the world

Tai-Danae Bradley explains that her path changed when she stopped seeing math as memorizing symbols and started seeing it as a language for understanding the world.

▶ Watch at 9:20

Also in this episode

Learning by Explaining

The origin of Bradley's blog, Math3ma, illustrates the principle that teaching or explaining a concept to others is a powerful method for solidifying one's own understanding and identifying knowledge gaps.

Miller wants to share the excitement party of math

Making complex academic work, including PhD theses, accessible and engaging challenges the tradition of dense, jargon-filled writing so more people can join what Miller calls the excitement party of discovery.

▶ Watch at 59:42

Quotes

“I like to think of category theory as like the Mad Libs of mathematics.”

▶ Watch at 26:01

“...maybe a problem is very difficult to solve... in the world of topology, so you can ship it over to the world of group theory and algebra and use those tools and it's easier to solve there.”

▶ Watch at 28:11

“When you're in physics and you ask why... the language that they're using is mathematics... I need to understand that language.”

▶ Watch at 9:20

2 more quotes

“You don't have to be a genius to do mathematics.”

▶ Watch at 5:42

“It's not fun to just be by yourself on an excitement party. I wanted lots of people to be with me.”

▶ Watch at 59:42

Full summary

Episode Overview

  • Tai-Danae Bradley shares her unconventional journey from disliking math to pursuing a Ph.D., sparked by a transformative college class that revealed math as an intuitive, conceptual language.
  • The conversation demystifies the abstract field of category theory, presenting it as a "Mad Libs for math" that unifies different mathematical fields and helps translate problems between them.
  • The practical utility of category theory is explored, particularly its application in understanding the complex structures learned by modern AI and Large Language Models.
  • The discussion highlights the power of accessible science communication, exploring how Bradley uses her blog and approachable writing style to make complex topics engaging for a wider audience.

Key Concepts

  • Math as a Conceptual Language: The episode reframes mathematics not as rote symbol manipulation but as a language for understanding the world, a perspective shift that was central to Bradley's journey.
  • Category Theory as "Mad Libs for Math": This core analogy explains category theory as a unifying framework that reveals the underlying structural similarities between different mathematical fields, acting as a "bridge" to translate problems and insights.
  • Application in AI: Category theory, specifically "enriched category theory," provides a mathematical framework for modeling how Large Language Models learn complex structures that blend both grammatical rules and statistical patterns from text data.
  • Learning by Explaining: The origin of Bradley's blog, Math3ma, illustrates the principle that teaching or explaining a concept to others is a powerful method for solidifying one's own understanding and identifying knowledge gaps.
  • Accessible Academia: The conversation champions the idea of making complex academic work, including PhD theses, more accessible and engaging, challenging the tradition of dense, jargon-filled writing to share the "excitement party" of discovery.

Quotes

  • At 5:42 - "You don't have to be a genius to do mathematics." - Bradley recalls the transformative moment when her Calculus III professor shared this sentiment, which contradicted her belief that math was only for geniuses.
  • At 9:20 - "When you're in physics and you ask why... the language that they're using is mathematics... I need to understand that language." - Bradley explains her transition from wanting to study physics to realizing she first needed a deep understanding of mathematics.
  • At 26:01 - "I like to think of category theory as like the Mad Libs of mathematics." - Tai-Danae introduces her core analogy, framing category theory not as a complex subject but as a simple structural game of "filling in the blanks" with concepts from different mathematical fields.
  • At 28:11 - "...maybe a problem is very difficult to solve... in the world of topology, so you can ship it over to the world of group theory and algebra and use those tools and it's easier to solve there." - Tai-Danae explains one of the powerful applications of category theory: translating difficult problems into different mathematical contexts where solutions are more accessible.
  • At 59:42 - "It's not fun to just be by yourself on an excitement party. I wanted lots of people to be with me." - Miller on her motivation for sharing her passion for mathematics widely.

Takeaways

  • Mathematics can be made intuitive and meaningful when taught through real-world analogies rather than as a set of abstract, unmotivated rules.
  • Abstract mathematical frameworks, like category theory, are not just for organizing knowledge but are powerful, practical tools for solving modern problems in fields like artificial intelligence.
  • The act of explaining a complex topic to an audience is a highly effective way to deepen your own comprehension and uncover gaps in your knowledge.
  • Sharing the journey of learning with authenticity and enthusiasm can make complex subjects more accessible and inspiring to a broader audience.

Watch the full episode 1 hr 36 min

Read along with the audio summary

Can someone who genuinely dislikes math still go on to pursue a PhD in the subject? Tai-Danae Bradley did, after a college Calculus III professor told her that you do not have to be a genius to do mathematics. In this episode from September 24, 2021, Bradley joins the conversation to share her unconventional path into advanced mathematics. By the end, you will understand how an abstract mathematical framework acts like a game of Mad Libs, how it helps explain modern artificial intelligence, and how explaining complex ideas can sharpen your own mind.

Seeing math as a conceptual language can transform how you understand the world. For a long time, Bradley disliked mathematics because it seemed like rote symbol manipulation reserved only for geniuses. Her perspective shifted in a transformative college class that revealed math as an intuitive, conceptual language. When she was studying physics and kept asking why things worked, she realized the answers were always written in the language of mathematics, and she needed to understand that language first.

This language has a unifying framework that works like a game of Mad Libs for mathematics. The abstract field of category theory might sound intimidating, but Bradley frames it as a simple structural game of filling in the blanks with concepts from different mathematical fields. By revealing underlying structural similarities, category theory acts as a bridge to translate problems and insights from one area to another. For instance, Bradley explains that if a problem is very difficult to solve in the world of topology, you can ship it over to the world of group theory and algebra, where you can use those tools to solve it much more easily.

This abstract bridge is also a practical tool for understanding modern artificial intelligence. Specifically, a branch called enriched category theory provides a mathematical framework for modeling Large Language Models. These models learn complex structures from text data. Enriched category theory helps model how they blend both grammatical rules and statistical patterns at the same time.

Beyond her research into category theory and AI, Bradley found a powerful method to solidify her own understanding by explaining concepts to others. This principle is at the heart of how her blog, Math3ma, began. Teaching or explaining a complex concept to an audience forces you to clarify your thoughts and serves as an effective way to identify gaps in your own knowledge. When you are trying to master a difficult skill or subject, try explaining it to someone else to deepen your comprehension and uncover what you still need to learn.

That commitment to clear explanation also challenges the academic tradition of dense, jargon-filled writing. The conversation champions making complex academic work, including PhD theses, far more accessible and engaging for a wider audience. Instead of keeping difficult subjects behind a wall of abstract, unmotivated rules, sharing the learning journey with authenticity and enthusiasm invites a broader audience in. As Miller noted about her motivation for sharing her passion for math widely, it is not fun to just be by yourself on an excitement party.

Mathematics becomes intuitive, meaningful, and practically useful for modern fields like artificial intelligence when we treat it as a conceptual language and share it through real-world analogies. Whether you are translating tough problems across disciplines or writing a blog post to test your own understanding, the goal is to bring others along for the discovery. You don't have to be a genius to do mathematics.

More from Grant Sanderson

Related Episodes