English

Prefix Trees Improve Memory Consumption in Large-Scale Continuous-Time Stochastic Models

Data Structures and Algorithms 2025-12-22 v1 Formal Languages and Automata Theory

Abstract

Highly-concurrent system models with vast state spaces like Chemical Reaction Networks (CRNs) that model biological and chemical systems pose a formidable challenge to cutting-edge formal analysis tools. Although many symbolic approaches have been presented, transient probability analysis of CRNs, modeled as Continuous-Time Markov Chains (CTMCs), requires explicit state representation. For that purpose, current cutting-edge methods use hash maps, which boast constant average time complexity and linear memory complexity. However, hash maps often suffer from severe memory limitations on models with immense state spaces. To address this, we propose using prefix trees to store states for large, highly concurrent models (particularly CRNs) for memory savings. We present theoretical analyses and benchmarks demonstrating the favorability of prefix trees over hash maps for very large state spaces. Additionally, we propose using a Bounded Model Checking (BMC) pre-processing step to impose a variable ordering to further improve memory usage along with preliminary evaluations suggesting its effectiveness. We remark that while our work is motivated primarily by the challenges posed by CRNs, it is generalizable to all CTMC models.

Keywords

Cite

@article{arxiv.2512.17892,
  title  = {Prefix Trees Improve Memory Consumption in Large-Scale Continuous-Time Stochastic Models},
  author = {Landon Taylor and Joshua Jeppson and Ahmed Irfan and Lukas Buecherl and Chris Myers and Zhen Zhang},
  journal= {arXiv preprint arXiv:2512.17892},
  year   = {2025}
}

Comments

21 pages, 2 figures

R2 v1 2026-07-01T08:34:01.496Z