arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1301.4019stat.COcs.DC
收藏

粒子滤波器的并行重构

Parallel resampling in the particle filter

Lawrence M. Murray, Anthony Lee, Pierre E. Jacob

摘要:

诸如图形处理单元(GPU)的现代并行计算设备在科学和统计计算中获得了显著的牵引力。它们特别适合数据并行算法,如粒子滤波器,或更一般的序贯蒙特卡罗(SMC),这是越来越多地用于统计推断。SMC方法通过重复的传播、加权和重排序步骤携带一组加权粒子。传播和加权步骤可以直接并行化,因为它们只需要对每个粒子进行独立的操作。重新排序步骤更困难,因为标准方案需要对粒子权重进行集体操作,例如求和。专注于这个rescue步骤,我们分析了两种替代方案,不涉及集体操作(大都市和拒绝重采样器),并将它们与标准方案(多项式,分层和系统重采样器)进行比较。我们发现,在某些情况下,替代重采样器在GPU上的执行速度比标准方法快得多,在CPU上的执行速度则要慢得多。此外,在单精度下,标准方法在数十万粒子以上的数值上有偏差,而替代方法则没有。这一点尤其重要,因为现代设备上的单精度吞吐量大于双精度吞吐量,以及随之而来的对更多数量的颗粒使用单精度的诱惑。最后,我们提供了辅助功能的实施,如祖先向量的置换,使就地传播有用。

英文摘要:

Modern parallel computing devices, such as the graphics processing unit (GPU), have gained significant traction in scientific and statistical computing. They are particularly well-suited to data-parallel algorithms such as the particle filter, or more generally Sequential Monte Carlo (SMC), which are increasingly used in statistical inference. SMC methods carry a set of weighted particles through repeated propagation, weighting and resampling steps. The propagation and weighting steps are straightforward to parallelise, as they require only independent operations on each particle. The resampling step is more difficult, as standard schemes require a collective operation, such as a sum, across particle weights. Focusing on this resampling step, we analyse two alternative schemes that do not involve a collective operation (Metropolis and rejection resamplers), and compare them to standard schemes (multinomial, stratified and systematic resamplers). We find that, in certain circumstances, the alternative resamplers can perform significantly faster on a GPU, and to a lesser extent on a CPU, than the standard approaches. Moreover, in single precision, the standard approaches are numerically biased for upwards of hundreds of thousands of particles, while the alternatives are not. This is particularly important given greater single- than double-precision throughput on modern devices, and the consequent temptation to use single precision with a greater number of particles. Finally, we provide auxiliary functions useful for implementation, such as for the permutation of ancestry vectors to enable in-place propagation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑