João Alexandre Leite Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa { jleite, lmp Pierangelo.

Slides:



Advertisements
Similar presentations
Formal Semantics for an Abstract Agent Programming Language K.V. Hindriks, Ch. Mayer et al. Lecture Notes In Computer Science, Vol. 1365, 1997
Advertisements

CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
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,
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
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.
DARE Extended Architecture applied to a Multi-Agent World Márcia Maçãs.
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.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
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.
Interactive Generation of Integrated Schemas Laura Chiticariu et al. Presented by: Meher Talat Shaikh.
Software Testing and Quality Assurance
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.
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.
Proof System HY-566. Proof layer Next layer of SW is logic and proof layers. – allow the user to state any logical principles, – computer can to infer.
A Logic-Based Approach to Model Supervisory Control Systems Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
Implementing Rational Features for Agents in Logic Programming Universidade Nova de Lisboa URL:
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.
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,
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
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.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
Multi-dimensional Dynamic Knowledge Representation João Alexandre Leite José Júlio Alferes Luís Moniz Pereira CENTRIA – New University of Lisbon Wien,
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.
2APL A Practical Agent Programming Language March 6, 2007 Cathy Yen.
Chapter 15: Agents Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Computer Science CPSC 322 Lecture 3 AI Applications 1.
Stable Multi-Agent Systems Informatica, PISA. Computing, CITY. Computing, IMPERIAL. Andrea Bracciali, Paolo Mancarella, Kostas Stathis, Francesca Toni,
Argumentation and Trust: Issues and New Challenges Jamal Bentahar Concordia University (Montreal, Canada) University of Namur, Belgium, June 26, 2007.
Formalizing the Asynchronous Evolution of Architecture Patterns Workshop on Self-Organizing Software Architectures (SOAR’09) September 14 th 2009 – Cambrige.
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.
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,
Illustrations and Answers for TDT4252 exam, June
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.
Geoinformatics 2006 University of Texas at El Paso Evaluating BDI Agents to Integrate Resources Over Cyberinfrastructure Leonardo Salayandía The University.
Combining agents into societies Luís Moniz Pereira Centro de Inteligência Artificial – CENTRIA Universidade Nova de Lisboa DEIS, Università di Bologna,
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.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
T. Gregory BandyInteraction Machines SeminarFebruary 21, Union College - Computer Science Graduate Program Interaction Machines Are they more.
Intelligent Agents Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
Graph Coverage for Specifications CS 4501 / 6501 Software Testing
Web Ontology Language for Service (OWL-S)
Intelligent Agents Chapter 2.
Service-Oriented Computing: Semantics, Processes, Agents
Probabilistic Horn abduction and Bayesian Networks
Artificial Intelligence: Logic agents
Service-Oriented Computing: Semantics, Processes, Agents
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

João Alexandre Leite Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa { jleite, lmp Pierangelo Dell’Acqua Dept. of Science and Technology Linköping University Porto, Dec Epia01

Our agents We propose a LP approach to agents that can: 3Reason and React to other agents 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 3Capture the representation of social evolution

Framework This framework builds on the work: 3 Updating Agents P. Dell’Acqua & L. M. Pereira - MAS’99 3 Multi-dimensional Dynamic Logic Programming L. A. Leite & J. J. Alferes & L. M. Pereira - CLIMA’01

Updating agents 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)

Multi-Dimensional Logic Programming FIn MDLP knowledge is given by a set of programs. FEach program represents a different piece of updating knowledge assigned to a state. FStates are organized by a DAG ( Directed Acyclic Graph ) representing their precedence relation. FMDLP determines the composite semantics at each state according to the DAG paths. FMDLP allows for combining knowledge updates that evolve along multiple dimensions.

Contribution 1 To extend the framework of MDLP with integrity constraints and active rules. 2 To incorporate the framework of MDLP into a multi-agent architecture. 3 To make the DAG of each agent updatable.

DAG A directed acyclic graph DAG is a pair D=(V,E) where V is a set of vertices and E is a set of directed edges.

Agent’s language Atomic formulae: A objective atoms not A default atoms i:C projects i  C updates Formulae: 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 j:C denotes the intention of some agent i of proposing the updating the theory of agent j with C. i  C denotes an update proposed by i of the current theory of some agent j with C. wilma:C fred  C

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.

Agent’s language A project i:C can take one of the forms: i : ( A  L 1  L n ) i : ( L 1  L n  Z ) i : ( ?- L 1  L n ) i : ( not A  L 1  L n ) i : ( false  L 1  L n  Z 1  Z m ) i : edge(u,v) i : not edge(u,v)

Initial theory of an agent A multi-dimensional abductive LP for an agent  is a tuple: T =  D, P D, A, R D  - D=(V,E) is a DAG s.t.  ´  V (inspection point of  ). - P D ={P V | v  V} is a set of generalized LPs. - A is a set of atoms (abducibles). - R D ={R V | v  V} is a set of set of active rules.

The agent’s cycle FEvery agent can be thought of as an abductive LP equipped with a set of inputs represented as updates. FThe abducibles are (names of) actions to be executed as well as explanations of observations made. FUpdates can be used to solve the goals of the agent as well as to trigger new goals.

Happy story - example inspection point of Alfredo alfredo judge motherfather girlfriend alfredo´ state 0The goal of Alfredo is to be happy DAG of Alfredo

Happy story - example alfredo judge motherfather girlfriend alfredo´ hasGirlfriend  not happy  father:(?-happy) not happy  mother:(?-happy) getMarried  hasGirlfriend  girlfriend:propose moveOut  alfredo:rentApartment custody(judge,mother)  alfredo:edge(father,mother) {moveOut, getMarried} state 0 abducibles

Happy story - example alfredo judge motherfather girlfriend alfredo´ state 0 hasGirlfriend  not happy  father:(?-happy) not happy  mother:(?-happy) getMarried  hasGirlfriend  girlfriend:propose moveOut  alfredo:rentApartment custody(judge,mother)  alfredo:edge(father,mother) {moveOut, getMarried}

Agent theory The initial theory of an agent  is a multi-dimensional abductive LP. Let an updating program be a finite set of updates, and S be a set of natural numbers. We call the elements s  S states. An 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.

Multi-agent system A multi-agent system M={   1 s,…,   n s } at state s is a set of agents  1,…,  n at state s. M characterizes a fixed society of evolving agents. The declarative semantics of M characterizes the relationship among the agents in M, and how the system evolves. The declarative semantics is stable models based.

Happy story - 1 st scenario Suppose that at state 1, Alfredo receives from the mother: and from the father: mother  (happy  moveOut) mother  (false  moveOut  not getMarried) mother  (false  not happy) father  (happy  moveOut) father  (not happy  getMarried)

happy  moveOut false  moveOut  not getMarried alfredo judge motherfather girlfriend alfredo´ state 1 happy  moveOut not happy  getMarried Happy story - 1 st scenario In this scenario, Alfredo cannot achieve his goal without producing a contradiction. Not being able to make a decision, Alfredo is not reactive at all. false  not happy

Happy story - 2 nd scenario Suppose that at state 1 Alfredo’s parents decide to get divorced, and the judge gives custodity to the mother. judge  custody(judge,mother)

custody(judge,mother) Happy story - 2 nd scenario alfredo judge motherfather girlfriend alfredo´ state 1 hasGirlfriend  not happy  father:(?-happy) not happy  mother:(?-happy) getMarried  hasGirlfriend  girlfriend:propose moveOut  alfredo:rentApartment custody(judge,mother)  alfredo:edge(father,mother)

Happy story - 2 nd scenario alfredo judge girlfriend alfredo´ state 2 motherfather Suppose that when asked by Alfredo, the parents reply in the same way as in the 1 st scenario. Note that the internal update produces a change in the DAG of Alfredo.

Happy story - 2 nd scenario Now, the advice of the mother prevails over and rejects that of his father. alfredo judge girlfriend alfredo´ state 2 happy  moveOut false  moveOut  not getMarried happy  moveOut not happy  getMarried motherfather false  not happy

Happy story - 2 nd scenario Thus, Alfredo gets married, rents an apartment, moves out and lives happily ever after. alfredo judge girlfriend alfredo´ state 2 hasGirlfriend  not happy  father:(?-happy) not happy  mother:(?-happy) getMarried  hasGirlfriend  girlfriend:propose moveOut  alfredo:rentApartment custody(judge,mother)  alfredo:edge(father,mother) motherfather

Syntactical transformation The semantics of an agent  at state s,   s =(T,U), is established by a syntactical transformation  that maps   s into an abductive LP:    s =  P,A,R  1.   s   P´,A,R  P´ is a normal LP, A and R are a set of abducibles and active rules. 2. Default negation can then be removed from P´ via the abdual transformation (Alferes et al. ICLP99): P´  P P is a definite LP.

Agent architecture Rational P Reactive P+R CC    s =  P,A,R  can abduce XSB Prolog cannot abduce InterProlog (Declarativa) InterProlog (Declarativa) Java

Agent architecture Rational P Reactive P+R CC    s =  P,A,R  UpdateH projects External Interface ext.project Updates ActionH int.project

Future work FAt the agent level: 3How to combine logical theories of agents expressed over graph structures. 3How to incorporate other rational abilities, e.g., learning. FAt the multi-agent system level: 3Non synchronous, dynamic multi-agent system. 3How to formalize dynamic societies of agents. 3 How to formalize the notion of organisational reflection.