...
【24h】

Adding Approximate Counters

机译:添加近似计数器

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

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

       

摘要

We describe a general framework for adding the values of two approximate counters to produce a new approximate counter value whose expected estimated value is equal to the sum of the expected estimated values of the given approximate counters. (To the best of our knowledge, this is the first published description of any algorithm for adding two approximate counters.) We then work out implementation details for five different kinds of approximate counter and provide optimized pseudocode. For three of them, we present proofs that the variance of a counter value produced by adding two counter values in this way is bounded, and in fact is no worse, or not much worse, than the variance of the value of a single counter to which the same total number of increment operations have been applied. Addition of approximate counters is useful in massively parallel divide-and-conquer algorithms that use a distributed representation for large arrays of counters. We describe two machine-learning algorithms for topic modeling that use millions of integer counters, and confirm that replacing the integer counters with approximate counters is effective, speeding up a GPU-based implementation by over 65% and a CPU-based by nearly 50%, as well as reducing memory requirements, without degrading their statistical effectiveness.
机译:我们描述了一个通用框架,用于将两个近似计数器的值相加以产生一个新的近似计数器值,其预期估计值等于给定近似计数器的预期估计值之和。 (据我们所知,这是任何公开的用于添加两个近似计数器的算法的描述。)然后,我们为五种不同的近似计数器制定实现细节,并提供优化的伪代码。对于其中的三个,我们提供证据证明以这种方式将两个计数器值相加产生的计数器值的方差是有界的,实际上,与单个计数器的值方差相比,实际上并没有差,也没有差很多。已应用相同总数的增量操作。近似计数器的添加在大规模并行的分而治之算法中很有用,该算法将分布式表示用于大型计数器数组。我们描述了两种用于主题建模的机器学习算法,这些算法使用了数百万个整数计数器,并确认用近似计数器替换整数计数器是有效的,将基于GPU的实现速度提高了65%以上,将基于CPU的实现速度提高了近50% ,以及在不降低其统计效果的情况下减少内存需求。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号