GridPE: 一种基于网格细胞的统一位置嵌入方法用于任意维度空间
GridPE: A Grid Cell-Inspired Unified Position Embedding for Arbitrary-Dimensional Spaces
AI总结:
本文提出GridPE,一种受哺乳动物空间认知中六边形周期编码启发的新型位置嵌入框架,旨在解决高维时空任务中位置嵌入的理论保障问题,通过结合计算神经科学原理和调和分析,为任意维度空间提供统一的位置嵌入解决方案。
摘要:
理解所有维度上的空间关系对于智能系统至关重要。然而,现有的位置嵌入方法,如旋转位置嵌入(RoPE),在高维时空任务如视频理解和机器人导航中缺乏理论保障。受哺乳动物空间认知中网格细胞的六边形周期编码启发,我们提出GridPE——一种结合计算神经科学原理与调和分析的新位置嵌入框架。我们的方法基于随机傅里叶特征,并利用神经科学原理构建高效的嵌入。理论上,我们证明任何平移不变的空间函数都可以通过有限个傅里叶基的求和来近似,这自然在一维情况下还原为RoPE。然后,我们从生物可用性角度推导出每个尺度下的频率向量方向和数量,以及不同尺度之间的最佳比例。这些推导等同于该维度中正则单纯形的中心与顶点之间的关系。我们验证了GridPE在多种空间建模任务中的有效性,包括2D图像分类(ImageNet100)和3D点云识别(ModelNet40)。我们的理论分析确立了GridPE作为任意维度空间位置嵌入的统一框架,而实验结果证明其优于现有方法。
英文摘要:
Understanding spatial relationships across all dimensions is fundamental for intelligent systems. However, existing positional embeddings, such as Rotary Positional Embedding (RoPE), lack theoretical guarantees for high-dimensional spatiotemporal tasks like video understanding and robotic navigation. Inspired by the hexagonal periodic coding of grid cells in mammalian spatial cognition, we propose GridPE -- a novel positional embedding framework that integrates computational neuroscience principles with harmonic analysis. Our approach builds upon Random Fourier Features and leverages principles from neuroscience to construct efficient embeddings. Theoretically, we prove that any translation-invariant spatial function can be approximated by a finite sum of Fourier bases, which naturally reduces to RoPE in the one-dimensional case. We then derive the directions and quantities of frequency vectors at each scale in any Euclidean dimension, along with the optimal ratio between different scales, from a bioavailability perspective. These derivations are equivalent to the relationship between the centroid and the vertices of a regular simplex in that dimension. We validate GridPE across a range of spatial modeling tasks, including 2D image classification (ImageNet100) and 3D point cloud recognition (ModelNet40). Our theoretical analysis establishes GridPE as a unified framework for positional embedding in arbitrary-dimensional spaces, while empirical results demonstrate its superiority over existing methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。