3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations1 Biological Foundations of the Reactive Paradigm Review Why? -comp. theory IRM.

Slides:



Advertisements
Similar presentations
Cognitive Systems, ICANN panel, Q1 What is machine intelligence, as beyond pattern matching, classification and prediction. What is machine intelligence,
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
Chapter 3: Neural Processing and Perception. Lateral Inhibition and Perception Experiments with eye of Limulus –Ommatidia allow recordings from a single.
Chapter 4 Introduction to Cognitive Science
PowerPoint® Presentation by Jim Foley © 2013 Worth Publishers The Biology of Mind.
$ recognition & localization of predators & prey $ feature analyzers in the brain $ from recognition to response $ summary PART 2: SENSORY WORLDS #09:
Animal Behavior Lab Isopods, fruit fly, red worms, and termites.
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Embedded System Lab Kim Jong Hwi Chonbuk National University Introduction to Intelligent Robots.
January 4 and 8, 2002PSYC , Term 2, Copyright Jason Harrison Approaches to Perception and Cognition Philosophical, Early, Classic and Modern.
Introduction to Robotics In the name of Allah. Introduction to Robotics o Leila Sharif o o Lecture #2: The Big.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Jochen Triesch, UC San Diego, 1 Real Artificial Life: Robots.
December 1, 2009Introduction to Cognitive Science Lecture 22: Neural Models of Mental Processes 1 Some YouTube movies: The Neocognitron Part I:
Motor Schema - Based Mobile Robot Navigation System - Ronald C. Arkin.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
Motor Schema Based Navigation for a Mobile Robot: An Approach to Programming by Behavior Ronald C. Arkin Reviewed By: Chris Miles.
Visual Cognition I basic processes. What is perception good for? We often receive incomplete information through our senses. Information can be highly.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Introduction to mobile robots Slides modified from Maja Mataric’s CSCI445, USC.
Behavior- Based Approaches Behavior- Based Approaches.
Jochen Triesch, UC San Diego, 1 COGS Visual Modeling Jochen Triesch & Martin Sereno Dept. of Cognitive Science UC.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
1B50 – Percepts and Concepts Daniel J Hulme. Outline Cognitive Vision –Why do we want computers to see? –Why can’t computers see? –Introducing percepts.
Robotica Lezione 1. Robotica - Lecture 12 Objectives - I General aspects of robotics –Situated Agents –Autonomous Vehicles –Dynamical Agents Implementing.
Behavior Based Systems Behavior Based Systems Lezione 5.
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Introduction to Behavior- Based Robotics Based on the book Behavior- Based Robotics by Ronald C. Arkin.
MIND: The Cognitive Side of Mind and Brain  “… the mind is not the brain, but what the brain does…” (Pinker, 1997)
Review List three body systems that work together to create a response to a stimulus Sequence What is the correct sequence of the following in response.
3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations1 Biological Foundations of the Reactive Paradigm Review Why? -comp. theory IRM.
Reactive Paradigm – Overview Subsumption Architecture By Ian Jonkers Studies in Machine Learning: Intelligent Robotics.
Robotica Lecture 3. 2 Robot Control Robot control is the mean by which the sensing and action of a robot are coordinated The infinitely many possible.
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
Active Vision Key points: Acting to obtain information Eye movements Depth from motion parallax Extracting motion information from a spatio-temporal pattern.
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
1 Cal Poly Pomona Robot Navigation Salomón Oldak, Ph.D. Electrical and Computer Engineering 2/8/06.
Outline: Biological Metaphor Biological generalization How AI applied this Ramifications for HRI How the resulting AI architecture relates to automation.
Robotica Lecture 3. 2 Robot Control Robot control is the mean by which the sensing and action of a robot are coordinated The infinitely many possible.
Artificial Intelligence By Michelle Witcofsky And Evan Flanagan.
Behavioral Ecology Behavioral ecology is the study of an animal’s behavior & how it is tied to its evolution, survival, and its reproductive success. –
Lecture 3 - Race against Time 1 Three points for today Sensory memory (SM) contains highly transient information about the dynamic sensory array. Stabilizing.
Chapter 3: Neural Processing and Perception. Neural Processing and Perception Neural processing is the interaction of signals in many neurons.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
INNATE BEHAVIOR CH. 31. I. BEHAVIOR A. Define Behavior 1. Anything an animal does in response to a stimulus. a.Example: Heat stimulates a lizard to seek.
Intelligent Robotics Today: Robot Control Architectures Next Week: Localization Reading: Murphy Sections 2.1, 2.3, 2.5, 3.1, 3.5, 3.6, 4.1 – 4.3, 4.5,
Method: Reaction Time (RT)
Optical Illusions What the Mind Sees.
“Physical concepts are free creations of the human mind, and are not, however it may seem, uniquely determined by the external world.” Albert Einstein.
Lecture 1: Overview of Motor Control. What is Motor Control?
Behavior Based Systems Behavior Based Systems. Key aspects of the behavior-based methodology: Situatedness: Situatedness:  The robot is an entity situated.
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
Chapter Twelve Robotics: The Ultimate Intelligent Agents.
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
BEHAVIORAL BIOLOGY Section A: Introduction to Behavior and Behavioral Ecology 1.What is behavior? 2. Behavior has both proximate and ultimate causes 3.
Psychology 3680 Illusion Lecture. What is Vision?
Stages involve Discontinuous (qualitative) change Invariant sequence –Stages are never skipped.
The Agent and Environment Presented By:sadaf Gulfam Roll No:15156 Section: E.
Chapter 39.3 – 39.6 ~ Animal Behavior
COGNITIVE LEVEL OF ANALYSIS An Introduction. Cognitive Psychology studies: how the human mind comes to know things about the world AND how the mind uses.
What is cognitive psychology?
Vision.
Learning Fast and Slow John E. Laird
CS 4630: Intelligent Robotics and Perception
Bioagents and Biorobots David Kadleček, Michal Petrus, Pavel Nahodil
Biological Foundations of the Reactive Paradigm
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations1 Biological Foundations of the Reactive Paradigm Review Why? -comp. theory IRM Perception -Summary Describe the three levels in a Computational Theory. Explain in one or two sentences each of the following terms: reflexes, taxes, fixed-action patterns, schema, affordance. Be able to write pseudo-code of an animal’s behaviors in terms of innate releasing mechanisms, identifying the releasers for the behavior. Given a description of an animal's sensing abilities, its task, and environment, identify an affordance for each behavior. Given a description of an animal's sensing abilities, its task, and environment, define a set of behaviors using schema theory to accomplish the task.

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations2 Robots In the Hierarchical Paradigm

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations3 Timeline of Influences Braitenberg’s Vehicles Arbib’s Schemas Tinbergen & Lorenz & von Frisch Marr’s Computational Theory J.J. Gibson Neisser Middlestat Arkin’s Schemas Brook’s Insects Payton

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations4 Marr’s Computational Theory Level 1: What is the phenomena we’re trying to represent? for (i=nCol.. Level 2: How it be represented as a process with inputs/outputs? Level 3: How is it implemented?

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations5 Level 1: Existence Proof Level 1: What is the phenomena we’re trying to represent? Goal: how to make line drawings of objects? people can do this by age 10, computers should

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations6 Level 2: Inputs, Outputs, Transforms for (i=nCol.. Level 2: How it be represented as a process with inputs/outputs? light drawing retina (gradient) light lines (edges)drawing

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations7 Level 3: Implementation Level 3: How is it implemented? Center Surround Cell in retinal ganglion Sobel Edge Detector in computer vision

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations8 Class Discussion Give three examples of how biology has informed modern technology? –ex. Wright Brothers- control flaps on airplane wings

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations9 Behavior Definition (graphical) BEHAVIOR Sensory Input Pattern of Motor Actions

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations10 Types of Behaviors Reflexive –stimulus-response, often abbreviated S-R Reactive –learned or “muscle memory” Conscious –deliberately stringing together WARNING Overloaded terms: Roboticists often use “reactive behavior” to mean purely reflexive, And refer to reactive behaviors as “skills” WARNING Overloaded terms: Roboticists often use “reactive behavior” to mean purely reflexive, And refer to reactive behaviors as “skills”

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations11 Ethology: Coordination and Control of Behaviors Nobel 1973 in physiology or medicine von Frisch Lorenz Tinbergen INNATE RELEASING MECHANISMS

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations12 Arctic Terns Arctic terns live in Arctic (black, white, gray environment, some grass) but adults have a red spot on beak When hungry, baby pecks at parent’s beak, who regurgitates food for baby to eat How does it know its parent? –It doesn’t, it just goes for the largest red spot in its field of view (e.g., ethology grad student with construction paper) –Only red thing should be an adult tern –Closer = large red

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations13 behavior template BEHAVIOR Sensory Input Pattern of Motor Actions

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations14 “the feeding behavior” Feeding BEHAVIOR Sensory Input Pattern of Motor Actions REDPECK AT RED

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations15 the releaser template Releaser present? N Y /dev/null Sensory input and/or internal state

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations16 “the feeding releaser” Feeding BEHAVIOR REDPECK AT RED Releaser present? N Y /dev/null internal state RED & HUNGRY sensory input

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations17 Innate Releasing Mechanisms BEHAVIOR Sensory Input Pattern of Motor Actions Releaser present? N Y /dev/null Sensory input and/or internal state

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations18 Example: Hide Behavior Programmed in C++, << 100 LOC shows –taxis (oriented relative to light, wall, niche) –fixed action pattern (persisted after light was off) –reflexive (stimulus, response) –impliciting sequencing –use of internal state

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations19 Example: Cockroach Hide light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations20 Reflexive Behaviors S-R light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations21 Fixed Pattern Actions light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations22 Exhibits Taxis light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier to light to wall to niche

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations23 Class Exercise Draw flowchart of how this works light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out even if the lights are turned back off earlier

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations24 Break into Behaviors light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations25 Find Releasers light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N LIGHT present? N Ooops, need internal state: Scared Ooops, need internal state: Scared

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations26 Internal State Set light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N BLOCKED & SCARED present? N SCARED

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations27 Action light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N BLOCKED & SCARED present? N SCARED steer 360, drive forward steer =F(dist to wall) drive forward const. steer =F(dist to wall) drive forward const. stop

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations28 Sensory Input light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N BLOCKED & SCARED present? N SCARED steer 360, drive forward steer =F(dist to wall) drive forward const. steer =F(dist to wall) drive forward const. stop encoders IR

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations29 How Do You Link Them? light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N BLOCKED & SCARED present? N SCARED steer 360, drive forward steer =F(dist to wall) drive forward const. steer =F(dist to wall) drive forward const. stop encoders IR

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations30 Analogy: IRMs work on THREADS, not sequential processing! Very simple modules Nice building blocks since not directly linked If one module (part of brain) fails, what happens?

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations31 What happens when there’s a conflict from concurrent behaviors? Equilbrium –Feeding squirrels-feed, flee: hesitate in-between Dominance –Sleepy, hungry: either sleep or eat Cancellation –Sticklebacks defend, attack: build a nest ?

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations32 Perception Two uses of perception (can be the same percept) –Release a behavior –Guide a behavior Action-oriented perception (Neisser) –Planning is not needed to act –Perception is selective Cognitive Activity World Perception of Environment Samples, Finds Potential Actions Acts & Modifies World Directs what to look for

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations33 Gibson’s Ecological Approach Acting and sensing co-evolved as agent survived in a particular environment. The environment affords the agent what it needs to survive. The perception needed to release or guide the “right action” is directly in the environment, not inferred or memorized –Ex. Red on Artic Terns== food –Ex. Sound of filling container==full Percepts are called affordances or said to be obtained through direct perception

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations34 Gibsonian Affordances How do you know you’re going fast in a car? Or in a space movie? How do animals know when to mate? How do mosquitoes know to bite in the most tender areas? What should you do when you think you’re being stalked by a mountain lion? What’s your favorite fishing lure?

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations35 Sittability

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations36 But does this really hold for everything? “my car” versus “your car”? –Difference is where I parked it (memory) Semantic meaning (cars aren’t generic like nuts to a squirrel) Neisser’s Two Systems –Direct Perception: older, behavioral –Recognition: evolved later, deliberative

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations37 Review Questions What are the levels of a computational theory? Existence proof, inputs-outputs-transformations, implementation What is a behavior? A behavior is a mapping of sensory inputs to a pattern of motor actions Is sequencing normally implicit or explicit in IRM? implicit What is an affordance? A potentiality in the environment for an action

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations38 Schema Theory schema- is used in cognitive science and ethology to refer to a particular organized way of perceiving cognitively and responding to a complex situation or set of stimuli is generic, equivalent to an object in OOP –schema specific knowledge (local data) –procedural knowledge (methods) schema instantation is specific to a situation, equivalent to an instance in OOP a behavior is a schema, consists of –perceptual schema –motor schema

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations39 Behavioral Schema Motor Schema (MS) Perceptual Schema (PS) percept, gain action, intensity alternative PS, MS sequencing logic for reactive skills (judgment value function) Reflexive behaviors usually just have “methods”, not data

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations40 Ex. Fly Snapping Behavior IRM snap(blob)track(blob) x,y,z, 100% snap, 100% Releaser: small moving dark blob present? N Y /dev/null

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations41 Schema Instantiation (SI) snap(blob)track(blob) x,y,z, 100% snap, 100% Releaser: small moving dark blob present? N Y /dev/null

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations42 Schema/Schema Instantiation behavior schema releaser present? N 1. snap(blob)track(blob) snap(blob) track(blob) Perceptual Schema Library Motor Schema Library 2. snap(blob)track(blob) x,y,z, 100% 3.

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations43 Advantages modular can assemble new behaviors from existing schemas –learning by experimentation can substitute alternatives –reroute nerves

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations44 Instantiation for each eye snap, 100% snap(blob)track(blob) x,y,z, 100% Releaser: small moving dark blob present? N Y /dev/null snap, 100% snap(blob)track(blob) x,y,z, 100% Releaser: small moving dark blob present? N Y /dev/null Left eye Right eye Snap at vector sum (middle)

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations45 Where’s the MS and PS? light goes on, the cockroach turns and runs when it gets to a wall, it follows it when it finds a hiding place (thigmotrophic), goes in and faces outward waits until not scared, then comes out Flee Follow- wall hide LIGHT present? N Y SCARED & SURROUNDED present? N BLOCKED & SCARED present? N SCARED steer 180, drive forward steer =F(dist to wall) drive forward const. steer =F(dist to wall) drive forward const. stop encoders IR

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations46 General Principles All animals possess a set of behaviors Releasers for these behaviors rely on both internal state and external stimulus Perception is filtered; perceive what is relevant to the task Some behaviors and associated perception do not require explicit knowledge representation (e.g., rely on affordances)

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations47 Silicon v. Carbon Individual robots must survive, not species –detection of non-productive behaviors –graceful degradation Must be able to predict emergent behaviors Not clear how to learn quickly Robots need more alternative perceptual schemas since poorer understanding of the environment

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations48 Unresolved Issues How to resolve conflicts? –behavioral arbitration/combination When is explicit representations, memory needed? How to set up or learn new sequences of behaviors What are the affordances for a particular ecology?

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations49 Take Home Thoughts… Ideas bubbling up for robotics –Maybe programming in terms of behaviors is better than STRIPS or trying to set up a complex hierarchy –Intelligence has something to do with agent’s ecological niche: its abilities, its tasks (survival), and environment –Perception is going to be critical because it releases and guides actions –IRMs, Schemas are nice ways to start thinking about the computational structure of programming a robot

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations50 Review Questions Think about the robots at the WTC. What are affordances of victims? color, motion, sound, heat Can schema theory represent behaviors in both biological and computational systems? yes A behavior schema is composed of at least the following: motor schema and a perceptual schema What is an example of behavior-specific knowledge? sequencing in a skill, alternative PS or MS

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations51 BEHAVIOR Sensory Input Pattern of Motor Actions Releaser present? N Y /dev/null

3 Introduction to AI Robotics (MIT Press)Chapter 3: Biological Foundations52 Inhibition while (TRUE) { predator = sensePredator(); //has a time delay if (predator==PRESENT) //as long as predator persists flee(); else { food = senseFood(); hungry = checkStateHunger();... } } Could also be done as an interrupt