首页> 外文会议>International Conference on Software Engineering >Statistical Algorithmic Profiling for Randomized Approximate Programs
【24h】

Statistical Algorithmic Profiling for Randomized Approximate Programs

机译:随机近似程序的统计算法分析

获取原文

摘要

Many modern applications require low-latency processing of large data sets, often by using approximate algorithms that trade accuracy of the results for faster execution or reduced memory consumption. Although the algorithms provide probabilistic accuracy and performance guarantees, a software developer who implements these algorithms has little support from existing tools. Standard profilers do not consider accuracy of the computation and do not check whether the outputs of these programs satisfy their accuracy specifications. We present AXPROF, an algorithmic profiling framework for analyzing randomized approximate programs. The developer provides the accuracy specification as a formula in a mathematical notation, using probability or expected value predicates. AXPROF automatically generates statistical reasoning code. It first constructs the empirical models of accuracy, time, and memory consumption. It then selects and runs appropriate statistical tests that can, with high confidence, determine if the implementation satisfies the specification. We used AXPROF to profile 15 approximate applications from three domains - data analytics, numerical linear algebra, and approximate computing. AXPROF was effective in finding bugs and identifying various performance optimizations. In particular, we discovered five previously unknown bugs in the implementations of the algorithms and created fixes, guided by AXPROF.
机译:许多现代应用程序通常需要使用近似算法来对大数据集进行低延迟处理,而近似算法会以结果的准确性为代价,以加快执行速度或减少内存消耗。尽管这些算法提供了概率准确性和性能保证,但是实现这些算法的软件开发人员几乎没有现有工具的支持。标准分析器不考虑计算的准确性,也不检查这些程序的输出是否满足其准确性规格。我们介绍了AXPROF,这是一种用于分析随机近似程序的算法分析框架。开发人员使用概率或期望值谓词,以数学符号的公式形式提供精度指标。 AXPROF自动生成统计推理代码。它首先构建准确性,时间和内存消耗的经验模型。然后,它选择并运行适当的统计测试,这些统计测试可以高度确定地确定实现是否满足规范。我们使用AXPROF剖析了三个领域的15个近似应用程序-数据分析,数值线性代数和近似计算。 AXPROF在发现错误和确定各种性能优化方面非常有效。特别是,我们在AXPROF的指导下发现了算法实现中的五个以前未知的错误,并创建了修复程序。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号