Bengio: AI must move past tokens to reason better
Yoshua Bengio says AI must move beyond low-level tokens to systems that discover and reason with abstract structures like grammar or cause and effect.
▶ Watch at 22:45
Dec 24, 2023
Yoshua Bengio
Yoshua Bengio traces his foundational work in deep learning, the evolution of natural language processing, and new research connecting causality, reinforcement learning, and consciousness in artificial intelligence.
Yoshua Bengio says AI must move beyond low-level tokens to systems that discover and reason with abstract structures like grammar or cause and effect.
▶ Watch at 22:45Yoshua Bengio describes attention as an internal computational policy similar to reinforcement learning that decides how a system allocates its focus and computing resources from moment to moment.
▶ Watch at 46:14Yoshua Bengio frames reinforcement learning as a natural way to study cause and effect because an agent's actions change the data it sees.
▶ Watch at 1:05:36GFlowNets are a novel framework designed not to find a single optimal solution, but to sample a diversity of high-reward candidates, making them well-suited for tasks like drug discovery and scientific exploration.
Yoshua Bengio says representing words as vectors with shared meaning was a crucial breakthrough that let language models generalize and overcome the curse of dimensionality.
▶ Watch at 20:20Yoshua Bengio argues that concepts like free will and mind-body dualism, while illusory, are powerful and useful constructs that enable social learning, responsibility, and credit assignment in intelligent agents.
▶ Watch at 3:36Yoshua Bengio says a deep curiosity about the human brain and intelligence has guided his career, using insights from biology and cognitive science to search for AI algorithms.
“A lot of my recent work on trying to bring in high-level cognition into neural nets...is motivated by this idea that we can put in more inductive biases, more structure that will reduce the sample complexity of...language models...and be able to do things like reasoning better.”
“'Attention is a kind of... computational policy. Where do I put my brain power right now? I want to focus on a few words that you said.'”
“With the illusion that this person could have acted differently, which of course is wrong... but that illusion is useful for what we call credit assignment in machine learning, because it helps provide a signal to change my policy so that in the future I wouldn't do those mistakes.”
“it gave me really a strong... I realized, you know, I cared about understanding how our brain works and how come we are intelligent beyond the, you know, nicety of being able to build more intelligent machines.”
“Words have shared attributes and meaning so that cat and dog can...replace each other in a sentence because there is a sort of semantic representation...in which they share a lot of attributes because they're pets.”
Yoshua Bengio argues that free will and mind and body dualism are illusions, yet these very illusions are essential for helping intelligent systems learn from mistakes. In this episode released on December 24, 2023, Bengio discusses his intellectual journey and his foundational work in deep learning. By the end, you will understand how human biology and cognitive science guide the search for the next big breakthroughs in artificial intelligence.
Looking to the human brain can guide the search for better artificial intelligence algorithms. Rather than just trying to build smarter machines, Bengio realized early on that he cared deeply about a more fundamental question: how our own brains work and why we are intelligent. Drawn to neuroscience and the PDP book, he used insights from biology and cognitive science to navigate the vast search space of potential AI algorithms.
Grouping words by their shared meanings lets language models generalize across new sentences. Early natural language processing, the field of teaching computers to understand human speech and text, struggled with what is called the curse of dimensionality. The crucial breakthrough was distributed representations, often called embeddings, which represent words as lists of numbers or vectors capturing shared meaning. As Bengio explains, because a cat and a dog share many attributes as pets, this shared representation allows a language model to swap one for the other in a sentence and generalize what it learns.
Moving from basic word pieces to abstract ideas is the key to better AI reasoning. Current language models mostly operate on low level tokens, which are raw, small pieces of data. Bengio notes that his recent work focuses on bringing high level cognition into neural networks by adding structure, known as inductive biases, so systems can discover and reason with abstract structures like grammar or cause and effect, using fewer examples to reason better.
One way a model can learn those cause and effect relationships is through reinforcement learning, where an AI learns by trial and error. When an agent takes an action, it isn't just observing data passively. Bengio frames reinforcement learning as a natural system for studying causality, because an agent's actions act as interventions that actively change the data distribution, allowing the model to learn what causes what.
That same trial and error framework also explains how a model decides what to focus on inside its own network. In AI, attention is the mechanism that helps a system weigh the importance of different pieces of information. Bengio conceptualizes attention as an internal computational policy, a reinforcement learning mechanism that decides how the system allocates its brainpower from one moment to the next, much like choosing to focus on just a few specific words someone just said.
A new framework called GFlowNets helps science by finding many good answers instead of just one. GFlowNets are designed to sample a wide diversity of high reward candidates, making them especially well suited for scientific exploration and drug discovery.
Even the illusion of free will serves a practical, computational purpose for learning. Philosophers have long debated free will and mind and body dualism, the idea that the mind and body are separate. While Bengio argues these concepts are illusory, he points out that assuming a person could have acted differently is a powerful construct for social learning, responsibility, and what machine learning calls credit assignment, providing a signal that helps an agent change its behavior to avoid repeating mistakes in the future.
Future breakthroughs in AI may depend less on scaling up existing systems and more on borrowing structure from cognitive science to manipulate high level, abstract representations of the world. Even the illusion that someone could have acted differently provides the exact signal an intelligent system needs to avoid repeating a mistake in the future.
The Gradient
The Gradient
The Gradient
The Gradient
The Gradient
The Gradient
The Gradient
The Gradient
Eye on AI
Eye on AI
Machine Learning Street Talk
Eye on AI
Lenny's Podcast: Product | Career | Growth
Brain Science Podcast with Ginger Campbell
Dwarkesh Podcast
Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas