Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.

Slides:



Advertisements
Similar presentations
ARSPA04Sadri, Toni1 A Logic-Based Approach to Reasoning with Beliefs about Trust ARSPA 2004 Fariba Sadri 1 and Francesca Toni 1,2 1: Department of Computing,
Advertisements

Workpackage 2: Norms
Updates plus Preferences Luís Moniz Pereira José Júlio Alferes Centro de Inteligência Artificial Universidade Nova de Lisboa Portugal JELIA’00, Málaga,
Vered Gafni – Formal Development of Real Time Systems 1 Statecharts Semantics.
1 Inductive Equivalence of Logic Programs Chiaki Sakama Wakayama University Katsumi Inoue National Institute of Informatics ILP
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
Well-founded Semantics with Disjunction João Alcântara, Carlos Damásio and Luís Moniz Pereira Centro de Inteligência Artificial.
MINERVA – A Dynamic Logic Programming Agent Architecture João Alexandre Leite, José Júlio Alferes, Luís Moniz Pereira Centro de Inteligência Artificial.
João Alcântara, Carlos Damásio and Luís Pereira Centro de Inteligência Artificial (CENTRIA) Depto. Informática, Faculdade.
ISBN Chapter 3 Describing Syntax and Semantics.
Specifying Agent Interaction Protocols with AUML and OCL COSC 6341 Project Presentation Alexei Lapouchnian November 29, 2000.
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
João Alcântara, Carlos Damásio and Luís Moniz Pereira Centro de Inteligência Artificial (CENTRIA) Depto. Informática,
Default and Cooperative Reasoning in Multi-Agent Systems Chiaki Sakama Wakayama University, Japan Programming Multi-Agent Systems based on Logic Dagstuhl.
ALMA MATER STUDIORUM UNIVERSITY OF BOLOGNA UNIVERSITY OF FERRARA Policy-based reasoning for smart web service interaction Federico Chesani, Paola Mello,
A Preliminary Study on Reasoning About Causes Pedro Cabalar AI Lab., Dept. of Computer Science University of Corunna, SPAIN.
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
Modelling Hybrid Control Systems with Behaviour Networks Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
1 Preference Reasoning in Logic Programming José Júlio Alferes Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa,
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
José Júlio Alferes Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of.
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
A Logic-Based Approach to Model Supervisory Control Systems Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
1 L. M. Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua, M. Engberg Dept. of Science and Technology.
Reductio ad Absurdum Argumentation in Normal Logic Programs Luís Moniz Pereira and Alexandre Miguel Pinto CENTRIA – Centro de Inteligência Artificial,
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and.
Combining Societal Agents’ Knowledge João Alexandre Leite José Júlio Alferes Luís Moniz Pereira CENTRIA – Universidade Nova de Lisboa Universidade de Évora,
SATEL Semi Automatic TEsting Language University of Geneva Levi Lúcio VALID Meeting - Besançon 10/3/06.
Towards a Model of Evolving Agents for Ambient Intelligence Pierangelo Dell’Acqua Dept. of Science and Technology Linköping University, Sweden ASAmI’07.
Metareasoning: Thinking about thinking Chicago July 2008 Stefania Costantini Pierangelo Dell’Acqua Luis M. Pereira A Multi-layer Framework for Evolving.
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
João Alexandre Leite Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa { jleite, lmp Pierangelo.
Describing Syntax and Semantics
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Aida Vitória Dept. of Science.
Prospective Logic Agents Luís Moniz Pereira Gonçalo Lopes.
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
1 CENTRIA, Dept. Informática da Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal. 2 Institute of Computer Science,
Stable Multi-Agent Systems Informatica, PISA. Computing, CITY. Computing, IMPERIAL. Andrea Bracciali, Paolo Mancarella, Kostas Stathis, Francesca Toni,
Formalizing the Asynchronous Evolution of Architecture Patterns Workshop on Self-Organizing Software Architectures (SOAR’09) September 14 th 2009 – Cambrige.
Modelling III: Asynchronous Shared Memory Model Chapter 9 by Nancy A. Lynch presented by Mark E. Miyashita.
A Language for Updates with Multiple Dimensions João Alexandre Leite 1 José Júlio Alferes 1 Luís Moniz Pereira 1 Halina Przymusinska 2 Teodor Przymusinski.
CS6133 Software Specification and Verification
Pre and Post Preferences over Abductive Models Luís Moniz Pereira 1 Gonçalo Lopes 1 Pierangelo Dell'Acqua 2 Pierangelo Dell'Acqua 2 1 CENTRIA – Universidade.
Modelling Adaptive Controllers with Evolving Logic Programs Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
A Logic of Belief and a Model Checking Algorithm for Security Protocols joint work with Massimo Benerecetti Fausto Giunchiglia University of Trento
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Preference Revision via Declarative Debugging Pierangelo Dell’Acqua Dept. of Science and Technology - ITN Linköping University, Sweden EPIA’05, Covilhã,
EVOlving L ogic P rograms J.J. Alferes, J.A. Leite, L.M. Pereira (UNL) A. Brogi (U.Pisa)
MINERVA A Dynamic Logic Programming Agent Architecture João Alexandre Leite José Júlio Alferes Luís Moniz Pereira ATAL’01 CENTRIA – New University of Lisbon.
Languages of Updates João Alexandre Leite New University of Lisbon Dagstuhl, 25 November, 2002Dagstuhl Seminar
A Quantitative Trust Model for Negotiating Agents A Quantitative Trust Model for Negotiating Agents Jamal Bentahar, John Jules Ch. Meyer Concordia University.
L. M. Pereira, J. J. Alferes, J. A. Leite Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua Dept. of Science.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
April 3rd, 1998TAPD'98. Paris 2-3 April, Tabling Abduction José Alferes and Luís Moniz Pereira Univ. Évora and CENTRIA CENTRIA Univ. Nova Lisboa.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
NMR98 - Logic Programming1 Learning with Extended Logic Programs Evelina Lamma (1), Fabrizio Riguzzi (1), Luís Moniz Pereira (2) (1)DEIS, University of.
Ordering of Events in Distributed Systems UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 739 Distributed Systems Andrea C. Arpaci-Dusseau.
Software Systems Verification and Validation Laboratory Assignment 4 Model checking Assignment date: Lab 4 Delivery date: Lab 4, 5.
Presented by: Belgi Amir Seminar in Distributed Algorithms Designing correct concurrent algorithms Spring 2013.
Learning Three-Valued Logical Programs Evelina Lamma 1, Fabrizio Riguzzi 1, Luis Moniz Pereira 2 1 DEIS, Università di Bologna 2 Centro de Inteligencia.
CSC3315 (Spring 2009)1 CSC 3315 Languages & Compilers Hamid Harroud School of Science and Engineering, Akhawayn University
Our views on the Future of Logic Based Agents Luís Moniz Pereira José Júlio Alferes & Joint WorkshopLondon, 8 March 1999.
Today’s Agenda  Quiz 4  Temporal Logic Formal Methods in Software Engineering1.
An argument-based framework to model an agent's beliefs in a dynamic environment Marcela Capobianco Carlos I. Chesñevar Guillermo R. Simari Dept. of Computer.
On Abductive Equivalence Katsumi Inoue National Institute of Informatics Chiaki Sakama Wakayama University MBR
October 19th, 2007L. M. Pereira and A. M. Pinto1 Approved Models for Normal Logic Programs Luís Moniz Pereira and Alexandre Miguel Pinto Centre for Artificial.
Probabilistic Horn abduction and Bayesian Networks
NARS an Artificial General Intelligence Project
Presentation transcript:

Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology - ITN Linköping University, Sweden Ulf Nilsson Dept. of Computer and Information Science - IDA Linköping University, Sweden

Contribution The paper presents an asynchronous multi-agent system for logic based agents, and provides its semantics. The interaction among agents is expressed via a transition rule system that characterizes the global behaviour of the system.

Our agents FWe proposed a LP approach to agents that can: 3Reason and React to other agents 3Prefer among possible choices 3Update their own knowledge, reactions, and goals 3Interact by updating the theory of another agent 3Decide whether to accept an update depending on the requesting agent 3Abduce hypotheses to explain observations

Framework FThis agent framework builds on the works: 3 Dynamic Logic Program - J. J. Alferes et al KR’98 3 Updating Agents - P. Dell’Acqua & L. M. Pereira MAS’99 3 Updates plus Preferences - J. J. Alferes & L. M. Pereira JELIA’00 3 A compilation of Updates plus Preferences - J. J. Alferes et al JELIA’00

Enabling agents to update their KB FUpdating agent: a rational, reactive agent that can dynamically change its own knowledge and goals. 8makes observations 8reciprocally updates other agents with goals and rules 8thinks (rational) 8selects and executes an action (reactive)

Agent’s language  Atomic formulae: A objective atoms not A default atoms  :C projects updates CC FFormulae: L i is an atom, an update or a negated update active rule generalized rules Z j is a project integrity constraint false  L 1  L n  Z 1  Z m A  L 1  L n not A  L 1  L n L 1  L n  Z

Projects and updates  A project  2 :C denotes the intention of some agent  1 of proposing the updating the theory of agent  2 with C.  denotes an update proposed by  1 of the current theory of some agent  2 with C. wilma:C 1C1C fred  C

Example: active rules A   2 : not B B   1 : C Consider the following active rules in the theory of an agent  1.

Agents’ language  A project  :C can take one of the forms: FNote that a program can be updated with another program, i.e., any rule can be updated.  : ( A  L 1  L n )  : ( L 1  L n  Z )  : ( ?- L 1  L n )  : ( not A  L 1  L n )  : ( false  L 1  L n  Z 1  Z m )

Agents’ knowledge states FKnowledge states represent dynamically evolving states of agents’ knowledge. They undergo change due to updates.  Given the current knowledge state P s, its successor knowledge state P s+1 is produced as a result of the occurrence of a set of parallel updates. FUpdate actions do not modify the current or any of the previous knowledge states. They only affect the successor state: the precondition of the action is evaluated in the current state and the postcondition updates the successor state.

Abductive agents FThe initial theory of an agent  is a tuple (P,A,R): - P is a set of generalized rules and integrity constraints. - A is a set of abducibles. - R is a set of active rules. FAn updating program is a finite set of updates. FLet S be a set of natural numbers. We call the elements s  S states. FAn agent  at state s, written   s, is a pair (T,U): - T is the initial theory of . - U={U 1,…, U s } is a sequence of updating programs.

Semantics of abductive agents Let   s = (T,U) and  be the hypotheses assumed by  at state s. FAn abductive stable model of  at state s with hypotheses  is a stable model of the program that extends T to contain: - the updates in U, - the rules whose updates (in U) are neither distrusted nor rejected, - the projects of active rules with true body, and - the hypotheses in .

Example: abductive agent Consider the following theory of an agent  2. AB  AAB  A T = (P,A,R) = (P,{},{}) and P =   2 0 = (T,{})M = {A, B}   2 1 = (T,{U 1 }) with U 1 = {  1  not B } M = {A, not B,  1  not B} M is the unique abductive stable model of  at state s with hypotheses  ={}

Multi-agent systems A MAS consists of a number of agents acting concurrently and transition rules that characterize the global behaviour of the system. FThe interaction among the agents is asynchronous and modelled via buffers. FA buffer [U 1,…,U i ] is a sequence of updating programs U 1,…,U i (i  0). FEach agent  is equipped with a buffer   s [U 1,…,U i ]

Multi-agent systems FA multi-agent system  consists of a number of abductive agents  1,…,  n acting concurrently:  =   1 s1 [ U 1,…,U i ] | … |   n sn [ V 1,…,V j ] together with the transition rules: EXTP, INTP and INCUP. F  characterizes a fixed society of evolving agents.

Transition rules - EXTP EXTP to execute external projects of  1 : if  (  2 :C)  P  1 where  1   2 and V j+1 ={  1  C | for every  2 :C  P  1 }   1 s1 [ U 1,…,U i ] |   2 s2 [ V 1,…,V j ]    1 s1 [ U 1,…,U i ] |   2 s2 [ V 1,…,V j, V j+1 ] Let P  i be the set of executable projects of an agent  i

Transition rules - INTP INTP to execute internal projects of  : if  (  :C)  P  where U i+1 ={   C | for every  :C  P  }   s [ U 1,…,U i ]    s [ U 1,…,U i, U i+1 ]

Transition rules - INCUP INTP to incorporate updates into  from its buffer Let   s = (T,{U 1,…,U s }) where i  1 and   s+1 = (T,{U 1,…,U s,U s+1 }) with U s+1 =V 1   s [ V 1,…,V i ]    s+1 [ V 2,…,V i ]

Multi-agent system at state s A multi-agent system  at state 0 (initial configuration):  0 =   1 0 [ ] | … |   n 0 [ ] A multi-agent system  at state s:  s =   1 s1 [ U 1,…, U i ] | … |   n sn [ V 1,…, V j ] where s= s 1 +…+s n

Multi-agent system at state s FThe MAS remains at the same state when the transition rule INTP or EXTP is applied. FIf INCUP is employed (by an agent  i ), then the MAS  s =   1 s1 [ U 1,…, U i ] | … |   i si [T 1, T 2,…, T k ] | … |   n sn [ V 1,…, V j ] moves to the next state:  s+1 =   1 s1 [ U 1,…, U i ] | … |   i si+1 [ T 2,…, T k ] | … |   n sn [ V 1,…, V j ]

Semantics of multi-agent systems FThe declarative semantics S  of MAS  characterizes the relationship among the agents in  and how the system evolves. FThe declarative semantics S  s of  at state s is the set of sets M  i si of all the abductive stable models of every agent  i in  at state si with hypotheses  i : S  s = { M  1 s1,…, M  n sn }

Executable projects FThe set P  of executable projects of an agent  contains the projects that occur in every abductive stable model of  at state s with hypotheses .

Example: MAS Consider the following two agents  1 and  2. AB  AAB  A T  2 = A A   2 : not B B   1 : C T  1 =

Example: MAS  0 =   1 0 [ ] |   2 0 [ ]  0 =   1 0 [ ] |   2 0 [ U 1 ] with U 1 = {  1  not B }  1 =   1 0 [ ] |   2 1 [ ] by EXTP by INCUP

Example: MAS  0 =   1 0 [ ] |   2 0 [ ] M  1 0 = { {A,  2 : not B} } P  1 = {  2 : not B } M  2 0 = { {A, B} } P  2 = { } S  0 = {M  1 0, M  2 0 } EXTP is applicable

Example: MAS S  0 = {M  1 0, M  2 0 }  0 =   1 0 [ ] |   2 0 [ U 1 ] with U 1 = {  1  not B } INCUP is applicable

Example: MAS M  1 0 = { {A,  2 : not B} } M  2 1 = { {A, not B,  1  not B} } S  1 = {M  1 0, M  2 1 }  1 =   1 0 [ ] |   2 1 [ ]

Future work FOngoing implementation of our agent framework: - its logical parts (logical reasoning, updating, preferring, etc.) are implemented in XSB Prolog, and - its non-logical parts are implemented in Java. - InterProlog is then used to interface XSB and Java. FHow to represent organisational structures, and how to animate them with agents in a way that each agent will have a view of the organisational structure and the externally visible events. FInvestigate whether there are invariants and other properties of the MAS that can guarantee the behaviour of the entire system.