首页> 外文会议>International Conference on Application-specific Systems, Architectures and Processors >Error Analysis of the Square Root Operation for the Purpose of Precision Tuning: A Case Study on K-means
【24h】

Error Analysis of the Square Root Operation for the Purpose of Precision Tuning: A Case Study on K-means

机译:精确调整中平方根运算的误差分析:以K均值为例

获取原文

摘要

In this paper, we propose an analytical approach to study the impact of floating point (FLP) precision variation on the square root operation, in terms of computational accuracy and performance gain. We estimate the round-off error resulting from reduced precision. We also inspect the Newton Raphson algorithm used to approximate the square root in order to bound the error caused by algorithmic deviation. Consequently, the implementation of the square root can be optimized by fittingly adjusting its number of iterations with respect to any given FLP precision specification, without the need for long simulation times. We evaluate our error analysis of the square root operation as part of approximating a classic data clustering algorithm known as K-means, for the purpose of reducing its energy footprint. We compare the resulting inexact K-means to its exact counterpart, in the context of color quantization, in terms of energy gain and quality of the output. The experimental results show that energy savings could be achieved without penalizing the quality of the output (e.g., up to 41.87% of energy gain for an output quality, measured using structural similarity, within a range of [0.95,1]).
机译:在本文中,我们提出了一种分析方法,以从计算精度和性能增益的角度研究浮点(FLP)精度变化对平方根运算的影响。我们估计由于精度降低而产生的舍入误差。我们还检查了牛顿拉夫森算法,该算法用于逼近平方根,以限制算法偏差引起的误差。因此,可以通过相对于任何给定的FLP精度规格适当地调整其迭代次数来优化平方根的实现,而无需花费很长的仿真时间。我们评估平方根运算的误差分析,作为逼近称为K-means的经典数据聚类算法的一部分,以减少其能耗。在能量量化和输出质量方面,我们在色彩量化的情况下将所得的不精确K均值与其精确对应的K均值进行了比较。实验结果表明,可以在不损害输出质量的情况下实现节能(例如,在[0.95,1]范围内,使用结构相似性来衡量,对于输出质量而言,高达能量增益的41.87%)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号