ARM 4- BIT PQ:基于SIMD的近似最近邻搜索加速
ARM 4-BIT PQ: SIMD-based Acceleration for Approximate Nearest Neighbor Search on ARM
摘要:
我们在ARM架构上加速了4位乘积量化(PQ)。值得注意的是,传统4位PQ的巨大性能严重依赖于x64特定的SIMD寄存器,如AVX 2;因此,我们还不能在ARM上实现如此好的性能。为了填补这一空白,我们首先将两个128位寄存器捆绑为一个256位组件。然后,我们使用ARM特定的NEON指令对每个应用shuffle操作。通过进行这种简单但关键的修改,我们在ARM架构上实现了4位PQ的显着加速。实验表明,所提出的方法始终实现了10倍的改善,在相同的准确性比天真PQ。
英文摘要:
We accelerate the 4-bit product quantization (PQ) on the ARM architecture. Notably, the drastic performance of the conventional 4-bit PQ strongly relies on x64-specific SIMD register, such as AVX2; hence, we cannot yet achieve such good performance on ARM. To fill this gap, we first bundle two 128-bit registers as one 256-bit component. We then apply shuffle operations for each using the ARM-specific NEON instruction. By making this simple but critical modification, we achieve a dramatic speedup for the 4-bit PQ on an ARM architecture. Experiments show that the proposed method consistently achieves a 10x improvement over the naive PQ with the same accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。