SlideShare a Scribd company logo
Using AI Planning to Automate
the Performance Analysis of
Simulators
19. 3. 2014, SIMUTools 2014 — Lisbon, Portugal
Roland Ewald
(for own content)
Sponsored by:
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 1
selected metabolites to a defined growth medium;
(vi) laboratory automation software to physically
execute the experimental plan and to record the
data and metadata in a relational database; (vii)
software to analyze the data and metadata (gen-
erate growth curves and extract parameters); and
(viii) software to relate the analyzed data to the
hypotheses; for example, statistical methods are
required to decide on significance. Once this in-
frastructure is in place, no human intellectual inter-
vention is necessary to execute cycles of simple
hypothesis-led experimentation. [For more details
of the software, and its application to a related
functional genomics problem, see (16) and figs.
S1 and S2].
lysine biosynthetic pathways of fungi. Adam hy-
pothesized that three genes (YER152C, YJL060W,
and YGL202W) encode this enzyme and ob-
served results consistent with all three hypotheses
(Table 1). To test Adam’s conclusions, we pu-
rified the protein products of these genes and
used them in in vitro enzyme assays, which
confirmed Adam’s conclusions [supporting on-
line material (SOM)] (Fig. 2).
To further test Adam's conclusions, we ex-
amined the scientific literature on the 20 genes
investigated (Table 1) (16). This revealed the ex-
istence of strong empirical evidence for the cor-
rectness of six of the hypotheses; that is, the
enzymes were not actually orphans (Table 1).
of overlapping function, enzymes that catalyze
more than one related reaction, and existing func-
tional annotations. Adam’s systematic bioinformatic
and quantitative phenotypic analyzes were required
to unravel this web of functionality.
Use of a robot scientist enables all aspects of a
scientific investigation to be formalized in logic.
For the core organization of this formalization,
we used the ontology of scientific experiments:
EXPO (11, 12). This ontology formalizes generic
knowledge about experiments. For Adam, we
developed LABORS, a customized version of
EXPO, expressed in the description logic lan-
guage OWL-DL (17). Application of LABORS
produces experimental descriptions in the logic-
Fig. 1. The Robot Scien-
tist Adam. The advances
that distinguish Adam from
other complex laboratory
systems are the individual
design of the experiments
to test hypotheses and the
utilization of complex in-
ternal cycles. Adam’s basic
operations are selection of
specified yeast strains from
a library held in a freezer,
inoculation of these strains
into microtiter plate wells
containing rich medium,
measurement of growth
curves on rich medium,
harvesting of a defined
quantity of cells from each
well, inoculation of these
cells into wells containing
defined media (minimal syn-
thetic dextrose medium plus
up to four added metab-
olites from a choice of six),
and measurement of growth
curves on the specified me-
dia. To achieve this func-
tionality, Adam has the
following components: a,
an automated –20°C freezer;
b, three liquid handlers (one
of which can separately control 96 fluid channels simultaneously); c, three
automated +30°C incubators; d, two automated plate readers; e, three robot
arms; f, two automated plate slides; g, an automated plate centrifuge; h, an
automated plate washer; i, two high-efficiency particulate air filters; and j, a
rigid transparent plastic enclosure. There are also two bar code readers, seven
cameras, 20 environment sensors, and four personal computers, as well as the
software. Adam is capable of designing and initiating over a thousand new
strain and defined-growth-medium experiments each day (from a selection of
thousands of yeast strains), with each experiment lasting up to 5 days. The
design enables measurement of OD595nm for each experiment at least once
every 30 min (more often if running at less than full capacity), allowing ac-
curate growth curves to be recorded (typically we take over a hundred mea-
surements a day per well), plus associated metadata. See the supporting
online material for pictures and a video of Adam in action.
3 APRIL 2009 VOL 324 SCIENCE www.sciencemag.org86
onApril14,2009www.sciencemag.orgDownloadedfrom
Left: Victorian era student microscope, by Tom Blackwell (flickr.com, CC-BY-NC)
Right: King et al., The automation of science, Science 324 (5923), pp. 85-89, Apr. 2009.
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 2
What about Simulator Performance Analysis?
1989
25
5
34
1 2 3
ExecutionTime
Simulators
2014
25
5
34
1 2 3
Executio
Simulators
1 2 3
ExecutionTime
Simulators
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 3
The Problem
• Manual analysis is cumbersome (less exploration, more errors)
• Constant reinvention of the wheel (scripts, statistics, design)
• Implicit, undetected bias (little reproducibility, credibility, efficiency)
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 4
The Problem
• Manual analysis is cumbersome (less exploration, more errors)
• Constant reinvention of the wheel (scripts, statistics, design)
• Implicit, undetected bias (little reproducibility, credibility, efficiency)
A performance study has context & is done for a reason.
Let the user express this, automate everything else.
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 4
Scenario: Comparing two Simulators
Hypothesis:
∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m)
• A, B: simulators
• M: models (problem space)
• moreEntities, faster: predicates
• xhyp: hypothetical threshold
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 5
Non-deterministic Outcomes
∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m)
1. B outperforms A: faster(B, A, m) ∧ ¬faster(A, B, m)
2. A outperforms B: faster(A, B, m) ∧ ¬faster(B, A, m)
3. A and B perform similarly: ¬faster(A, B, m) ∧ ¬faster(B, A, m)
4. A, B, or both crashed.
5. Another error occurred.
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 6
Falsification Approaches
∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m)
1. Randomly sample m ∈ M (computing budget allocation?)
2. Statistical tests (runtime distribution?)
3. Train performance predictors, try only promising m ∈ M
4. Analyze sensitivity of A and B performance, sample accordingly
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 7
Falsification Approaches
∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m)
1. Randomly sample m ∈ M (computing budget allocation?)
2. Statistical tests (runtime distribution?)
3. Train performance predictors, try only promising m ∈ M
4. Analyze sensitivity of A and B performance, sample accordingly
5. ... or other experiment sequences.
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 7
ALESIA
A system for automatic simulator performance analysis.
• Hypothesis-driven experimentation
• Support for performance predictors (knowledge representation)
• Automatic result analysis ⇒ feedback loop
• Integration of methods from statistics, OR, AI etc.
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 8
ALESIA: Overall Structure
SESSL
Simulation System (exchangeable)
Problem
Plan Execution
Planning
Result
Observed Data Experiment Definitions
Plan
Formal Definition
Report
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 9
Sample Input
1. User domain (context)
2. Preferences
3. Goal (¬hypothesis)
val result = submit {
SingleModel("java://examples.sr.LinearChainSystem")
} {
TerminateWhen(WallClockTimeMaximum(seconds = 30))
} {
exists >> model | hasProperty("qss")
}
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 10
Sample Actions
• Generated by ActionSpecification instances
• Depend on user domain
• Non-deterministic
Action loadSingleModel:
precondition: ¬depleted ∧ ¬loadedModel
effect: depleted ∨ loadedModel
Action checkQSSProperty:
precondition: loadedModel
effect: hasProperty(qss)∨ (¬hasProperty(qss) ∧ ¬loadedModel)
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 11
Non-Deterministic AI Planning
7.3.2014 BDD
x1
x2
0
x2
1
x3
0
x3
1
1
1
0
0
01 10
(from Wikipedia, cc-by-sa)
• Non-determinism: Plan ⇒ Policy
• Symbolic Model Checking
• Binary Decision Diagrams (BDDs)
• Algorithms by Cimatti et al., Rintanen
Planning algorithms:
Cimatti et al.: Weak, strong, and strong cyclic planning via symbolic model checking, Artificial Intelligence, 147(1-2), 2003
Rintanen: Complexity of conditional planning under partial observability and infinite executions, European Conference on AI, 2012
Ghallab, Nau, Traverso: Automated Planning: Theory & Practice, 2004
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 12
Sample Plan for Goal hasProperty(qss)
Plan types:
• Weak
• Strong-cyclic
• Strong
if(¬depleted ∧ ¬loadedModel)
use loadSingleModel
else if(loadedModel)
use checkQSSProperty
else error
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 13
Plan Execution
Planning Domain
Execution Domain
loadedModel
… SingleModel("java://examples.sr.LinearChainSystem")
hasProperty(qss)
Problem Definition
java://examples.sr.LinearChainSystem Execution Times
… hasProperty("qss")
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 14
Simulation System Independence via SESSL
import sessl._
import sessl.james._ //ALeSiA is used with the JAMES II binding
execute{
new Experiment {
model="java://examples.sr.LinearChainSystem"
replications=10
stopCondition=AfterWallClockTime(seconds=3) or AfterSimSteps(10e06)
}
}
Ewald, Uhrmacher: SESSL: A Domain-Specific Language for Simulation Experiments, ACM TOMACS 24(2), 2014
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 15
Example: Simulators for Chemical Reaction Networks
val result = submit {
// Problem Domain (Context):
ModelSet("java://examples.sr.LinearChainSystem",
ModelParameter("numOfSpecies",1,10,1000),
ModelParameter("numOfInitialParticles",10,100,10000)),
SingleSimulator("nrm", NextReactionMethod()),
SingleSimulator("dm", DirectMethod())
} { // Preferences:
DesiredSingleExecutionWallClockTime(seconds = 1),
TerminateWhen(MaxOverallNumberOfActions(100))
} { // Hypothesis:
exists>>model|(hasProperty("qss") and isFasterWCT("dm", "nrm", model))
}
Stochastic Simulation Algorithms:
Gillespie: A general method for numerically simulating the stochastic time evolution of coupled chemical reactions, J Comp Phys 22, 1976
Gibson, Bruck: Efficient Exact Stochastic Simulation of Chemical Systems with Many Species and Many Channels, J Chem Phys 104, 2000
Benchmark Model:
Cao, Li, Petzold: Efficient formulation of the stochastic simulation algorithm for chemically reacting systems, The J Chem Phys 121(9), 2004
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 16
Sample Scenario: Execution Trace
0
1
2
3
4
5
6
1 11 21 31 41 51 61 71 81 91 101 111 121 131 141 151
ExecutionTime(ins)
Triggered Simulation Runs (top) and
Actions (bottom: sampling, calibration, comparison)
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 17
Summary
• Goal: automate simulator performance analysis
• Method: AI planning and plan execution with feedback loop
• Results:
• Works in principle, but action specification requires more meta-data
• Ongoing: integration of sophisticated methods
• Future: DSLs for context & hypotheses, distributed execution
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 18
Thank you. Questions?
ALESIA is open source (Apache 2.0 license).
https://bitbucket.org/alesia
19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 19

More Related Content

Similar to Using AI Planning to Automate the Performance Analysis of Simulators

USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
AIRCC Publishing Corporation
 
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
ijcsit
 
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
AIRCC Publishing Corporation
 
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
IJCSEA Journal
 
Applying genetic algorithms to information retrieval using vector space model
Applying genetic algorithms to information retrieval using vector space modelApplying genetic algorithms to information retrieval using vector space model
Applying genetic algorithms to information retrieval using vector space model
IJCSEA Journal
 
Automated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform DesignsAutomated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform Designs
Aijun Zhang
 
Model-based Regression Testing of Autonomous Robots
Model-based Regression Testing of Autonomous RobotsModel-based Regression Testing of Autonomous Robots
Model-based Regression Testing of Autonomous Robots
Zoltan Micskei
 
MEME – An Integrated Tool For Advanced Computational Experiments
MEME – An Integrated Tool For Advanced Computational ExperimentsMEME – An Integrated Tool For Advanced Computational Experiments
MEME – An Integrated Tool For Advanced Computational ExperimentsGIScRG
 
|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain
Kan Yuenyong
 
A multi-sensor based uncut crop edge detection method for head-feeding combin...
A multi-sensor based uncut crop edge detection method for head-feeding combin...A multi-sensor based uncut crop edge detection method for head-feeding combin...
A multi-sensor based uncut crop edge detection method for head-feeding combin...
Institute of Agricultural Machinery, NARO
 
An automatic test data generation for data flow
An automatic test data generation for data flowAn automatic test data generation for data flow
An automatic test data generation for data flow
WafaQKhan
 
Weather Prediction Model using Random Forest Algorithm and Apache Spark
Weather Prediction Model using Random Forest Algorithm and Apache SparkWeather Prediction Model using Random Forest Algorithm and Apache Spark
Weather Prediction Model using Random Forest Algorithm and Apache Spark
ijtsrd
 
2014 11-13-sbsm032-reproducible research
2014 11-13-sbsm032-reproducible research2014 11-13-sbsm032-reproducible research
2014 11-13-sbsm032-reproducible research
Yannick Wurm
 
Automated Machine Learning Applied to Diverse Materials Design Problems
Automated Machine Learning Applied to Diverse Materials Design ProblemsAutomated Machine Learning Applied to Diverse Materials Design Problems
Automated Machine Learning Applied to Diverse Materials Design Problems
Anubhav Jain
 
Qm0021 statistical process control
Qm0021 statistical process controlQm0021 statistical process control
Qm0021 statistical process control
smumbahelp
 
UHDMML.pps
UHDMML.ppsUHDMML.pps
UHDMML.ppsbutest
 
Boetticher Presentation Promise 2008v2
Boetticher Presentation Promise 2008v2Boetticher Presentation Promise 2008v2
Boetticher Presentation Promise 2008v2
gregoryg
 
Static Memory Management for Efficient Mobile Sensing Applications
Static Memory Management for Efficient Mobile Sensing ApplicationsStatic Memory Management for Efficient Mobile Sensing Applications
Static Memory Management for Efficient Mobile Sensing Applications
Farley Lai
 

Similar to Using AI Planning to Automate the Performance Analysis of Simulators (20)

USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
 
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
 
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
 
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
APPLYING GENETIC ALGORITHMS TO INFORMATION RETRIEVAL USING VECTOR SPACE MODEL
 
Applying genetic algorithms to information retrieval using vector space model
Applying genetic algorithms to information retrieval using vector space modelApplying genetic algorithms to information retrieval using vector space model
Applying genetic algorithms to information retrieval using vector space model
 
Automated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform DesignsAutomated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform Designs
 
Model-based Regression Testing of Autonomous Robots
Model-based Regression Testing of Autonomous RobotsModel-based Regression Testing of Autonomous Robots
Model-based Regression Testing of Autonomous Robots
 
MEME – An Integrated Tool For Advanced Computational Experiments
MEME – An Integrated Tool For Advanced Computational ExperimentsMEME – An Integrated Tool For Advanced Computational Experiments
MEME – An Integrated Tool For Advanced Computational Experiments
 
|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain
 
A multi-sensor based uncut crop edge detection method for head-feeding combin...
A multi-sensor based uncut crop edge detection method for head-feeding combin...A multi-sensor based uncut crop edge detection method for head-feeding combin...
A multi-sensor based uncut crop edge detection method for head-feeding combin...
 
50120140503004
5012014050300450120140503004
50120140503004
 
An automatic test data generation for data flow
An automatic test data generation for data flowAn automatic test data generation for data flow
An automatic test data generation for data flow
 
Weather Prediction Model using Random Forest Algorithm and Apache Spark
Weather Prediction Model using Random Forest Algorithm and Apache SparkWeather Prediction Model using Random Forest Algorithm and Apache Spark
Weather Prediction Model using Random Forest Algorithm and Apache Spark
 
2014 11-13-sbsm032-reproducible research
2014 11-13-sbsm032-reproducible research2014 11-13-sbsm032-reproducible research
2014 11-13-sbsm032-reproducible research
 
Automated Machine Learning Applied to Diverse Materials Design Problems
Automated Machine Learning Applied to Diverse Materials Design ProblemsAutomated Machine Learning Applied to Diverse Materials Design Problems
Automated Machine Learning Applied to Diverse Materials Design Problems
 
IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)
 
Qm0021 statistical process control
Qm0021 statistical process controlQm0021 statistical process control
Qm0021 statistical process control
 
UHDMML.pps
UHDMML.ppsUHDMML.pps
UHDMML.pps
 
Boetticher Presentation Promise 2008v2
Boetticher Presentation Promise 2008v2Boetticher Presentation Promise 2008v2
Boetticher Presentation Promise 2008v2
 
Static Memory Management for Efficient Mobile Sensing Applications
Static Memory Management for Efficient Mobile Sensing ApplicationsStatic Memory Management for Efficient Mobile Sensing Applications
Static Memory Management for Efficient Mobile Sensing Applications
 

More from Roland Ewald

Kurzpräsentation JAMES II
Kurzpräsentation JAMES IIKurzpräsentation JAMES II
Kurzpräsentation JAMES II
Roland Ewald
 
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragenA Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
Roland Ewald
 
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
Roland Ewald
 
Domain-Specific Languages (DSLs) entwickeln und anwenden
Domain-Specific Languages (DSLs) entwickeln und anwendenDomain-Specific Languages (DSLs) entwickeln und anwenden
Domain-Specific Languages (DSLs) entwickeln und anwenden
Roland Ewald
 
SESSL Poster Madness WSC'12
SESSL Poster Madness WSC'12SESSL Poster Madness WSC'12
SESSL Poster Madness WSC'12
Roland Ewald
 
SCALA: ein kurzer Überblick
SCALA: ein kurzer ÜberblickSCALA: ein kurzer Überblick
SCALA: ein kurzer Überblick
Roland Ewald
 

More from Roland Ewald (6)

Kurzpräsentation JAMES II
Kurzpräsentation JAMES IIKurzpräsentation JAMES II
Kurzpräsentation JAMES II
 
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragenA Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
A Day in the Life of a Bug --- sinnvoll zu Open Source Projekten beitragen
 
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
Evaluating Simulation Software Components with Player Rating Systems (SIMUToo...
 
Domain-Specific Languages (DSLs) entwickeln und anwenden
Domain-Specific Languages (DSLs) entwickeln und anwendenDomain-Specific Languages (DSLs) entwickeln und anwenden
Domain-Specific Languages (DSLs) entwickeln und anwenden
 
SESSL Poster Madness WSC'12
SESSL Poster Madness WSC'12SESSL Poster Madness WSC'12
SESSL Poster Madness WSC'12
 
SCALA: ein kurzer Überblick
SCALA: ein kurzer ÜberblickSCALA: ein kurzer Überblick
SCALA: ein kurzer Überblick
 

Recently uploaded

Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
fafyfskhan251kmf
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
sanjana502982
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
NoelManyise1
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
Wasswaderrick3
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
yqqaatn0
 
S.1 chemistry scheme term 2 for ordinary level
S.1 chemistry scheme term 2 for ordinary levelS.1 chemistry scheme term 2 for ordinary level
S.1 chemistry scheme term 2 for ordinary level
ronaldlakony0
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Studia Poinsotiana
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 

Recently uploaded (20)

Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
 
S.1 chemistry scheme term 2 for ordinary level
S.1 chemistry scheme term 2 for ordinary levelS.1 chemistry scheme term 2 for ordinary level
S.1 chemistry scheme term 2 for ordinary level
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 

Using AI Planning to Automate the Performance Analysis of Simulators

  • 1. Using AI Planning to Automate the Performance Analysis of Simulators 19. 3. 2014, SIMUTools 2014 — Lisbon, Portugal Roland Ewald (for own content) Sponsored by: 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 1
  • 2. selected metabolites to a defined growth medium; (vi) laboratory automation software to physically execute the experimental plan and to record the data and metadata in a relational database; (vii) software to analyze the data and metadata (gen- erate growth curves and extract parameters); and (viii) software to relate the analyzed data to the hypotheses; for example, statistical methods are required to decide on significance. Once this in- frastructure is in place, no human intellectual inter- vention is necessary to execute cycles of simple hypothesis-led experimentation. [For more details of the software, and its application to a related functional genomics problem, see (16) and figs. S1 and S2]. lysine biosynthetic pathways of fungi. Adam hy- pothesized that three genes (YER152C, YJL060W, and YGL202W) encode this enzyme and ob- served results consistent with all three hypotheses (Table 1). To test Adam’s conclusions, we pu- rified the protein products of these genes and used them in in vitro enzyme assays, which confirmed Adam’s conclusions [supporting on- line material (SOM)] (Fig. 2). To further test Adam's conclusions, we ex- amined the scientific literature on the 20 genes investigated (Table 1) (16). This revealed the ex- istence of strong empirical evidence for the cor- rectness of six of the hypotheses; that is, the enzymes were not actually orphans (Table 1). of overlapping function, enzymes that catalyze more than one related reaction, and existing func- tional annotations. Adam’s systematic bioinformatic and quantitative phenotypic analyzes were required to unravel this web of functionality. Use of a robot scientist enables all aspects of a scientific investigation to be formalized in logic. For the core organization of this formalization, we used the ontology of scientific experiments: EXPO (11, 12). This ontology formalizes generic knowledge about experiments. For Adam, we developed LABORS, a customized version of EXPO, expressed in the description logic lan- guage OWL-DL (17). Application of LABORS produces experimental descriptions in the logic- Fig. 1. The Robot Scien- tist Adam. The advances that distinguish Adam from other complex laboratory systems are the individual design of the experiments to test hypotheses and the utilization of complex in- ternal cycles. Adam’s basic operations are selection of specified yeast strains from a library held in a freezer, inoculation of these strains into microtiter plate wells containing rich medium, measurement of growth curves on rich medium, harvesting of a defined quantity of cells from each well, inoculation of these cells into wells containing defined media (minimal syn- thetic dextrose medium plus up to four added metab- olites from a choice of six), and measurement of growth curves on the specified me- dia. To achieve this func- tionality, Adam has the following components: a, an automated –20°C freezer; b, three liquid handlers (one of which can separately control 96 fluid channels simultaneously); c, three automated +30°C incubators; d, two automated plate readers; e, three robot arms; f, two automated plate slides; g, an automated plate centrifuge; h, an automated plate washer; i, two high-efficiency particulate air filters; and j, a rigid transparent plastic enclosure. There are also two bar code readers, seven cameras, 20 environment sensors, and four personal computers, as well as the software. Adam is capable of designing and initiating over a thousand new strain and defined-growth-medium experiments each day (from a selection of thousands of yeast strains), with each experiment lasting up to 5 days. The design enables measurement of OD595nm for each experiment at least once every 30 min (more often if running at less than full capacity), allowing ac- curate growth curves to be recorded (typically we take over a hundred mea- surements a day per well), plus associated metadata. See the supporting online material for pictures and a video of Adam in action. 3 APRIL 2009 VOL 324 SCIENCE www.sciencemag.org86 onApril14,2009www.sciencemag.orgDownloadedfrom Left: Victorian era student microscope, by Tom Blackwell (flickr.com, CC-BY-NC) Right: King et al., The automation of science, Science 324 (5923), pp. 85-89, Apr. 2009. 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 2
  • 3. What about Simulator Performance Analysis? 1989 25 5 34 1 2 3 ExecutionTime Simulators 2014 25 5 34 1 2 3 Executio Simulators 1 2 3 ExecutionTime Simulators 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 3
  • 4. The Problem • Manual analysis is cumbersome (less exploration, more errors) • Constant reinvention of the wheel (scripts, statistics, design) • Implicit, undetected bias (little reproducibility, credibility, efficiency) 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 4
  • 5. The Problem • Manual analysis is cumbersome (less exploration, more errors) • Constant reinvention of the wheel (scripts, statistics, design) • Implicit, undetected bias (little reproducibility, credibility, efficiency) A performance study has context & is done for a reason. Let the user express this, automate everything else. 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 4
  • 6. Scenario: Comparing two Simulators Hypothesis: ∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m) • A, B: simulators • M: models (problem space) • moreEntities, faster: predicates • xhyp: hypothetical threshold 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 5
  • 7. Non-deterministic Outcomes ∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m) 1. B outperforms A: faster(B, A, m) ∧ ¬faster(A, B, m) 2. A outperforms B: faster(A, B, m) ∧ ¬faster(B, A, m) 3. A and B perform similarly: ¬faster(A, B, m) ∧ ¬faster(B, A, m) 4. A, B, or both crashed. 5. Another error occurred. 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 6
  • 8. Falsification Approaches ∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m) 1. Randomly sample m ∈ M (computing budget allocation?) 2. Statistical tests (runtime distribution?) 3. Train performance predictors, try only promising m ∈ M 4. Analyze sensitivity of A and B performance, sample accordingly 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 7
  • 9. Falsification Approaches ∀m ∈ M : moreEntities(m, xhyp) ⇒ faster(B, A, m) 1. Randomly sample m ∈ M (computing budget allocation?) 2. Statistical tests (runtime distribution?) 3. Train performance predictors, try only promising m ∈ M 4. Analyze sensitivity of A and B performance, sample accordingly 5. ... or other experiment sequences. 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 7
  • 10. ALESIA A system for automatic simulator performance analysis. • Hypothesis-driven experimentation • Support for performance predictors (knowledge representation) • Automatic result analysis ⇒ feedback loop • Integration of methods from statistics, OR, AI etc. 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 8
  • 11. ALESIA: Overall Structure SESSL Simulation System (exchangeable) Problem Plan Execution Planning Result Observed Data Experiment Definitions Plan Formal Definition Report 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 9
  • 12. Sample Input 1. User domain (context) 2. Preferences 3. Goal (¬hypothesis) val result = submit { SingleModel("java://examples.sr.LinearChainSystem") } { TerminateWhen(WallClockTimeMaximum(seconds = 30)) } { exists >> model | hasProperty("qss") } 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 10
  • 13. Sample Actions • Generated by ActionSpecification instances • Depend on user domain • Non-deterministic Action loadSingleModel: precondition: ¬depleted ∧ ¬loadedModel effect: depleted ∨ loadedModel Action checkQSSProperty: precondition: loadedModel effect: hasProperty(qss)∨ (¬hasProperty(qss) ∧ ¬loadedModel) 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 11
  • 14. Non-Deterministic AI Planning 7.3.2014 BDD x1 x2 0 x2 1 x3 0 x3 1 1 1 0 0 01 10 (from Wikipedia, cc-by-sa) • Non-determinism: Plan ⇒ Policy • Symbolic Model Checking • Binary Decision Diagrams (BDDs) • Algorithms by Cimatti et al., Rintanen Planning algorithms: Cimatti et al.: Weak, strong, and strong cyclic planning via symbolic model checking, Artificial Intelligence, 147(1-2), 2003 Rintanen: Complexity of conditional planning under partial observability and infinite executions, European Conference on AI, 2012 Ghallab, Nau, Traverso: Automated Planning: Theory & Practice, 2004 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 12
  • 15. Sample Plan for Goal hasProperty(qss) Plan types: • Weak • Strong-cyclic • Strong if(¬depleted ∧ ¬loadedModel) use loadSingleModel else if(loadedModel) use checkQSSProperty else error 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 13
  • 16. Plan Execution Planning Domain Execution Domain loadedModel … SingleModel("java://examples.sr.LinearChainSystem") hasProperty(qss) Problem Definition java://examples.sr.LinearChainSystem Execution Times … hasProperty("qss") 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 14
  • 17. Simulation System Independence via SESSL import sessl._ import sessl.james._ //ALeSiA is used with the JAMES II binding execute{ new Experiment { model="java://examples.sr.LinearChainSystem" replications=10 stopCondition=AfterWallClockTime(seconds=3) or AfterSimSteps(10e06) } } Ewald, Uhrmacher: SESSL: A Domain-Specific Language for Simulation Experiments, ACM TOMACS 24(2), 2014 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 15
  • 18. Example: Simulators for Chemical Reaction Networks val result = submit { // Problem Domain (Context): ModelSet("java://examples.sr.LinearChainSystem", ModelParameter("numOfSpecies",1,10,1000), ModelParameter("numOfInitialParticles",10,100,10000)), SingleSimulator("nrm", NextReactionMethod()), SingleSimulator("dm", DirectMethod()) } { // Preferences: DesiredSingleExecutionWallClockTime(seconds = 1), TerminateWhen(MaxOverallNumberOfActions(100)) } { // Hypothesis: exists>>model|(hasProperty("qss") and isFasterWCT("dm", "nrm", model)) } Stochastic Simulation Algorithms: Gillespie: A general method for numerically simulating the stochastic time evolution of coupled chemical reactions, J Comp Phys 22, 1976 Gibson, Bruck: Efficient Exact Stochastic Simulation of Chemical Systems with Many Species and Many Channels, J Chem Phys 104, 2000 Benchmark Model: Cao, Li, Petzold: Efficient formulation of the stochastic simulation algorithm for chemically reacting systems, The J Chem Phys 121(9), 2004 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 16
  • 19. Sample Scenario: Execution Trace 0 1 2 3 4 5 6 1 11 21 31 41 51 61 71 81 91 101 111 121 131 141 151 ExecutionTime(ins) Triggered Simulation Runs (top) and Actions (bottom: sampling, calibration, comparison) 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 17
  • 20. Summary • Goal: automate simulator performance analysis • Method: AI planning and plan execution with feedback loop • Results: • Works in principle, but action specification requires more meta-data • Ongoing: integration of sophisticated methods • Future: DSLs for context & hypotheses, distributed execution 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 18
  • 21. Thank you. Questions? ALESIA is open source (Apache 2.0 license). https://bitbucket.org/alesia 19. 3. 2014 c 2014 UNIVERSITÄT ROSTOCK | MODELING & SIMULATION RESEARCH GROUP 19