arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.07936cs.SEcs.LG
收藏

Probabilistic Software Modeling:一种数据驱动的软件分析范式

Probabilistic Software Modeling: A Data-driven Paradigm for Software Analysis

Johannes Kepler University Linz(约翰内斯·开普勒大学林茨分校);Software Competence Center Hagenberg GmbH(哈根贝格软件能力中心有限公司)

Hannes Thaller, Lukas Linsbauer, Rudolf Ramler, Alexander Egyed

摘要:

软件系统是复杂的,随着人工智能组件数量的增加,行为理解对传统的测试和维护策略提出了挑战。缺乏用于行为软件理解的工具和方法,使开发人员只能在已知场景的边界内进行测试和调试。我们提出了概率软件建模(PSM),数据驱动的建模范式的预测和生成方法在软件工程。PSM分析程序并合成一个概率模型网络,可以模拟和量化原始程序的行为。该方法提取程序的类型、可执行文件和属性结构,并复制其拓扑结构。然后,每个模型都朝着观察到的运行时进行优化,从而形成反映系统结构和行为的网络。由此产生的网络允许全方位的统计推断分析,可以构建丰富的预测和生成应用程序。应用范围从可视化的状态,推理查询,测试用例生成,异常检测到随机执行的建模系统。在这项工作中,我们提出的建模方法,软件系统的运行时行为的实证研究,并全面研究PSM建模系统。结果表明,PSM是一个坚实的基础,结构和行为的软件理解的应用。

英文摘要:

Software systems are complex, and behavioral comprehension with the increasing amount of AI components challenges traditional testing and maintenance strategies.The lack of tools and methodologies for behavioral software comprehension leaves developers to testing and debugging that work in the boundaries of known scenarios. We present Probabilistic Software Modeling (PSM), a data-driven modeling paradigm for predictive and generative methods in software engineering. PSM analyzes a program and synthesizes a network of probabilistic models that can simulate and quantify the original program's behavior. The approach extracts the type, executable, and property structure of a program and copies its topology. Each model is then optimized towards the observed runtime leading to a network that reflects the system's structure and behavior. The resulting network allows for the full spectrum of statistical inferential analysis with which rich predictive and generative applications can be built. Applications range from the visualization of states, inferential queries, test case generation, and anomaly detection up to the stochastic execution of the modeled system. In this work, we present the modeling methodologies, an empirical study of the runtime behavior of software systems, and a comprehensive study on PSM modeled systems. Results indicate that PSM is a solid foundation for structural and behavioral software comprehension applications.

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

↑