MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

96
A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture* Youichiro Miyake @miyayou https://www.facebook.com/youichiro.miyake [email protected] 2016.9.26 (Sat) @Nishijin Plaza Kyushu University http://mcg.imi.kyushu-u.ac.jp/meis2015/

Transcript of MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Page 1: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

A Multilayered Model for

Artificial Intelligence of Game Character

as Agent Architecture*

Youichiro Miyake @miyayou https://www.facebook.com/youichiro.miyake

[email protected]

2016.9.26 (Sat)

@Nishijin Plaza Kyushu University

http://mcg.imi.kyushu-u.ac.jp/meis2015/

Page 2: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Summary

• I am a game developer in game industry for more than 10 years.

• My research is focused on AI in digital game.

• There are some mathematical structures in AI.

• I want to show it in talk…

Page 3: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 4: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

INTRODUCTION

Page 5: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Introduction

• From classical AI to modern AI.

• It means from scripted AI to autonomous AI.

Page 6: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture
Page 7: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Level

Navigation AI

Meta-AI

Character AI

Dynamic allocation of enemies Observing level in real-time Direction for agents Making progress of game

Autonomous thinking Cooperation Team AI

Preparing data to make meta-AI and character AI recognize the level Managing object representation Managing Navigation data Path-finding / Tactical point analysis

Support

Enemy character

Player

Information Acquisition

Control

Brain

http://dear-croa.d.dooo.jp/download/illust.html

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 8: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 9: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

AGENT ARCHITECTURE

Page 10: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Technological Innovation

Time

Scale

The Industrial Revolution

Information Revolution

Network Revolution

Intelligence Revolution

Automation

Computerization

Networked

Intelligent

The 2nd Industrial Revolution

Motorization

1750 1860 1960 1990 Now…

Into “Intelligent” Wolrd

Page 11: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Society and AI

Robot

Generation

Poppulation

AI

ageing society with fewer children Robot and AI will support ageing society with fewer children

© 2015 SQUARE ENIX CO., LTD. All rights reserved

Page 12: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Intelligent Game System

Game System Intelligent

Game System

Digital Games also has become intelligent. So, what is “Intelligent Game System” ?

Page 13: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

What is digital game ?

• Interactive Digital Space

• The space becomes structured.

• AI becomes a module

Page 14: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

The System of digital game AI

• A role of AI in digital game become clear.

• There are three roles of AI.

AI to control a whole game system

AI of character (Character’s Brain)

AI to recognize an environment in game by analyzing a level, terrain, and space.

Meta AI

Character AI

Navigation AI

Page 15: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Two Axis to categorize AI • The problem of “What is AI” is very difficult problem. • We had better know what problem AI is seeking to resolve.

Space Scale

Time Scale

Local Short time

Global timeless

Global Long time

Meta-AI

Character AI

Navigation AI

Page 16: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Level

Navigation AI

Meta-AI

Character AI

Dynamic allocation of enemies Observing level in real-time Direction for agents Making progress of game

Autonomous thinking Cooperation Team AI

Preparing data to make meta-AI and character AI recognize the level Managing object representation Managing Navigation data Path-finding / Tactical point analysis

Support

Enemy character

Player

Brain

Information Acquisition

Control

http://dear-croa.d.dooo.jp/download/illust.html

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 17: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Environment and Character

Environment

Character

Character has interactions with an environment.

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 18: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Environment and Character

Environment

Character

Character has interactions with an environment.

IN PUT

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 19: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Environment and Character

Environment

Character

Character has interactions with an environment.

IN PUT

OUT PUT

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 20: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Environment and Character

Environment

Character Intelligence

Character has interactions with an environment.

IN PUT

OUT PUT

http://www.kaiyodo.co.jp/revoltech/yamaguchi_2012.html

Page 21: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Intelligence

World

Sensor

Information Flow

Effector

Agent Architecture

Page 22: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World

(Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Information Flow

Memory Internal Cyclic Information Flow

Sensor

Effector

Intelligence

Agent Architecture

Page 23: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Information Flow

• Information flow connects the outer (environment) and the inner(=intelligence).

• This is caused by mental activity to organize the inner mind’s dynamics.

Information Flow

Internal Cyclic Information Flow

Making AI is achieved by designing Information flow. In actually, there are many information flow inside a mind.

Page 24: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 25: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

BLACKBOARD ARCHITECTURE

Page 26: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Blackboard

KS

KS

KS

KS

KS

KS

Arbiter

Bruce Blumberg , Damian Isla, "Blackboard Architectures", AI Game Programming Wisdom (Charles River Media) , 2002

Blackboard Architecture (Knowledge-based AI)

Each KS (Knowledge Source) has special knowledge for a problem. KS read and write information on Blackboard. Arbiter controls all of KS.

All KSs communicate with each other via Blackboard.

Page 27: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hierarchical Blackboard

Primitive data

Analyzed data

More analyzed data

More analyzed data

More analyzed data

KS

KS

KS

KS

Page 28: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Hierarchical Blackboard (Example)

Page 29: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Page 30: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Blackboard

Page 31: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Blackboard

KS (Knowledge Source)

Page 32: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Blackboard Arbiter

KS (Knowledge Source)

Page 33: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Page 34: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Hearsay-II Voice Analysis Process

PARAMETER

SYLLABLE

SEGMENT

Erman et Al. The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty, ACM Computing Surveys (CSUR) Surveys Homepage archive Volume 12 Issue 2, June 1980, Pages 213-253 http://dl.acm.org/citation.cfm?doid=356810.356816

Page 35: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture
Page 36: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 37: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

AGENT ARCHITECTURE WITH BLACKBOARD ARCHITECTURE

Page 38: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World

(Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Information Flow

Memory Internal Cyclic Information Flow

Sensor

Effector

Intelligence

Agent Architecture

Page 39: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

Page 40: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

Page 41: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

Blackboard

Page 42: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

KS (Knowledge Source)

Page 43: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

KS (Knowledge Source)

Modularization has advantage of game development, because each module can be developed and improved independently. And it becomes easy to add a module in the development. More intelligent creature has more intelligent modules in its architecture.

Page 44: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Agent Architecture applied Blackboard Architecture

KS (Knowledge Source)

Blackboard in Agent Architecture gives scalability and customizability.

Page 45: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 46: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

SUBSUMPTION ARCHITECTURE

Page 47: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Abstraction (verbalizing)

Reactive

More Abstract thinking

Theoretical thinking

Abstract thinking

primitive stimuli becomes language

Making a body action Making a behavior

Page 48: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Classical : Central domain All processes of intelligent modules are executed in sequence.

Subsumption : parallel & layered All processes of intelligent modules are executed in parallel.

Rodney Brooks, A robust layered control system for a mobile robot Robotics and Automation, IEEE Journal of (Volume:2 , Issue: 1 ) 1986

Page 49: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Roomba (iRobot)

http://www.irobot.com/en/us/learn/home/roomba.aspx

Roomba has a subsumption architecture.

Page 50: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Reactive

R

When a robot sees an object, It turns around.

Page 51: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Reactive

R

When a robot sees an object, and Sees a cliff on the side It stops turning and gets back .

Page 52: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Reactive

More Abstract thinking

Abstract thinking

R When a robot hears a sound, It stops anyway by stopping all motions.

Page 53: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Reactive

More Abstract thinking

Theoretical thinking

Abstract thinking

R

When a robot cleans all rooms, It goes to energy station.

Page 54: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Subsumption Architecture

INPUT OUTPUT

Time

Abstraction (verbalizing)

Reactive

More Abstract thinking

Theoretical thinking

Abstract thinking

primitive stimuli becomes language

Making a body action Making a behavior

Agent Architecture applied subsumption architecture.

Page 55: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World

(Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Information Flow

Memory Internal Cyclic Information Flow

Sensor

Effector

Intelligence

Agent Architecture

Page 56: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World

(Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Memory

Sensor

Effector

Agent Architecture

Hierarchical Recognition

Synthesis of motions

Knowledge Making

Decision Making

Motion Making

Knowledge Making

Decision Making

Motion Making

Page 57: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World

(Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Memory

Sensor

Effector

Agent Architecture

Hierarchical Recognition

Synthesis of motions

Knowledge Making

Decision Making

Motion Making

Knowledge Making

Decision Making

Motion Making

Page 58: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Game World (Environment/Level)

Five senses

Body

Language

Knowledge Representation

Knowledge Making

Decision Making

Body

Motion Making

Memory

Sensor

Effector

Agent Architecture

Hierarchical Recognition

Synthesis of motions

Knowledge Making

Decision Making

Motion Making

Knowledge Making

Decision Making

Motion Making

Distributed Layered

Architecture =

Subsumption Architecture

Page 59: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

References

http://people.csail.mit.edu/brooks/publications.html

Page 60: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. Modern Agent Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 61: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

MODERN AGENT ARCHITECTURE FOR A GAME CHARACTER

Page 62: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

身体の反射レベル

Decision-Making

Physical Informat

ion

Abstract Informat

ion

More Abstract Informat

ion

Abstraction

Time

Decision-Making

Decision-Making

Decision-Making

Multi-Layered Blackboard

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Sensor Effector

World Dynamics

Artificial Intelligence

Page 63: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Decision-Making

Physical Informat

ion

Abstract Informat

ion

More Abstract Informat

ion

Abstraction

Time

Decision-Making

Decision-Making

Decision-Making

Multi-Layered Blackboard

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Sensor Effector

World Dynamics

Artificial Intelligence

Page 64: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

身体の反射レベル

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Object

Object image on the lowest layer (Umwelt)

Object image on the second layer

Object image on the third

layer

Object image on the top

layer

Sensor Effector

Artificial Intelligence

Page 65: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

身体の反射レベル

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Object

Object image on the lowest layer (Umwelt)

Object image on the second layer

Object image on the third

layer

Object image on the top

layer

Sensor Effector

Artificial Intelligence

Information Flow

Page 66: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt (Environment World)

8. Hierarchical structure / commutative diagram / Homomorphism in agent architecture

9. Summary

Page 67: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

UMWELT

Page 68: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Umwelt

• “Umwelt” means a subjective world which a living thing has.

• “Umwelt” depends on its ecology.

Page 69: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Umwelt

Jakob Johann Baron von Uexkül, Adolf Portmann, Streifzüge durch die Umwelten von Tieren und Menschen, ROWOHLT HAMBURG,1956 http://monoskop.org/Monoskop

Page 70: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

WORLD

BODY

Umwelt

A living thing grasps an objects in the world by two hands: functional effectors and perceptual sensors.

Object

Functional Organ (Body = Effector)

Perceptual Organ (Sensor)

Page 71: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

WORLD

BODY

Umwelt

Object

Functional Organ (Body = Effector)

Perceptual Organ (Sensor)

A subjective world is created by functional effectors and perceptual sensors.

Page 72: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

WORLD

BODY

Umwelt

Object

Functional Organ (Body = Effector)

Perceptual Organ (Sensor)

Each living thing has its different body and sensors.

A subjective world is created by functional effectors and perceptual sensors.

Page 73: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

WORLD

BODY

Umwelt

Object

Functional Organ (Body = Effector)

Perceptual Organ (Sensor)

Each living thing has a different subjective world. = Umwelt

Page 74: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Bee’s Umwelt Objective

World

Bee’s Umwelt

Bees are interested in flowers.

Jakob Johann Baron von Uexkül, Adolf Portmann, Streifzüge durch die Umwelten von Tieren und Menschen, ROWOHLT HAMBURG,1956 http://monoskop.org/Monoskop

Page 75: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Snail's Umwelt Research

①Put a snails on a ball. ②iterate to push and pull a bar in front of the snails. ③change a frequency of the iteratetion.

Experiment

Result

In 1-3 /sec frequency, a snail did not go to the front, but Over 4 frequency, It went front.

Conclusion

A snails recognize the bar stops over 4 frequency. =In snails’ Umwelt, a frequency of sensors is under 4. (Human frequency is about 18.)

Jakob Johann Baron von Uexkül, Adolf Portmann, Streifzüge durch die Umwelten von Tieren und Menschen, ROWOHLT HAMBURG,1956 http://monoskop.org/Monoskop

Page 76: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Snail's Umwelt Research

A child chicken is tied to a bar with rope and closed in a transparent dome which prevent sound propagation.

Experiment

Result

(Upper) Parent chicken ignored it. (Lawer) Parent chicken went to help a child.

Conclusion

In chicken’s Umwelt, voice is more important rather than visual sensor.

ユクスキュル/クリサート、 「生物から見た世界」 (岩波文庫)

Jakob Johann Baron von Uexkül, Adolf Portmann, Streifzüge durch die Umwelten von Tieren und Menschen, ROWOHLT HAMBURG,1956 http://monoskop.org/Monoskop

Page 77: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

身体の反射レベル

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Object

Object image on the lowest layer (Umwelt)

Object image on the second layer

Object image on the third

layer

Object image on the top

layer

Sensor Effector

Artificial Intelligence

Information Flow

Page 78: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt (Environment World)

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 79: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

HIERARCHICAL STRUCTURE / COMMUTATIVE DIAGRAM / HOMOMORPHISM IN AGENT ARCHITECTURE

Page 80: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

身体の反射レベル

Abstraction

Abstraction

Reduction

Reduction

Reduction

World

Object

Object image on the lowest layer (Umwelt)

Object image on the second layer

Object image on the third

layer

Object image on the top

layer

Sensor Effector

Artificial Intelligence

Information Flow

Page 81: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Real World

Page 82: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

Image of object Image of body (=self)

R R Representation

Page 83: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

Image of object Image of body (=self)

R R

R R

Page 84: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

O’’ S’’

Action: f’’

Sense: p’’

R R

R R

R R

Page 85: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Page 86: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Sequence of Self

Sequence of Object

R R

Page 87: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Sequence of Self

Sequence of Object

Page 88: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Sequence of Self

Sequence of Object

“Self” is a sequence of selfs. “Object” is a sequence of objects.

Page 89: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Sequence of Self

“Self” is a sequence of selfs. “Object” is a sequence of objects.

Page 90: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Representation

• “Representation” is essential concept of AI.

• “Knowledge Representation” (KR) is representation of knowledge AI uses.

• To transform “real things” to KR is the most basic techniques in AI.

Page 91: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

Sequence of Self

“Self” is a sequence of selfs. “Object” is a sequence of objects.

Vector to move Vector to enter

Dude, Where's My Warthog: From Pathfinding to General Spatial Competence, D. Isla, Invited talk, Artificial Intelligence and Interactive Digital Entertainment (AIIDE) 2005 http://naimadgames.com/publications.html

Page 92: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

“Self” is a sequence of selfs. “Object” is a sequence of objects.

Killzone 2 Multiplayer Bots Remco Straatman, Tim Verweij, Alex Champandard | Paris Game/AI Conference 2009, Paris, June 2009 http://www.guerrilla-games.com/publications.html

Page 93: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

S (Body)

O (Object)

Action: f

O’

Sense: p

S’

Action: f’

Sense: p’

O’’ S’’

Action: f’’

Sense: p’’

R

R

R

R

“Self” is a sequence of selfs. “Object” is a sequence of objects.

Handling Complexity in the Halo 2 AI, D. Isla, GDC 2005 Dude, Where's My Warthog: From Pathfinding to General Spatial Competence, D. Isla, Invited talk, Artificial Intelligence and Interactive Digital Entertainment (AIIDE) 2005 http://naimadgames.com/publications.html

Page 94: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Contents

1. Introduction

2. Agent Architecture

3. Blackboard Architecture

4. Agent Architecture with Blackboard architecture

5. Subsumption Architecture

6. MODERN AGENT Architecture for A game Character

7. Umwelt

8. Hierarchical structure / commutative diagram / Homomorphism in Agent Architecture

9. Summary

Page 95: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

SUMMARY

Page 96: MEIS 2015 : A Multilayered Model for Artificial Intelligence of Game Character as Agent Architecture

Summary

• I am a game developer in game industry for more than 10 years.

• My research is focused on AI in digital game.

• There are some mathematical structures in AI.

• I want to show it in talk…