situated design of virtual worlds using rational agents mary lou maher and ning gu key centre of...

37
Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Upload: edwina-strickland

Post on 30-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Situated Design of Virtual Worlds Using Rational Agents

Mary Lou Maher and Ning GuKey Centre of Design Computing and Cognition

University of Sydney

Page 2: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Designing Virtual Architecture

Definition: Virtual architecture comprises designed virtual places that support a broad range of human activities.

Current practice: create 3D models as place infrastructure with associated behaviors, predefined by designers.

Future: Dynamic and interactive virtual architecture that has physical architecture as roots but goes beyond static 3D modeling and construction.

Page 3: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Example Designs

Page 4: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Situated Design of Virtual Worlds

User-centred approach: dynamically designed and implemented as needed, and without the legacy of persistent infrastructure.

Rational agent (Wooldridge 2000).Virtual World Agent: each person/user has

an associated agent that negotiates and designs virtual worlds based on the current needs.

Page 5: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Foci of Various Agent Models

Reflex agent and utility agent (Russell and Norvig, 1995): a single agent and the reasoning processes involved.

Agent models of 3D virtual worlds (Maher and Gero, 2002): a society of agents, each agent is a component of a virtual world with an existing infrastructure.

Virtual world agent: performs situated design of virtual worlds for each user.

Page 6: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Components of the virtual world agent

UcVA Agent

Design Agent PartCommunication Agent Part

Page 7: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

The virtual world agent interprets the world

Interprets sense data from the world:Sensation: from raw inputs to data for reasoning

and learning.Perception: finds patterns for developing the

agent’s concepts.Conception: assigns meaning to the patterns.

Page 8: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

The virtual world agent changes the world

Reasons about changes to the world:Hypothesising: identifies the design goals for the

agent.Design: generates a design to achieve the design

goals.Action Activation: identifies the actions needed

to build the design.

Page 9: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

?environment

percepts

actions

sensors

effectors

agent

Autonomous Agents

Page 10: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

What the worldis like now

Condition-action rulesWhat action I

should do now

AgentSensors

Effectors

En

viron

men

t

Rational Agents

Page 11: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Virtual World Agent Model

Perception

Conception

Hypothesizer

Design

Sensors

Effectors

The World

Action

Page 12: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Agents as a Production System

Rules:PerceptionConception

HypothesizerDesignAction

Facts

Controller

Sensors

Effectors

Page 13: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

A Shape Grammar Design Process

Shape grammar formalism (Stiny and Gips 1972, Knight 2000) is a descriptive and generative design language.

Shape rules: Replacement rules using the spatial forms of the designs.

Designs: generated by applying a sequence of shape rules.

Page 14: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Demonstration environment

Active Worlds (AW): a multi-user 3D virtual environment for hosting the virtual world.

Jess: a rule-based production system scripting language for implementing the knowledge core.

Meeting room scenario: represent a person in the virtual world with a UcVA Agent; UcVA agents reason about the dialogues of the avatars; the agents design and construct a meeting room when the avatars decide to have an online meeting.

Page 15: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Meeting Room Scenario

Sensation: assert raw data as facts to the working memory of the agent.

Perception: recognise the keyword “meeting”, and performs a count on the number of the avatars.

Conception: further look at the keyword and its relationships with other percepts like the number of the avatars.

Hypothesising: know the need of having a meeting for two avatars, set a goal to design a meeting room.

Page 16: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating Shape Rules Using An Existing Design

The CRC world: a virtual environment for collaborative research supporting meetings/seminars, conferences and exhibition/storage.

Analysis of the CRC world: generate shape rules that capture a specific CRC-World-like style.

Style: the common characteristics of using forms and representing functions.

Page 17: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating Shape Rules Using An Existing Design

Generate the plan:

Page 18: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Shape Rules Evolved from the CRC World Plan

Generate the plan: rule 1 and rule 2.

Rule 3 and rule 4.

Page 19: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Shape Rules Evolved from the CRC World Plan

Generate the plan : rule 5 and rule 6.

Rule 7 and rule 8.

Page 20: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Shape Rules Evolved from the CRC World Plan

Generate the plan : rule 9 and rule 10.

Apply rules: step 1 (rule 1 twice); step 2 (rule 3 once); step 3 (rule 2 four times); step 4 (rule 4, 5, 6 and 7 multiple times); step 5 (rule 8 once); step 6 (rule 9 twice); step 7 (rule 10 twice).

Page 21: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Initial Shape of the CRC world plan.

Page 22: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 1 towards the CRC world plan.

Page 23: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 2 towards the CRC world plan.

Page 24: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 3 towards the CRC world plan.

Page 25: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 4 towards the CRC world plan.

Page 26: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 5 towards the CRC world plan.

Page 27: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 6 towards the CRC world plan.

Page 28: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

Step 7 towards the CRC world plan.

Page 29: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Plan by Applying Shape Rules

From initial shape to the CRC world plan.

Page 30: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Replacement Rules for Generating 3D Spatial Volumes

Replace 2D shapes with 3D units:

Page 31: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Replacement Rules for Generating 3D Spatial Volumes

Replace 2D shapes with 3D units:

Page 32: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating the CRC World Design by Applying Shape Rules

Generated form of the CRC world :

Page 33: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating Rules for Including Functional Objects

“Screen” objects for posting slides.“Sign” objects on the frame-like walls for

attaching web contents. A floating ring placed in the middle of the

room to focus the avatars’ attention for gathering purposes.

Page 34: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Rules for Placing Functional Objects

Page 35: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Constraints for Applying the Shape Rules

Initial shape: a 8m X 8m square. For less than 10 people: apply addition rules twice. For between 10 and 15 people: apply addition rules

three times. For between 15 to 20 people: apply additions rule

four times. Other shape operations: not affected.

Page 36: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Generating a New Design

Initial Shape

DesignState 1

DesignState 2

Rule 1

Page 37: Situated Design of Virtual Worlds Using Rational Agents Mary Lou Maher and Ning Gu Key Centre of Design Computing and Cognition University of Sydney

Conclusion

A design grammar can generate a very large design space with relatively few rules.

The design agent model can be used to generate player specific game environments of a specific style.

Interaction with other players can result in a combination of each players design grammar.