arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17869cs.CV
收藏

PySIFT:用于深度学习视觉流水线的GPU驻留确定性SIFT

PySIFT: GPU-Resident Deterministic SIFT for Deep Learning Vision Pipelines

Indian Institute of Technology Madras(印度理工学院马德拉斯分校)

Sivakumar K. S., Mohammad Daniyalur Rahman, Gopi Raju Matta

AI总结:

本文研究了经典SIFT在深度学习视觉流水线中的应用,展示了其在准确性和速度上的优势,并提出了PySIFT,一种完全在GPU上驻留的SIFT实现,能够提供确定性的输出和高效的性能。

摘要:

在局部特征研究中,一个普遍的假设是经典手工描述符是精度有限的 relics,最好被学习的替代品取代。我们证明这是错误的。通过覆盖四个基准(HPatches、ROxford5K、IMC Phototourism、MegaDepth)的8种配置消融研究,我们展示了经典SIFT结合DSP多尺度池化在所有准确性指标上均优于神经描述符和方向替代(HardNet、OriNet),同时运行速度比传统方法快2-18倍,并且学习的匹配器(LightGlue)补充而非取代经典特征。结论重新定义了一十年的工作:不是“取代SIFT”,而是“与SIFT组合”,经典提取与学习匹配仅在几何上下文需要时使用。这一发现之所以不可见,是因为没有先前的GPU SIFT能够保持整个流水线在VRAM中或提供模块化以进行受控的经典-学习消融。我们提出了PySIFT,第一个完全在GPU上驻留的SIFT,使用CuPy/Numba CUDA内核和DLPack零拷贝传递到下游DL框架——无论关键点数量如何,元数据交换均在毫秒级O(1)时间内完成。在一台NVIDIA RTX 3050(4 GB VRAM)笔记本电脑上,PySIFT实现了:(i)在HPatches上比OpenCV SIFT更高的平均匹配准确率(MMA);(ii)在高分辨率MegaDepth上每对快383毫秒;(iii)在跨数据集基准测试中更高的几何精度(在MegaDepth上+5.6 pp AUC@10°,在IMC Phototourism上更多内点);(iv)位确定性的输出——在不同运行中具有相同的关键点和描述符,即使在不同GPU架构上也能够重复检测。这一保证表明学习的提取器无法在不付出显著性能牺牲的情况下匹配,也无法在不同GPU架构上实现,因为cuDNN的架构依赖性算法选择。PySIFT是开源的,无需C++编译。

英文摘要:

A widespread assumption in local feature research holds that classical handcrafted descriptors are accuracy-limited relics best replaced by learned alternatives. We show this is wrong. Through an 8-configuration ablation spanning four benchmarks (HPatches, ROxford5K, IMC Phototourism, MegaDepth), we demonstrate that classical SIFT with DSP multi-scale pooling outperforms neural descriptor and orientation replacements (HardNet, OriNet) on every accuracy metric--while running 2--18$\times$ faster--and that learned matchers (LightGlue) complement rather than supersede classical features. The conclusion reframes a decade of work: not "replace SIFT" but "compose with SIFT," classical extraction paired with learned matching only where geometric context demands it. This finding was invisible because no prior GPU SIFT kept the complete pipeline in VRAM or offered modularity for controlled classical-vs-learned ablations. We present PySIFT, the first fully GPU-resident SIFT, implemented in CuPy/Numba CUDA kernels with DLPack zero-copy handoff to downstream DL frameworks--submillisecond O(1) metadata swap regardless of keypoint count. On a laptop-grade NVIDIA RTX 3050 (4 GB VRAM), PySIFT achieves: (i) higher Mean Matching Accuracy (MMA) than OpenCV SIFT on HPatches, (ii) 383 ms faster per pair on high-resolution MegaDepth, (iii) higher geometric accuracy on cross-dataset benchmarks (+5.6 pp AUC@10${}^\circ$ on MegaDepth, more inliers on IMC Phototourism), and (iv) bitwise deterministic output--identical keypoints and descriptors across runs, with detection reproducing identically even across GPU architectures: a guarantee that learned extractors cannot match without significant performance sacrifice, and cannot achieve at all across GPU architectures due to cuDNN's architecture-dependent algorithm selection. PySIFT is open-source, requiring no C++ compilation.

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

↑