Generating Fast Specialized Simulators for Stochastic Reaction Networks via Partial Evaluation

被引:3
|
作者
Koester, Till [1 ]
Warnke, Tom [1 ]
Uhrmacher, Adelinde M. [1 ]
机构
[1] Univ Rostock, Albert Einstein Str 22, D-18059 Rostock, Germany
关键词
Simulation; modelling; high performance; code generation; partial evaluation; SSA; SYSTEMS;
D O I
10.1145/3485465
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Domain-specific modeling languages allow a clear separation between simulation model and simulator and, thus, facilitate the development of simulation models and add to the credibility of simulation results. Partial evaluation provides an effective means for efficiently executing models defined in such languages. However, it also implies some challenges of its own. We illustrate this and solutions based on a simple domain-specific language for biochemical reaction networks as well as on the network representation of the established BioNetGen language. We implement different approaches adopting the same simulation algorithms: one generic simulator that parses models at runtime and one generator that produces a simulator specialized to a given model based on partial evaluation and code generation. For the purpose of better understanding, we additionally generate intermediate variants, where only some parts are partially evaluated. Akin to profile-guided optimization, we use dynamic execution of the model to further optimize the simulators. The performance of the approaches is carefully benchmarked using representative models of small to large biochemical reaction networks. The generic simulator achieves a performance similar to state-of-the-art simulators in the domain, whereas the specialized simulator outperforms established simulation tools with a speedup of more than an order of magnitude. Technical limitations in regard to the size of the generated code are discussed and overcome using a combination of link-time optimization and code separation. A detailed performance study is undertaken, investigating how and where partial evaluation has the largest effect.
引用
收藏
页数:25
相关论文
共 43 条
  • [21] Stability in Mean of Partial Variables for Coupled Stochastic Reaction-Diffusion Systems on Networks: A Graph Approach
    Kao, Yonggui
    Karimi, Hamid Reza
    [J]. ABSTRACT AND APPLIED ANALYSIS, 2014,
  • [22] A partial-propensity variant of the composition-rejection stochastic simulation algorithm for chemical reaction networks
    Ramaswamy, Rajesh
    Sbalzarini, Ivo F.
    [J]. JOURNAL OF CHEMICAL PHYSICS, 2010, 132 (04):
  • [23] Fast evaluation of the adsorption energy of organic molecules on metals via graph neural networks
    Sergio Pablo-García
    Santiago Morandi
    Rodrigo A. Vargas-Hernández
    Kjell Jorner
    Žarko Ivković
    Núria López
    Alán Aspuru-Guzik
    [J]. Nature Computational Science, 2023, 3 (5): : 433 - 442
  • [24] Fast evaluation of the adsorption energy of organic molecules on metals via graph neural networks
    Pablo-Garcia, Sergio
    Morandi, Santiago
    Vargas-Hernandez, Rodrigo A.
    Jorner, Kjell
    Ivkovic, Zarko
    Lopez, Nuria
    Aspuru-Guzik, Alan
    [J]. NATURE COMPUTATIONAL SCIENCE, 2023, 3 (05): : 433 - 442
  • [25] SPECTRAL REPRESENTATION AND REDUCED ORDER MODELING OF THE DYNAMICS OF STOCHASTIC REACTION NETWORKS VIA ADAPTIVE DATA PARTITIONING
    Sargsyan, Khachik
    Debusschere, Bert
    Najm, Habib
    Le Maitre, Olivier
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2010, 31 (06): : 4395 - 4421
  • [26] Synchronization of delayed stochastic reaction-diffusion Hopfield neural networks via sliding mode control
    Liang, Xiao
    Yang, Yiyi
    Wang, Ruili
    Chen, Jiangtao
    [J]. NONLINEAR ANALYSIS-MODELLING AND CONTROL, 2024, 29 (03): : 509 - 527
  • [27] Automated importance sampling via optimal control for stochastic reaction networks: A Markovian projection-based approach
    Ben Hammouda, Chiheb
    Ben Rached, Nadhir
    Tempone, Rail
    Wiechert, Sophia
    [J]. JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2024, 446
  • [28] Exponential synchronization of stochastic neural networks with leakage delay and reaction-diffusion terms via periodically intermittent control
    Gan, Qintao
    [J]. CHAOS, 2012, 22 (01)
  • [29] Synchronization of Coupled Stochastic Reaction-Diffusion Neural Networks With Multiple Weights and Delays via Pinning Impulsive Control
    Cao, Zhengran
    Li, Chuandong
    He, Zhilong
    Zhang, Xiaoyu
    You, Le
    [J]. IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2022, 9 (02): : 820 - 833
  • [30] Exponential Synchronization of Stochastic Fuzzy Cellular Neural Networks with Reaction-Diffusion Terms via Periodically Intermittent Control
    Qintao Gan
    [J]. Neural Processing Letters, 2013, 37 : 393 - 410