2CL Protocols: Interaction Patterns Specification in Commitment Protocols Elisa Marengo Universit` a degli Studi di Torino Scuola di Dottorato in Scienze ed Alta Tecnologia Dottorato in Informatica Ph.D. Thesis Defence - Torino, October 19, 2012 Advisor: Prof. Matteo Baldoni - Prof. Cristina Baroglio Elisa Marengo (UNITO) 2CL Protocols October 19, 2012 1 / 41
68
Embed
2CL Protocols: Interaction Patterns Speci cation in ...2CL Protocols: Interaction Patterns Speci cation in Commitment Protocols Elisa Marengo Universit a degli Studi di Torino Scuola
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
· M. Baldoni, C. Baroglio, E. Marengo, and V. Patti. Constitutive and Regulative Specificationsof Commitment Protocols: a Decoupled Approach. ACM Transactions on Intelligent Systemsand Technology, Special Issue on Agent Communication, To appear.· M. Baldoni, C. Baroglio, and E. Marengo. Behavior-oriented Commitment- based Protocols. InProc. of ECAI 2010.· M. Baldoni, C. Baroglio, and E. Marengo. Constraints among Commitments: Regulative Spec-ification of Interaction Protocols. In Proc. of AC 2010.
· M. Baldoni, C. Baroglio, E. Marengo, and V. Patti. Constitutive and Regulative Specificationsof Commitment Protocols: a Decoupled Approach. ACM Transactions on Intelligent Systemsand Technology, Special Issue on Agent Communication, To appear.· M. Baldoni, C. Baroglio, and E. Marengo. Constraints among Commitments: Regulative Spec-ification of Interaction Protocols. In Proc. of AC 2010.
2CL Protocols Specification 2CL
2CL Constraints Graphical representation
Declarative Approaches
are accused of being not very intuitive (lowering their usability)[Miller and McGinnis, 2008]
lack of graphical intuitive representations oriented to designers
Graphical convention
It is inspired by Declare [van der Aalst and Pesic, 2006, Montali, 2009]and DCML [Baldoni et al., 2007, Baldoni et al., 2011b] representations
dot represents the “triggering condition”
arrow represents the temporal nature of the constraint
· M. Baldoni, C. Baroglio, E. Marengo, and V. Patti. Constitutive and Regulative Specificationsof Commitment Protocols: a Decoupled Approach. ACM Transactions on Intelligent Systemsand Technology, Special Issue on Agent Communication, To appear.· M. Baldoni, C. Baroglio, and E. Marengo. Constraints among Commitments: Regulative Spec-ification of Interaction Protocols. In Proc. of AC 2010.
M. Baldoni, C. Baroglio, and E. Marengo.Commitment-based Protocols with BehavioralRules and Correctness Properties of MAS. In Post-Proc. of DALT 2010, Revised Selected and InvitedPapers, LNAI 6619.
·M. Baldoni, C. Baroglio, E. Marengo, and V. Patti. Grafting Regulations into BusinessProtocols: Supporting the Analysis of Risks of Violation. In Proc. of RELAW 2011.· M. Baldoni, C. Baroglio, E. Marengo, V. Patti, and F. Capuzzimati. Learn the Rulesso you Know How to Break them Properly. In Proc. of WOA 2011.· M. Baldoni, C. Baroglio, V. Patti, and E. Marengo. Supporting the Analysis of Risksof Violation in Business Protocols: the MiFID Case Study. In Information Systems:Crossroads for Organization, Management, Accounting and Engineering. Springer,2012. Best Track Paper Award.
·M. Baldoni, C. Baroglio, E. Marengo, and V. Patti. Grafting Regulations into BusinessProtocols: Supporting the Analysis of Risks of Violation. In Proc. of RELAW 2011.· M. Baldoni, C. Baroglio, V. Patti, and E. Marengo. Supporting the Analysis of Risksof Violation in Business Protocols: the MiFID Case Study. In Information Systems:Crossroads for Organization, Management, Accounting and Engineering. Springer,2012. Best Track Paper Award.
M. Baldoni, C. Baroglio, F. Capuzzimati, E. Marengo, and V.Patti. A Generalized Commitment Machine for 2CL Protocolsand its Implementation. Proc. of DALT 2012.
M. Baldoni, C. Baroglio, F. Capuzzimati, E. Marengo, and V.Patti. A Generalized Commitment Machine for 2CL Protocolsand its Implementation. Proc. of DALT 2012.
2CL-GCM
LTL interpretation of 2CL constraints
Protocol constraints Cst
To be a path of a 2CL-GCM a sequence of states must satisfy theconstraints in Cst
To this aim we associate an LTL interpretation (ϕltl ) to each 2CLoperator
Relation Operator LTL interpretation ϕltl
RelationOperators
CorrelationA correlate B ♦A→ ♦B
A not correlate B ♦A→ ¬♦B
Co-existenceA co-exist B ϕltl (A correlate B) ∧ ϕltl (B correlate A)
A not co-exist B ϕltl (A not correlate B) ∧ ϕltl (B not correlate A)
TemporalOperators
ResponseA response B �(A→ ♦B)
A not response B �(A→ ¬♦B)
BeforeA before B ¬B ∪ A
A not before B �(♦B → ¬A)
CauseA cause B ϕltl (A response B) ∧ ϕltl (A before B)
A not cause B ϕltl (A not response B) ∧ ϕltl (A not before B)
M. Baldoni, C. Baroglio, and E. Marengo.Behavior-oriented Commitment- basedProtocols. In Proc. of ECAI 2010.
2CL-GCM
2CL-Generalized Commitment Machine (2CL-GCM)
2CL-GCM
A 2CL-GCM is a tuple P = 〈S ,A, s0,∆,G ,Cst〉, where:
- S is a finite set of states;
- A is a finite set of actions;
- s0 ∈ S is the initial state;
- ∆ is an action theory;
- G ⊆ S is a set of good states;
- Cst is a set of 2CL constraints.
(i) Members of S are logically distinct, that is: ∀s, s ′ ∈ S , s 6≡ s ′; (ii)false 6∈ S ; and (iii) any state that logically derives a good state is alsogood.
It satisfies the LTL interpretation associated to each 2CL constraintof the specification
2CL-GCM path
Let P = 〈S ,A, s0,∆,G ,Cst〉 be a 2CL-GCM. Let τ = 〈(τ0, a0, τ1), . . . 〉be an infinite sequence of triples and T (τ) be the corresponding transitionsystem. Let inf (τ) be the set of states that occur infinitely often in τ . τ isa path generated from P when:
(i) ∀(τi , ai , τi+1) in τ then τi , τi+1 ∈ S and ai ∈ A and
Baldoni, M. and Baroglio, C. (2012).Some Thoughts about Commitment Protocols.In Baldoni, M., Dennis, L., Mascardi, V., and Vasconcelos, W.,editors, Proc. of International Workshop on Declarative AgentLanguages and Technologies, DALT 2012, held in conjuction withAAMAS 2012, Valencia, Spain.
Baldoni, M., Baroglio, C., Bergenti, F., Boccalatte, A., Marengo, E.,Martelli, M., Mascardi, V., Padovani, L., Patti, V., Ricci, A., Rossi,G., and Santi, A. (2010).MERCURIO: An Interaction-oriented Framework for Designing,Verifying and Programming Multi-Agent Systems.In Fornara, N. and Vouros, G., editors, Proc. of the 3rd Multi-AgentLogics, Languages, and Organisations Federated Workshops(MALLOW’10), 11th International Workshop on Coordination,Organization, Institutions and Norms in Multi-Agent Systems(COIN@MALLOW 2010), volume 627, Domain Valpre in Lyon,France. CEUR Workshop Proceedings.
Baldoni, M., Baroglio, C., Bergenti, F., Marengo, E., Mascardi, V.,Patti, V., Ricci, A., and Santi, A. (2011a).An Interaction-oriented Agent Framework for Open Environments.In Pirrone, R. and Sorbello, F., editors, Proc. Artificial IntelligenceAround Man and Beyond, 12th Congress of the Italian Association forArtificial Intelligence (AI*IA 2011), volume 6934 of LNAI, pages68–79, Palermo, Italy. Springer.
Baldoni, M., Baroglio, C., Brunkhorst, I., Henze, N., Marengo, E., andPatti, V. (2011b).Constraint Modeling for Curriculum Planning and Validation.International Journal of Interactive Learning Environments,19(1):83–123.
Baldoni, M., Baroglio, C., and Marengo, E. (2007).Curricula Modeling and Checking.In Basili, R. and Pazienza, M. T., editors, Proc. of AI*IA 2007:Advances in Artificial Intelligence, 10th Congress of the Italian
Association for Artificial Intelligence, volume 4733 of LNAI, pages471–482, Rome, Italy. Springer.
Chesani, F., Mello, P., Montali, M., and Torroni, P. (2009).Commitment Tracking via the Reactive Event Calculus.In Boutilier, C., editor, IJCAI, pages 91–96, Pasadena, California, USA.
Chopra, A. (2009).Commitment Alignment: Semantics, Patterns, and DecisionProcedures for Distributed Computing.PhD thesis, North Carolina State University, Raleigh, NC.
Chopra, A. K. and Singh, M. P. (2006).Contextualizing Commitment Protocol.In Nakashima, H., Wellman, M. P., Weiss, G., and Stone, P., editors,Proc. of 5th International Joint Conference on Autonomous Agentsand Multiagent Systems (AAMAS 2006), pages 1345–1352,Hakodate, Japan. ACM.
Constitutive Interoperability.In Proc. of the 7th international joint conference on Autonomousagents and multiagent systems, volume 2, pages 797–804.International Foundation for Autonomous Agents and MultiagentSystems.
Desai, N., Chopra, A. K., and Singh, M. P. (2009).Amoeba: A Methodology for Modelling and EvolvingCross-Organizational Business Processes.ACM Transactions on Software Engineering and Methodology, 19(2).
Fornara, N. and Colombetti, M. (2003).Defining Interaction Protocols using a Commitment-based AgentCommunication Language.In [Rosenschein et al., 2003], pages 520–527.
Fornara, N. and Colombetti, M. (2004).A Commitment-Based Approach To Agent Communication.Applied Artificial Intelligence, 18(9-10):853–866.
Kafali, O. and Yolum, P. (2009).Detecting Exceptions in Commitment Protocols: Discovering HiddenStates.In Proc. of the Second Multi-Agent Logics, Languages, andOrganisations Federated Workshops (MALLOW 2009), volume 494 ofCEUR Workshop Proceedings, Turin, Italy. CEUR-WS.org.
Mallya, A. U. and Singh, M. P. (2006).Introducing Preferences into Commitment Protocols.In Dignum, F., van Eijk, R. M., and Flores, R. A., editors, AgentCommunication II, International Workshops on Agent Communication(AC 2005 and AC 2006), volume 3859 of LNCS, pages 136–149,Utrecht, Netherlands. Springer.
Marengo, E., Baldoni, M., Baroglio, C., Chopra, A. K., Patti, V., andSingh, M. P. (2011).Commitments with Regulations: Reasoning about Safety and Controlin REGULA.
In Sonenberg, L., Stone, P., Tumer, K., and Yolum, P., editors,AAMAS, volume 1–3, pages 467–474, Taipei, Taiwan. IFAAMAS.
Miller, T. and McGinnis, J. (2008).Amongst First-Class Protocols.In Proc. of Eng. Societies in the Agents World VIII, volume 4995 ofLNCS, pages 208–223. Springer.
Montali, M. (2009).Specification and Verification of Declarative Open Interaction Models.PhD thesis, Electronics, Computer Science and TelecommunicationsEngineering, University of Bologna.
Montali, M., Torroni, P., Chesani, F., Mello, P., Alberti, M., andLamma, E. (2010).Abductive Logic Programming as an Effective Technology for theStatic Verification of Declarative Business Processes.Fundamenta Informaticae, 102(3-4):325–361.
Rosenschein, J. S., Sandholm, T., Wooldridge, M., and Yokoo, M.,editors (2003).Proc. of the Second International Joint Conference on AutonomousAgents & Multiagent Systems (AAMAS 2003), Melbourne, Australia.ACM.
Searle, J. R. (1995).The construction of social reality.Free Press, New York.
Singh, M. P. (2003).Distributed Enactment of Multiagent Workflows: Temporal Logic forWeb Service Composition.In [Rosenschein et al., 2003], pages 907–914.
Singh, M. P. (2007).Formalizing Communication Protocols for Multiagent Systems.In Veloso, M. M., editor, IJCAI, pages 1519–1524, Hyderabad, India.
Torroni, P., Chesani, F., Mello, P., and Montali, M. (2009).
Social Commitments in Time: Satisfied or Compensated.In Baldoni, M., Bentahar, J., van Riemsdijk, M. B., and Lloyd, J.,editors, DALT, volume 5948 of LNCS, pages 228–243, Budapest,Hungary. Springer.
van der Aalst, W. M. P. and Pesic, M. (2006).DecSerFlow: Towards a Truly Declarative Service Flow Language.In Leymann, F., Reisig, W., Thatte, S. R., and van der Aalst, W.M. P., editors, The Role of Business Processes in Service OrientedArchitectures, volume 06291 of Dagstuhl Seminar Proceedings.Internationales Begegnungs- und Forschungszentrum fuer Informatik(IBFI), Schloss Dagstuhl, Germany.
Weiss, G., editor (1999).Multiagent Systems: A Modern Approach to Distributed ArtificialIntelligence.The MIT Press.
Winikoff, M., Liu, W., and Harland, J. (2005).Enhancing Commitment Machines.
In DALT 2004, volume 3476 of LNCS, pages 198–220. Springer.
Wooldridge, M. (2002).An Introduction to Multiagent Systems.John Wiley & Sons.
Yolum, P. and Singh, M. P. (2002).Commitment Machines.In Meyer, J.-J. C. and Tambe, M., editors, Proc. of the 8thInternational Workshop on Intelligent Agents VIII (ATAL 2001),volume 2333 of LNCS, pages 235–247, Seattle, WA, USA. Springer.