...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Input Responsiveness: Using Canary Inputs to Dynamically Steer Approximation
【24h】

Input Responsiveness: Using Canary Inputs to Dynamically Steer Approximation

机译:输入响应度:使用Canary输入动态控制近似值

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

This paper introduces Input Responsive Approximation ( IRA), an approach that uses a canary input - a small program input carefully constructed to capture the intrinsic properties of the original input - to automatically control how program approximation is applied on an input-by-input basis. Motivating this approach is the observation that many of the prior techniques focusing on choosing how to approximate arrive at conservative decisions by discounting substantial differences between inputs when applying approximation. The main challenges in overcoming this limitation lie in making the choice of how to approximate both effectively (e.g., the fastest approximation that meets a particular accuracy target) and rapidly for every input. With IRA, each time the approximate program is run, a canary input is constructed and used dynamically to quickly test a spectrum of approximation alternatives. Based on these runtime tests, the approximation that best fits the desired accuracy constraints is selected and applied to the full input to produce an approximate result. We use IRA to select and parameterize mixes of four approximation techniques from the literature for a range of 13 image processing, machine learning, and data mining applications. Our results demonstrate that IRA significantly outperforms prior approaches, delivering an average of 10.2x speedup over exact execution while minimizing accuracy losses in program outputs.
机译:本文介绍了输入响应近似(IRA),它是一种使用金丝雀输入的方法-一种精心设计的小型程序输入,可以捕获原始输入的内在特性-自动控制在逐个输入的基础上如何应用程序近似。激励这种方法的是,观察到许多现有技术着重于选择近似方法,从而在应用近似法时通过折衷输入之间的实质差异来得出保守决策。克服该限制的主要挑战在于选择如何有效地近似(例如,满足特定精度目标的最快近似)以及针对每个输入快速地近似。使用IRA,每次运行近似程序时,都会构建一个金丝雀输入,并动态地使用它来快速测试一系列近似选择。基于这些运行时测试,选择最适合所需精度约束的近似值,并将其应用于全部输入以产生近似结果。我们使用IRA从文献中选择和参数化四种近似技术的混合,以用于13种图像处理,机器学习和数据挖掘应用程序。我们的结果表明,IRA的性能明显优于先前的方法,在准确执行的情况下平均提高了10.2倍的速度,同时最大程度地减少了程序输出中的精度损失。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号