大规模确定性检索:最优空间LCP索引和现代GPU上的308倍能效提升
Deterministic Retrieval at Scale: Optimal-Space LCP Indexing and 308x Energy Reduction on Modern GPUs
AI总结:
本文提出了一种基于tries的LCP索引方法,实现大规模确定性检索,通过热感知逻辑在GPU上实现308倍能效提升和329倍延迟降低。
摘要:
我们研究了在最长公共前缀(LCP)相似性下大规模N个长度为L的序列的确定性top-k检索。我们证明了一个紧致的Omega(N)空间下界(单元探测模型),并提出了一种基于tries的索引,空间复杂度为O(N*L),查询时间为O(L+k)。我们对比了成对材料化(Theta(N^2)),后者在大规模时遇到实际的OOM限制,而我们的索引方法保持内存为O(N)。随后我们引入了热感知逻辑(TAL),将前缀结构转化为范围受限的扫描。在硬件测量中,TAL将每个查询的能耗降低308倍(0.0145 J vs 4.46 J),并将p95延迟降低329倍(0.114 ms vs 37.5 ms)在一个2000万项范围扫描基准上,同时在长时间运行中保持接近峰值利用率(~99%)。结果是一种具有凭证的确定性检索原语,在近似方法不可接受的领域中具有应用价值。
英文摘要:
We study deterministic top-k retrieval under Longest Common Prefix (LCP) similarity for N sequences of length L. We prove a tight Omega(N) space lower bound (cell-probe model) and present a trie-based index using O(N*L) space with O(L+k) query time. We contrast this with pairwise materialization (Theta(N^2)), which hits a practical OOM wall at scale, while our indexed approach remains O(N) in memory. We then introduce Thermal-Aware Logic (TAL), which turns prefix structure into range-bounded scans. In hardware measurements, TAL reduces energy per query by 308x (0.0145 J vs 4.46 J) and cuts p95 latency by 329x (0.114 ms vs 37.5 ms) on a 20M-item range-scan benchmark, while sustaining near-peak utilization (~99%) under long runs. The result is a deterministic retrieval primitive with receipts in regimes where approximate methods are unacceptable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。