Discuss Mind Servers (v14)

Embed Size (px)

Citation preview

  • 7/30/2019 Discuss Mind Servers (v14)

    1/86

    Discuss Mind Servers

    Lets Build a Mind Server Meetup

    Sun 28 April 2013

    Michael S. P. Miller

  • 7/30/2019 Discuss Mind Servers (v14)

    2/86

    Overview

    Welcome 2

    Share some stories 30

    What is a Mind? 30 Play a game 20

    What is a Mind Server? 5

    Why build a Mind Server? 3

    Your Thoughts ?

  • 7/30/2019 Discuss Mind Servers (v14)

    3/86

    Welcome

  • 7/30/2019 Discuss Mind Servers (v14)

    4/86

    Sharing some stories

  • 7/30/2019 Discuss Mind Servers (v14)

    5/86

    Sharing some stories

    My story

    Name: Michael Miller

    Area of town: My area

    What brings me here? Understanding Mental Models

    Re-read The Development of Thought Designed PAM Found Patterns Designed PAM-P2

    Found Cognitive Structures Time for the rubber to hit the road

    Interests: Music, Investing, AI

    Expertise: Software Design & Development

  • 7/30/2019 Discuss Mind Servers (v14)

    6/86

    Sharing some stories

    Your story?

    Name

    Area of town

    What brings you here?

    Interests

    Expertise

    (one minute)

  • 7/30/2019 Discuss Mind Servers (v14)

    7/86

    What is a Mind?

  • 7/30/2019 Discuss Mind Servers (v14)

    8/86

    What is a Mind?

    Mars Rover - Curiosity

    Each day

    Rover sends sensory datasets to

    NASA Images Telemetry

    Batch software processes datasets Amazon Web Services

    NASA scientists plan what Rover

    does next NASA sends the plan to Rover

    Rover

    NASA

    (avatar)

    (mind)

  • 7/30/2019 Discuss Mind Servers (v14)

    9/86

    What is a Mind?

  • 7/30/2019 Discuss Mind Servers (v14)

    10/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    11/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    12/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    13/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    14/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    15/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    16/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    17/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    18/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    19/86

    A Sample Architecture

  • 7/30/2019 Discuss Mind Servers (v14)

    20/86

    A Sample Architecture

    0

    1

    2

    3

    4

  • 7/30/2019 Discuss Mind Servers (v14)

    21/86

    A Sample Avatar

    This is Smiley.

  • 7/30/2019 Discuss Mind Servers (v14)

    22/86

    A Sample Avatar

    The Mind knows nothing aboutSmiley.

  • 7/30/2019 Discuss Mind Servers (v14)

    23/86

    A Sample Avatar

    The Mind asks Smiley What are you?

    So Smiley sends its Capabilities (i.e. set ofactions):

    Eat, Laugh, Belch, Cry

    and Requirements (i.e. needs):

    Hunger = Green

    and Current Situation:

    Hunger = Green,

    Mood = Sad

  • 7/30/2019 Discuss Mind Servers (v14)

    24/86

    A Sample Avatar

    The Mind knows nothing else about Smiley

    (and neither do we).

  • 7/30/2019 Discuss Mind Servers (v14)

    25/86

    The Pursuit of Happiness

    Now suppose Smiley wants to be happy.

    So Smiley sends a Target Situation to theMind:

    Mood = Happy

    What should the Mind do?

  • 7/30/2019 Discuss Mind Servers (v14)

    26/86

    The Pursuit of Happiness

    First Some bookkeeping:

    1. Add the Current Situation to EpisodicMemory.

    2. Add the Target Situation to the Agenda.

    3. Formulate Some Possible Solutions totry.

  • 7/30/2019 Discuss Mind Servers (v14)

    27/86

    The Pursuit of Happiness

    Now the Mind can try a solution to see what happens.

    If one solution doesnt work, the Mind can try another.

    2. Add the CurrentSituation to EpisodicMemory.

    1. Add the TargetSituation to theAgenda.

    3. Propose SomePossible Solutions totry.

  • 7/30/2019 Discuss Mind Servers (v14)

    28/86

    The Pursuit of Happiness

    Now attempting the Laugh action.

  • 7/30/2019 Discuss Mind Servers (v14)

    29/86

    The Pursuit of Happiness

    Smiley returned Sad, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    30/86

    The Pursuit of Happiness

    and add this experience to our possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    31/86

    The Pursuit of Happiness

    Now attempting the Belch action.

  • 7/30/2019 Discuss Mind Servers (v14)

    32/86

    The Pursuit of Happiness

    Smiley returned Bored, so we fail thesolution.

  • 7/30/2019 Discuss Mind Servers (v14)

    33/86

    The Pursuit of Happiness

    and add this experience to our possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    34/86

    The Pursuit of Happiness

    Smiley is now Bored. In this new situation,we should propose possible solutions to try.

  • 7/30/2019 Discuss Mind Servers (v14)

    35/86

    The Pursuit of Happiness

    Now attempting the Laugh action.

  • 7/30/2019 Discuss Mind Servers (v14)

    36/86

    The Pursuit of Happiness

    Smiley returned Bored, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    37/86

    The Pursuit of Happiness

    and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    38/86

    The Pursuit of Happiness

    Now attempting the Belch action.

  • 7/30/2019 Discuss Mind Servers (v14)

    39/86

    The Pursuit of Happiness

    Smiley returned Sad, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    40/86

    The Pursuit of Happiness

    and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    41/86

    The Pursuit of Happiness

    Note that we are no longer bored, but Sad. We mustrevisit all our available solutions from the Sad

    situation.

  • 7/30/2019 Discuss Mind Servers (v14)

    42/86

    The Pursuit of Happiness

    Now attempting the Cry action.

  • 7/30/2019 Discuss Mind Servers (v14)

    43/86

    The Pursuit of Happiness

    Smiley returned Sad, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    44/86

    The Pursuit of Happiness

    and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    45/86

    The Pursuit of Happiness

    All solutions for Happy from the Sadsituation have failed.

  • 7/30/2019 Discuss Mind Servers (v14)

    46/86

    The Pursuit of Happiness

    We have not yet exhausted all solutions fromthe Bored situation,

  • 7/30/2019 Discuss Mind Servers (v14)

    47/86

    The Pursuit of Happiness

    therefore we must set a new goal, to achievethe Bored situation.

  • 7/30/2019 Discuss Mind Servers (v14)

    48/86

    The Pursuit of Happiness

    Now attempting the Belch action.

  • 7/30/2019 Discuss Mind Servers (v14)

    49/86

    The Pursuit of Happiness

    Smiley returned Bored. So we mark theaction as successful,

  • 7/30/2019 Discuss Mind Servers (v14)

    50/86

    The Pursuit of Happiness

    and we also mark its goal as achieved.

  • 7/30/2019 Discuss Mind Servers (v14)

    51/86

    The Pursuit of Happiness

    Now attempting the Cry action.

  • 7/30/2019 Discuss Mind Servers (v14)

    52/86

    The Pursuit of Happiness

    Smiley returned Excited, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    53/86

    The Pursuit of Happiness

    and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    54/86

    The Pursuit of Happiness

    In this new state we should propose newsolutions to try.

  • 7/30/2019 Discuss Mind Servers (v14)

    55/86

    The Pursuit of Happiness

    Now attempting the Laugh action.

  • 7/30/2019 Discuss Mind Servers (v14)

    56/86

    The Pursuit of Happiness

    Smiley returned Bored, so we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    57/86

    The Pursuit of Happiness

    and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    58/86

    The Pursuit of Happiness

    Smiley is Bored, and weve already tried allsolutions for happiness from this situation.

  • 7/30/2019 Discuss Mind Servers (v14)

    59/86

    The Pursuit of Happiness

    So we must set a goal to explore solutionswe have not yet tried.

  • 7/30/2019 Discuss Mind Servers (v14)

    60/86

    The Pursuit of Happiness

    Now attempting the Cry action (to returnSmiley to the Excited situation).

  • 7/30/2019 Discuss Mind Servers (v14)

    61/86

    The Pursuit of Happiness

    Smiley returns Excited (as we expected). Sowe mark the solution as successful,

  • 7/30/2019 Discuss Mind Servers (v14)

    62/86

    The Pursuit of Happiness

    and we update the goal.

  • 7/30/2019 Discuss Mind Servers (v14)

    63/86

    The Pursuit of Happiness

    Now attempting the Cry action.

  • 7/30/2019 Discuss Mind Servers (v14)

    64/86

    The Pursuit of Happiness

    Smiley returned Excited. So we fail thesolution

  • 7/30/2019 Discuss Mind Servers (v14)

    65/86

    The Pursuit of Happiness

    .and add this experience to the possiblesolutions.

  • 7/30/2019 Discuss Mind Servers (v14)

    66/86

    The Pursuit of Happiness

    Now attempting the Belch action.

  • 7/30/2019 Discuss Mind Servers (v14)

    67/86

    The Pursuit of Happiness

    Smiley returns Happy. We update the solution withSuccess, we update the Goal, and were done. Whew!!

  • 7/30/2019 Discuss Mind Servers (v14)

    68/86

    The Pursuit of Happiness

    Smiley is Happy.

  • 7/30/2019 Discuss Mind Servers (v14)

    69/86

    From a Design Perspective

    Name: Smiley

    Image:

    Attributes: Mood: Sad, Bored, Excited, Happy (teleological)

    Hunger: Green, Yellow, Orange, Red (homeostatic)

    Actions: Laugh, Belch, Cry (affect Mood)

    Eat (affects Hunger)

    Needs: Hunger=Green

  • 7/30/2019 Discuss Mind Servers (v14)

    70/86

    From a Design Perspective

  • 7/30/2019 Discuss Mind Servers (v14)

    71/86

    From a Design Perspective

  • 7/30/2019 Discuss Mind Servers (v14)

    72/86

    Now Its Your Turn

    The Mind Game

    Teams:

    Avatars, Messengers, Minds

    Rules:1. Avatar team creates an avatar.

    2. Minds team receives avatar definition.

    3. Minds team send actions to Avatar team.

    4. Avatar teams replies with new states.5. Game ends when

    6. Target situation achieved, or

    7. A timer reaches zero, or

    8. Cries for help exceed the limit

  • 7/30/2019 Discuss Mind Servers (v14)

    73/86

    Play a Game

    Avatar team creates an avatar:

    1. Define attributes, actions, behaviors (Team)

    2. Send to Mind team:

    3. initial, target situations

    4. actions

    5. (keep other attributes secret)

    6. Repeats the following until game ends:

    7. Receive actions & compute next situation (Actuator)

    8. Sends Need Status (Monitor)

    9. Forwards all Messages (Sensor)

  • 7/30/2019 Discuss Mind Servers (v14)

    74/86

    Play a game

    Mind team forms models the avatar:

    1. Receive avatar definition

    2. Actions

    3. Initial situation4. Target situation

    5. Needs

    6. Repeats the following until game ends:7. Updates events in Episodic Memory (Perceiver)

    8. Creates Solutions and Goals (Solver)

    9. Sends action from best solution (Executor)

  • 7/30/2019 Discuss Mind Servers (v14)

    75/86

    Play a game

    Messenger team communicates:

    1. Delivers messages reliably

    Other game variations

    2. Can deliver messages out of order

    3. Can delay messages4. Can drop messages

  • 7/30/2019 Discuss Mind Servers (v14)

    76/86

    Lets play.

  • 7/30/2019 Discuss Mind Servers (v14)

    77/86

    Round 1 & 2

    Avatar: Smiley

    Attributes: Affect: Sad, Happy, (+ 2 more secret states TBD)

    Hunger: Green, Yellow, Orange, Red (3 min. timer)

    Actions: Eat (only resets timer) , Laugh, Belch, Cry

    Behaviors: ??? (TBD)

    Initial: Affect=Sad

    Mind Wins: Affect= Happy

    Avatar Wins: Hunger=Red or Eat action used three times.

    d

  • 7/30/2019 Discuss Mind Servers (v14)

    78/86

    Round 3

    Avatar: ??? (TBD)

    Attributes: ???: (4 states TBD, initial & final are disclosed)

    Hunger: Green, Yellow, Orange, Red (3 min. timer)

    Actions: Cry (only resets timer) , (+ 3 more actions TBD)

    Behaviors: ??? (TBD)

    Initial: ???=??? (TBD)

    Mind Wins: ???= ??? (TBD)

    Avatar Wins: Hunger=Red or Cry action used three times.

  • 7/30/2019 Discuss Mind Servers (v14)

    79/86

    What is a Mind Server?

    Wh i Mi d S ?

  • 7/30/2019 Discuss Mind Servers (v14)

    80/86

    What is a Mind Server?

    Wh t A Mi d S i NOT

  • 7/30/2019 Discuss Mind Servers (v14)

    81/86

    What A Mind Server is NOT

    BOT NET

    A Bot Net is malicious software designedto be spread as a virus and to control andutilize the resources and processing powerof participant devices or systems.

    We are NOT building this!!

  • 7/30/2019 Discuss Mind Servers (v14)

    82/86

    Why build a Mind Server?

    Wh b ild Mi d S ?

  • 7/30/2019 Discuss Mind Servers (v14)

    83/86

    Why build a Mind Server?

    Recognition / Bragging Rights

    Can say you built Avatars, Cognitive System, orInfrastructure of a Mind Server

    Being Published Be a Co-author of papers for AAAI or

    other conferences. Speak at Conferences.

    Experience

    A good learning opportunity

    Know how to build next level AI systems

    Able to test your cognitive system with real Avatars

    Ownership

    A vote to say what we do with the collective software.

    F t T i

  • 7/30/2019 Discuss Mind Servers (v14)

    84/86

    Future Topics

    Patterns for Minds

    Avatar Design (Speakers Needed)

    Devices (Speakers Needed)

    e.g.: Nao, Romo, iOS, Android,

    Arduino, Web, ???

    Mind Provisioning (Speakers Needed)

    Schedule, Resources, Deliverables,Coordination

    Thi k Ab t

  • 7/30/2019 Discuss Mind Servers (v14)

    85/86

    Think About

    Your interests:

    Building Avatars & User Interfaces

    Provisioning Minds

    Building Minds

    Other?

    (one minute)

  • 7/30/2019 Discuss Mind Servers (v14)

    86/86

    Next Meeting Date & Location

    TBA

    E-mail: [email protected]

    Site: http://piagetmodeler.tumblr.com