Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch...

41
Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots

Transcript of Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch...

Page 1: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Lecture 4. Evolution: Cognition from Scratch

Fabio BonsignorioThe BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots

Page 2: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Intelligence:

Hard to agree on definitions, arguments

• necessary and sufficient conditions?• are robots, ants, humans intelligent?

more productive question:“Given a behavior of interest, how to implement it?”

2

Page 3: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Successes and failures of the classical approach

3

successesapplications (e.g. Google)chessmanufacturing(“controlled”artificial worlds)

failuresfoundations of behaviornatural forms of intelligenceinteraction with real world

Page 4: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

The “symbol grounding” problem

real world:doesn’t come with labels …

How to put the labels??

4

Gary Larson

Page 5: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

5

Two views of intelligence

classical: cognition as computation

embodiment: cognition emergent from sensory-motor and interaction processes

Page 6: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

The need for an embodied perspective

6

• “failures” of classical AI• fundamental problems of classical approach• Wolpert’s quote: Why do plants not …?

(but…check…Barbara Mazzolai’s lecture…)• Interaction with environment: always

mediated by body

Page 7: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

“Frame-of-reference” Simon’s ant on the beach

• simple behavioral rules• complexity in interaction,

not — necessarily — in brain

• thought experiment:increase body by factor of 1000

7

Page 8: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Industrial robots vs. natural systems

8

principles:- low precision- compliant- reactive- coping with uncertainty

humans

no direct transfer of methodsrobots

Page 9: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Communication through interaction with

• exploitation of interaction with environment

simpler neural circuits

9

angle sensors in joints

“parallel, loosely coupled

processes”

Page 10: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Emergence of behavior: the quadruped “Puppy”

10

• simple control (oscillations of “hip” joints)

• spring-like material properties (“under-actuated” system)

• self-stabilization, no sensors• “outsourcing” of functionality

morphological computation

actuated:oscillation

springs

passive

Page 11: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Implications of embodiment

11

Pfeifer et al.,Science,16 Nov. 2007

“Puppy”, But Also Cruse’s Ants!!!

Page 12: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Implications of embodiment

12

Pfeifer et al.,Science,16 Nov. 2007

“Puppy”which part of diagram is relevant? —>

Page 13: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

13

Emerging Intelligence: Cognition from

Interaction, Development and Evolution

Lecture 6

F. Bonsignorio

Page 14: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Communication through interaction with

• exploitation of interaction with environment

simpler neural circuits

14

angle sensors in joints

“parallel, loosely coupled

processes”

Page 15: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Emergence of behavior: the quadruped “Puppy”

15

• simple control (oscillations of “hip” joints)

• spring-like material properties (“under-actuated” system)

• self-stabilization, no sensors• “outsourcing” of functionality

morphological computation

actuated:oscillation

springs

passive

Page 16: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Implications of embodiment

16

Pfeifer et al.,Science,16 Nov. 2007

“Puppy”, But Also Cruse’s Ants!!!

Page 17: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Building grounded symbols (labeling!)

Human: grasping object — patterns of sensory stimulation “match” morphology of agent

Puppy: patterns from pressure sensors or joint angle trajectories: match morphology of agent

17

grounding for “high-level”cognition

Page 18: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Towards a theory of intelligence

• on swarm behavior in real birds: video

• orchestration control

• sensory-motor coordination — information self-structuring

• linking to ontogenetic development

• high-level cognition: the Lakoff-Nunez hypothesis

• building embodied cognition: artificial neural networks

• principles for development18

Page 19: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Today’s topics

• on swarm behavior in real birds: video• short recap and motivation• sensory-motor coordination — information

self-structuring• linking to ontogenetic development• high-level cognition: the Lakoff-Nunez

hypothesis• building embodied cognition: artifical neural 19

Video “real birds swarm”

Page 20: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Is our body a kind of ‘swarm’?

• remenber the inner life of a cell

20

Video: “The inner life of a cell”

Page 21: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Motivation for developmental approach• Time perspectives• Turing’s idea• Learning essential characteristics of

embodied system• Scaling complexity through development

(e.g., Bernstein’s problem)

21

Page 22: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Motivation for developmental approach• Time perspectives• Turing’s idea• Learning essential characteristics of

embodied system• Scaling complexity through development

(e.g. Bernstein’s problem)

22

Page 23: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Time perspectives

23

Page 24: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Motivation for developmental approach• Time perspectives• Turing’s idea• Learning essential characteristics of

embodied system• Scaling complexity through development

(e.g. Bernstein’s problem)

24

Page 25: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Turing’s ideaInstead of trying to produce a programme to simulate the adult mind, why not rather try to produce one which simulates the child’s? If this were then subjected to an appropriate course of education one would obtain the adult brain. Presumably the child brain is something like a notebook as one buys it from the stationer’s. Rather little mechanism, and lots of blank sheets. … Our hope is that there is so little mechanism in the child brain that something like it can be easily programmed. The amount of work in the education we can assume, as a first approximation, to be much the same as the human child.Turing, 1950/1963, p. 31

25

Page 26: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Motivation for developmental approach• Time perspectives• Turing’s idea• Learning: essential characteristics of

embodied system• Scaling complexity through development

(e.g., Bernstein’s problem)

26

Page 27: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Motivation for developmental approach• Time perspectives• Turing’s idea• Learning essential characteristics of

embodied system• Scaling complexity through development

(e.g., Bernstein’s problem)

27

difference between learning and development?

—>

Page 28: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

The “story”: physical dynamics and information

• cross-modal association, learning, concept formation

• extraction of mutual information • prediction: embodied anticipatory

behaviors• categorization (fundamental for cognition)

28

Page 29: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Learning and development in embodied systems

Through sensory-motor coordinated interaction: induction of sensory patterns containing information structure.

F-O-R: Sensory-motor coupling: control scheme;Induction of information structure: effect (principle of “information self-structuring”)

29

Page 30: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Learning and development in embodied systems

Through sensory-motor coordinated interaction: induction of sensory patterns containing information structure.

F-O-R: Sensory-motor coupling: control scheme;Induction of information structure: effect (principle of “information self-structuring”)

30

foundation of learning and development

Page 31: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

High-level cognition: the Lakoff-Núñez Hypothesis

Even highly abstract concepts such as “transitivity”, “numbers”, or “limits” are grounded in our embodiment. Mathematical concepts are constructed in a way that — metaphorically — reflects our embodiment.

31

George Lakoff und Rafael Núñez (2000). Where mathematics comes from: how the embodied mindbrings mathematics into being.New York: Basic Books.

Page 32: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Implementation of learning in embodied systems

important approaches:

“Artificial Neural Networks”

“Deep Learning”

“Information Theory”(on curved spaces, too)

“Network physics”32

Page 33: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Additional aspects of development

• integration of many different time scales

• social interaction- imitation, joint attention, scaffolding- natural language

33

Page 34: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Integration of time scales

34

Page 35: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Additional aspects of development

• integration of many different time scales

• social interaction- imitation, joint attention, scaffolding- natural language

35

Page 36: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Emergence of global patterns from local rules — self-organization

“wave”in stadium

termite mound

bee hive

open source development community

Page 37: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Emergence of scaling in cities

termite mound

bee hive

humancities

Page 38: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

A network physics model of urban growth

• A theoretical framework to predict the average social, spatial, and infrastructural properties of cities as a set of scaling relations that apply to all urban systems

• Confirmation of these predictions was observed for thousands of cities worldwide,

• Measures of urban efficiency independent of city size and possible useful means to evaluate urban planning strategies.

L M. A. Bettencourt, The Origins of Scaling in Cities, Science 340(6139), 201

Page 39: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Emergence of behavior from time scales: locomotion and pushing

• development (morphogenesis) embedded into evolutionary process, based on GRNs

• testing of phenotypes in physically realistic simulation

Page 40: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Characteristics of real-world environments

• information acquisition takes time• information always limited• noise and malfunction• no clearly defined states• multiple tasks• rapid changes — time pressure• non-linearity: intrinsic uncertainty Chengdu

Page 41: Lecture 4. Evolution: Cognition from Scratch€¦ · Lecture 4. Evolution: Cognition from Scratch Fabio Bonsignorio The BioRobotics Institute, SSSA, Pisa, Italy and Heron Robots .

Characteristics of real-world environments

• information acquistion takes time• information always limited• noise and malfunction• no clearly defined states• multiple tasks• rapid changes — time pressure• non-linearity: intrinsic uncertainty

Chengdu

Herbert Simon’s concept of“bounded rationality”