the main purpose of the system, defines the necessary
agents to accomplish it, then introduces the various
failures of agents and ends by introducing the commu-
nication model and error recovery mechanisms. The
refinement process ensures a set of properties, mainly
1) reachability of the main purpose of the system, 2)
the integrity between agents’ local information and
global information and 3) efficiency of cooperative
activities for error recovery. The aim of the works
presented above is to ensure that the designed indi-
vidual behavior will give rise to the desired global
properties. Some of them make use of simulation,
while others employ formal techniques. The major-
ity of these works utilize a bottom-up approach (ex-
cept (Brambilla et al., 2012) and (Pereverzeva et al.,
2012)) which is ideally suited to self-organizing sys-
tems. The use of Event-B in (Pereverzeva et al., 2012)
is extremely important because of the use of the re-
finement principle that permits a progressive, guided
and correct construction of the desired system, which
is not allowed in the other works. In our proposition,
we combine a bottom-up approach with the use of re-
finement and design patterns in order to give more
guidance to the designer when designing the individ-
ual behavior (AGP
0
pattern) and when doing proofs
(GBP
0
and SOP
0
patterns).
6 CONCLUSIONS
We have presented in this paper a formal approach for
the design of SO-MAS based on design patterns, re-
finement and Event-B. Three patterns were proposed;
AGP
0
gives refinement steps for modeling the local
behavior of the agents and guarantees deadlock free-
ness of any agent, GBP
0
allowing to prove that the
modeled local behavior will converge towards the de-
sired global behavior and finally SOP
0
letting the eval-
uation of the ability of self-organizing mechanisms to
encounter the environment perturbations.
The main challenges for future work can be summa-
rized in the three following points:
- Proving the convergence of the events when apply-
ing the patterns GBP
0
and SOP
0
which is not trivial
task because of the non determinism in SO-MAS. One
possible solution for this is to prove the convergence
under fairness assumption like in (M
´
ery and Popple-
ton, 2013).
- Automation of the refinement process and the gen-
eration of machines according to the design patterns.
- Formal reasoning about the improvement of the sys-
tem performance. A probabilistic approach coupled
with Event-B can be useful in this case.
REFERENCES
Abrial, J.-R. (2010). Modeling in Event-B - System and
Software Engineering. Cambridge University Press.
Abrial, J.-R. and Hoang, T. S. (2008). Using design patterns
in formal methods: An event-b approach. In ICTAC,
pages 1–2.
Bernon, C., Camps, V., Gleizes, M.-P., and Picard, G.
(2005). Engineering Adaptive Multi-Agent Systems:
The ADELFE Methodology . In Henderson-Sellers,
B. and Giorgini, P., editors, Agent-Oriented Method-
ologies , volume ISBN1-59140-581-5, pages 172–
202. Idea Group Pub, NY, USA.
Bernon, C., Gleizes, M. P., and Picard, G. (2006). Enhanc-
ing self-organising emergent systems design with sim-
ulation. In ESAW, volume 4457 of Lecture Notes in
Computer Science, pages 284–299. Springer.
Brambilla, M., Pinciroli, C., Birattari, M., and Dorigo, M.
(2012). Property-driven design for swarm robotics.
In Conitzer, Winikoff, P. and van der Hoek, editors,
AAMAS 2012, pages 139–146.
Casadei, M. and Viroli, M. (2009). Using probabilistic
model checking and simulation for designing self-
organizing systems. In Proceedings of the 2009 ACM
symposium on Applied Computing, SAC ’09, pages
2103–2104, New York, NY, USA. ACM.
Di Marzo Serugendo, G., Gleizes, M.-P., and Karageorgos,
A. (2005). Self-organization in multi-agent systems.
In Knowl. Eng. Rev., volume 20, pages 165–189, New
York, NY, USA. Cambridge University Press.
Gardelli, L., Viroli, M., and Omicini, A. (2006). Exploring
the dynamics of self-organising systems with stochas-
tic π-calculus: Detecting abnormal behaviour in mas.
In (AT2AI5).
Hoang, T. S. and Abrial, J.-R. (2011). Reasoning about
liveness properties in event-b. In ICFEM, pages 456–
471.
Hoang, T. S., F
¨
urst, A., and Abrial, J.-R. (2013). Event-b
patterns and their tool support. Software and System
Modeling, 12(2):229–244.
Hoang, T. S., Kuruma, H., Basin, D. A., and Abrial, J.-
R. (2009). Developing topology discovery in event-b.
Sci. Comput. Program., 74(11-12):879–899.
Konur, S., Dixon, C., and Fisher, M. (2012). Analysing
robot swarm behaviour via probabilistic model check-
ing. Robot. Auton. Syst., 60(2):199–213.
M
´
ery, D. and Poppleton, M. (2013). Formal Modelling and
Verification of Population Protocols. In Johnsen, E. B.
and Petre, L., editors, iFM - 10th International Con-
ference on integrated Formal Methods - 2013, LNCS,
Turku, Finlande. Springer.
Orfanus, D., Janacik, P., Eliassen, F., and Orten, P. (2011).
High-level construction of emergent self-organizing
behavior in massively distributed embedded systems.
In NaBIC, pages 335–341.
Pereverzeva, I., Troubitsyna, E., and Laibinis, L. (2012).
Development of fault tolerant mas with cooperative
error recovery by refinement in event-b. CoRR,
abs/1210.7035.
ICAART2014-InternationalConferenceonAgentsandArtificialIntelligence
236