encapsulating reacting behaviour in goal based plans for
play

ENCAPSULATING REACTING BEHAVIOUR IN GOAL-BASED PLANS FOR - PowerPoint PPT Presentation

ENCAPSULATING REACTING BEHAVIOUR IN GOAL-BASED PLANS FOR PROGRAMMING BDI AGENTS Rafael H. Bordini Rem Collier Jomi F. Hbner Alessandro Ricci School of Technology, PUCRS University College of Dublin DAS, Fed. Univ. of Santa Catarina DISI,


  1. ENCAPSULATING REACTING BEHAVIOUR IN GOAL-BASED PLANS FOR PROGRAMMING BDI AGENTS Rafael H. Bordini Rem Collier Jomi F. Hübner Alessandro Ricci School of Technology, PUCRS University College of Dublin DAS, Fed. Univ. of Santa Catarina DISI, University of Bologna Porto Alegre, RS, Brazil Dublin, Ireland Florianópolis, SC, Brasil Cesena, Italy rafael.bordini@pucrs.br rem.collier@ucd.ie jomi.hubner@ufsc.br a.ricci@unibo.it LAMAS@AAMAS 2020

  2. FIRST PART - OVERVIEW • Context - BDI agent programming context • Problem - weak encapsulation in plans • Contribution - extended plan model - implementation in Jason and ASTRA LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  3. [BACKGROUND] PLANS IN BDI AGENT PROGRAMMING • Belief Desire Intention (BDI) model • Plans and Intentions PRS [Georgeff et al, 1980s] LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  4. [BACKGROUND] PLANS IN BDI AGENT PROGRAMMING BDI Platforms, Frameworks, Languages - dMARS, JAM, JACK, SPARK,… • Belief Desire Intention (BDI) model - 3APL/2APL, GOAL, Jason, ASTRA,… • Plans and Intentions Abstract formal languages - AgentSpeak(L), CAN LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  5. [BACKGROUND] PLANS IN BDI AGENT PROGRAMMING plans how to bring about a state of affairs specifying the course of action • Belief Desire Intention (BDI) model to achieve such states of affairs • Plans and Intentions intentions the activity used to achieve that state of affairs (runtime concept) LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  6. [PROBLEM] WEAK ENCAPSULATION plan specification should include ( encapsulate) - the state of affairs to achieve - the strategy to bring about it • Plan encapsulation • Weak encapsulation • An example in Jason • Drawbacks in the Goal-Plan Tree model ( GPT) - plan p and a parent goal g - plan p and children nodes (strategy) LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  7. [PROBLEM] WEAK ENCAPSULATION Current BDI models and implementations: ‣ allow for specifying plans with no explicit state of affairs • Plan encapsulation in GPT => plan p with no parent goal g • Weak encapsulation ‣ impossibility to encapsulate • An example in Jason reactive behaviour in the strategy of the plan • Drawbacks in GPT => reactive behaviour ? ➡ drawbacks - in the practice of agent programming - agent reasoning at runtime LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  8. [PROBLEM] WEAK ENCAPSULATION +!cnp(I,Task) <- !announce_cfp(I,Task); !bids(I). +!announce_cfp(I,Task) <- ... • Plan encapsulation +!bids(I) • Weak encapsulation <- .wait(4000); !contract(I). • An example in Jason +propose(I,_) : all_ans(I) <- !contract(I). +refuse(I) : all_ans(I) <- !contract(I). • Drawbacks +!contract(I) : not .intend(contract(I)) <- ... Contract Net Protocol sketch LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  9. [PROBLEM] WEAK ENCAPSULATION +propose(I,_) : all_ans(I) <- !contract(I). reactive plans => goal-less intentions • Plan encapsulation the goal is in developer’s mind • Weak encapsulation but not in the agent mind • An example in Jason reactive behaviour not encapsulated in • Drawbacks the plan strategy implemented as unrelated plans => hand-managed beliefs as a workaround LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  10. [PROPOSAL] PLAN MODEL EXTENSION enforce goal/task specification every plan has always a state of affairs to be achieved in GPT => plan p has always • Revisiting the plan model a parent goal g • The example revisited allow for encapsulating reactive • Formalisation & implementation behaviour in plan strategy from reactive plans to reactive rules inside a plan in GPT => (?) LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  11. [PROPOSAL] PLAN MODEL EXTENSION +!cnp(I,Task) { <- !announce_cfp(I,Task); !bids(I); !contract(I). • Idea +!bids(I) { <- .wait(4000); .done. • The example revisited (Jason-ER) // reaction rules +propose(I,_) : all_ans(I) <- .done. • Formalisation & implementation +refuse(I) : all_ans(I) <- .done. } +!announce_cfp(I,Task) <- ... +!contract(I) <- ... } LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  12. [PROPOSAL] PLAN MODEL EXTENSION • abstract formal language capturing the model • Idea • semantics: extension of the reasoning cycle • The example revisited • Formalisation & implementation • first implementations: • based on Jason and ASTRA • available on github LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  13. [PROPOSAL] CONCLUDING REMARKS idea evaluated using a selected set of programming examples • Results so far expected advantages brought by strong encapsulation • Ongoing & Future work modularity, reusability, readability no performance penalties LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

  14. [PROPOSAL] CONCLUDING REMARKS validating the approach with more complex agent/MAS programs and projects feedbacks for improving & refining the approach by using it in practice • Results so far • Ongoing & Future work GPT-based formalisation • understanding behavioural properties • agent reasoning at runtime 
 LAMAS@AAMAS 2020 - “Encapsulating Reacting Behaviour in Goal-based Plans” - Bordini, Collier, Hübner, Ricci

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend