1. Home
  2. Machine Learning Street Talk

Dec 22, 2025

Can category theory fix AI's math problem?

Petar Veličković

43 min → 2:09

Overview

Machine Learning Street Talk explores why current deep learning models fail at algorithmic reasoning, tracing the shift from Geometric Deep Learning to Categorical Deep Learning to build neural networks with verifiable computation.

3 things to know

Machine Learning Street Talk: Most algorithms destroy information

Machine Learning Street Talk traces the move from Geometric Deep Learning and invertible symmetries to Categorical Deep Learning, which uses category theory to model the non-invertible, information-destroying processes in algorithms like pathfinding.

More

The progression from Geometric Deep Learning, based on group theory and invertible symmetries, to Categorical Deep Learning.

▶ Watch at 15:44

Dudzik: Models recognize training patterns instead of running arithmetic

Dr. Andrew Dudzik distinguishes between a model that runs a true step-by-step algorithm like arithmetic and one that merely recognizes statistical patterns from its training data.

▶ Watch at 0:00

Gavranović uses relationships between relationships to explain weight sharing

Bruno Gavranović uses higher-order categories called 2-categories to model the relationships between relationships, providing a formal, principled framework for neural network concepts like weight sharing.

More

This provides a formal, principled framework for fundamental neural network concepts like weight sharing.

▶ Watch at 28:16

Also in this episode

Lessard: Category theory studies relationships instead of what exists

Paul Lessard frames category theory as a synthetic mathematical approach that focuses on abstracting the principles of relationships and inference rather than what things are made of.

▶ Watch at 24:16

Bridging Syntax and Semantics

The ultimate goal is to close the gap between a program's description (syntax) and its actual computational behavior (semantics), allowing for the creation of reliable, verifiable components.

▶ Watch at 43:11

Intrinsic Capabilities vs. Tool Use

A central debate on whether to solve computational limitations by having models call external tools (e.g., a calculator) or by redesigning their architecture to possess these capabilities internally for greater stability and efficiency.

Machine Learning Street Talk compares current deep learning to alchemy

Machine Learning Street Talk describes current deep learning through an alchemy analogy as powerful yet reliant on ad-hoc experimentation without the unifying theoretical framework that Categorical Deep Learning aims to provide.

Quotes

“They will... perform hundreds of billions of multiplications just to produce a single token of output, yet they cannot reliably multiply even relatively small numbers together without failing... this to me hints at a great misalignment.”

▶ Watch at 1:58

“Language models cannot do addition. Not really.”

▶ Watch at 0:00

“We get a comprehensive theory of how to do weight sharing in a way that's not particularly tied to smooth spaces... it's one that works for manifolds, it's also one that works that we have now used... to connect to game theory.”

▶ Watch at 28:16

4 more quotes

“Geometric deep learning is powerful, but it assumes all transformations are invertible. What happens when computation destroys information?”

▶ Watch at 15:44

“Once you've applied the transformations of Dijkstra's algorithm or Bellman-Ford algorithm, you'll have lost the information that is contained about the graph in the final output... So this is not an operation I can describe using a symmetry.”

▶ Watch at 18:48

“In analytic mathematics, stuff is made of stuff... On the other hand, in synthetic mathematics... I only abstract what are the principles by which I can make inference on lines and their relationships to each other.”

▶ Watch at 24:16

“And start to build actual CPUs in neural networks.”

▶ Watch at 43:11

Full summary

Episode Overview

  • The podcast explores the fundamental gap between the pattern-matching abilities of current deep learning models and their failure to perform robust, algorithmic reasoning.
  • It traces the intellectual evolution from Geometric Deep Learning (GDL), which is based on symmetry, to the more general and powerful framework of Categorical Deep Learning (CDL).
  • The discussion highlights why GDL's reliance on invertible transformations is insufficient for modeling real-world computation, which often involves irreversible, information-destroying steps.
  • The ultimate ambition of this research is to move AI from an ad-hoc "alchemy" to a principled science, enabling the creation of neural networks with verifiable computational components, akin to building a CPU inside a model.

Key Concepts

  • Algorithmic Reasoning vs. Pattern Matching: The core distinction between a model executing a true, step-by-step algorithm (like arithmetic) and one that merely recognizes statistical patterns from its training data.
  • Intrinsic Capabilities vs. Tool Use: A central debate on whether to solve computational limitations by having models call external tools (e.g., a calculator) or by redesigning their architecture to possess these capabilities internally for greater stability and efficiency.
  • The "Alchemy" of Deep Learning: An analogy describing the current state of deep learning as powerful yet reliant on ad-hoc experimentation, lacking the unifying theoretical framework that CDL aims to provide.
  • From GDL to CDL: The progression from Geometric Deep Learning, based on group theory and invertible symmetries, to Categorical Deep Learning. CDL uses the more general language of category theory to model the non-invertible, information-destroying processes found in most algorithms (e.g., pathfinding).
  • Synthetic vs. Analytic Mathematics: Category theory is framed as a "synthetic" mathematical approach that focuses on abstracting the principles of relationships and inference, rather than what things are "made of," making it ideal for understanding structure.
  • 2-Categories and Weight Tying: The use of higher-order categories (2-categories) to model not just relationships, but the relationships between relationships. This provides a formal, principled framework for fundamental neural network concepts like weight sharing.
  • Bridging Syntax and Semantics: The ultimate goal is to close the gap between a program's description (syntax) and its actual computational behavior (semantics), allowing for the creation of reliable, verifiable components.

Quotes

  • At 0:00 - "Language models cannot do addition. Not really." - Dr. Andrew Dudzik of Google DeepMind explains that LLMs rely on learning patterns rather than executing the actual algorithm of addition.
  • At 1:58 - "They will... perform hundreds of billions of multiplications just to produce a single token of output, yet they cannot reliably multiply even relatively small numbers together without failing... this to me hints at a great misalignment." - Dr. Petar Veličković highlights the paradox of immense computational effort yielding poor algorithmic performance.
  • At 15:44 - "Geometric deep learning is powerful, but it assumes all transformations are invertible. What happens when computation destroys information?" - The narrator explains the core limitation of GDL and introduces the need for a framework that can handle non-reversible algorithmic steps.
  • At 18:48 - "Once you've applied the transformations of Dijkstra's algorithm or Bellman-Ford algorithm, you'll have lost the information that is contained about the graph in the final output... So this is not an operation I can describe using a symmetry." - A concrete example of a non-invertible algorithmic process that symmetry-based models cannot capture.
  • At 24:16 - "In analytic mathematics, stuff is made of stuff... On the other hand, in synthetic mathematics... I only abstract what are the principles by which I can make inference on lines and their relationships to each other." - Paul Lessard explains the philosophical approach of category theory, which focuses on relationships over substance.
  • At 28:16 - "We get a comprehensive theory of how to do weight sharing in a way that's not particularly tied to smooth spaces... it's one that works for manifolds, it's also one that works that we have now used... to connect to game theory." - Bruno Gavranović highlights that their 2-category framework provides a universal and formal theory for weight sharing applicable across many domains.
  • At 43:11 - "And start to build actual CPUs in neural networks." - Andrew Dudzik stating the ambitious, long-term goal of the research: to embed robust, verifiable computational machinery inside neural networks.

Takeaways

  • Do not mistake an LLM's fluent output for true algorithmic understanding; their failure at novel computational tasks reveals a fundamental architectural limitation.
  • Building more robust AI requires moving beyond symmetries and adopting more general mathematical frameworks, like category theory, that can model the information-destroying steps common in real-world algorithms.
  • While connecting models to external tools is a useful short-term fix, the more stable and efficient long-term path is to redesign neural architectures to have computational capabilities built-in.
  • The future of AI may lie in hybrid architectures that combine the pattern-matching strengths of neural networks with the verifiable, step-by-step logic of classical computation.

Watch the full episode 43 min

Read along with the audio summary

Doctor Andrew Dudzik of Google DeepMind makes a surprising claim: language models cannot really do addition. In this podcast episode that came out on December 22, 2025, a narrator talks with Dudzik, Doctor Petar Veličković, Paul Lessard, and Bruno Gavranović. By the end, you will learn why current artificial intelligence struggles with basic logic, and how a new mathematical framework aims to fix it.

Doctor Petar Veličković points out a strange paradox: a model will perform hundreds of billions of multiplications just to produce a single word, or token, of output, yet it cannot reliably multiply even relatively small numbers together without failing. This hints at a great misalignment between recognizing statistical patterns in training data and executing a true, step by step algorithm like arithmetic.

Why handing artificial intelligence a calculator is only a temporary fix. When models fail at computation, there is a central debate on how to solve it. You can have the model call an external tool like a calculator, or you can redesign its internal architecture so it possesses those capabilities natively for greater stability and efficiency.

To redesign these architectures, researchers first have to confront how deep learning is currently built.

Turning the alchemy of deep learning into a true science. Right now, deep learning is powerful, yet it relies on ad hoc experimentation. It lacks a unifying theoretical framework, which is exactly what a new approach called Categorical Deep Learning aims to provide.

Why real world algorithms need to destroy information. Earlier frameworks like Geometric Deep Learning relied on group theory and symmetries, which assume all transformations can be reversed. As the narrator asks, what happens when computation destroys information? In pathfinding methods like Dijkstra's algorithm or the Bellman Ford algorithm, once you have applied their transformations, you will have lost the information that is contained about the graph in the final output. Because this step cannot be reversed, symmetry cannot describe it, so Categorical Deep Learning uses a more general branch of math called category theory to model these information destroying processes.

Understanding how things relate rather than what they are made of. Category theory is framed as a synthetic mathematical approach. Paul Lessard explains that while analytic mathematics assumes stuff is made of stuff, synthetic mathematics ignores what things are made of and only abstracts the principles of relationships and inference, such as how lines relate to each other.

A universal rulebook for how neural networks share knowledge. By using higher order categories, known as 2 categories, researchers can model not just relationships, but the relationships between relationships. Bruno Gavranović notes that this gives a comprehensive, formal theory for fundamental neural network concepts like weight sharing. Instead of being tied to smooth spaces, this framework works across many domains, from geometric manifolds to game theory.

Closing the gap between what a program says and what it actually does. The ultimate goal of this math is to bridge a program's description, its syntax, with its actual computational behavior, its semantics. This allows researchers to build reliable, verifiable components inside artificial intelligence.

Do not mistake a language model's fluent output for true algorithmic understanding, because their failure at novel computational tasks reveals a fundamental architectural limitation. The future of artificial intelligence may lie in hybrid architectures that combine pattern matching with verifiable, step by step logic, allowing researchers to, in Andrew Dudzik's vision, "start to build actual CPUs in neural networks."

More from Machine Learning Street Talk

Related Episodes