最坏情况分析即最大后验估计
Worst-Case Analysis is Maximum-A-Posteriori Estimation
AI总结:
本文提出DSE-SMC,一种通用、自适应且可靠的模糊测试框架,利用资源累积与贝叶斯软条件机制的同构性,将最坏情况资源分析转化为最大后验估计问题,结合顺序蒙特卡洛与进化模糊测试,在Java应用中显著优于现有黑盒方法。
摘要:
程序的最坏情况资源使用可以为许多软件工程任务提供有用信息,例如性能优化和算法复杂度漏洞发现。本文提出了一个通用的、自适应的、可靠的模糊测试框架,称为DSE-SMC,用于估计最坏情况资源使用。DSE-SMC是通用的,因为只要用户提供接口来检索给定输入的资源使用信息,它就是黑盒的;它是自适应的,因为它自动平衡候选输入的探索与利用;它是可靠的,因为它保证收敛到被分析程序的真实资源使用分布。DSE-SMC建立在一个关键观察之上:程序中的资源累积与贝叶斯概率编程中的软条件机制同构;因此,最坏情况资源分析与贝叶斯统计的最大后验估计问题同构。DSE-SMC以可靠的方式将顺序蒙特卡洛(SMC)——一种用于贝叶斯推理的通用框架——与自适应进化模糊测试算法相结合,即DSE-SMC渐近收敛到由被分析程序的资源使用行为诱导的后验分布。在Java应用程序上的实验评估表明,DSE-SMC在用于最坏情况分析的现有黑盒模糊测试方法中显著更有效。
英文摘要:
The worst-case resource usage of a program can provide useful information for many software-engineering tasks, such as performance optimization and algorithmic-complexity-vulnerability discovery. This paper presents a generic, adaptive, and sound fuzzing framework, called DSE-SMC, for estimating worst-case resource usage. DSE-SMC is generic because it is black-box as long as the user provides an interface for retrieving resource-usage information on a given input; adaptive because it automatically balances between exploration and exploitation of candidate inputs; and sound because it is guaranteed to converge to the true resource-usage distribution of the analyzed program. DSE-SMC is built upon a key observation: resource accumulation in a program is isomorphic to the soft-conditioning mechanism in Bayesian probabilistic programming; thus, worst-case resource analysis is isomorphic to the maximum-a-posteriori-estimation problem of Bayesian statistics. DSE-SMC incorporates sequential Monte Carlo (SMC) -- a generic framework for Bayesian inference -- with adaptive evolutionary fuzzing algorithms, in a sound manner, i.e., DSE-SMC asymptotically converges to the posterior distribution induced by resource-usage behavior of the analyzed program. Experimental evaluation on Java applications demonstrates that DSE-SMC is significantly more effective than existing black-box fuzzing methods for worst-case analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。