1. Home
  2. The Gradient

Dec 24, 2023

Why AI needs high-level reasoning

Yoshua Bengio

74 min → 2:37

Overview

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.

3 things to know

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

Attention decides where a system spends computing power, Bengio says

Yoshua 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:14

Bengio says reinforcement learning naturally teaches cause and effect

Yoshua 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:36

Also in this episode

GFlowNets for Exploratory Sampling

GFlowNets 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.

Bengio says shared word meanings let language models generalize

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:20

Free will is a useful illusion, Bengio argues

Yoshua 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:36

Bengio: Brain science guided my search for AI algorithms

Yoshua 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.

Quotes

“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.”

▶ Watch at 22:45

“'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.'”

▶ Watch at 46:14

“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.”

▶ Watch at 1:05:36

2 more quotes

“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.”

▶ Watch at 3:36

“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.”

▶ Watch at 20:20

Full summary

Episode Overview

  • Yoshua Bengio discusses his intellectual journey, from his early inspiration drawn from neuroscience and the PDP book to his foundational work in deep learning.
  • The conversation covers the evolution of NLP, from the "curse of dimensionality" and the power of distributed representations to the current need for models that can reason with high-level abstract structures.
  • Bengio introduces his recent research on connecting causality, reinforcement learning (RL), and attention, framing attention as an internal computational policy.
  • The discussion explores novel frameworks like GFlowNets for scientific discovery and delves into the philosophical implications of AI, including the computational utility of consciousness and the "illusion" of free will.

Key Concepts

  • Neuroscience as a Guide: Bengio's career has been guided by a deep curiosity about the human brain and intelligence, using insights from biology and cognitive science to navigate the search space of AI algorithms.
  • Distributed Representations: The concept of representing words as vectors (embeddings) with shared semantic attributes was a crucial breakthrough for overcoming the "curse of dimensionality" and enabling generalization in language models.
  • Higher-Level Cognition: A central theme is the need to move beyond current models that operate on low-level tokens towards systems that can discover and reason with high-level, abstract structures (like grammar or causal relationships), which is key to improving sample efficiency and reasoning.
  • Reinforcement Learning & Causality: Bengio frames RL as a natural framework for studying causality, where an agent's actions are "interventions" that change the data distribution, allowing a model to learn cause and effect.
  • Attention as Internal RL: Attention is conceptualized as an internal "computational policy," an RL-like mechanism that determines how the system allocates its computational resources and focus from one moment to the next.
  • GFlowNets for Exploratory Sampling: GFlowNets 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.
  • The Computational Utility of Illusion: Bengio argues that concepts like free will and mind-body dualism, while illusory, are powerful and useful constructs for enabling social learning, responsibility, and credit assignment in intelligent agents.

Quotes

  • At 3:36 - "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." - Bengio explaining how his motivation shifted towards a fundamental scientific quest to understand intelligence, inspired by the connection between AI and neuroscience.
  • At 20:20 - "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." - Bengio explains the core benefit of word embeddings: capturing semantic similarities to allow for generalization and bypass the curse of dimensionality.
  • At 22:45 - "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." - Bengio connects his work on high-level cognition directly to improving the efficiency and capabilities of language models beyond what current methods allow.
  • At 46:14 - "'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.'" - Bengio explains his view of attention as an internal reinforcement learning policy that directs the focus of computation.
  • At 65:36 - "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." - Bengio explains the functional, social, and computational utility of the "illusion" of free will for enabling learning and responsibility.

Takeaways

  • Future breakthroughs in AI may depend less on scaling existing architectures and more on incorporating inductive biases from cognitive science to create more sample-efficient and robust reasoning systems.
  • The next frontier for AI involves building models that can discover and manipulate high-level, abstract representations of the world, moving beyond the limitations of processing raw, low-level data.
  • Reframing AI components through different lenses, such as viewing attention as an internal reinforcement learning policy, can unlock new research directions and capabilities.
  • Even seemingly intractable philosophical concepts like free will can be approached from a computational perspective, where they are understood as useful mechanisms for learning and social coordination.

Watch the full episode 1 hr 14 min

Read along with the audio summary

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.

More from The Gradient

Related Episodes