arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.17892cs.DScs.FL
收藏

前缀树提升大规模连续时间随机模型中的内存消耗

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

Utah State University(犹他州立大学);SRI International(国际人工智能研究所);University of Colorado Boulder(科罗拉多大学博尔德分校)

Landon Taylor, Joshua Jeppson, Ahmed Irfan, Lukas Buecherl, Chris Myers, Zhen Zhang

AI总结:

本文提出使用前缀树替代哈希表以优化大规模连续时间马尔可夫链模型的内存使用,通过理论分析和实验验证其有效性。

摘要:

具有广阔状态空间的高并发系统模型,如用于建模生物和化学系统的化学反应网络(CRNs),对最先进的形式分析工具构成了严峻挑战。尽管已经提出了许多符号方法,但对CRNs建模为连续时间马尔可夫链(CTMCs)的瞬态概率分析需要显式状态表示。为此,当前最先进的方法使用哈希表,其平均时间复杂度为常数,内存复杂度为线性。然而,哈希表在具有巨大状态空间的模型上常常受到严重的内存限制。为了解决这个问题,我们提出使用前缀树来存储状态,以节省大规模、高并发模型(特别是CRNs)的内存。我们提出了理论分析和基准测试,证明前缀树在非常大的状态空间中比哈希表更具优势。此外,我们提出使用受限模型检查(BMC)预处理步骤来施加变量顺序,以进一步提高内存使用,并进行了初步评估,表明其有效性。我们指出,尽管我们的工作主要受CRNs带来的挑战所驱动,但可以推广到所有CTMC模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑