07-02-Medicina-Proje.. - LES PUC-Rio

advertisement
Medicina
An Agent Oriented Software Engineering Approach for the
Adult Stem-Cell Modeling, Simulation and Visualization
Projetos para o Semestre
Maíra Gatti
04/09/2007
Agenda
• Medicina
– Motivation
– The Research Hypothesis and the MAS adequacy
– Related Work and the MAS advantages
– An Agent-based Approach to Model and Simulate Stem-Cell
• The Stem-Cell Self-Organization Description
• The Cell Life Cycle Scope
• The Agent-based Model
• The Agent-based Simulation
– Discussion
• COOPN
– Conclusions and Future Works ....
• …. Self-Organizing MAS Software Engineering
– Related Work
• Self-Organizing MAS and Autonomic Computing
• Projetos para o Semestre
© LES/PUC-Rio
Motivation
• How do stem cells behave in the human body?
• How to predict about how and why stem cells behave either
individually or collectively?
• Formal models (for instance)
– ordinary differential equations (Lei & Mackey, 2007)
– cellular automata (Agur et al, 2002)
© LES/PUC-Rio
Motivation
• Medicine point of view
– The model serves as a reference, a guide for interpreting
experimental results
– The models serves as a powerful means of suggesting new
hypotheses
– The simulation lets us test experimentally unfeasible scenarios
and can potentially reduce experimental costs
• Software engineering
– How can we model such a large and complex system?
– How to minimize the complexity of the design and
implementation of simulation ?
© LES/PUC-Rio
Motivation
• Agent-Oriented Software Engineering (AOSE)
– clean design in the modeling phase
• Current Drawback
– Model’s semantics
– Model and program reuse is limited
• Such dynamic structures can be intuitively represented and
efficiently implemented in agent-oriented simulators.
© LES/PUC-Rio
The Research Hypothesis and the MAS adequacy
LANDIC - UFRJ
Aneuploidy => Cancer
© LES/PUC-Rio
The Research Hypothesis and the MAS adequacy
• Stem cells are (Loeffler & Roeder, 2002 ):
– a potentially heterogeneous population of functionally
undifferentiated cells,
– composed of multi-cellular organisms.
• capable of:
– homing to an appropriate growth heterogeneous environment;
– proliferation;
– production of a large number of differentiated progeny;
– self-renewing or self-maintaining their population;
– regenerating the functional tissue after injury with
– flexibility and reversibility in the use of these options.
© LES/PUC-Rio
The Research Hypothesis and the MAS adequacy
• Basic agent’s concepts and capabilities (Jennings, 2000)
– Autonomy
– Interactivity
– Adaptation
– Suitable abstractions
– Flexibility for modeling globally emergent behavior
– Distribution and heterogeneity
– Open systems
– Self-organization
© LES/PUC-Rio
The Research Hypothesis and the MAS adequacy
• MAS is an effective way to understand how stem cells
organize themselves, and to deal with it emergent global
behavior
• The agent-based simulation
– suggests how tiny changes in individual stem cell behavior
might lead to disease at the global through the emergent
behavior,
– allows temporal analysis,
– reduce costs and risks, and
– could avoid some ethical issues.
© LES/PUC-Rio
Related Work and the MAS advantages
• Existing approaches -> recast in the agent-based modeling
and simulation framework
– it has demonstrated a number of clear advantages of the agent
approach over existing approaches
– (d’Inverno & Saunders, 2005)
• Mathematical models (Agur et al, 2002, Lei & Mackey, 2007)
– don’t allow expressing partial information about a system, i.e.
to formally describe open systems
– explosion of differential equations to model it
– absence of an abstraction for the models
© LES/PUC-Rio
Related Work and the MAS advantages
• Monte Carlo methods (Metropolis & Ulam, 1949)
– probabilistic dependent
– as learning and adaptation are not possible to implement
• Agent-based formal models
– (Theise & d’Inverno, d’Inverno & Prophet, d’Inverno &
Saunders, 2003, 2004, 2005)
– the stem cell behavior modeled was
• too simple,
• feasible and
• not adequate or evolvable to an adequate model for the physicians’
experiments
© LES/PUC-Rio
An Agent-based Approach to Model and Simulate
Stem-Cell
• The Stem-Cell Self-Organization Description
• The Cell Life Cycle Scope
• The Agent-based Model
• The Agent-based Simulation
© LES/PUC-Rio
The Stem-Cell Self-Organization Description
• The niche
– a specialized cellular environment
– provides stem cells with the support needed for self-renewal
– contains the cells and proteins that constitute the extra cellular
environment
• The niche has regulatory mechanisms:
– It saves stem cells from depletion
– It protects the host from over-exuberant stem-cell proliferation
© LES/PUC-Rio
The Stem-Cell Self-Organization Description
© LES/PUC-Rio
The Cell Conceptual Model
• The most actives components during the cell life-cycle
• The mitosis division
– which is the stem cell division during the self renew process
© LES/PUC-Rio
The Cell Conceptual Model
© LES/PUC-Rio
The Cell Life Cycle Scope
© LES/PUC-Rio
The Agent-based Model: MAS-ML Modeling
• Structural Elements
– Environment
– Main Organization: Niche
– Organizations: Cell, StemCell, ProgenitorCell, DifferentiatedCell,
Cytoplasm
– Objects: CellMembrane, NuclearMembrane, Nuclei, Chromosome,
Chromatid, Centrosome, Centriole, Substances, Protein,
Organelles, Centromere, Kinetochore, Microtubule, Astral
Microtubule, Polar Microtubule, Kinetochore Microtubule
• Static Diagram
– Organization Diagram
– Role Diagram
– Class Diagram
• Dynamic Diagram
– Sequence Diagram
• Agent interactions
• Goals, plans and actions
© LES/PUC-Rio
The Agent-based Model: MAS-ML Modeling
© LES/PUC-Rio
The Agent-based Model: MAS-ML Modeling
© LES/PUC-Rio
The Agent-based Model: MAS-ML Modeling
© LES/PUC-Rio
The Agent-based Simulation
• Developed with Java
• We developed a small framework with
– a set of functionalities as send and receive messages,
– the instantiation of the environment, and
– the hierarch structure between agent, role, organization, goal, plan
and action
• Visualization tool goals
– offer to the users a visual environment by means of which is
possible to follow the Macro and Micro levels of the simulation of
stem cell’s cellular life cycle in the niche;
– perceive the difficulties of implementation of the proposed model;
– validate initially the model, verifying if the simulated behaviour in
the prototype has similarities with the behavior of the real entities
(stem cell’s); and
– compare the semantics of a tool build based on MAS approach to
this domain with tools build in other approaches.
© LES/PUC-Rio
The Agent-based Simulation
• The cells and the images associated to them in each phase
© LES/PUC-Rio
The Agent-based Simulation
• The cells and the images associated to them in each phase
Macro level
Internal Process
Interface
Micro level
Cell Data Interface
© LES/PUC-Rio
Discussion
• COOPN (Concurrent Object-Oriented Petri Nets)
– (Biberstein et al, 2001)
– object-oriented specification language based on synchronized
algebraic Petri nets
– defines Petri nets and coordination between Petri nets using
object-oriented approach
– Obs: with Petri Nets it was unfeasible
• Comparisons
– Much easier and fast than building the agent-based solution
– However,
• it was not flexible and suitable for the physicians needs
– For instance, adjusting parameters and observe emergent behavior
• Or, not feasible -> explosion of subnets
© LES/PUC-Rio
Discussion
• Our agent-based model solution overloaded the CPU even
with few numbers of entities
• the agent-based model solution was not developed
considering the visualization process, and the process
control
– Hence it was a hard task to incorporate the interface to the
framework.
© LES/PUC-Rio
Conclusions
• The stem cell researchers’ collaborators were very excited
with the first results
• First emergent phenomenon observed
– the differentiated cells are located at the colony’s extremity
while the specialized and stem cells are located at the colony’s
centre
© LES/PUC-Rio
Future Works
• A review and a set of tests on the proposed model
• Produce reports about Macro and Micro levels to support the
comprehension of the information visualized during the
simulation process
• Increase scalability and performance
• 3D visualization
© LES/PUC-Rio
Future Works
• Elicit and design the underlined optimized self-organization
mechanism
– When does occur a symmetric/ asymmetric division?
• Activators /inhibitors
• Differentiation and self-renew process optimization
• Potentiality influence
• Probabilistic influence
– Self-organization evaluation
• Differentiation and self-renew rate optimum
• Learning (?)
– Observable behavior vs. Simulation
• How to identify local rules in a way that the perturbation induce a cancer?
• How to identify a cancer in the emergent behavior?
– HOWEVER...
© LES/PUC-Rio
Self-Organizing MAS Software Engineering
• How to elicit adaptation’s requirements?
• How to design adaptation mechanisms?
• How to measure adaptation features?
© LES/PUC-Rio
Self-Organizing MAS Software Engineering
• Fundamental engineering issue:
– How to design the local behaviour of the agents to get a certain
required global result?
• Current Agent-Oriented Methodologies:
– Focus on engineering microscopic issues
• e.g. the agents, their rules, action-selection, knowledge
representation, how they interact, protocols, …
– No explicit support for engineering macroscopic behaviour
• A fundamental problem is the lack of a step plan that allows
to systematically
– specify desirable macroscopic properties,
– map them to the behaviour of individual agents,
– build the system, and
– verify it to guarantee the required macroscopic properties, i.e.
a full life-cycle engineering process or methodology.
© LES/PUC-Rio
Related Work
• Engineering Self-Organizing Systems - Luca Gardelli
– Meta-model
© LES/PUC-Rio
Related Work
• Engineering Self-Organizing Systems - Luca Gardelli
– Methodologial apporach
• Modelling:look for the desired global behaviour among the
catalogue of known self-organizing systems and model the
strategy
• Simulation: preview the dynamics of the abstract models to see if
emergent properties actually happens
– Models are expressed in a formal language able to describe stochastic
phenomena
• Tuning: Tune the model and related parameters to obtain the
specific required behaviour and evaluate feasibility
parameters
Model
Simulate
Tune
unfeasibility
© LES/PUC-Rio
Related Work
• Analysing and Engineering Self-Organising Emergent
Application
– Tom De Wolf – PhD Thesis
– A methodology based on the Unified Process
– Customisations for Self-Organising Emergent Systems
• Requirements Analysis
• Design
• Verification
• Iterative Feedback
© LES/PUC-Rio
Related Work: Tom De Wolf
• A methodology based on the Unified Process
– Iterative Process: 1 iteration
© LES/PUC-Rio
Related Work: Tom De Wolf
• Designing Self-Organising Emergent Systems based on
Information Flows and Feedback-loops
– Emergence
• Problem-solving power from coordination
– Coordination
= information exchange to execute complementary actions
– Information inherently decentralised
 needs to come to location of agent
– Self-Organisation
• Prerequisite = feedback-loops in information exchange
© LES/PUC-Rio
Related Work: Tom De Wolf
• Use ‘Information Flow’ as design abstraction:
– stream of information
– from source towards destination localities (= limited
region/part)
– maintained and updated to reflect changes
– aggregate/combine new information into flow along the way
 bring local signal of global situation in destination locality
© LES/PUC-Rio
Related Work: Tom De Wolf
• Architectural View showing
– Macroscopic Information Flows
– Microscopic Agent Actions
– Relations between them
• = bigger coordination picture
© LES/PUC-Rio
Related Work: Tom De Wolf
Notation
• Modelling Language: UML 2 Activity Diagrams
– Determines runtime-effects:
• when behaviours start and stop
• Inputs and outputs
• Routing of control and data through a graph
– Serve the need to denote activities in different localities in the
system
© LES/PUC-Rio
Related Work: Tom De Wolf
• Feedback Loop
Locality 1
Locality 2
Action 1
Locality 3
Feedback Loop
Action 3
Info 2
Info 1
Action 2
Action 4
Action 5
Info 3
© LES/PUC-Rio
© LES/PUC-Rio
Selg-Organization and Autonomic Computing
-
Self-X properties are typically macroscopic properties in a
decentralised system.
• Focus:
– Decentralised Autonomic Computing
based on Self-Organising Emergent Principles
• Problem:
– No global control, only local control
– Hard to give guarantees about global behaviour
–  not acceptable in industrial context unless …
• Goal:
– Obtain guarantees about overall self-X behaviour
• Formal proof or Numerical Algorithms
– Hard, practically infeasible to obtain equations that describe the
evolution of those requirements
– Therefore, we need measurements that represent these requirements.
© LES/PUC-Rio
Related Work
• Analysing Self-Organising Emergent Behaviour using
Advanced Numerical Methods
– Tom De Wolf
– “Equation-Free” Numerical Analysis using
• Realistic simulation models
• Existing scientific analysis algorithms
– Feasible compared to formal proof
– Allows advanced scientific results compared to mere
observation of simulations
© LES/PUC-Rio
Related Work : Tom de Wolf
• Equation = partial-differential equation
–  given a value for the macroscopic variable, gives a new
value that is reached when the system evolves some time step
further
Equation-based Model
Xi
Xi+1
Analysis
Algorithm
Analysis Results
• No need for equation itself, only its evaluation  replace
this with an estimation based on realistic simulations
© LES/PUC-Rio
Related Work : Tom de Wolf
• Only simulation code is needed, no formal model or
equation
simulate
simulate
…
measure
initialise
…
simulate
Xi
Xi+1
Analysis
Algorithm
Analysis Results
I. G. Kevrekidis, et al. “Equation-free, coarse grained multiscale computation: enabling microscopic simulators
to perform system-level analysis.” Communications in Mathematical Sciences, 1(4):715-762, 2003
© LES/PUC-Rio
Concluindo...
• Células-tronco são Sistemas Auto-Organizáveis (SAOs)
• Distributed Autonomic Computing também são Sistemas
Auto-Organizáveis
• Sistemas Multi-Agentes Auto-Organizáveis podem ser
utilizados como uma forma de implementação
• Raríssimos trabalhos sobre Metodologias e Processos para
Sistemas Multi-Agentes Auto-Organizáveis
– Somente 2 foram encontrados na literatura
– Ainda com muitas limitações
© LES/PUC-Rio
Trabalhos para o Semestre
• Re-projetar e implementar o simulador de células-tronco
– Objetivos
•
•
•
•
•
Evoluir especificação
Propriedades globais emergentes
Framework para evoluir processo de diferenciação para vários tipos de células
Visualização 3D da célula
Verificação – Aplicar Equation-free method
– Participantes
• Maíra Gatti, Diego Bispo, Geisa Faustino, Eurico Vasconcellos, Guilherme Pate
• Projetar uma aplicação de AC (implementação poderia ficar a posteriori
de acordo com o tamanho)
– Objetivos
• Projetar propriedades de self-* através dos princípios de auto-organização
– Participantes
• Maíra e Cristiano (?) :)
• Desafios
– Estender AUML com Diagramas de Atividade de UML 2
– Inspiração nos feedback-loops de De Wolf para projetar propriedades
mascrocópicas
– Aplicar Equation-free method na análise dos resultados
– Aumentar escalabilidade e performance -> Distribuição, Grid?
© LES/PUC-Rio
Trabalhos para o Semestre
• Alunos novos poderiam...
– Auxiliar na modelagem
• Células-Tronco (+ 1 aluno)
• Autonomic Computing (+ 1 aluno)
– Auxiliar na construção do framework de células-tronco
• Diego + 1 aluno que seria o mesmo da fase anterior
– Auxiliar na fase de verificação
• Guilherme + 1 aluno
© LES/PUC-Rio
References
•
•
•
•
•
•
•
Lei, J., Mackey, M.C. (2007). "Stochastic differential delay equation,
moment stability, and appplication to hematopoietic stem cell regulation
system", SIAM J. Appl. Math. (2007), 67(2), 387–407.
Agur, Z., Daniel, Y. and Ginosar, Y. (2002). The universal properties of stem
cells as pinpointed by a simple discrete model. Mathematical Biology,
44:79–86, 2002.
Loeffler, M. and Roeder, I.. Cells Tissues Organs, 171(1):8-26, 2002.
d’Inverno, M. and Saunders, R. (2005). Agent-based modelling of stem cell
organisation in a niche. In Engineering Self-Organising Systems, volume
3464 of LNAI. Springer, 2005.
Theise, N. D. and d’Inverno, M. (2003). Understanding cell lineages as
complex adaptive systems. Blood, Cells, Molecules and Diseases, 32:17–
20, 2003.
d’Inverno, M. and Prophet, J. (2004). Modelling, simulation and
visualisation of adult stem cells. In P. Gonzalez, E. Merelli, and A. Omicini,
editors, Fourth International Workshop on Network Tools and Applications,
NETTAB, pages 105–116, 2004.
d’Inverno, M. and Saunders, R. (2005). Agent-based modelling of stem cell
organisation in a niche. In Engineering Self-Organising Systems, volume
3464 of LNAI. Springer, 2005.
© LES/PUC-Rio
References
• Mirko Viroli,Matteo Casadei, Luca Gardelli A Case of SelfOrganisingEnvironment for MAS: the Collective Sort Problem. 4th
European Workshop on Multi-Agent Systems (EUMAS 2006).
December 2006 -Lisbon -Portugal
• Matteo Casadei, Luca Gardelli, Mirko Viroli. Simulating Emergent
Properties of Coordination in Maude: the Collective Sorting Case.
5th International Workshop on the Foundations of Coordination
Languages and Software Architectures (FOCLASA 2006) a satellite
workshop of CONCUR. August 2006 - Bonn -Germany
• Matteo Casadei, Luca Gardelli, Mirko Viroli. Collective Sorting
TupleSpaces. Daglioggettiagliagenti: Sistemi Grid, P2P e Self-*,
AI*IA/TABOO Joint Workshop (WOA 2006). September 2006,
Catania–Italy
• Luca Gardelli,Mirko Viroli,Matteo Casadei. Engineering the
Environment of Self-OrganisingMulti-Agent Systems Exploiting
Formal Analysis Tools. AICA 2006 - AssociazioneItalianaper
l'Informaticae ilCalcoloAutomatico. September 2006, Cesena-Italy
© LES/PUC-Rio
References
•
•
•
•
Luca Gardelli, Mirko Viroli, Andrea Omicini. On the Role of Simulations in
Engineering Self-Organizing MAS: the Case of na Intrusion Detection System
in TuCSoN. Lecture Notes in Computer Science. LNAI 3910. pp 153-166.
Springer, 2006 3rd International Workshop “Engineering Self- Organising
Applications”(ESOA 2005), Utrecht, The Netherlands (NL), July 2005.
Luca Gardelli, Mirko Viroli,Matteo Casadei. On Engineering Self-Organizing
Environments: Stochastic Methods for Dynamic Resource Allocation. The
Third International Workshop on Environments for MultiagentSystems
(E4MAS 06). To be held at The Fifth International Joint Conference on
Autonomous Agents & MultiagentSystems (AAMAS 2006) –Future UniversityHakodate, Japan, May 8, 2006.
Alessandro Ricci, Andrea Omicini, Mirko Viroli, Luca Gardelli, EnricoOliva
Cognitive Stigmergy: A Framework Based on Agents and Artifacts The Third
International Workshop on Environments for MultiagentSystems (E4MAS
06). To be held at The Fifth International Joint Conference on Autonomous
Agents & MultiagentSystems (AAMAS 2006) -Future University-Hakodate,
Japan, May 8, 2006.
Luca Gardelli, Mirko Viroli,Andrea Omicini. Exploring the Dynamics of SelfOrganisingSystems with Stochastic pi-Calculus: Detecting Abnormal
Behaviourin MAS. Fifth International Symposium "From Agent Theory to
Agent Implementation" (AT2AI-5). 18th European Meeting on Cybernetics
and Systems Research (EMCSR 2006) -Vienna, Austria (AT). April 2006.
© LES/PUC-Rio
References
•
•
•
•
•
•
T. De Wolf, Analysing and engineering self-organising emergent applications, Ph.D. Thesis,
Department of Computer Science, K.U.Leuven, Leuven, Belgium, May, 2007, 183
T. De Wolf, and T. Holvoet, Emergence Versus Self-Organisation: Different Concepts but
Promising When Combined, Engineering Self Organising Systems: Methodologies and
Applications (Brueckner, S. and Di Marzo Serugendo, G. and Karageorgos, A. and Nagpal,
R., eds.), Lecture Notes in Computer Science, 2005, Volume 3464, May 2005, pages 1 - 15
T. De Wolf, and T. Holvoet, Towards a Methodolgy for Engineering Self-Organising Emergent
Systems, In Self-Organization and Autonomic Informatics (I), Volume 135 of Frontiers in
Artificial Intelligence and Applications. H. Czap, R. Unland, C. Branki and H. Tianfield
(editors), pp 18 - 34. ISBN: 1-58603-577-0, IOS Press. Proceedings of the International
Conference on Self-Organization and Adaptation of Multi-agent and Grid Systems (SOAS
2005), Glasgow, Scotland, UK (PDF) [Best Paper Award]
T. De Wolf, G. Samaey, T. Holvoet, and D. Roose, Decentralised autonomic computing:
Analysing self-organising emergent behaviour using advanced numerical methods, Proc of
the Sec Int Conf on Autonomic Computing, IEEE Computer Society Proc, pp. 52-63, 2005
T. De Wolf, and T. Holvoet, Using UML 2 Activity Diagrams to Design Information Flows and
Feedback-loops in Self-Organising Emergent Systems, Proceedings of the Second
International Workshop on Engineering Emergence in Decentralised Autonomic Systems
(EEDAS 2007), pp 52-61, Editors: Tom De Wolf, Fabrice Saffre, Richard Anthony, Publisher:
CMS Press, University of Greenwich, UK, Event: co-located with ICAC 2007 @ Jacksonville,
Florida, USA, 2007
T. De Wolf, and T. Holvoet, Design Patterns for Decentralised Coordination in Self-organising
Emergent Systems, Editors: Sven Brueckner, Salima Hassas, Màrk Jelasity and Daniel
Yamins, Engineering Self-Organising Systems: Fourth International Workshop, ESOA 2006,
Future University-Hakodate, Japan, 2006, Revised Selected Papers, Lecture Notes in
Computer Science, Volume 4335, 2007, pp. 28–49, Springer Verlag
© LES/PUC-Rio
FIM
Maíra Gatti
mgatti@teccomm.les.inf.puc-rio.br
Download