arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.04963cs.CVcs.AI
收藏

GeoPE:一种统一的几何位置嵌入用于结构化张量

GeoPE:A Unified Geometric Positional Embedding for Structured Tensors

University of Electronic Science and Technology of China(电子科技大学);Fudan University(复旦大学)

Yupu Yao, Bowen Yang

AI总结:

GeoPE通过引入几何位置嵌入,有效恢复2D空间流形,提升图像分类、目标检测和3D语义分割任务的性能。

摘要:

标准视觉Transformer将2D图像扁平化为1D序列,破坏了自然的空间拓扑。尽管旋转位置嵌入(RoPE)在1D中表现优异,但继承了这一限制,常将空间上遥远的块(例如行边缘的块)视为序列邻居。现有2D方法通常独立处理空间轴,无法解耦这种虚假的顺序接近与真实的空间距离。为恢复2D空间流形,我们引入几何位置嵌入(GeoPE),一种通过四元数扩展到3D欧几里得空间的框架。为克服非交换性和确保对称性,GeoPE通过在李代数中计算几何均值构建统一的旋转操作符。这创建了几何耦合的编码,有效分离了空间维度。在图像分类、目标检测和3D语义分割上的大量实验表明,GeoPE在性能上始终优于现有的2D RoPE变体,并显著增强了形状偏差,证实了其捕捉真实几何结构的能力。

英文摘要:

Standard Vision Transformers flatten 2D images into 1D sequences, disrupting the natural spatial topology. While Rotary Positional Embedding (RoPE) excels in 1D, it inherits this limitation, often treating spatially distant patches (e.g., at row edges) as sequence neighbors. Existing 2D approaches typically treat spatial axes independently, failing to decouple this false sequential proximity from true spatial distance. To restore the 2D spatial manifold, we introduce Geometric Positional Embedding (GeoPE), a framework that extends rotations to 3D Euclidean space using quaternions. To overcome non-commutativity and ensure symmetry, GeoPE constructs a unified rotational operator by computing the geometric mean in the Lie algebra. This creates a geometrically coupled encoding that effectively separates spatial dimensions. Extensive experiments on image classification, object detection, and 3D semantic segmentation demonstrate that GeoPE consistently outperforms existing 2D RoPE variants and significantly enhances shape bias, confirming its ability to capture true geometric structure.

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

↑