1 of 47

Fixing Artificial Intelligence with Natural Intelligence

Joshua (jovo) Vogelstein, PhD

BME@JHU

2 of 47

Experiential Learning: 2 experiments

3 of 47

Experiential Learning

  • 5 heads?
  • 6 heads or tails?
  • 7 heads or tails?
  • 8 heads or tails?
  • Longest sequence?

4 of 47

Can LLMs even generate random coin flips?

5 of 47

Executive Summary

  • What is learning
  • How did we get it
  • How do we model it
  • What is wrong with our model
  • How do we fix it
  • Now what do we do

6 of 47

7 of 47

8 of 47

9 of 47

What’s the deal with biological learning?

  • Learning: the ability to use the past to improve future performance.
  • It evolved because the past is related to the future (though distinct from it).

10 of 47

How do we model learning?

  • In AI, what we call “learning”, is a model of a natural phenomenon
  • Multiple formal definitions
    • PAC learning
    • Online learning
    • Reinforcement learning
  • George Box: “All models are wrong, some are useful.”

11 of 47

The leading AI model of learning

12 of 47

The leading AI model of learning

Probably Approximately Correct (PAC)

  • Nearly 100 years old
  • Workhorse of modern AI revolution (useful)
  • Assumptions are wrong:
  • Data are IID: identical and independently distributed
  • Goal is fixed.

13 of 47

Simplest. Model. Ever. (coin flips)

14 of 47

Next. Simplest. Model. Ever. (Alternating coin flips)

15 of 47

Why you might care…

16 of 47

Why else you might care…

  • Intelligence makes us us.
  • We call ourselves homo sapiens!

17 of 47

Published: 2013

18 of 47

Data model

  • Input: x (e.g., images, questionnaire answers, etc.)
  • Output: y (e.g., disease status)
  • Comes in pairs, (x,y)
  • Each pair is IID
  • D: a “data corpus” of n pairs of IID data

19 of 47

Hypotheses

  • h: eats input, spits out output
  • h(x) → y
  • H: the set of all possible h’s
    • Deep nets
    • Random forests
    • Linear functions
    • etc.

20 of 47

Learner

  • Eats a data corpus, spits out a hypothesis
  • L(D) → h
  • We choose a learner that we hope learns a good hypothesis

21 of 47

A “good” hypothesis

  • Minimize empirical loss between predictions and truth
    • Loss could be sum of squared errors
    • minimize sum( (h(xi) - yi)2)
  • But what about overfitting and stuff?
  • Instead, find hypothesis that minimizes expected loss in the future
  • Risk = expected future loss

22 of 47

Fundamental theorem of pattern recognition

A learner exists with the following property: with enough data, it will select a hypothesis that is probably approximately correct.

In other words, with enough data, the learner will select a hypothesis whose expected loss is arbitrarily close to the best one could do, with arbitrarily high probability.

23 of 47

Example learners with this property

Example learners without this property

  • Histograms
  • Support Vector Machines
  • Random Forests
  • Empirical risk minimization
  • Linear regression
  • Deep networks

24 of 47

Notice any issues?

No time.

25 of 47

Our proposed solution:

Prospective Learning

26 of 47

Data model

  • Input: x (e.g., images, questionnaire answers, etc.)
  • Output: y (e.g., disease status)
  • Comes in pairs, (x,y)
  • Each pair is IID
  • Each pair neither identical nor independently distributed
  • D: a “data corpus” of n pairs of IID data

27 of 47

Hypothesis class

  • Eats input & time, spits out output
  • h(x,t) → y(t)
  • H: the set of all possible h’s
    • Deep nets with time
    • Random forests with time
    • Linear functions with time
    • etc. with time

28 of 47

Learner

  • Eats a data corpus, spits out a hypothesis sequence
  • L(D) → h(. , t)
  • We choose a learner that we hope learns a good hypothesis sequence

29 of 47

A “good” hypothesis

  • Minimize empirical loss between predictions and truth in the future
    • Loss could be sum of squared errors over the future
    • minimize sum( (h(x,t) - y(t))2)
  • But what about overfitting and stuff?
  • Instead, find hypothesis that minimizes expected loss in the future
  • Risk = expected future loss

30 of 47

Fundamental theorem of pattern recognition

prospective learning

A learner exists with the following property: with enough data, it will select a hypothesis that is probably approximately correct forever in the future.

In other words, with enough data, the learner will select a hypothesis whose expected loss is arbitrarily close to the best one could do, with arbitrarily high probability.

31 of 47

Example 1: reversal learning

32 of 47

Example 2: non-Markov learning

33 of 47

Can GenAI Prospect (LLMs)?

34 of 47

No.

35 of 47

Discussion

  • We just added time to the foundation of ML/AI
  • Theory says simple algorithms should work
  • Simple (prospective) algorithms solve simple (prospective) problems
  • Fancy (retrospective) algorithms utterly/embarrassingly fail

36 of 47

What’s next?

  • Model some humans?
  • See whether simple algorithms work on real-world problems
  • Make better algorithms

37 of 47

Publications

  1. De Silva et al. The Value of Out-of-Distribution Data, ICML, 2023.
  2. De Silva et al. Prospective Learning: Principled Extrapolation to the Future, CoLLAs, 2023.
  3. De Silva et al. Prospective Learning: Principled Extrapolation to the Future, preprint available upon request.

38 of 47

Thanks

NSF Simons MoDL,�ONR N00014-22-1-2255, �NSF CCF 2212519

39 of 47

More thanks.

Questions?

40 of 47

41 of 47

Kinds of biological learning

  • reinforcement learning
  • behavioral learning
  • imitation learning
  • associational learning
  • sensorimotor learning

42 of 47

43 of 47

Time encoding

44 of 47

Example A.2:

number learning

Task 1: 1-5�Task 2: 4-7�Task 3: 6-9�Task 4: 8-10

45 of 47

Example A.3:

image learning

46 of 47

Example B.2:

number learning

Task 1: 1-5�Task 2: 4-7�Task 3: 6-9�Task 4: 8-10

47 of 47

Example B.3:

image learning