SlideShare a Scribd company logo
Design Issues
Outline

  • Agent review

  • Approaches to building applications

  • Agent & interagent programming tips

  • Incremental system development & evaluation

  • Summary




                                                  2/20
What is an Agent?

     Voyager, Aglets,
           Odyssey      Mobile Agents
                           Programs that move among computer hosts
    Robots, Softbots,   Autonomous Agents
                 BDI
                           Based on planning technologies
   FireFly, MIT Media   Learning Agents
                 Lab
                           User preferences, collaborative filtering,...
     Microsoft Agent,
                Julia
                        Animated Interface Agents
                           Avatars, chatbots, ...
  ModSAF, RoboCup       Simulation-based Entities
 SIMS, InfoSleuth, IR   Data/Info finding, filtering and merging
   OAA, KQML, FIPA      Cooperative Agents
                           Cooperation among distributed
                           heterogeneous programmatic components

                                                                           3/20
Approaches to Building Applications




                         Monolithic      Object-Oriented     Distributed Object
                        Applications      Applications          Applications

            Objective

     Suitable for Internet environment
Virtual community of dynamic services
     Adaptable to changing, evolving                         Dynamic addition
                   network resources
         Flexible interactions among             OAA
                          components          Applications



                                                                                  4/20
Approaches to Distributed Computing

  • Mobile objects

  • Blackboard architectures

  • Agent communication languages (ACL)

  • Publish & subscribe brokers




                                          5/20
Mobile Objects (Agents)

  • Objects move under their own power (e.g., Voyager, Aglets)

  • Advantages
     – Network bandwidth for certain classes of problems
     – Parallelism - many objects can be spawned


  • Disadvantages
     – Programmatically specify where to go and what to do, through a known interface
     – Little automated support for inter-object cooperation
     – Programming language specific (non-heterogeneous)




                                                                                        6/20
Blackboard Architectures

  • Knowledge Sources read and write tuples from a common information
    space
    (e.g. LINDA, FLiPSiDE)

  • Advantages
    – Eliminates explicitly programmed interactions among participants


  • Disadvantages
    – KS cannot coordinate interactions            tuple(abc,1,2,3)
    – Polling




                                                                         7/20
Publish & Subscribe Brokers

  • Clients register interest, broker routes/filters msgs

  • Examples: Talarian SmartSockets, Active Software’s ActiveWeb, ACL
    Brokers

  • Advantages
     – Destination process(es) not explicitly encoded
     – No polling


  • Disadvantages                                       Broker
     – Simple filtering, unitary messages




                                                                        8/20
Agent Communication Languages

 • Communication message types based on speech acts (e.g., ask, tell,
   deny) + conversational policies

 • Examples: FIPA ACL, KQML

 • Advantages
    – Rich interaction model, peer-to-peer based
    – Standardized message types, content-agnostic


 • Disadvantages
    – Conformance to specs not universal
    – Explicitly coded interactions among participants

                                                         Ask
                ANS, Service Broker
                                                         Reply


                                                                        9/20
Comparison of Distributed Approaches


  Distributed               Dist. Objects,
                            Mobile Agents,
                            ACL, Blackboards, Pub/Sub

  Heterogeneous languages   Distributed Objects,
                            ACL, Blackboards
  Non-coded interactions    Blackboards, Pub/Sub

  Parallel Services         Blackboards
  Compound Expressions      (Mobile Agents)
  Constraints               No




                                                        10/20
                                                        10/20
Agent & Interagent Programming Tips

  • Choosing an agent Interface

  • Information sharing strategies

  • Domain-specific vs. domain-independent agents

  • Adding speech & NL to interfaces




                                                    11/20
                                                    11/20
Choosing an Agent Interface

  • Natural-language inspired interfaces
     – Imperative Verb, Direct Object, ParamList, (Result)
     – Parameter lists hold Adjs, Advs & Prepositions as well as extensible programmatic
       instruction


  • Classes tagged by type
     – inform(phone, ringing, Params)
     – send_message(MsgRef, Params) :-
           memberchk(by(fax), Params)


  • Succeed once with list vs. Multiple success
     – get(email, message_headers, +Params, -ListOfHeaders)
     – phone_number(Person, PhoneNum)




                                                                                           12/20
                                                                                           12/20
Information Sharing Strategies (1)

  • Example: Phone dialer agent

  • 1. Query
     – When an agent wants to know the status of the
       phone, it asks the Facilitator who asks the phone
       agent
     – pa: oaa_Declare(status(phone, S),[])
     – ?a: oaa_Solve(status(phone, S), [])


  • 2. Post (Blackboard)
     – The phone agent writes its status to the Facilitator;
       agents can query the facilitator for status, and
       install a trigger which proactively monitors changes
       to status
     – pa: oaa_AddData(status(phone, busy), [])
     – ia: oaa_Solve(status(phone, S), []),
         oaa_AddTrigger(data, status(phone,S), notify(Me,
                             phone(S)), [on(change)])

                                                               13/20
                                                               13/20
Information Sharing Strategies (2)

  • 3. Inform
     – Broadcast time-critical events to interested parties
     – ia: oaa_Declare(msg(phone, Msg), [])
     – pa: oaa_Solve(msg(phone, ringing, []), [inform])




                                                              14/20
                                                              14/20
Domain-specific vs. Domain-independent

  • Move domain-dependent code into separate agent
  • Employ hooks and parameters to allow domain-specific tailoring of
    functionality

  • Always ask:
    Domain-specific or domain independent?
     –   Phone agent?
     –   Office interface?
     –   Notify agent?
     –   Speech recognition?
     –   Natural language?
     –   Facilitator?




                                                                        15/20
                                                                        15/20
Adding Speech & NL

 • User Interface responsible for:
    – accepting user input, sending requests, displaying results
    – controlling interactions of speech and NL


 • Complex interpretation processed by external domain agent




                                                                   16/20
                                                                   16/20
Incremental System Development & Evaluation

  • Collaborative Multimodal Map application adapted for Wizard Of Oz
    (WOZ) experiment to elicit data about coordinated use of language
    and gesture




                                                                        17/20
                                                                        17/20
Subject Screen vs. Wizard Screen




                                   18/20
                                   18/20
Hybrid Wizard Of Oz Experiment

  • Naive user free to write, draw, or speak without constraints imposed
    by current technology

  • Wizard must respond quickly and accurately by using existing means,
    including pen and voice

  • Simultaneous evaluation of:
     – Experienced user manipulating real system
     – New user, providing data for future extensions


  • Bootstrap effect: continuous loop from data to theory, to system
    enhancement

  • Improvements from data analysis quantifiable

  • General-purpose approach
                                                                           19/20
                                                                           19/20
Hybrid WOZ: Implementation

  • System logging and playback “for free” using OAA collaboration
    facilities

  • “Subject mode”: functional interpretation (mostly) turned off

  • Addition of simple Wizard Feedback panel (separate agent) for text-
    to-speech messages
    (e.g., “Function not available.”)




                                                                          20/20
                                                                          20/20
Summary

 • Review of designing issues in software agents

 • Not good for every application, but good for:
    – integrating numerous components which need to cooperate, often across language
      boundaries
    – supporting media translation
    – distributed reference resolution
    – tasking through adaptable or multimodal user interfaces
    – human/agent collaborative systems & incremental dvpt
    – exploring direct manipulation/task delegation tradeoffs




                                                                                       21/20
                                                                                       21/20

More Related Content

DOC
Iuliu Bodola .
karesz57
 
PPS
The Hardest Thing To Say To Someone 1
pmizuo
 
PPT
200901011454110 當前學校品德教育之省思及我見
Kuo-Yi Chen
 
PDF
Presentatie Claudia Landewe Sroi Online Hulp 101111
ClaudiaLandewe
 
PDF
4 agile developement_using_ccrc-sujeet_mishra
IBM
 
PDF
Programa oficial reunion n°9
UTTA OSPAT
 
PPT
PLAN DE EVACUACIÓN
nuria carrero
 
PDF
Php day4
Giang Nguyễn
 
Iuliu Bodola .
karesz57
 
The Hardest Thing To Say To Someone 1
pmizuo
 
200901011454110 當前學校品德教育之省思及我見
Kuo-Yi Chen
 
Presentatie Claudia Landewe Sroi Online Hulp 101111
ClaudiaLandewe
 
4 agile developement_using_ccrc-sujeet_mishra
IBM
 
Programa oficial reunion n°9
UTTA OSPAT
 
PLAN DE EVACUACIÓN
nuria carrero
 
Php day4
Giang Nguyễn
 

Viewers also liked (18)

PPTX
Fractures
cpreis
 
PPT
The Landscape of Citizen Science
Darlene Cavalier
 
PDF
Productinformatie Conneo
J.R. Voorhorst
 
PPT
Digital Vision for CALP
taipida
 
PDF
Zfx ca csm1405
Willy Wanka
 
PDF
Electrospn 2 tucker-full
miroli
 
PPTX
Super matematika gasing
Budi Santoso
 
PPT
2011 digital media foundation
Facepalm!
 
PPTX
Libary 2.0
avanwert
 
PPT
GT PLC Session 3- Learning Stations
micklethwait
 
PPT
Commission recherche, renforcement de capacité, formation - Ecovillage Madaga...
FCA (Forum du Conseil Agricole) & SNRA (Système National de Recherche Agricole)
 
PPTX
Markstrat Ceo Debrief
Allison Stokes
 
PDF
5 challenges in_building_enterprise_mashups-rick_b
IBM
 
PDF
2 trasnformation design_patterns-sandeep_katoch
IBM
 
PPT
Тенденции развития рынка
Artem
 
PPT
Public Engagement in Science: Open Access PHL
Darlene Cavalier
 
PPT
The flaites
Jenny Ordóñez
 
PPT
The Big Miracle vocabulary
micklethwait
 
Fractures
cpreis
 
The Landscape of Citizen Science
Darlene Cavalier
 
Productinformatie Conneo
J.R. Voorhorst
 
Digital Vision for CALP
taipida
 
Zfx ca csm1405
Willy Wanka
 
Electrospn 2 tucker-full
miroli
 
Super matematika gasing
Budi Santoso
 
2011 digital media foundation
Facepalm!
 
Libary 2.0
avanwert
 
GT PLC Session 3- Learning Stations
micklethwait
 
Commission recherche, renforcement de capacité, formation - Ecovillage Madaga...
FCA (Forum du Conseil Agricole) & SNRA (Système National de Recherche Agricole)
 
Markstrat Ceo Debrief
Allison Stokes
 
5 challenges in_building_enterprise_mashups-rick_b
IBM
 
2 trasnformation design_patterns-sandeep_katoch
IBM
 
Тенденции развития рынка
Artem
 
Public Engagement in Science: Open Access PHL
Darlene Cavalier
 
The flaites
Jenny Ordóñez
 
The Big Miracle vocabulary
micklethwait
 

Similar to 7 (20)

PDF
I'll See You On the Write Side of the Web
Stuart Charlton
 
PDF
Korolev et al. Smart Space Applications Integration: A Mediation Formalism an...
OSLL
 
KEY
Switch! Recommending Artifacts Needed Next Based on Personal and Shared Context
alexandersahm
 
PPT
Elml 2009
kathayat
 
PDF
SMARCOS CNR Paper Workshop Distributed UI
Smarcos Eu
 
PDF
A Framework for Classifying and Comparing Architecture-Centric Software Evolu...
Pooyan Jamshidi
 
PDF
3a5 accessible eu project use cases
AEGIS-ACCESSIBLE Projects
 
PPT
All about agents jade
Aryan Rathore
 
PDF
Platforms and the Semantic Web
Danny Ayers
 
PPT
07 communication
Irfan Khan
 
PDF
Alla ricerca della user story perduta
Better Software
 
PDF
Alla ricerca della User Story perduta
Edoardo Schepis
 
PDF
Interaction Paradigms
Sebastian Weinhold
 
PPTX
HCI
Meet Shah
 
PPT
Arch stylesandpatternsmi
lord14383
 
PPT
Is It API Time For A New Strategy?
Pat Cappelaere
 
PPT
Metadata and Taxonomies for More Flexible Information Architecture
jrhowe
 
PDF
Inventing the future Business Programming Language
ESUG
 
PPTX
Mega Collaboration Interface
guest8c177f
 
I'll See You On the Write Side of the Web
Stuart Charlton
 
Korolev et al. Smart Space Applications Integration: A Mediation Formalism an...
OSLL
 
Switch! Recommending Artifacts Needed Next Based on Personal and Shared Context
alexandersahm
 
Elml 2009
kathayat
 
SMARCOS CNR Paper Workshop Distributed UI
Smarcos Eu
 
A Framework for Classifying and Comparing Architecture-Centric Software Evolu...
Pooyan Jamshidi
 
3a5 accessible eu project use cases
AEGIS-ACCESSIBLE Projects
 
All about agents jade
Aryan Rathore
 
Platforms and the Semantic Web
Danny Ayers
 
07 communication
Irfan Khan
 
Alla ricerca della user story perduta
Better Software
 
Alla ricerca della User Story perduta
Edoardo Schepis
 
Interaction Paradigms
Sebastian Weinhold
 
Arch stylesandpatternsmi
lord14383
 
Is It API Time For A New Strategy?
Pat Cappelaere
 
Metadata and Taxonomies for More Flexible Information Architecture
jrhowe
 
Inventing the future Business Programming Language
ESUG
 
Mega Collaboration Interface
guest8c177f
 

More from Giang Nguyễn (20)

PDF
Php can ban_bai1_laptrinhwebphp.com
Giang Nguyễn
 
PDF
Os xmldomphp
Giang Nguyễn
 
PDF
Os php-7oohabits
Giang Nguyễn
 
PDF
Os php-5.3new1
Giang Nguyễn
 
PDF
Lap trinh web dong voi php my sql
Giang Nguyễn
 
PDF
Kentcources 110109221507-phpapp01
Giang Nguyễn
 
PDF
Hay php architect eav modeling
Giang Nguyễn
 
PDF
Haiphongit.com.tai lieu-php.my sql-thiet-ke-web-dong
Giang Nguyễn
 
PDF
Haiphongit.com.tai lieu-laptrinh ph-pvamysql
Giang Nguyễn
 
PDF
Chuong07 php
Giang Nguyễn
 
PDF
Bai th08 php voi csdl
Giang Nguyễn
 
PDF
Haiphongit.com.tai lieu-learning-php-my sql
Giang Nguyễn
 
PDF
Hd lap pttkht2008
Giang Nguyễn
 
PDF
Joomla administratormanual vi_20060206
Giang Nguyễn
 
PDF
Canbanvethietkevalaptrinhgame
Giang Nguyễn
 
PDF
Building websites-with-joomla-1-5-sample-chapter-chapter-7-the-menus-menu
Giang Nguyễn
 
PDF
Eclipse pdt indigo release review
Giang Nguyễn
 
PDF
Bai tap lap trinh web voi joomla csau
Giang Nguyễn
 
PDF
Analyse
Giang Nguyễn
 
Php can ban_bai1_laptrinhwebphp.com
Giang Nguyễn
 
Os xmldomphp
Giang Nguyễn
 
Os php-7oohabits
Giang Nguyễn
 
Os php-5.3new1
Giang Nguyễn
 
Lap trinh web dong voi php my sql
Giang Nguyễn
 
Kentcources 110109221507-phpapp01
Giang Nguyễn
 
Hay php architect eav modeling
Giang Nguyễn
 
Haiphongit.com.tai lieu-php.my sql-thiet-ke-web-dong
Giang Nguyễn
 
Haiphongit.com.tai lieu-laptrinh ph-pvamysql
Giang Nguyễn
 
Chuong07 php
Giang Nguyễn
 
Bai th08 php voi csdl
Giang Nguyễn
 
Haiphongit.com.tai lieu-learning-php-my sql
Giang Nguyễn
 
Hd lap pttkht2008
Giang Nguyễn
 
Joomla administratormanual vi_20060206
Giang Nguyễn
 
Canbanvethietkevalaptrinhgame
Giang Nguyễn
 
Building websites-with-joomla-1-5-sample-chapter-chapter-7-the-menus-menu
Giang Nguyễn
 
Eclipse pdt indigo release review
Giang Nguyễn
 
Bai tap lap trinh web voi joomla csau
Giang Nguyễn
 

7

  • 2. Outline • Agent review • Approaches to building applications • Agent & interagent programming tips • Incremental system development & evaluation • Summary 2/20
  • 3. What is an Agent? Voyager, Aglets, Odyssey Mobile Agents Programs that move among computer hosts Robots, Softbots, Autonomous Agents BDI Based on planning technologies FireFly, MIT Media Learning Agents Lab User preferences, collaborative filtering,... Microsoft Agent, Julia Animated Interface Agents Avatars, chatbots, ... ModSAF, RoboCup Simulation-based Entities SIMS, InfoSleuth, IR Data/Info finding, filtering and merging OAA, KQML, FIPA Cooperative Agents Cooperation among distributed heterogeneous programmatic components 3/20
  • 4. Approaches to Building Applications Monolithic Object-Oriented Distributed Object Applications Applications Applications Objective Suitable for Internet environment Virtual community of dynamic services Adaptable to changing, evolving Dynamic addition network resources Flexible interactions among OAA components Applications 4/20
  • 5. Approaches to Distributed Computing • Mobile objects • Blackboard architectures • Agent communication languages (ACL) • Publish & subscribe brokers 5/20
  • 6. Mobile Objects (Agents) • Objects move under their own power (e.g., Voyager, Aglets) • Advantages – Network bandwidth for certain classes of problems – Parallelism - many objects can be spawned • Disadvantages – Programmatically specify where to go and what to do, through a known interface – Little automated support for inter-object cooperation – Programming language specific (non-heterogeneous) 6/20
  • 7. Blackboard Architectures • Knowledge Sources read and write tuples from a common information space (e.g. LINDA, FLiPSiDE) • Advantages – Eliminates explicitly programmed interactions among participants • Disadvantages – KS cannot coordinate interactions tuple(abc,1,2,3) – Polling 7/20
  • 8. Publish & Subscribe Brokers • Clients register interest, broker routes/filters msgs • Examples: Talarian SmartSockets, Active Software’s ActiveWeb, ACL Brokers • Advantages – Destination process(es) not explicitly encoded – No polling • Disadvantages Broker – Simple filtering, unitary messages 8/20
  • 9. Agent Communication Languages • Communication message types based on speech acts (e.g., ask, tell, deny) + conversational policies • Examples: FIPA ACL, KQML • Advantages – Rich interaction model, peer-to-peer based – Standardized message types, content-agnostic • Disadvantages – Conformance to specs not universal – Explicitly coded interactions among participants Ask ANS, Service Broker Reply 9/20
  • 10. Comparison of Distributed Approaches Distributed Dist. Objects, Mobile Agents, ACL, Blackboards, Pub/Sub Heterogeneous languages Distributed Objects, ACL, Blackboards Non-coded interactions Blackboards, Pub/Sub Parallel Services Blackboards Compound Expressions (Mobile Agents) Constraints No 10/20 10/20
  • 11. Agent & Interagent Programming Tips • Choosing an agent Interface • Information sharing strategies • Domain-specific vs. domain-independent agents • Adding speech & NL to interfaces 11/20 11/20
  • 12. Choosing an Agent Interface • Natural-language inspired interfaces – Imperative Verb, Direct Object, ParamList, (Result) – Parameter lists hold Adjs, Advs & Prepositions as well as extensible programmatic instruction • Classes tagged by type – inform(phone, ringing, Params) – send_message(MsgRef, Params) :- memberchk(by(fax), Params) • Succeed once with list vs. Multiple success – get(email, message_headers, +Params, -ListOfHeaders) – phone_number(Person, PhoneNum) 12/20 12/20
  • 13. Information Sharing Strategies (1) • Example: Phone dialer agent • 1. Query – When an agent wants to know the status of the phone, it asks the Facilitator who asks the phone agent – pa: oaa_Declare(status(phone, S),[]) – ?a: oaa_Solve(status(phone, S), []) • 2. Post (Blackboard) – The phone agent writes its status to the Facilitator; agents can query the facilitator for status, and install a trigger which proactively monitors changes to status – pa: oaa_AddData(status(phone, busy), []) – ia: oaa_Solve(status(phone, S), []), oaa_AddTrigger(data, status(phone,S), notify(Me, phone(S)), [on(change)]) 13/20 13/20
  • 14. Information Sharing Strategies (2) • 3. Inform – Broadcast time-critical events to interested parties – ia: oaa_Declare(msg(phone, Msg), []) – pa: oaa_Solve(msg(phone, ringing, []), [inform]) 14/20 14/20
  • 15. Domain-specific vs. Domain-independent • Move domain-dependent code into separate agent • Employ hooks and parameters to allow domain-specific tailoring of functionality • Always ask: Domain-specific or domain independent? – Phone agent? – Office interface? – Notify agent? – Speech recognition? – Natural language? – Facilitator? 15/20 15/20
  • 16. Adding Speech & NL • User Interface responsible for: – accepting user input, sending requests, displaying results – controlling interactions of speech and NL • Complex interpretation processed by external domain agent 16/20 16/20
  • 17. Incremental System Development & Evaluation • Collaborative Multimodal Map application adapted for Wizard Of Oz (WOZ) experiment to elicit data about coordinated use of language and gesture 17/20 17/20
  • 18. Subject Screen vs. Wizard Screen 18/20 18/20
  • 19. Hybrid Wizard Of Oz Experiment • Naive user free to write, draw, or speak without constraints imposed by current technology • Wizard must respond quickly and accurately by using existing means, including pen and voice • Simultaneous evaluation of: – Experienced user manipulating real system – New user, providing data for future extensions • Bootstrap effect: continuous loop from data to theory, to system enhancement • Improvements from data analysis quantifiable • General-purpose approach 19/20 19/20
  • 20. Hybrid WOZ: Implementation • System logging and playback “for free” using OAA collaboration facilities • “Subject mode”: functional interpretation (mostly) turned off • Addition of simple Wizard Feedback panel (separate agent) for text- to-speech messages (e.g., “Function not available.”) 20/20 20/20
  • 21. Summary • Review of designing issues in software agents • Not good for every application, but good for: – integrating numerous components which need to cooperate, often across language boundaries – supporting media translation – distributed reference resolution – tasking through adaptable or multimodal user interfaces – human/agent collaborative systems & incremental dvpt – exploring direct manipulation/task delegation tradeoffs 21/20 21/20