liveBook · Manning

Chapter 19: The future of AI

What you will learn in chapter 19 of Deep Learning with Python, Third Edition

The chapter introduction explains why understanding deep learning’s limits matters for using it appropriately, then previews a discussion of AI’s future.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The chapter introduction explains why understanding deep learning’s limits matters for using it appropriately, then previews a discussion of AI’s future.

Key terms: limitations of deep learning

19.1 The limitations of deep learning

The section frames deep learning as a powerful but limited tool whose limitations matter for using it well.

Key terms: deep learning, limitations, strengths

19.1.1 Deep learning models struggle to adapt to novelty

This section argues that deep learning’s reliance on patterns learned during training makes models effective on familiar cases but poor at adapting to novelty.

Key terms: parametric curve, training time, inference time, static database, large language models, next-token prediction, novel problem, familiarity, failure cases, special-casing

19.1.2 Deep learning models are highly sensitive to phrasing and other distractors

The section shows how small changes to images or prompts can sharply alter deep learning outputs and explains why this makes prompt engineering necessary.

Key terms: adversarial examples, gradient ascent, input space, LLMs, prompts, Alice in Wonderland riddle, prompt engineering, latent space, lookup query, interpolative

19.1.3 Deep learning models struggle to learn generalizable programs

This section explains why deep learning models can perform well on familiar examples yet fail to learn exact, generalizable programs such as digit addition.

Key terms: generalizable programs, exact addition algorithm, interpolating, continuous geometric transformations, discrete logic, place value, carrying over, learnable

19.1.4 The risk of anthropomorphizing machine-learning models

This section explains why models’ learned mappings should not be mistaken for human understanding and why that mistake leads people to overestimate their abilities.

Key terms: sensorimotor experience, geometric transform, training inputs, training targets, theory of mind, anthropomorphizing, training data

19.2 Scale isn’t all you need

This section argues that scaling current deep-learning models improves benchmark performance without resolving their underlying limits in adaptation and reasoning.

Key terms: scaling laws, benchmarks, memorization tests, curve fitting, interpolative programs, inference time, adapt to novelty, continuous geometric morphing, data manifold, algorithmic reasoning tasks

19.2.1 Automatons vs. intelligent agents

The section explains how early brains evolved to execute inherited behavioral programs and why the author calls them automatons rather than fully intelligent agents.

Key terms: behavioral programs, sensory inputs, motor controls, neural connectivity patterns, behavior space, automatons, intelligent agents, trained deep neural network

19.2.2 Local generalization vs. extreme generalization

This section contrasts automation with intelligence by explaining why deep nets generalize near their training data while humans can adapt to unfamiliar situations through abstraction.

Key terms: automation system, automaton, intelligent agent, extreme generalization, abstraction, reasoning, abstract models, local generalization, known unknowns, interpolation on a manifold

19.2.3 The purpose of intelligence

The section explains why changing environments favored adaptable intelligence over hardcoded behavior and defines intelligence as using experience to respond to novel situations.

Key terms: behavior generation, automatons, adaptability, generality, intelligence, understanding, modular, reusable abstractions, extreme generalization

19.2.4 Climbing the spectrum of generalization

The section places biological and artificial cognition on a spectrum of generalization, arguing that deep learning has expanded local generalization but has not yet reached human-like adaptability.

Key terms: spectrum of generalization, local generalization, extreme generalization, automatons, broad generalization, unknown unknowns, single broad domain of tasks, Woz test of intelligence, cognitive automation, artificial cognition

19.3 How to build intelligence

This introduction recalls that deep learning’s latent-manifold interpolation is not the whole of intelligence and poses the question of what else is needed.

19.3.1 The kaleidoscope hypothesis

The section explains how analogy makes unfamiliar situations intelligible and proposes that the world’s apparent novelty arises from recombinations of a relatively small set of meaningful elements.

Key terms: intelligence, analogies, past experience, abstract concepts, kaleidoscope hypothesis, atoms of meaning, recombination, isomorphisms

19.3.2 The essence of intelligence: Abstraction acquisition and recombination

The section defines intelligence as efficiently acquiring reusable abstractions and recombining them for new situations, then uses that definition to identify two limits of classic deep learning.

Key terms: abstractions, abstraction acquisition, on-the-fly recombination, efficiency, limited experience, uncertainty and novelty, classic deep learning paradigm, gradient descent, training time, test time

19.3.3 The importance of setting the right target

The section argues that AI objectives shape what systems become, and that fixed-task success is a poor target for developing intelligence that adapts to novelty.

Key terms: shortcut rule, success metric, prediction accuracy, fixed task, generalization power, uncertainty and novelty, human-like intelligence

19.3.4 A new target: On-the-fly adaptation

The section argues for measuring intelligence by on-the-fly generalization and presents ARC-AGI as a benchmark designed around novel tasks and controlled prior knowledge.

Key terms: generalization power, intelligence, efficiency ratio, shortcut rule, ARC-AGI, input grid, output grid, on the fly, prior knowledge, Core Knowledge priors

19.3.5 ARC Prize

The section introduces the ARC Prize and uses ARC-AGI results to argue that scaling existing models has not produced the fluid intelligence the benchmark tests.

Key terms: ARC Prize Foundation, ARC-AGI, fluid intelligence, memorization, scaling paradigm, on-the-fly recombination

19.3.6 The test-time adaptation era

This section explains test-time adaptation and uses the 2024 ARC Prize results and OpenAI’s o3 preview to illustrate its growing importance.

Key terms: test-time adaptation, TTA, on-the-fly recombination, test-time training, gradient descent, search methods, chain-of-thought synthesis, program synthesis, ARC Prize 2024, o3

19.3.7 ARC-AGI 2

This section explains why o3’s ARC-AGI-1 performance did not establish human-level intelligence and how ARC-AGI-2 tests efficient fluid reasoning more rigorously.

Key terms: computational efficiency, brute-forcing, fluid reasoning, ARC-AGI-1, ARC-AGI-2, fluid reasoning ability, exhaustive search methods, o3, base LLMs, human-like fluid intelligence

19.4 The missing ingredients: Search and symbols

This introduction links intelligence to acquiring and recombining abstractions and points out that the form of those abstractions affects how they can be recombined.

Key terms: abstraction acquisition, abstraction recombination, parametric curves, gradient descent

19.4.1 The two poles of abstraction

This section contrasts two ways of forming abstractions: grouping similar instances into prototypes and finding exact shared structures across instances.

Key terms: value-centric analogy, similarity comparison, latent manifold, prototypes, local generalization, program-centric analogy, structure-centric analogy, exact structural match, subgraph isomorphism, discrete structures

19.4.2 Cognition as a combination of both kinds of abstraction

The section argues that cognition combines intuition and discrete reasoning, and that their interplay enables extreme generalization.

Key terms: two poles of abstraction, implicit reasoning, intuition, extreme generalization

19.4.3 Why deep learning isn’t a complete answer to abstraction generation

The section argues that deep learning’s strength in value-centric abstraction must be complemented by program-centric abstraction, using sorting and digit recognition to show why each approach suits different problems.

Key terms: value-centric abstraction, program-centric abstraction, abstraction generation, sorting algorithm, generalization, perception problems, MNIST digits, parametric model, manifold hypothesis

19.4.4 An alternative approach to AI: Program synthesis

This section explains how program synthesis searches for source code that meets a specification, contrasts it with neural-network learning, and presents it as a route to program-centric abstraction.

Key terms: program synthesis, search algorithm, required specifications, input-output pairs, parameter values, source code, discrete search process, program-centric abstraction

19.4.5 Blending deep learning and program synthesis

This section explains how deep learning and program synthesis could complement each other: by combining learned and algorithmic modules, and by using learned intuition to guide program search.

Key terms: hybrid, deep learning models, handcrafted symbol-manipulation programs, programming primitives, discrete program search, gradient descent, algorithmic-geometric models, program synthesis, program search, combinatorial explosion

19.4.6 Modular component recombination and lifelong learning

The section argues that future AI systems should reuse and recombine robust components across tasks, building a shared library from cumulative experience rather than starting each task from scratch.

Key terms: reuse between tasks, training a new model from scratch, foundation models, LLMs, recombination, compositional generalization, function composition, meta-learning systems, global library, reusable blocks

19.4.7 The long-term vision

The section sketches a long-term vision of AI that combines program-like reasoning with deep-learning intuition to build reusable models that adapt to new tasks.

Key terms: algorithmic modules, geometric modules, formal reasoning, pattern-recognition, program-centric abstraction, value-centric abstraction, meta-learning system, global library, reusable subroutines, modular parts

Where this is used later

Concepts explained in this chapter

← Chapter 18: Best practices for the real world Chapter 20: Conclusions →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.